rolify 0.1.1 → 0.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -14,8 +14,7 @@ module Rolify
14
14
  def generate_role
15
15
  template "role.rb", "app/models/role.rb"
16
16
  inject_into_class(model_path, user_cname.camelize) do
17
- " include Rolify"
18
- " has_and_belongs_to_many :#{role_cname.tableize}\n"
17
+ " include Rolify\n" + " has_and_belongs_to_many :#{role_cname.tableize}\n"
19
18
  end
20
19
  end
21
20
 
@@ -1,3 +1,3 @@
1
1
  module Rolify
2
- VERSION = "0.1.1"
2
+ VERSION = "0.2.0"
3
3
  end
metadata CHANGED
@@ -2,7 +2,7 @@
2
2
  name: rolify
3
3
  version: !ruby/object:Gem::Version
4
4
  prerelease:
5
- version: 0.1.1
5
+ version: 0.2.0
6
6
  platform: ruby
7
7
  authors:
8
8
  - Florent Monbillard