auto_build 0.4.2 → 0.4.3

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/README.md CHANGED
@@ -89,8 +89,7 @@ Notes
89
89
  ----
90
90
  * **Watch out for fields with `reject_if`**. Since the AutoBuild callback will be added as an
91
91
  `after_initialize` hook this might overwrite the validations done in `reject_if`.
92
- * The option `:append => true` is equivalent to `:count => 5`.
93
- * You **cannot** pass the `:append` and `:count` options to the same association.
92
+ * The option `:append => true` is equivalent to `:count => 1`.
94
93
  * None of the operations will overwrite existing objects.
95
94
 
96
95
 
@@ -10,7 +10,7 @@ module AutoBuild
10
10
  attr_reader :options
11
11
  # Public: Returns the type (macro) of association (e.g. has_one,
12
12
  # :has_many).
13
- attr_reader:type
13
+ attr_reader :type
14
14
 
15
15
  # Public: Creates a new Association.
16
16
  #
@@ -2,9 +2,6 @@ module AutoBuild
2
2
  module Builder
3
3
  extend ActiveSupport::Concern
4
4
 
5
- included do
6
- end
7
-
8
5
  module ClassMethods
9
6
  # Public: This method allows you to auto initialize associations
10
7
  # in your models. After calling it you don't need to call
@@ -1,3 +1,3 @@
1
1
  module AutoBuild
2
- VERSION = "0.4.2"
2
+ VERSION = "0.4.3"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: auto_build
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.2
4
+ version: 0.4.3
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,23 +9,22 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2011-12-22 00:00:00.000000000 -05:00
13
- default_executable:
12
+ date: 2012-01-21 00:00:00.000000000 Z
14
13
  dependencies:
15
14
  - !ruby/object:Gem::Dependency
16
15
  name: rails
17
- requirement: &2168685720 !ruby/object:Gem::Requirement
16
+ requirement: &70140948952400 !ruby/object:Gem::Requirement
18
17
  none: false
19
18
  requirements:
20
- - - ~>
19
+ - - ! '>'
21
20
  - !ruby/object:Gem::Version
22
- version: 3.1.3
21
+ version: 3.1.0
23
22
  type: :runtime
24
23
  prerelease: false
25
- version_requirements: *2168685720
24
+ version_requirements: *70140948952400
26
25
  - !ruby/object:Gem::Dependency
27
26
  name: sqlite3
28
- requirement: &2168685300 !ruby/object:Gem::Requirement
27
+ requirement: &70140948951980 !ruby/object:Gem::Requirement
29
28
  none: false
30
29
  requirements:
31
30
  - - ! '>='
@@ -33,7 +32,7 @@ dependencies:
33
32
  version: '0'
34
33
  type: :development
35
34
  prerelease: false
36
- version_requirements: *2168685300
35
+ version_requirements: *70140948951980
37
36
  description: Automatically initialize associations in Rails models
38
37
  email:
39
38
  - federico.builes@gmail.com
@@ -109,7 +108,6 @@ files:
109
108
  - test/dummy/test/unit/project_test.rb
110
109
  - test/dummy/test/unit/user_test.rb
111
110
  - test/test_helper.rb
112
- has_rdoc: true
113
111
  homepage: https://github.com/febuiles/auto_build
114
112
  licenses: []
115
113
  post_install_message:
@@ -124,7 +122,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
124
122
  version: '0'
125
123
  segments:
126
124
  - 0
127
- hash: -1539135804312300733
125
+ hash: -17299236569986558
128
126
  required_rubygems_version: !ruby/object:Gem::Requirement
129
127
  none: false
130
128
  requirements:
@@ -133,10 +131,10 @@ required_rubygems_version: !ruby/object:Gem::Requirement
133
131
  version: '0'
134
132
  segments:
135
133
  - 0
136
- hash: -1539135804312300733
134
+ hash: -17299236569986558
137
135
  requirements: []
138
136
  rubyforge_project:
139
- rubygems_version: 1.6.2
137
+ rubygems_version: 1.8.15
140
138
  signing_key:
141
139
  specification_version: 3
142
140
  summary: Automatically initialize associations in Rails models