tenacity 0.5.5 → 0.5.6
Sign up to get free protection for your applications and to get access to all the features.
- data/THANKS.md +1 -0
- data/history.txt +6 -0
- data/lib/tenacity/associate_proxy.rb +2 -2
- data/lib/tenacity/orm_ext/activerecord.rb +2 -2
- data/lib/tenacity/orm_ext/couchrest.rb +2 -2
- data/lib/tenacity/orm_ext/datamapper.rb +2 -2
- data/lib/tenacity/orm_ext/mongo_mapper.rb +2 -2
- data/lib/tenacity/orm_ext/mongoid.rb +2 -2
- data/lib/tenacity/orm_ext/ripple.rb +2 -2
- data/lib/tenacity/orm_ext/sequel.rb +2 -2
- data/lib/tenacity/orm_ext/toystore.rb +2 -2
- data/lib/tenacity/version.rb +1 -1
- data/tenacity.gemspec +20 -19
- data/test/fixtures/active_record_organization.rb +5 -0
- data/test/fixtures/active_record_user.rb +5 -0
- data/test/fixtures/mongoid_campus_hub.rb +9 -0
- data/test/helpers/active_record_test_helper.rb +7 -0
- data/test/orm_ext/activerecord_test.rb +20 -1
- data/test/orm_ext/datamapper_test.rb +7 -1
- data/test/orm_ext/mongo_mapper_test.rb +7 -1
- data/test/orm_ext/mongoid_test.rb +7 -1
- data/test/orm_ext/ripple_test.rb +7 -1
- data/test/orm_ext/sequel_test.rb +7 -1
- data/test/orm_ext/toystore_test.rb +7 -1
- data/test/test_helper.rb +1 -1
- metadata +80 -66
data/THANKS.md
CHANGED
@@ -6,6 +6,7 @@ following people have contributed to the project by reporting problems,
|
|
6
6
|
suggesting improvements, or submitting changes.
|
7
7
|
|
8
8
|
* [danielgranat](http://github.com/danielgranat)
|
9
|
+
* [raphaelcm](http://github.com/raphaelcm)
|
9
10
|
|
10
11
|
Patches are welcome. The primary source for this software project is [on Github](http://github.com/jwood/tenacity)
|
11
12
|
|
data/history.txt
CHANGED
data/lib/tenacity/version.rb
CHANGED
data/tenacity.gemspec
CHANGED
@@ -18,35 +18,36 @@ Gem::Specification.new do |s|
|
|
18
18
|
|
19
19
|
s.add_runtime_dependency "activesupport", ">= 2.3"
|
20
20
|
|
21
|
-
s.add_development_dependency "bundler", "
|
22
|
-
s.add_development_dependency "rake", "
|
23
|
-
s.add_development_dependency "rcov", "
|
24
|
-
s.add_development_dependency "shoulda", "
|
25
|
-
s.add_development_dependency "mocha", "
|
26
|
-
s.add_development_dependency "yard", "
|
21
|
+
s.add_development_dependency "bundler", ">= 1.0.0"
|
22
|
+
s.add_development_dependency "rake", ">= 0.8.7"
|
23
|
+
s.add_development_dependency "rcov", "0.9.9"
|
24
|
+
s.add_development_dependency "shoulda", "2.11.3"
|
25
|
+
s.add_development_dependency "mocha", "0.9.10"
|
26
|
+
s.add_development_dependency "yard", "0.6.4"
|
27
27
|
|
28
28
|
# Relational DBs
|
29
|
-
s.add_development_dependency "sqlite3-ruby", "
|
30
|
-
s.add_development_dependency "activerecord", "
|
31
|
-
s.add_development_dependency "datamapper", "
|
32
|
-
s.add_development_dependency "dm-sqlite-adapter", "
|
33
|
-
s.add_development_dependency "sequel", "
|
29
|
+
s.add_development_dependency "sqlite3-ruby", "1.3.1"
|
30
|
+
s.add_development_dependency "activerecord", "3.0.7"
|
31
|
+
s.add_development_dependency "datamapper", "1.0.2"
|
32
|
+
s.add_development_dependency "dm-sqlite-adapter", "1.0.2"
|
33
|
+
s.add_development_dependency "sequel", "3.19.0"
|
34
34
|
|
35
35
|
# MongoDB
|
36
|
-
s.add_development_dependency "mongo_mapper", "
|
37
|
-
s.add_development_dependency "
|
38
|
-
s.add_development_dependency "
|
36
|
+
s.add_development_dependency "mongo_mapper", "0.9.0"
|
37
|
+
s.add_development_dependency "mongo", "1.6.2"
|
38
|
+
s.add_development_dependency "bson_ext", "1.6.2"
|
39
|
+
s.add_development_dependency "mongoid", "2.0.0"
|
39
40
|
|
40
41
|
# CouchDB
|
41
|
-
s.add_development_dependency "couchrest", "
|
42
|
-
s.add_development_dependency "couchrest_model", "
|
42
|
+
s.add_development_dependency "couchrest", "1.0.2"
|
43
|
+
s.add_development_dependency "couchrest_model", "1.0.0"
|
43
44
|
|
44
45
|
# Riak
|
45
|
-
s.add_development_dependency "ripple", "
|
46
|
+
s.add_development_dependency "ripple", "0.9.2"
|
46
47
|
|
47
48
|
# Multiple
|
48
|
-
s.add_development_dependency "toystore", "
|
49
|
-
s.add_development_dependency "adapter-mongo", "
|
49
|
+
s.add_development_dependency "toystore", "0.8.0"
|
50
|
+
s.add_development_dependency "adapter-mongo", "0.5.4"
|
50
51
|
|
51
52
|
s.files = `git ls-files`.split("\n")
|
52
53
|
s.executables = `git ls-files`.split("\n").map{|f| f =~ /^bin\/(.*)/ ? $1 : nil}.compact
|
@@ -29,6 +29,13 @@ ActiveRecord::Schema.define :version => 0 do
|
|
29
29
|
create_table :active_record_object_with_string_ids, :force => true, :id => false do |t|
|
30
30
|
t.string :id, :limit => 36, :primary => true
|
31
31
|
end
|
32
|
+
|
33
|
+
create_table :active_record_users, :force => true do |t|
|
34
|
+
t.integer :active_record_organization_id
|
35
|
+
end
|
36
|
+
|
37
|
+
create_table :active_record_organizations, :force => true do |t|
|
38
|
+
end
|
32
39
|
|
33
40
|
create_table :active_record_has_one_targets, :force => true do |t|
|
34
41
|
t.integer :active_record_object_id
|
@@ -98,9 +98,15 @@ class ActiveRecordTest < Test::Unit::TestCase
|
|
98
98
|
assert object._t_save_if_dirty
|
99
99
|
end
|
100
100
|
|
101
|
+
should "return true for save if valid object is not dirty" do
|
102
|
+
object = ActiveRecordObject.create
|
103
|
+
assert object.save
|
104
|
+
end
|
105
|
+
|
101
106
|
should "not save the object if it is not dirty" do
|
102
107
|
object = ActiveRecordObject.create
|
103
|
-
|
108
|
+
ActiveRecordObject.any_instance.stubs(:save).raises(RuntimeError.new("should not have called this"))
|
109
|
+
assert object._t_save_if_dirty
|
104
110
|
end
|
105
111
|
|
106
112
|
should "be able to successfully determine the id type" do
|
@@ -110,6 +116,19 @@ class ActiveRecordTest < Test::Unit::TestCase
|
|
110
116
|
class ActiveRecordObjectWithNoTable < ActiveRecord::Base; include Tenacity; end
|
111
117
|
assert_equal Integer, ActiveRecordObjectWithNoTable._t_id_type
|
112
118
|
end
|
119
|
+
|
120
|
+
require_mongoid do
|
121
|
+
should "successfully save if belongs_to another AR object which is assigned from a mongoid object" do
|
122
|
+
org = ActiveRecordOrganization.create
|
123
|
+
campus_hub = MongoidCampusHub.create
|
124
|
+
campus_hub.active_record_organization = org
|
125
|
+
campus_hub.save!
|
126
|
+
user = ActiveRecordUser.new
|
127
|
+
user.active_record_organization = campus_hub.active_record_organization
|
128
|
+
assert user.save
|
129
|
+
assert user.active_record_organization.save(:validate => false)
|
130
|
+
end
|
131
|
+
end
|
113
132
|
end
|
114
133
|
|
115
134
|
private
|
@@ -89,9 +89,15 @@ class DataMapperTest < Test::Unit::TestCase
|
|
89
89
|
assert object._t_save_if_dirty
|
90
90
|
end
|
91
91
|
|
92
|
+
should "return true for save if valid object is not dirty" do
|
93
|
+
object = DataMapperObject.create
|
94
|
+
assert object.save
|
95
|
+
end
|
96
|
+
|
92
97
|
should "not save the object if it is not dirty" do
|
93
98
|
object = DataMapperObject.create
|
94
|
-
|
99
|
+
DataMapperObject.any_instance.stubs(:save).raises(RuntimeError.new("should not have called this"))
|
100
|
+
assert object._t_save_if_dirty
|
95
101
|
end
|
96
102
|
|
97
103
|
should "be able to successfully determine the id type" do
|
@@ -99,9 +99,15 @@ class MongoMapperTest < Test::Unit::TestCase
|
|
99
99
|
assert object._t_save_if_dirty
|
100
100
|
end
|
101
101
|
|
102
|
+
should "return true for save if valid object is not dirty" do
|
103
|
+
object = MongoMapperObject.create
|
104
|
+
assert object.save
|
105
|
+
end
|
106
|
+
|
102
107
|
should "not save the object if it is not dirty" do
|
103
108
|
object = MongoMapperObject.create
|
104
|
-
|
109
|
+
MongoMapperObject.any_instance.stubs(:save).raises(RuntimeError.new("should not have called this"))
|
110
|
+
assert object._t_save_if_dirty
|
105
111
|
end
|
106
112
|
end
|
107
113
|
|
@@ -100,9 +100,15 @@ require_mongoid do
|
|
100
100
|
assert object._t_save_if_dirty
|
101
101
|
end
|
102
102
|
|
103
|
+
should "return true for save if valid object is not dirty" do
|
104
|
+
object = MongoidObject.create
|
105
|
+
assert object.save
|
106
|
+
end
|
107
|
+
|
103
108
|
should "not save the object if it is not dirty" do
|
104
109
|
object = MongoidObject.create
|
105
|
-
|
110
|
+
MongoidObject.any_instance.stubs(:save).raises(RuntimeError.new("should not have called this"))
|
111
|
+
assert object._t_save_if_dirty
|
106
112
|
end
|
107
113
|
end
|
108
114
|
|
data/test/orm_ext/ripple_test.rb
CHANGED
@@ -139,9 +139,15 @@ if ENV['LONG'] == 'true'
|
|
139
139
|
assert object._t_save_if_dirty
|
140
140
|
end
|
141
141
|
|
142
|
+
should "return true for save if valid object is not dirty" do
|
143
|
+
object = RippleObject.create
|
144
|
+
assert object.save
|
145
|
+
end
|
146
|
+
|
142
147
|
should "not save the object if it is not dirty" do
|
143
148
|
object = RippleObject.create
|
144
|
-
|
149
|
+
RippleObject.any_instance.stubs(:save).raises(RuntimeError.new("should not have called this"))
|
150
|
+
assert object._t_save_if_dirty
|
145
151
|
end
|
146
152
|
end
|
147
153
|
|
data/test/orm_ext/sequel_test.rb
CHANGED
@@ -99,9 +99,15 @@ class SequelTest < Test::Unit::TestCase
|
|
99
99
|
assert object._t_save_if_dirty
|
100
100
|
end
|
101
101
|
|
102
|
+
should "return true for save if valid object is not dirty" do
|
103
|
+
object = SequelObject.create
|
104
|
+
assert object.save
|
105
|
+
end
|
106
|
+
|
102
107
|
should "not save the object if it is not dirty" do
|
103
108
|
object = SequelObject.create
|
104
|
-
|
109
|
+
SequelObject.any_instance.stubs(:save).raises(RuntimeError.new("should not have called this"))
|
110
|
+
assert object._t_save_if_dirty
|
105
111
|
end
|
106
112
|
|
107
113
|
should "be able to successfully determine the id type" do
|
@@ -101,9 +101,15 @@ require_toystore do
|
|
101
101
|
assert object._t_save_if_dirty
|
102
102
|
end
|
103
103
|
|
104
|
+
should "return true for save if valid object is not dirty" do
|
105
|
+
object = ToystoreObject.create
|
106
|
+
assert object.save
|
107
|
+
end
|
108
|
+
|
104
109
|
should "not save the object if it is not dirty" do
|
105
110
|
object = ToystoreObject.create
|
106
|
-
|
111
|
+
ToystoreObject.any_instance.stubs(:save).raises(RuntimeError.new("should not have called this"))
|
112
|
+
assert object._t_save_if_dirty
|
107
113
|
end
|
108
114
|
end
|
109
115
|
|
data/test/test_helper.rb
CHANGED
@@ -35,7 +35,7 @@ def setup_fixtures
|
|
35
35
|
filename =~ /.*\/(.*)\.rb/
|
36
36
|
clazz = Kernel.const_get($1.camelcase)
|
37
37
|
if clazz.respond_to?(:delete_all)
|
38
|
-
clazz.delete_all
|
38
|
+
clazz.delete_all rescue true
|
39
39
|
elsif clazz.respond_to?(:db)
|
40
40
|
clazz.db["delete from #{clazz.table_name}"].delete
|
41
41
|
elsif clazz.respond_to?(:destroy!)
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: tenacity
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.5.
|
4
|
+
version: 0.5.6
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,11 +9,11 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2012-04-
|
12
|
+
date: 2012-04-24 00:00:00.000000000Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: activesupport
|
16
|
-
requirement: &
|
16
|
+
requirement: &2166038440 !ruby/object:Gem::Requirement
|
17
17
|
none: false
|
18
18
|
requirements:
|
19
19
|
- - ! '>='
|
@@ -21,216 +21,227 @@ dependencies:
|
|
21
21
|
version: '2.3'
|
22
22
|
type: :runtime
|
23
23
|
prerelease: false
|
24
|
-
version_requirements: *
|
24
|
+
version_requirements: *2166038440
|
25
25
|
- !ruby/object:Gem::Dependency
|
26
26
|
name: bundler
|
27
|
-
requirement: &
|
27
|
+
requirement: &2166037340 !ruby/object:Gem::Requirement
|
28
28
|
none: false
|
29
29
|
requirements:
|
30
|
-
- -
|
30
|
+
- - ! '>='
|
31
31
|
- !ruby/object:Gem::Version
|
32
32
|
version: 1.0.0
|
33
33
|
type: :development
|
34
34
|
prerelease: false
|
35
|
-
version_requirements: *
|
35
|
+
version_requirements: *2166037340
|
36
36
|
- !ruby/object:Gem::Dependency
|
37
37
|
name: rake
|
38
|
-
requirement: &
|
38
|
+
requirement: &2166036260 !ruby/object:Gem::Requirement
|
39
39
|
none: false
|
40
40
|
requirements:
|
41
|
-
- -
|
41
|
+
- - ! '>='
|
42
42
|
- !ruby/object:Gem::Version
|
43
43
|
version: 0.8.7
|
44
44
|
type: :development
|
45
45
|
prerelease: false
|
46
|
-
version_requirements: *
|
46
|
+
version_requirements: *2166036260
|
47
47
|
- !ruby/object:Gem::Dependency
|
48
48
|
name: rcov
|
49
|
-
requirement: &
|
49
|
+
requirement: &2166035700 !ruby/object:Gem::Requirement
|
50
50
|
none: false
|
51
51
|
requirements:
|
52
|
-
- -
|
52
|
+
- - =
|
53
53
|
- !ruby/object:Gem::Version
|
54
54
|
version: 0.9.9
|
55
55
|
type: :development
|
56
56
|
prerelease: false
|
57
|
-
version_requirements: *
|
57
|
+
version_requirements: *2166035700
|
58
58
|
- !ruby/object:Gem::Dependency
|
59
59
|
name: shoulda
|
60
|
-
requirement: &
|
60
|
+
requirement: &2166035160 !ruby/object:Gem::Requirement
|
61
61
|
none: false
|
62
62
|
requirements:
|
63
|
-
- -
|
63
|
+
- - =
|
64
64
|
- !ruby/object:Gem::Version
|
65
65
|
version: 2.11.3
|
66
66
|
type: :development
|
67
67
|
prerelease: false
|
68
|
-
version_requirements: *
|
68
|
+
version_requirements: *2166035160
|
69
69
|
- !ruby/object:Gem::Dependency
|
70
70
|
name: mocha
|
71
|
-
requirement: &
|
71
|
+
requirement: &2166034420 !ruby/object:Gem::Requirement
|
72
72
|
none: false
|
73
73
|
requirements:
|
74
|
-
- -
|
74
|
+
- - =
|
75
75
|
- !ruby/object:Gem::Version
|
76
76
|
version: 0.9.10
|
77
77
|
type: :development
|
78
78
|
prerelease: false
|
79
|
-
version_requirements: *
|
79
|
+
version_requirements: *2166034420
|
80
80
|
- !ruby/object:Gem::Dependency
|
81
81
|
name: yard
|
82
|
-
requirement: &
|
82
|
+
requirement: &2166033900 !ruby/object:Gem::Requirement
|
83
83
|
none: false
|
84
84
|
requirements:
|
85
|
-
- -
|
85
|
+
- - =
|
86
86
|
- !ruby/object:Gem::Version
|
87
87
|
version: 0.6.4
|
88
88
|
type: :development
|
89
89
|
prerelease: false
|
90
|
-
version_requirements: *
|
90
|
+
version_requirements: *2166033900
|
91
91
|
- !ruby/object:Gem::Dependency
|
92
92
|
name: sqlite3-ruby
|
93
|
-
requirement: &
|
93
|
+
requirement: &2166026620 !ruby/object:Gem::Requirement
|
94
94
|
none: false
|
95
95
|
requirements:
|
96
|
-
- -
|
96
|
+
- - =
|
97
97
|
- !ruby/object:Gem::Version
|
98
98
|
version: 1.3.1
|
99
99
|
type: :development
|
100
100
|
prerelease: false
|
101
|
-
version_requirements: *
|
101
|
+
version_requirements: *2166026620
|
102
102
|
- !ruby/object:Gem::Dependency
|
103
103
|
name: activerecord
|
104
|
-
requirement: &
|
104
|
+
requirement: &2166025660 !ruby/object:Gem::Requirement
|
105
105
|
none: false
|
106
106
|
requirements:
|
107
|
-
- -
|
107
|
+
- - =
|
108
108
|
- !ruby/object:Gem::Version
|
109
|
-
version: 3.0.
|
109
|
+
version: 3.0.7
|
110
110
|
type: :development
|
111
111
|
prerelease: false
|
112
|
-
version_requirements: *
|
112
|
+
version_requirements: *2166025660
|
113
113
|
- !ruby/object:Gem::Dependency
|
114
114
|
name: datamapper
|
115
|
-
requirement: &
|
115
|
+
requirement: &2166024660 !ruby/object:Gem::Requirement
|
116
116
|
none: false
|
117
117
|
requirements:
|
118
|
-
- -
|
118
|
+
- - =
|
119
119
|
- !ruby/object:Gem::Version
|
120
120
|
version: 1.0.2
|
121
121
|
type: :development
|
122
122
|
prerelease: false
|
123
|
-
version_requirements: *
|
123
|
+
version_requirements: *2166024660
|
124
124
|
- !ruby/object:Gem::Dependency
|
125
125
|
name: dm-sqlite-adapter
|
126
|
-
requirement: &
|
126
|
+
requirement: &2166023980 !ruby/object:Gem::Requirement
|
127
127
|
none: false
|
128
128
|
requirements:
|
129
|
-
- -
|
129
|
+
- - =
|
130
130
|
- !ruby/object:Gem::Version
|
131
131
|
version: 1.0.2
|
132
132
|
type: :development
|
133
133
|
prerelease: false
|
134
|
-
version_requirements: *
|
134
|
+
version_requirements: *2166023980
|
135
135
|
- !ruby/object:Gem::Dependency
|
136
136
|
name: sequel
|
137
|
-
requirement: &
|
137
|
+
requirement: &2166023360 !ruby/object:Gem::Requirement
|
138
138
|
none: false
|
139
139
|
requirements:
|
140
|
-
- -
|
140
|
+
- - =
|
141
141
|
- !ruby/object:Gem::Version
|
142
142
|
version: 3.19.0
|
143
143
|
type: :development
|
144
144
|
prerelease: false
|
145
|
-
version_requirements: *
|
145
|
+
version_requirements: *2166023360
|
146
146
|
- !ruby/object:Gem::Dependency
|
147
147
|
name: mongo_mapper
|
148
|
-
requirement: &
|
148
|
+
requirement: &2166022540 !ruby/object:Gem::Requirement
|
149
149
|
none: false
|
150
150
|
requirements:
|
151
|
-
- -
|
151
|
+
- - =
|
152
152
|
- !ruby/object:Gem::Version
|
153
153
|
version: 0.9.0
|
154
154
|
type: :development
|
155
155
|
prerelease: false
|
156
|
-
version_requirements: *
|
156
|
+
version_requirements: *2166022540
|
157
|
+
- !ruby/object:Gem::Dependency
|
158
|
+
name: mongo
|
159
|
+
requirement: &2166021980 !ruby/object:Gem::Requirement
|
160
|
+
none: false
|
161
|
+
requirements:
|
162
|
+
- - =
|
163
|
+
- !ruby/object:Gem::Version
|
164
|
+
version: 1.6.2
|
165
|
+
type: :development
|
166
|
+
prerelease: false
|
167
|
+
version_requirements: *2166021980
|
157
168
|
- !ruby/object:Gem::Dependency
|
158
169
|
name: bson_ext
|
159
|
-
requirement: &
|
170
|
+
requirement: &2166021220 !ruby/object:Gem::Requirement
|
160
171
|
none: false
|
161
172
|
requirements:
|
162
|
-
- -
|
173
|
+
- - =
|
163
174
|
- !ruby/object:Gem::Version
|
164
|
-
version: 1.
|
175
|
+
version: 1.6.2
|
165
176
|
type: :development
|
166
177
|
prerelease: false
|
167
|
-
version_requirements: *
|
178
|
+
version_requirements: *2166021220
|
168
179
|
- !ruby/object:Gem::Dependency
|
169
180
|
name: mongoid
|
170
|
-
requirement: &
|
181
|
+
requirement: &2166020340 !ruby/object:Gem::Requirement
|
171
182
|
none: false
|
172
183
|
requirements:
|
173
|
-
- -
|
184
|
+
- - =
|
174
185
|
- !ruby/object:Gem::Version
|
175
186
|
version: 2.0.0
|
176
187
|
type: :development
|
177
188
|
prerelease: false
|
178
|
-
version_requirements: *
|
189
|
+
version_requirements: *2166020340
|
179
190
|
- !ruby/object:Gem::Dependency
|
180
191
|
name: couchrest
|
181
|
-
requirement: &
|
192
|
+
requirement: &2166019620 !ruby/object:Gem::Requirement
|
182
193
|
none: false
|
183
194
|
requirements:
|
184
|
-
- -
|
195
|
+
- - =
|
185
196
|
- !ruby/object:Gem::Version
|
186
|
-
version: 1.0.
|
197
|
+
version: 1.0.2
|
187
198
|
type: :development
|
188
199
|
prerelease: false
|
189
|
-
version_requirements: *
|
200
|
+
version_requirements: *2166019620
|
190
201
|
- !ruby/object:Gem::Dependency
|
191
202
|
name: couchrest_model
|
192
|
-
requirement: &
|
203
|
+
requirement: &2166018920 !ruby/object:Gem::Requirement
|
193
204
|
none: false
|
194
205
|
requirements:
|
195
|
-
- -
|
206
|
+
- - =
|
196
207
|
- !ruby/object:Gem::Version
|
197
208
|
version: 1.0.0
|
198
209
|
type: :development
|
199
210
|
prerelease: false
|
200
|
-
version_requirements: *
|
211
|
+
version_requirements: *2166018920
|
201
212
|
- !ruby/object:Gem::Dependency
|
202
213
|
name: ripple
|
203
|
-
requirement: &
|
214
|
+
requirement: &2166006820 !ruby/object:Gem::Requirement
|
204
215
|
none: false
|
205
216
|
requirements:
|
206
|
-
- -
|
217
|
+
- - =
|
207
218
|
- !ruby/object:Gem::Version
|
208
219
|
version: 0.9.2
|
209
220
|
type: :development
|
210
221
|
prerelease: false
|
211
|
-
version_requirements: *
|
222
|
+
version_requirements: *2166006820
|
212
223
|
- !ruby/object:Gem::Dependency
|
213
224
|
name: toystore
|
214
|
-
requirement: &
|
225
|
+
requirement: &2166006240 !ruby/object:Gem::Requirement
|
215
226
|
none: false
|
216
227
|
requirements:
|
217
|
-
- -
|
228
|
+
- - =
|
218
229
|
- !ruby/object:Gem::Version
|
219
230
|
version: 0.8.0
|
220
231
|
type: :development
|
221
232
|
prerelease: false
|
222
|
-
version_requirements: *
|
233
|
+
version_requirements: *2166006240
|
223
234
|
- !ruby/object:Gem::Dependency
|
224
235
|
name: adapter-mongo
|
225
|
-
requirement: &
|
236
|
+
requirement: &2166005580 !ruby/object:Gem::Requirement
|
226
237
|
none: false
|
227
238
|
requirements:
|
228
|
-
- -
|
239
|
+
- - =
|
229
240
|
- !ruby/object:Gem::Version
|
230
|
-
version: 0.5.
|
241
|
+
version: 0.5.4
|
231
242
|
type: :development
|
232
243
|
prerelease: false
|
233
|
-
version_requirements: *
|
244
|
+
version_requirements: *2166005580
|
234
245
|
description: Tenacity provides a database client independent way of specifying simple
|
235
246
|
relationships between models backed by different databases.
|
236
247
|
email:
|
@@ -283,6 +294,8 @@ files:
|
|
283
294
|
- test/fixtures/active_record_nut.rb
|
284
295
|
- test/fixtures/active_record_object.rb
|
285
296
|
- test/fixtures/active_record_object_with_string_id.rb
|
297
|
+
- test/fixtures/active_record_organization.rb
|
298
|
+
- test/fixtures/active_record_user.rb
|
286
299
|
- test/fixtures/couch_rest_door.rb
|
287
300
|
- test/fixtures/couch_rest_has_many_target.rb
|
288
301
|
- test/fixtures/couch_rest_has_one_target.rb
|
@@ -307,6 +320,7 @@ files:
|
|
307
320
|
- test/fixtures/mongo_mapper_vent.rb
|
308
321
|
- test/fixtures/mongo_mapper_wheel.rb
|
309
322
|
- test/fixtures/mongo_mapper_windows.rb
|
323
|
+
- test/fixtures/mongoid_campus_hub.rb
|
310
324
|
- test/fixtures/mongoid_has_many_target.rb
|
311
325
|
- test/fixtures/mongoid_has_one_target.rb
|
312
326
|
- test/fixtures/mongoid_object.rb
|
@@ -353,7 +367,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
353
367
|
version: '0'
|
354
368
|
segments:
|
355
369
|
- 0
|
356
|
-
hash:
|
370
|
+
hash: -2311103628650336274
|
357
371
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
358
372
|
none: false
|
359
373
|
requirements:
|