rails3-generators 0.17.1 → 0.17.2

Sign up to get free protection for your applications and to get access to all the features.
data/CHANGELOG.rdoc CHANGED
@@ -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.2
6
+ * optimize
7
+ * Documentation on how to use a generator{factory_girl} (John Joseph Bachir)
8
+
5
9
  == 0.17.1
6
10
  * fixed
7
11
  * MongoMapper provides find(id), not first(id).
data/README.rdoc CHANGED
@@ -10,6 +10,14 @@ and add the following to your project's Gemfile
10
10
 
11
11
  gem 'rails3-generators'
12
12
 
13
+ Activate individual generators in your *config/application.rb* file, like so:
14
+
15
+ config.generators do |g|
16
+ g.fixture_replacement :factory_girl
17
+ end
18
+
19
+ Now a factory_girl fixture will be generated by default whenever a model is generated.
20
+
13
21
  == notes
14
22
 
15
23
  The Haml generators have moved to {the haml-rails gem}[http://github.com/indirect/haml-rails].
@@ -1,5 +1,5 @@
1
1
  module Rails3
2
2
  module Generators
3
- VERSION = "0.17.1"
3
+ VERSION = "0.17.2"
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
- - 1
9
- version: 0.17.1
8
+ - 2
9
+ version: 0.17.2
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-11 00:00:00 -05:00
27
+ date: 2011-01-13 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.1\n\n\
219
+ rails3-generators-0.17.2\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\