README.md in ruby-clock-2.0.0.beta6 vs README.md in ruby-clock-2.0.0.beta7
- old
+ new
@@ -26,11 +26,11 @@
to stop before killing them.
You can change this number with `RUBY_CLOCK_SHUTDOWN_WAIT_SECONDS` in the environment.
## Installation
-ruby >= 2.7 is required.
+ruby >= 3.0 is required.
Add these lines to your application's Gemfile:
```ruby
gem 'ruby-clock'
@@ -237,11 +237,11 @@
```
By default they will be run with
[ruby backticks](https://livebook.manning.com/concept/ruby/backtick).
For better performance, install the [terrapin](https://github.com/thoughtbot/terrapin)
-and [posix-spawn](https://github.com/rtomayko/posix-spawn) gems.
+gem.
`shell` is a convenience method which just passes the string on.
If you want to use other terrapin features, you can skip the `shell` command
and use terrapin directly:
@@ -281,10 +281,10 @@
rake('reports:daily')
end
```
There are also `rake_execute` and `rake_async`.
-See [the code](https://github.com/jjb/ruby-clock/blob/main/lib/rake.rb)
+See [the code](https://github.com/jjb/ruby-clock/blob/main/lib/ruby-clock/rake.rb)
and [this article](https://code.jjb.cc/running-rake-tasks-from-within-ruby-on-rails-code) for more info.
### Job Identifier
ruby-clock adds the `identifier` method to `Rufus::Scheduler::Job`. This method will return the job's