schema_associations 0.1.0.pre2 → 0.1.0.pre3
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/schema_associations/version.rb +1 -1
- data/schema_associations.gemspec +1 -1
- metadata +16 -39
data/schema_associations.gemspec
CHANGED
@@ -8,7 +8,7 @@ Gem::Specification.new do |s|
|
|
8
8
|
s.platform = Gem::Platform::RUBY
|
9
9
|
s.authors = ["Ronen Barzel", "Michał Łomnicki"]
|
10
10
|
s.email = ["ronen@barzel.org", "michal.lomnicki@gmail.com"]
|
11
|
-
s.homepage = "https://github.com/
|
11
|
+
s.homepage = "https://github.com/lomba/schema_associations"
|
12
12
|
s.summary = "ActiveRecord extension that automatically (DRY) creates associations based on the schema"
|
13
13
|
s.description = "SchemaAssociations extends ActiveRecord to automatically create associations by inspecting the database schema. This is more more DRY than the standard behavior, for which in addition to specifying the foreign key in the migration, you must also specify complementary associations in two model files (e.g. a :belongs_to and a :has_many)."
|
14
14
|
|
metadata
CHANGED
@@ -1,14 +1,8 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: schema_associations
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
|
5
|
-
|
6
|
-
segments:
|
7
|
-
- 0
|
8
|
-
- 1
|
9
|
-
- 0
|
10
|
-
- pre2
|
11
|
-
version: 0.1.0.pre2
|
4
|
+
prerelease: 6
|
5
|
+
version: 0.1.0.pre3
|
12
6
|
platform: ruby
|
13
7
|
authors:
|
14
8
|
- Ronen Barzel
|
@@ -17,7 +11,7 @@ autorequire:
|
|
17
11
|
bindir: bin
|
18
12
|
cert_chain: []
|
19
13
|
|
20
|
-
date: 2011-07-
|
14
|
+
date: 2011-07-21 00:00:00 -07:00
|
21
15
|
default_executable:
|
22
16
|
dependencies:
|
23
17
|
- !ruby/object:Gem::Dependency
|
@@ -28,9 +22,6 @@ dependencies:
|
|
28
22
|
requirements:
|
29
23
|
- - ">="
|
30
24
|
- !ruby/object:Gem::Version
|
31
|
-
hash: 3
|
32
|
-
segments:
|
33
|
-
- 0
|
34
25
|
version: "0"
|
35
26
|
type: :runtime
|
36
27
|
version_requirements: *id001
|
@@ -42,11 +33,6 @@ dependencies:
|
|
42
33
|
requirements:
|
43
34
|
- - ~>
|
44
35
|
- !ruby/object:Gem::Version
|
45
|
-
hash: 49
|
46
|
-
segments:
|
47
|
-
- 0
|
48
|
-
- 8
|
49
|
-
- 7
|
50
36
|
version: 0.8.7
|
51
37
|
type: :development
|
52
38
|
version_requirements: *id002
|
@@ -58,9 +44,6 @@ dependencies:
|
|
58
44
|
requirements:
|
59
45
|
- - ">="
|
60
46
|
- !ruby/object:Gem::Version
|
61
|
-
hash: 3
|
62
|
-
segments:
|
63
|
-
- 0
|
64
47
|
version: "0"
|
65
48
|
type: :development
|
66
49
|
version_requirements: *id003
|
@@ -72,9 +55,6 @@ dependencies:
|
|
72
55
|
requirements:
|
73
56
|
- - ">="
|
74
57
|
- !ruby/object:Gem::Version
|
75
|
-
hash: 3
|
76
|
-
segments:
|
77
|
-
- 0
|
78
58
|
version: "0"
|
79
59
|
type: :development
|
80
60
|
version_requirements: *id004
|
@@ -86,9 +66,6 @@ dependencies:
|
|
86
66
|
requirements:
|
87
67
|
- - ">="
|
88
68
|
- !ruby/object:Gem::Version
|
89
|
-
hash: 3
|
90
|
-
segments:
|
91
|
-
- 0
|
92
69
|
version: "0"
|
93
70
|
type: :development
|
94
71
|
version_requirements: *id005
|
@@ -100,12 +77,20 @@ dependencies:
|
|
100
77
|
requirements:
|
101
78
|
- - ">="
|
102
79
|
- !ruby/object:Gem::Version
|
103
|
-
hash: 3
|
104
|
-
segments:
|
105
|
-
- 0
|
106
80
|
version: "0"
|
107
81
|
type: :development
|
108
82
|
version_requirements: *id006
|
83
|
+
- !ruby/object:Gem::Dependency
|
84
|
+
name: ruby-debug19
|
85
|
+
prerelease: false
|
86
|
+
requirement: &id007 !ruby/object:Gem::Requirement
|
87
|
+
none: false
|
88
|
+
requirements:
|
89
|
+
- - ">="
|
90
|
+
- !ruby/object:Gem::Version
|
91
|
+
version: "0"
|
92
|
+
type: :development
|
93
|
+
version_requirements: *id007
|
109
94
|
description: SchemaAssociations extends ActiveRecord to automatically create associations by inspecting the database schema. This is more more DRY than the standard behavior, for which in addition to specifying the foreign key in the migration, you must also specify complementary associations in two model files (e.g. a :belongs_to and a :has_many).
|
110
95
|
email:
|
111
96
|
- ronen@barzel.org
|
@@ -133,7 +118,7 @@ files:
|
|
133
118
|
- spec/connection.rb
|
134
119
|
- spec/spec_helper.rb
|
135
120
|
has_rdoc: true
|
136
|
-
homepage: https://github.com/
|
121
|
+
homepage: https://github.com/lomba/schema_associations
|
137
122
|
licenses: []
|
138
123
|
|
139
124
|
post_install_message:
|
@@ -146,25 +131,17 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
146
131
|
requirements:
|
147
132
|
- - ">="
|
148
133
|
- !ruby/object:Gem::Version
|
149
|
-
hash: 3
|
150
|
-
segments:
|
151
|
-
- 0
|
152
134
|
version: "0"
|
153
135
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
154
136
|
none: false
|
155
137
|
requirements:
|
156
138
|
- - ">"
|
157
139
|
- !ruby/object:Gem::Version
|
158
|
-
hash: 25
|
159
|
-
segments:
|
160
|
-
- 1
|
161
|
-
- 3
|
162
|
-
- 1
|
163
140
|
version: 1.3.1
|
164
141
|
requirements: []
|
165
142
|
|
166
143
|
rubyforge_project: schema_associations
|
167
|
-
rubygems_version: 1.
|
144
|
+
rubygems_version: 1.6.2
|
168
145
|
signing_key:
|
169
146
|
specification_version: 3
|
170
147
|
summary: ActiveRecord extension that automatically (DRY) creates associations based on the schema
|