i0n_rails3_generators 0.2.16 → 0.2.17

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,4 +1,4 @@
1
1
  ---
2
2
  :version_major: 0
3
3
  :version_minor: 2
4
- :version_patch: 16
4
+ :version_patch: 17
@@ -34,7 +34,7 @@ module I0n
34
34
 
35
35
  def create_models
36
36
  generate("model", "user email:string password_hash:string password_salt:string")
37
- inject_into_class("app/models/user.rb", User, IO.read("#{AuthenticationGenerator.source_root}/app/models/_user.rb"))
37
+ insert_into_file("app/models/user.rb", IO.read("#{AuthenticationGenerator.source_root}/app/models/_user.rb"), :before => "end" )
38
38
  end
39
39
 
40
40
  def create_controllers
metadata CHANGED
@@ -2,7 +2,7 @@
2
2
  name: i0n_rails3_generators
3
3
  version: !ruby/object:Gem::Version
4
4
  prerelease:
5
- version: 0.2.16
5
+ version: 0.2.17
6
6
  platform: ruby
7
7
  authors:
8
8
  - Ian Alexander Wood (i0n)
@@ -10,8 +10,7 @@ autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
12
 
13
- date: 2011-03-20 00:00:00 +00:00
14
- default_executable:
13
+ date: 2011-04-10 00:00:00 Z
15
14
  dependencies:
16
15
  - !ruby/object:Gem::Dependency
17
16
  name: shoulda
@@ -94,7 +93,6 @@ files:
94
93
  - LICENSE
95
94
  - Rakefile
96
95
  - README.rdoc
97
- has_rdoc: true
98
96
  homepage: http://github.com/i0n/i0n_rails3_generators
99
97
  licenses: []
100
98
 
@@ -118,7 +116,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
118
116
  requirements: []
119
117
 
120
118
  rubyforge_project:
121
- rubygems_version: 1.6.2
119
+ rubygems_version: 1.7.1
122
120
  signing_key:
123
121
  specification_version: 3
124
122
  summary: Custom Rails 3 Generators