Skip to content

Commit

Permalink
Merge pull request #348 from tagliala/chore/fix-typos
Browse files Browse the repository at this point in the history
Fix typos
  • Loading branch information
jmettraux authored Aug 17, 2024
2 parents 2db13df + 26513f3 commit b5faa27
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -1466,7 +1466,7 @@ The #confirm_lock method is called right before a job triggers (if it is provide

(introduced in rufus-scheduler 3.0.9).

Another way of prodiving `#lock`, `#unlock` and `#confirm_lock` to a rufus-scheduler is by using the `:scheduler_lock` and `:trigger_lock` options.
Another way of providing `#lock`, `#unlock` and `#confirm_lock` to a rufus-scheduler is by using the `:scheduler_lock` and `:trigger_lock` options.

See [:trigger_lock](#trigger_lock) and [:scheduler_lock](#scheduler_lock).

Expand Down Expand Up @@ -1784,7 +1784,7 @@ If, anyway, you need something like `rails server -d`, why not try `bundle exec

### executor / reloader

You might benefit from wraping your scheduled code in the executor or reloader. Read more here: https://guides.rubyonrails.org/threading_and_code_execution.html
You might benefit from wrapping your scheduled code in the executor or reloader. Read more here: https://guides.rubyonrails.org/threading_and_code_execution.html

## support

Expand Down
2 changes: 1 addition & 1 deletion misc/gacha_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@
puts '.. 1st task started'
numbers = (0..5000000).to_a.shuffle
numbers.sort
puts 'oo 1nd task finished'
puts 'oo 1st task finished'
end

s.every '7s', :overlap => false do
Expand Down
2 changes: 1 addition & 1 deletion spec/parse_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ def paus(s); Rufus::Scheduler.parse(s).getutc.strftime('%c'); end
expect(pa('* 23 * * *').class).to eq(Fugit::Cron)
end

it 'raises on unparseable input' do
it 'raises on unparsable input' do

expect {
pa('nada')
Expand Down

0 comments on commit b5faa27

Please sign in to comment.