README.md in transitions-0.2.1 vs README.md in transitions-1.0.0

- old
+ new

@@ -8,26 +8,10 @@ ### Synopsis `transitions` is a ruby state machine implementation. -### Ruby Compatibility - -Supported versions: - -* 1.9.3 -* 2.0 -* 2.1 - -`transitions` does not work with ruby 1.8.7 (see [this -issue](https://github.com/troessner/transitions/issues/86) for example). - -### Supported Rails versions: - -* 3 -* 4 - ### Installation #### Rails This goes into your Gemfile: @@ -43,10 +27,15 @@ #### Standalone ```shell gem install transitions ``` +… and this into your class: +```ruby +include Transitions +``` + ### Using transitions ```ruby class Product include ActiveModel::Transitions @@ -373,9 +362,27 @@ ... end end ``` + +### Ruby Compatibility + +Supported versions: + +* 2.1 +* 2.2 + +Supported implementations: + +* MRI +* Rubinius +* Jruby + +### Supported Rails versions: + +* 3 +* 4 ### Known bugs / limitations * Right now it seems like `transitions` does not play well with `mongoid`. A possible fix had to be rolled back due to other side effects: