rails3-generators 0.5.1 → 0.5.2

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.
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.5.1
1
+ 0.5.2
@@ -1,9 +1,7 @@
1
1
  class <%= class_name %><%= "< #{options[:parent].classify}" if options[:parent] %>
2
2
  <% unless options[:parent] -%>
3
3
  include MongoMapper::Document
4
-
5
- key :key, String
6
-
4
+
7
5
  timestamps!
8
6
 
9
7
  # Validations :::::::::::::::::::::::::::::::::::::::::::::::::::::
@@ -15,9 +13,9 @@ class <%= class_name %><%= "< #{options[:parent].classify}" if options[:parent]
15
13
  # one :model
16
14
 
17
15
  # Callbacks :::::::::::::::::::::::::::::::::::::::::::::::::::::::
18
- # before_craete :your_model_method
16
+ # before_create :your_model_method
19
17
  # after_create :your_model_method
20
- # before_upate :your_model_method
18
+ # before_update :your_model_method
21
19
 
22
20
  <% end -%>
23
21
  <% attributes.each do |attribute| -%>
@@ -5,11 +5,11 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{rails3-generators}
8
- s.version = "0.5.1"
8
+ s.version = "0.5.2"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Jose Valim", "Anuj Dutta", "Paul Berry", "Jeff Tucker", "Louis T.", "Jai-Gouk Kim", "Darcy Laycock"]
12
- s.date = %q{2010-03-27}
12
+ s.date = %q{2010-03-28}
13
13
  s.description = %q{Rails 3 compatible generators for DataMapper, Haml, Factory-girl, Authlogic, Mongomapper and Machinist}
14
14
  s.email = %q{andre@arko.net}
15
15
  s.extra_rdoc_files = [
metadata CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 0
7
7
  - 5
8
- - 1
9
- version: 0.5.1
8
+ - 2
9
+ version: 0.5.2
10
10
  platform: ruby
11
11
  authors:
12
12
  - Jose Valim
@@ -20,7 +20,7 @@ autorequire:
20
20
  bindir: bin
21
21
  cert_chain: []
22
22
 
23
- date: 2010-03-27 00:00:00 -04:00
23
+ date: 2010-03-28 00:00:00 -04:00
24
24
  default_executable:
25
25
  dependencies:
26
26
  - !ruby/object:Gem::Dependency