rails3-generators 0.17.0 → 0.17.1

Sign up to get free protection for your applications and to get access to all the features.
data/CHANGELOG.rdoc CHANGED
@@ -2,7 +2,12 @@
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.0
5
+ == 0.17.1
6
+ * fixed
7
+ * MongoMapper provides find(id), not first(id).
8
+ See http://stackoverflow.com/questions/4646745 (Semyon Perepelitsa)
9
+
10
+ == 0.17.0
6
11
  * enhancements
7
12
  * Added a generator for creating models with no persistent.
8
13
  They still include ActiveModel::Validations and ActiveModel::Serialization.
@@ -17,7 +17,7 @@ module MongoMapper
17
17
  end
18
18
 
19
19
  def self.find(klass, params=nil)
20
- "#{klass}.first(#{params})"
20
+ "#{klass}.find(#{params})"
21
21
  end
22
22
 
23
23
  def self.build(klass, params=nil)
@@ -1,5 +1,5 @@
1
1
  module Rails3
2
2
  module Generators
3
- VERSION = "0.17.0"
3
+ VERSION = "0.17.1"
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
- - 0
9
- version: 0.17.0
8
+ - 1
9
+ version: 0.17.1
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: 2010-12-13 00:00:00 -05:00
27
+ date: 2011-01-11 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.0\n\n\
219
+ rails3-generators-0.17.1\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\