rails3-generators 0.17.2 → 0.17.3

Sign up to get free protection for your applications and to get access to all the features.
@@ -2,6 +2,10 @@
2
2
  * Write some documentation. (In both the github wiki and the source code)
3
3
  * Remove generators that exist in other libraries
4
4
 
5
+ == 0.17.3
6
+ * optimize
7
+ * Update FactoryGirl generator to use version 2.0.0 syntax (Kevin Faustino)
8
+
5
9
  == 0.17.2
6
10
  * optimize
7
11
  * Documentation on how to use a generator{factory_girl} (John Joseph Bachir)
@@ -1,7 +1,9 @@
1
1
  # Read about factories at http://github.com/thoughtbot/factory_girl
2
2
 
3
- Factory.define :<%= singular_name %> do |f|
4
- <% for attribute in attributes -%>
5
- f.<%= attribute.name %> <%= attribute.default.inspect %>
6
- <% end -%>
7
- end
3
+ FactoryGirl.define do
4
+ factory :<%= singular_name %> do
5
+ <% for attribute in attributes -%>
6
+ <%= attribute.name %> <%= attribute.default.inspect %>
7
+ <% end -%>
8
+ end
9
+ end
@@ -1,5 +1,5 @@
1
1
  module Rails3
2
2
  module Generators
3
- VERSION = "0.17.2"
3
+ VERSION = "0.17.3"
4
4
  end
5
5
  end
metadata CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 0
7
7
  - 17
8
- - 2
9
- version: 0.17.2
8
+ - 3
9
+ version: 0.17.3
10
10
  platform: ruby
11
11
  authors:
12
12
  - Jose Valim
@@ -24,7 +24,7 @@ autorequire:
24
24
  bindir: bin
25
25
  cert_chain: []
26
26
 
27
- date: 2011-01-13 00:00:00 -05:00
27
+ date: 2011-01-28 00:00:00 -05:00
28
28
  default_executable:
29
29
  dependencies:
30
30
  - !ruby/object:Gem::Dependency
@@ -216,7 +216,7 @@ homepage: https://github.com/indirect/rails3-generators
216
216
  licenses: []
217
217
 
218
218
  post_install_message: "\n\
219
- rails3-generators-0.17.2\n\n\
219
+ rails3-generators-0.17.3\n\n\
220
220
  Be sure to check out the wiki, https://wiki.github.com/indirect/rails3-generators/,\n\
221
221
  for information about recent changes to this project.\n\n\
222
222
  Machinist generators have been removed. Please update your project to use Machinist 2 (https://github.com/notahat/machinist) which contains its own generators.\n\n\