diff --git a/README.md b/README.md index 9a32b460..3948c70a 100644 --- a/README.md +++ b/README.md @@ -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). @@ -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 diff --git a/misc/gacha_test.rb b/misc/gacha_test.rb index 90ba682e..aab92eb8 100644 --- a/misc/gacha_test.rb +++ b/misc/gacha_test.rb @@ -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 diff --git a/spec/parse_spec.rb b/spec/parse_spec.rb index 2115ddf3..de58f603 100644 --- a/spec/parse_spec.rb +++ b/spec/parse_spec.rb @@ -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')