README.md in to_factory-2.0.0 vs README.md in to_factory-2.1.0
- old
+ new
@@ -17,13 +17,21 @@
* adhoc generate from existing records
* unintrusively update factory files in place
* display factory definition for a record
* parse and write `FactoryGirl` syntax or older `Factory.define` syntax
-Tested against Ruby 1.8.7, 1.9.2, 1.9.3, 2.0.0, 2.1.x, 2.2.0
+Tested against Ruby 1.8.7, 1.9.2, 1.9.3, 2.0.0, 2.1.x, 2.2.x
+## Warning :warning:
+`ToFactory` writes into the `spec/factories` folder. Whilst it
+is tested and avoids overwriting existing factories,
+it is recommended that you execute after committing or when in a known
+safe state.
+
+
+
## Installation :file_folder:
```ruby
#Gemfile
@@ -31,14 +39,16 @@
group :test, :development do
gem 'to_factory'
end
```
-## Warning :warning:
-`ToFactory` writes into the `spec/factories` folder. Whilst it
-is tested and avoids overwriting existing factories,
-it is recommended that you execute after committing or when in a known
-safe state.
+For Ruby < `2.x` and older `FactoryGirl` syntax etc
+
+```ruby
+group :test, :development do
+ gem "to_factory", "~> 0.2.1"
+end
+```
```bash
git add spec/factories