auto_build 0.0.2 → 0.0.3
Sign up to get free protection for your applications and to get access to all the features.
- data/README.md +72 -12
- data/lib/auto_build/association.rb +98 -0
- data/lib/auto_build/builder.rb +68 -13
- data/lib/auto_build/version.rb +1 -1
- data/lib/auto_build.rb +5 -0
- data/test/auto_build_test.rb +21 -0
- data/test/dummy/app/models/nickname.rb +3 -0
- data/test/dummy/app/models/project.rb +2 -0
- data/test/dummy/app/models/user.rb +5 -0
- data/test/dummy/db/development.sqlite3 +0 -0
- data/test/dummy/db/migrate/20111213003425_create_projects.rb +10 -0
- data/test/dummy/db/migrate/20111213033025_create_nicknames.rb +10 -0
- data/test/dummy/db/schema.rb +15 -1
- data/test/dummy/db/test.sqlite3 +0 -0
- data/test/dummy/log/development.log +229 -0
- data/test/dummy/log/test.log +6183 -0
- data/test/dummy/test/fixtures/nicknames.yml +9 -0
- data/test/dummy/test/fixtures/projects.yml +9 -0
- data/test/dummy/test/unit/nickname_test.rb +7 -0
- data/test/dummy/test/unit/project_test.rb +7 -0
- metadata +23 -6
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.0.
|
4
|
+
version: 0.0.3
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,12 +9,12 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2011-12-
|
12
|
+
date: 2011-12-13 00:00:00.000000000 -05:00
|
13
13
|
default_executable:
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: rails
|
17
|
-
requirement: &
|
17
|
+
requirement: &2155992140 !ruby/object:Gem::Requirement
|
18
18
|
none: false
|
19
19
|
requirements:
|
20
20
|
- - ~>
|
@@ -22,10 +22,10 @@ dependencies:
|
|
22
22
|
version: 3.1.3
|
23
23
|
type: :runtime
|
24
24
|
prerelease: false
|
25
|
-
version_requirements: *
|
25
|
+
version_requirements: *2155992140
|
26
26
|
- !ruby/object:Gem::Dependency
|
27
27
|
name: sqlite3
|
28
|
-
requirement: &
|
28
|
+
requirement: &2155976840 !ruby/object:Gem::Requirement
|
29
29
|
none: false
|
30
30
|
requirements:
|
31
31
|
- - ! '>='
|
@@ -33,7 +33,7 @@ dependencies:
|
|
33
33
|
version: '0'
|
34
34
|
type: :development
|
35
35
|
prerelease: false
|
36
|
-
version_requirements: *
|
36
|
+
version_requirements: *2155976840
|
37
37
|
description: Automatically initialize associations in Rails models
|
38
38
|
email:
|
39
39
|
- federico.builes@gmail.com
|
@@ -41,6 +41,7 @@ executables: []
|
|
41
41
|
extensions: []
|
42
42
|
extra_rdoc_files: []
|
43
43
|
files:
|
44
|
+
- lib/auto_build/association.rb
|
44
45
|
- lib/auto_build/builder.rb
|
45
46
|
- lib/auto_build/version.rb
|
46
47
|
- lib/auto_build.rb
|
@@ -54,8 +55,10 @@ files:
|
|
54
55
|
- test/dummy/app/controllers/application_controller.rb
|
55
56
|
- test/dummy/app/helpers/application_helper.rb
|
56
57
|
- test/dummy/app/models/address.rb
|
58
|
+
- test/dummy/app/models/nickname.rb
|
57
59
|
- test/dummy/app/models/phone.rb
|
58
60
|
- test/dummy/app/models/picture.rb
|
61
|
+
- test/dummy/app/models/project.rb
|
59
62
|
- test/dummy/app/models/user.rb
|
60
63
|
- test/dummy/app/views/layouts/application.html.erb
|
61
64
|
- test/dummy/config/application.rb
|
@@ -79,6 +82,8 @@ files:
|
|
79
82
|
- test/dummy/db/migrate/20111211212813_create_addresses.rb
|
80
83
|
- test/dummy/db/migrate/20111211213814_create_phones.rb
|
81
84
|
- test/dummy/db/migrate/20111212001258_create_pictures.rb
|
85
|
+
- test/dummy/db/migrate/20111213003425_create_projects.rb
|
86
|
+
- test/dummy/db/migrate/20111213033025_create_nicknames.rb
|
82
87
|
- test/dummy/db/schema.rb
|
83
88
|
- test/dummy/db/test.sqlite3
|
84
89
|
- test/dummy/log/development.log
|
@@ -90,12 +95,16 @@ files:
|
|
90
95
|
- test/dummy/Rakefile
|
91
96
|
- test/dummy/script/rails
|
92
97
|
- test/dummy/test/fixtures/addresses.yml
|
98
|
+
- test/dummy/test/fixtures/nicknames.yml
|
93
99
|
- test/dummy/test/fixtures/phones.yml
|
94
100
|
- test/dummy/test/fixtures/pictures.yml
|
101
|
+
- test/dummy/test/fixtures/projects.yml
|
95
102
|
- test/dummy/test/fixtures/users.yml
|
96
103
|
- test/dummy/test/unit/address_test.rb
|
104
|
+
- test/dummy/test/unit/nickname_test.rb
|
97
105
|
- test/dummy/test/unit/phone_test.rb
|
98
106
|
- test/dummy/test/unit/picture_test.rb
|
107
|
+
- test/dummy/test/unit/project_test.rb
|
99
108
|
- test/dummy/test/unit/user_test.rb
|
100
109
|
- test/test_helper.rb
|
101
110
|
has_rdoc: true
|
@@ -130,8 +139,10 @@ test_files:
|
|
130
139
|
- test/dummy/app/controllers/application_controller.rb
|
131
140
|
- test/dummy/app/helpers/application_helper.rb
|
132
141
|
- test/dummy/app/models/address.rb
|
142
|
+
- test/dummy/app/models/nickname.rb
|
133
143
|
- test/dummy/app/models/phone.rb
|
134
144
|
- test/dummy/app/models/picture.rb
|
145
|
+
- test/dummy/app/models/project.rb
|
135
146
|
- test/dummy/app/models/user.rb
|
136
147
|
- test/dummy/app/views/layouts/application.html.erb
|
137
148
|
- test/dummy/config/application.rb
|
@@ -155,6 +166,8 @@ test_files:
|
|
155
166
|
- test/dummy/db/migrate/20111211212813_create_addresses.rb
|
156
167
|
- test/dummy/db/migrate/20111211213814_create_phones.rb
|
157
168
|
- test/dummy/db/migrate/20111212001258_create_pictures.rb
|
169
|
+
- test/dummy/db/migrate/20111213003425_create_projects.rb
|
170
|
+
- test/dummy/db/migrate/20111213033025_create_nicknames.rb
|
158
171
|
- test/dummy/db/schema.rb
|
159
172
|
- test/dummy/db/test.sqlite3
|
160
173
|
- test/dummy/log/development.log
|
@@ -166,11 +179,15 @@ test_files:
|
|
166
179
|
- test/dummy/Rakefile
|
167
180
|
- test/dummy/script/rails
|
168
181
|
- test/dummy/test/fixtures/addresses.yml
|
182
|
+
- test/dummy/test/fixtures/nicknames.yml
|
169
183
|
- test/dummy/test/fixtures/phones.yml
|
170
184
|
- test/dummy/test/fixtures/pictures.yml
|
185
|
+
- test/dummy/test/fixtures/projects.yml
|
171
186
|
- test/dummy/test/fixtures/users.yml
|
172
187
|
- test/dummy/test/unit/address_test.rb
|
188
|
+
- test/dummy/test/unit/nickname_test.rb
|
173
189
|
- test/dummy/test/unit/phone_test.rb
|
174
190
|
- test/dummy/test/unit/picture_test.rb
|
191
|
+
- test/dummy/test/unit/project_test.rb
|
175
192
|
- test/dummy/test/unit/user_test.rb
|
176
193
|
- test/test_helper.rb
|