README.md in state_machines-activemodel-0.0.2 vs README.md in state_machines-activemodel-0.0.3
- old
+ new
@@ -1,14 +1,13 @@
-[![Build Status](https://travis-ci.org/seuros/state_machines-activemodel.svg?branch=master)](https://travis-ci.org/seuros/state_machines-activemodel)
-[![Code Climate](https://codeclimate.com/github/seuros/state_machines-activemodel.png)](https://codeclimate.com/github/seuros/state_machines-activemodel)
+[![Build Status](https://travis-ci.org/state-machines/state_machines-activemodel.svg?branch=master)](https://travis-ci.org/state-machines/state_machines-activemodel)
+[![Code Climate](https://codeclimate.com/github/state-machines/state_machines-activemodel.png)](https://codeclimate.com/github/state-machines/state_machines-activemodel)
# StateMachines ActiveModel Integration
The ActiveModel integration is useful for both standalone usage and for providing
the base implementation for ORMs which implement the ActiveModel API. This
-integration adds support for validation errors, dirty attribute tracking, and
-observers.
+integration adds support for validation errors and dirty attribute tracking.
## Installation
Add this line to your application's Gemfile:
@@ -27,11 +26,10 @@
```ruby
class Vehicle
include ActiveModel::Dirty
include ActiveModel::Validations
- include ActiveModel::Observing
attr_accessor :state
define_attribute_methods [:state]
state_machine :initial => :parked do
@@ -78,12 +76,17 @@
end
end
```
+Dependencies
+
+Active Model 4.1+
+
+
## Contributing
-1. Fork it ( https://github.com/seuros/state_machines-activemodel/fork )
+1. Fork it ( https://github.com/state-machines/state_machines-activemodel/fork )
2. Create your feature branch (`git checkout -b my-new-feature`)
3. Commit your changes (`git commit -am 'Add some feature'`)
4. Push to the branch (`git push origin my-new-feature`)
5. Create a new Pull Request