README.md in myrails-2.2.1 vs README.md in myrails-2.2.2
- old
+ new
@@ -3,18 +3,23 @@
This gem was created to make generating rails related files and other rails gem files (that I use) a lot easier. It is a thor backed gem that was designed with rails 5 in mind but most of it "should" work with rails 4.
This gem is not endorsed by 37signals. I wrote it as a convenience for generating files that I would otherwise have written by hand.
## Disclaimer
+
+`user at your own risk!`
+
This gem is not compatible with ruby 2.3 (yet).
## Notes
+
Use 1.1.1 if you are primarily developing in rails 3 & 4
Use 2.x.x if are primarily developing in rails 5
## Examples
+
Here is an example of the gem in action:
For example, I use pundit. With this gem I am able to run the following:
```ruby
@@ -62,10 +67,10 @@
```ruby
# Example for generating a presenter class
myrails presenter --name=post
```
-This generates a PostPresenter class in app/presenters that inherites from app/presenters/base_presenter.rb to be used in views. This also generates a spec/presenters/post_presenter_spec.rb file for testing.
+This generates a PostPresenter class in app/presenters that inherits from app/presenters/base_presenter.rb to be used in views. This also generates a spec/presenters/post_presenter_spec.rb file for testing.
## Development
After checking out the repo, run `bin/setup` to install dependencies. Then, run `rake spec` to run the tests. You can also run `bin/console` for an interactive prompt that will allow you to experiment.