deferred_associations 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 +1 -1
- data/deferred_associations.gemspec +59 -0
- metadata +2 -2
- data/has_and_belongs_to_many_with_deferred_save.gemspec +0 -63
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
0.5.
|
|
1
|
+
0.5.2
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
# Generated by jeweler
|
|
2
|
+
# DO NOT EDIT THIS FILE DIRECTLY
|
|
3
|
+
# Instead, edit Jeweler::Tasks in Rakefile, and run 'rake gemspec'
|
|
4
|
+
# -*- encoding: utf-8 -*-
|
|
5
|
+
|
|
6
|
+
Gem::Specification.new do |s|
|
|
7
|
+
s.name = "deferred_associations"
|
|
8
|
+
s.version = "0.5.2"
|
|
9
|
+
|
|
10
|
+
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
|
11
|
+
s.authors = ["Martin Koerner", "Tyler Rick", "Alessio Caiazza"]
|
|
12
|
+
s.date = "2012-03-18"
|
|
13
|
+
s.description = "Makes ActiveRecord defer/postpone saving the records you add to an habtm (has_and_belongs_to_many) or has_many\n association until you call model.save, allowing validation in the style of normal attributes. Additionally you\n can check inside before_save filters, if the association was altered."
|
|
14
|
+
s.email = "martin.koerner@objectfab.de"
|
|
15
|
+
s.files = [
|
|
16
|
+
"CHANGELOG",
|
|
17
|
+
"Rakefile",
|
|
18
|
+
"Readme.markdown",
|
|
19
|
+
"VERSION",
|
|
20
|
+
"deferred_associations.gemspec",
|
|
21
|
+
"init.rb",
|
|
22
|
+
"install.rb",
|
|
23
|
+
"lib/array_to_association_wrapper.rb",
|
|
24
|
+
"lib/has_and_belongs_to_many_with_deferred_save.rb",
|
|
25
|
+
"lib/has_many_with_deferred_save.rb",
|
|
26
|
+
"spec/.gitignore",
|
|
27
|
+
"spec/db/database.yml",
|
|
28
|
+
"spec/db/schema.rb",
|
|
29
|
+
"spec/has_and_belongs_to_many_with_deferred_save_spec.rb",
|
|
30
|
+
"spec/has_many_with_deferred_save_spec.rb",
|
|
31
|
+
"spec/models/chair.rb",
|
|
32
|
+
"spec/models/door.rb",
|
|
33
|
+
"spec/models/person.rb",
|
|
34
|
+
"spec/models/room.rb",
|
|
35
|
+
"spec/models/table.rb",
|
|
36
|
+
"spec/spec_helper.rb",
|
|
37
|
+
"uninstall.rb"
|
|
38
|
+
]
|
|
39
|
+
s.homepage = "http://github.com/MartinKoerner/deferred_associations"
|
|
40
|
+
s.require_paths = ["lib"]
|
|
41
|
+
s.rubygems_version = "1.8.15"
|
|
42
|
+
s.summary = "Makes ActiveRecord defer/postpone habtm or has_many associations"
|
|
43
|
+
|
|
44
|
+
if s.respond_to? :specification_version then
|
|
45
|
+
s.specification_version = 3
|
|
46
|
+
|
|
47
|
+
if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
|
|
48
|
+
s.add_runtime_dependency(%q<activerecord>, [">= 0"])
|
|
49
|
+
s.add_development_dependency(%q<rspec>, [">= 0"])
|
|
50
|
+
else
|
|
51
|
+
s.add_dependency(%q<activerecord>, [">= 0"])
|
|
52
|
+
s.add_dependency(%q<rspec>, [">= 0"])
|
|
53
|
+
end
|
|
54
|
+
else
|
|
55
|
+
s.add_dependency(%q<activerecord>, [">= 0"])
|
|
56
|
+
s.add_dependency(%q<rspec>, [">= 0"])
|
|
57
|
+
end
|
|
58
|
+
end
|
|
59
|
+
|
metadata
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
name: deferred_associations
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
4
|
prerelease:
|
|
5
|
-
version: 0.5.
|
|
5
|
+
version: 0.5.2
|
|
6
6
|
platform: ruby
|
|
7
7
|
authors:
|
|
8
8
|
- Martin Koerner
|
|
@@ -52,7 +52,7 @@ files:
|
|
|
52
52
|
- Rakefile
|
|
53
53
|
- Readme.markdown
|
|
54
54
|
- VERSION
|
|
55
|
-
-
|
|
55
|
+
- deferred_associations.gemspec
|
|
56
56
|
- init.rb
|
|
57
57
|
- install.rb
|
|
58
58
|
- lib/array_to_association_wrapper.rb
|
|
@@ -1,63 +0,0 @@
|
|
|
1
|
-
# Generated by jeweler
|
|
2
|
-
# DO NOT EDIT THIS FILE DIRECTLY
|
|
3
|
-
# Instead, edit Jeweler::Tasks in Rakefile, and run the gemspec command
|
|
4
|
-
# -*- encoding: utf-8 -*-
|
|
5
|
-
|
|
6
|
-
Gem::Specification.new do |s|
|
|
7
|
-
s.name = %q{deferred_associations}
|
|
8
|
-
s.version = "0.4.0"
|
|
9
|
-
|
|
10
|
-
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
|
11
|
-
s.authors = ["Martin Koerner", "Tyler Rick", "Alessio Caiazza"]
|
|
12
|
-
s.date = %q{2012-03-18}
|
|
13
|
-
s.files = [
|
|
14
|
-
".gitignore",
|
|
15
|
-
"Rakefile",
|
|
16
|
-
"Readme.markdown",
|
|
17
|
-
"VERSION",
|
|
18
|
-
"has_and_belongs_to_many_with_deferred_save.gemspec",
|
|
19
|
-
"init.rb",
|
|
20
|
-
"install.rb",
|
|
21
|
-
"lib/has_and_belongs_to_many_with_deferred_save.rb",
|
|
22
|
-
"lib/array_to_association_wrapper.rb",
|
|
23
|
-
"spec/.gitignore",
|
|
24
|
-
"spec/db/database.yml",
|
|
25
|
-
"spec/db/schema.rb",
|
|
26
|
-
"spec/has_and_belongs_to_many_with_deferred_save_spec.rb",
|
|
27
|
-
"spec/models/door.rb",
|
|
28
|
-
"spec/models/person.rb",
|
|
29
|
-
"spec/models/room.rb",
|
|
30
|
-
"spec/spec_helper.rb",
|
|
31
|
-
"uninstall.rb"
|
|
32
|
-
]
|
|
33
|
-
s.homepage = %q{http://github.com/neogrande/deferred_associations}
|
|
34
|
-
s.rdoc_options = ["--charset=UTF-8"]
|
|
35
|
-
s.require_paths = ["lib"]
|
|
36
|
-
s.rubygems_version = %q{1.3.5}
|
|
37
|
-
s.summary = %q{Make ActiveRecord defer/postpone saving the records you add to an habtm (has_and_belongs_to_many) or has_many association until you call model.save, allowing validation in the style of normal attributes.}
|
|
38
|
-
s.test_files = [
|
|
39
|
-
"spec/models/door.rb",
|
|
40
|
-
"spec/models/room.rb",
|
|
41
|
-
"spec/models/person.rb",
|
|
42
|
-
"spec/has_and_belongs_to_many_with_deferred_save_spec.rb",
|
|
43
|
-
"spec/spec_helper.rb",
|
|
44
|
-
"spec/db/schema.rb"
|
|
45
|
-
]
|
|
46
|
-
|
|
47
|
-
if s.respond_to? :specification_version then
|
|
48
|
-
current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION
|
|
49
|
-
s.specification_version = 3
|
|
50
|
-
|
|
51
|
-
if Gem::Version.new(Gem::RubyGemsVersion) >= Gem::Version.new('1.2.0') then
|
|
52
|
-
s.add_runtime_dependency(%q<activerecord>, [">= 0"])
|
|
53
|
-
s.add_development_dependency(%q<rspec>, [">= 0"])
|
|
54
|
-
else
|
|
55
|
-
s.add_dependency(%q<activerecord>, [">= 0"])
|
|
56
|
-
s.add_dependency(%q<rspec>, [">= 0"])
|
|
57
|
-
end
|
|
58
|
-
else
|
|
59
|
-
s.add_dependency(%q<activerecord>, [">= 0"])
|
|
60
|
-
s.add_dependency(%q<rspec>, [">= 0"])
|
|
61
|
-
end
|
|
62
|
-
end
|
|
63
|
-
|