adept_dynamoid 0.5.0.6
Sign up to get free protection for your applications and to get access to all the features.
- data/.document +5 -0
- data/.rspec +1 -0
- data/Dynamoid.gemspec +193 -0
- data/Gemfile +23 -0
- data/Gemfile.lock +86 -0
- data/LICENSE.txt +20 -0
- data/README.markdown +265 -0
- data/Rakefile +62 -0
- data/VERSION +1 -0
- data/doc/.nojekyll +0 -0
- data/doc/Dynamoid.html +312 -0
- data/doc/Dynamoid/Adapter.html +1385 -0
- data/doc/Dynamoid/Adapter/AwsSdk.html +1585 -0
- data/doc/Dynamoid/Adapter/Local.html +1574 -0
- data/doc/Dynamoid/Associations.html +131 -0
- data/doc/Dynamoid/Associations/Association.html +794 -0
- data/doc/Dynamoid/Associations/BelongsTo.html +158 -0
- data/doc/Dynamoid/Associations/ClassMethods.html +723 -0
- data/doc/Dynamoid/Associations/HasAndBelongsToMany.html +164 -0
- data/doc/Dynamoid/Associations/HasMany.html +164 -0
- data/doc/Dynamoid/Associations/HasOne.html +158 -0
- data/doc/Dynamoid/Associations/ManyAssociation.html +1640 -0
- data/doc/Dynamoid/Associations/SingleAssociation.html +598 -0
- data/doc/Dynamoid/Components.html +204 -0
- data/doc/Dynamoid/Config.html +395 -0
- data/doc/Dynamoid/Config/Options.html +609 -0
- data/doc/Dynamoid/Criteria.html +131 -0
- data/doc/Dynamoid/Criteria/Chain.html +1063 -0
- data/doc/Dynamoid/Criteria/ClassMethods.html +98 -0
- data/doc/Dynamoid/Document.html +666 -0
- data/doc/Dynamoid/Document/ClassMethods.html +937 -0
- data/doc/Dynamoid/Errors.html +118 -0
- data/doc/Dynamoid/Errors/DocumentNotValid.html +210 -0
- data/doc/Dynamoid/Errors/Error.html +130 -0
- data/doc/Dynamoid/Errors/InvalidField.html +133 -0
- data/doc/Dynamoid/Errors/MissingRangeKey.html +133 -0
- data/doc/Dynamoid/Fields.html +669 -0
- data/doc/Dynamoid/Fields/ClassMethods.html +309 -0
- data/doc/Dynamoid/Finders.html +128 -0
- data/doc/Dynamoid/Finders/ClassMethods.html +516 -0
- data/doc/Dynamoid/Indexes.html +308 -0
- data/doc/Dynamoid/Indexes/ClassMethods.html +353 -0
- data/doc/Dynamoid/Indexes/Index.html +1104 -0
- data/doc/Dynamoid/Persistence.html +651 -0
- data/doc/Dynamoid/Persistence/ClassMethods.html +670 -0
- data/doc/Dynamoid/Validations.html +399 -0
- data/doc/_index.html +461 -0
- data/doc/class_list.html +47 -0
- data/doc/css/common.css +1 -0
- data/doc/css/full_list.css +55 -0
- data/doc/css/style.css +322 -0
- data/doc/file.LICENSE.html +66 -0
- data/doc/file.README.html +312 -0
- data/doc/file_list.html +52 -0
- data/doc/frames.html +13 -0
- data/doc/index.html +312 -0
- data/doc/js/app.js +205 -0
- data/doc/js/full_list.js +173 -0
- data/doc/js/jquery.js +16 -0
- data/doc/method_list.html +1238 -0
- data/doc/top-level-namespace.html +105 -0
- data/lib/dynamoid.rb +47 -0
- data/lib/dynamoid/adapter.rb +177 -0
- data/lib/dynamoid/adapter/aws_sdk.rb +223 -0
- data/lib/dynamoid/associations.rb +106 -0
- data/lib/dynamoid/associations/association.rb +105 -0
- data/lib/dynamoid/associations/belongs_to.rb +44 -0
- data/lib/dynamoid/associations/has_and_belongs_to_many.rb +40 -0
- data/lib/dynamoid/associations/has_many.rb +39 -0
- data/lib/dynamoid/associations/has_one.rb +39 -0
- data/lib/dynamoid/associations/many_association.rb +191 -0
- data/lib/dynamoid/associations/single_association.rb +69 -0
- data/lib/dynamoid/components.rb +36 -0
- data/lib/dynamoid/config.rb +57 -0
- data/lib/dynamoid/config/options.rb +78 -0
- data/lib/dynamoid/criteria.rb +29 -0
- data/lib/dynamoid/criteria/chain.rb +243 -0
- data/lib/dynamoid/dirty.rb +41 -0
- data/lib/dynamoid/document.rb +184 -0
- data/lib/dynamoid/errors.rb +28 -0
- data/lib/dynamoid/fields.rb +130 -0
- data/lib/dynamoid/finders.rb +131 -0
- data/lib/dynamoid/identity_map.rb +96 -0
- data/lib/dynamoid/indexes.rb +69 -0
- data/lib/dynamoid/indexes/index.rb +103 -0
- data/lib/dynamoid/middleware/identity_map.rb +16 -0
- data/lib/dynamoid/persistence.rb +247 -0
- data/lib/dynamoid/validations.rb +36 -0
- data/spec/app/models/address.rb +10 -0
- data/spec/app/models/camel_case.rb +24 -0
- data/spec/app/models/magazine.rb +11 -0
- data/spec/app/models/message.rb +9 -0
- data/spec/app/models/sponsor.rb +8 -0
- data/spec/app/models/subscription.rb +12 -0
- data/spec/app/models/tweet.rb +12 -0
- data/spec/app/models/user.rb +26 -0
- data/spec/dynamoid/adapter/aws_sdk_spec.rb +186 -0
- data/spec/dynamoid/adapter_spec.rb +117 -0
- data/spec/dynamoid/associations/association_spec.rb +194 -0
- data/spec/dynamoid/associations/belongs_to_spec.rb +71 -0
- data/spec/dynamoid/associations/has_and_belongs_to_many_spec.rb +47 -0
- data/spec/dynamoid/associations/has_many_spec.rb +42 -0
- data/spec/dynamoid/associations/has_one_spec.rb +45 -0
- data/spec/dynamoid/associations_spec.rb +16 -0
- data/spec/dynamoid/config_spec.rb +27 -0
- data/spec/dynamoid/criteria/chain_spec.rb +140 -0
- data/spec/dynamoid/criteria_spec.rb +72 -0
- data/spec/dynamoid/dirty_spec.rb +49 -0
- data/spec/dynamoid/document_spec.rb +118 -0
- data/spec/dynamoid/fields_spec.rb +127 -0
- data/spec/dynamoid/finders_spec.rb +135 -0
- data/spec/dynamoid/identity_map_spec.rb +45 -0
- data/spec/dynamoid/indexes/index_spec.rb +104 -0
- data/spec/dynamoid/indexes_spec.rb +25 -0
- data/spec/dynamoid/persistence_spec.rb +176 -0
- data/spec/dynamoid/validations_spec.rb +36 -0
- data/spec/dynamoid_spec.rb +9 -0
- data/spec/spec_helper.rb +50 -0
- metadata +376 -0
@@ -0,0 +1,36 @@
|
|
1
|
+
require File.expand_path(File.dirname(__FILE__) + '/../spec_helper')
|
2
|
+
|
3
|
+
describe "Dynamoid::Validations" do
|
4
|
+
before do
|
5
|
+
@document = Class.new do
|
6
|
+
include Dynamoid::Document
|
7
|
+
|
8
|
+
def self.name
|
9
|
+
'Document'
|
10
|
+
end
|
11
|
+
end
|
12
|
+
end
|
13
|
+
|
14
|
+
it 'validates presence of' do
|
15
|
+
@document.field :name
|
16
|
+
@document.validates_presence_of :name
|
17
|
+
doc = @document.new
|
18
|
+
doc.save.should be_false
|
19
|
+
doc.new_record.should be_true
|
20
|
+
doc.name = 'secret'
|
21
|
+
doc.save.should_not be_false
|
22
|
+
doc.errors.should be_empty
|
23
|
+
end
|
24
|
+
|
25
|
+
it 'raises document not found' do
|
26
|
+
@document.field :name
|
27
|
+
@document.validates_presence_of :name
|
28
|
+
doc = @document.new
|
29
|
+
expect { doc.save! }.to raise_error(Dynamoid::Errors::DocumentNotValid)
|
30
|
+
|
31
|
+
expect { @document.create! }.to raise_error(Dynamoid::Errors::DocumentNotValid)
|
32
|
+
|
33
|
+
doc = @document.create!(:name => 'test')
|
34
|
+
doc.errors.should be_empty
|
35
|
+
end
|
36
|
+
end
|
data/spec/spec_helper.rb
ADDED
@@ -0,0 +1,50 @@
|
|
1
|
+
$LOAD_PATH.unshift(File.join(File.dirname(__FILE__), '..', 'lib'))
|
2
|
+
$LOAD_PATH.unshift(File.dirname(__FILE__))
|
3
|
+
|
4
|
+
MODELS = File.join(File.dirname(__FILE__), "app/models")
|
5
|
+
|
6
|
+
require 'rspec'
|
7
|
+
require 'dynamoid'
|
8
|
+
require 'pry'
|
9
|
+
require 'mocha'
|
10
|
+
|
11
|
+
ENV['ACCESS_KEY'] ||= 'abcd'
|
12
|
+
ENV['SECRET_KEY'] ||= '1234'
|
13
|
+
|
14
|
+
Dynamoid.configure do |config|
|
15
|
+
config.adapter = 'aws_sdk'
|
16
|
+
config.access_key = ENV['ACCESS_KEY']
|
17
|
+
config.secret_key = ENV['SECRET_KEY']
|
18
|
+
config.endpoint = 'localhost'
|
19
|
+
config.port = '4567'
|
20
|
+
config.use_ssl = false
|
21
|
+
config.namespace = 'dynamoid_tests'
|
22
|
+
config.warn_on_scan = false
|
23
|
+
end
|
24
|
+
|
25
|
+
Dynamoid.logger.level = Logger::FATAL
|
26
|
+
|
27
|
+
# Requires supporting files with custom matchers and macros, etc,
|
28
|
+
# in ./support/ and its subdirectories.
|
29
|
+
Dir["#{File.dirname(__FILE__)}/support/**/*.rb"].each {|f| require f}
|
30
|
+
|
31
|
+
Dir[ File.join(MODELS, "*.rb") ].sort.each { |file| require file }
|
32
|
+
|
33
|
+
RSpec.configure do |config|
|
34
|
+
config.mock_with(:mocha)
|
35
|
+
|
36
|
+
config.before(:each) do
|
37
|
+
Dynamoid::Adapter.list_tables.each do |table|
|
38
|
+
if table =~ /^#{Dynamoid::Config.namespace}/
|
39
|
+
table = Dynamoid::Adapter.get_table(table)
|
40
|
+
table.items.each {|i| i.delete}
|
41
|
+
end
|
42
|
+
end
|
43
|
+
end
|
44
|
+
|
45
|
+
config.after(:suite) do
|
46
|
+
Dynamoid::Adapter.list_tables.each do |table|
|
47
|
+
Dynamoid::Adapter.delete_table(table) if table =~ /^#{Dynamoid::Config.namespace}/
|
48
|
+
end
|
49
|
+
end
|
50
|
+
end
|
metadata
ADDED
@@ -0,0 +1,376 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: adept_dynamoid
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.5.0.6
|
5
|
+
prerelease:
|
6
|
+
platform: ruby
|
7
|
+
authors:
|
8
|
+
- Josh Symonds
|
9
|
+
autorequire:
|
10
|
+
bindir: bin
|
11
|
+
cert_chain: []
|
12
|
+
date: 2012-08-22 00:00:00.000000000 Z
|
13
|
+
dependencies:
|
14
|
+
- !ruby/object:Gem::Dependency
|
15
|
+
name: activemodel
|
16
|
+
requirement: !ruby/object:Gem::Requirement
|
17
|
+
none: false
|
18
|
+
requirements:
|
19
|
+
- - ! '>='
|
20
|
+
- !ruby/object:Gem::Version
|
21
|
+
version: '0'
|
22
|
+
type: :runtime
|
23
|
+
prerelease: false
|
24
|
+
version_requirements: !ruby/object:Gem::Requirement
|
25
|
+
none: false
|
26
|
+
requirements:
|
27
|
+
- - ! '>='
|
28
|
+
- !ruby/object:Gem::Version
|
29
|
+
version: '0'
|
30
|
+
- !ruby/object:Gem::Dependency
|
31
|
+
name: tzinfo
|
32
|
+
requirement: !ruby/object:Gem::Requirement
|
33
|
+
none: false
|
34
|
+
requirements:
|
35
|
+
- - ! '>='
|
36
|
+
- !ruby/object:Gem::Version
|
37
|
+
version: '0'
|
38
|
+
type: :runtime
|
39
|
+
prerelease: false
|
40
|
+
version_requirements: !ruby/object:Gem::Requirement
|
41
|
+
none: false
|
42
|
+
requirements:
|
43
|
+
- - ! '>='
|
44
|
+
- !ruby/object:Gem::Version
|
45
|
+
version: '0'
|
46
|
+
- !ruby/object:Gem::Dependency
|
47
|
+
name: aws-sdk
|
48
|
+
requirement: !ruby/object:Gem::Requirement
|
49
|
+
none: false
|
50
|
+
requirements:
|
51
|
+
- - ! '>='
|
52
|
+
- !ruby/object:Gem::Version
|
53
|
+
version: '0'
|
54
|
+
type: :runtime
|
55
|
+
prerelease: false
|
56
|
+
version_requirements: !ruby/object:Gem::Requirement
|
57
|
+
none: false
|
58
|
+
requirements:
|
59
|
+
- - ! '>='
|
60
|
+
- !ruby/object:Gem::Version
|
61
|
+
version: '0'
|
62
|
+
- !ruby/object:Gem::Dependency
|
63
|
+
name: rake
|
64
|
+
requirement: !ruby/object:Gem::Requirement
|
65
|
+
none: false
|
66
|
+
requirements:
|
67
|
+
- - ! '>='
|
68
|
+
- !ruby/object:Gem::Version
|
69
|
+
version: '0'
|
70
|
+
type: :development
|
71
|
+
prerelease: false
|
72
|
+
version_requirements: !ruby/object:Gem::Requirement
|
73
|
+
none: false
|
74
|
+
requirements:
|
75
|
+
- - ! '>='
|
76
|
+
- !ruby/object:Gem::Version
|
77
|
+
version: '0'
|
78
|
+
- !ruby/object:Gem::Dependency
|
79
|
+
name: rspec
|
80
|
+
requirement: !ruby/object:Gem::Requirement
|
81
|
+
none: false
|
82
|
+
requirements:
|
83
|
+
- - ! '>='
|
84
|
+
- !ruby/object:Gem::Version
|
85
|
+
version: '0'
|
86
|
+
type: :development
|
87
|
+
prerelease: false
|
88
|
+
version_requirements: !ruby/object:Gem::Requirement
|
89
|
+
none: false
|
90
|
+
requirements:
|
91
|
+
- - ! '>='
|
92
|
+
- !ruby/object:Gem::Version
|
93
|
+
version: '0'
|
94
|
+
- !ruby/object:Gem::Dependency
|
95
|
+
name: bundler
|
96
|
+
requirement: !ruby/object:Gem::Requirement
|
97
|
+
none: false
|
98
|
+
requirements:
|
99
|
+
- - ! '>='
|
100
|
+
- !ruby/object:Gem::Version
|
101
|
+
version: '0'
|
102
|
+
type: :development
|
103
|
+
prerelease: false
|
104
|
+
version_requirements: !ruby/object:Gem::Requirement
|
105
|
+
none: false
|
106
|
+
requirements:
|
107
|
+
- - ! '>='
|
108
|
+
- !ruby/object:Gem::Version
|
109
|
+
version: '0'
|
110
|
+
- !ruby/object:Gem::Dependency
|
111
|
+
name: jeweler
|
112
|
+
requirement: !ruby/object:Gem::Requirement
|
113
|
+
none: false
|
114
|
+
requirements:
|
115
|
+
- - ! '>='
|
116
|
+
- !ruby/object:Gem::Version
|
117
|
+
version: '0'
|
118
|
+
type: :development
|
119
|
+
prerelease: false
|
120
|
+
version_requirements: !ruby/object:Gem::Requirement
|
121
|
+
none: false
|
122
|
+
requirements:
|
123
|
+
- - ! '>='
|
124
|
+
- !ruby/object:Gem::Version
|
125
|
+
version: '0'
|
126
|
+
- !ruby/object:Gem::Dependency
|
127
|
+
name: yard
|
128
|
+
requirement: !ruby/object:Gem::Requirement
|
129
|
+
none: false
|
130
|
+
requirements:
|
131
|
+
- - ! '>='
|
132
|
+
- !ruby/object:Gem::Version
|
133
|
+
version: '0'
|
134
|
+
type: :development
|
135
|
+
prerelease: false
|
136
|
+
version_requirements: !ruby/object:Gem::Requirement
|
137
|
+
none: false
|
138
|
+
requirements:
|
139
|
+
- - ! '>='
|
140
|
+
- !ruby/object:Gem::Version
|
141
|
+
version: '0'
|
142
|
+
- !ruby/object:Gem::Dependency
|
143
|
+
name: redcarpet
|
144
|
+
requirement: !ruby/object:Gem::Requirement
|
145
|
+
none: false
|
146
|
+
requirements:
|
147
|
+
- - '='
|
148
|
+
- !ruby/object:Gem::Version
|
149
|
+
version: 1.17.2
|
150
|
+
type: :development
|
151
|
+
prerelease: false
|
152
|
+
version_requirements: !ruby/object:Gem::Requirement
|
153
|
+
none: false
|
154
|
+
requirements:
|
155
|
+
- - '='
|
156
|
+
- !ruby/object:Gem::Version
|
157
|
+
version: 1.17.2
|
158
|
+
- !ruby/object:Gem::Dependency
|
159
|
+
name: github-markup
|
160
|
+
requirement: !ruby/object:Gem::Requirement
|
161
|
+
none: false
|
162
|
+
requirements:
|
163
|
+
- - ! '>='
|
164
|
+
- !ruby/object:Gem::Version
|
165
|
+
version: '0'
|
166
|
+
type: :development
|
167
|
+
prerelease: false
|
168
|
+
version_requirements: !ruby/object:Gem::Requirement
|
169
|
+
none: false
|
170
|
+
requirements:
|
171
|
+
- - ! '>='
|
172
|
+
- !ruby/object:Gem::Version
|
173
|
+
version: '0'
|
174
|
+
- !ruby/object:Gem::Dependency
|
175
|
+
name: pry
|
176
|
+
requirement: !ruby/object:Gem::Requirement
|
177
|
+
none: false
|
178
|
+
requirements:
|
179
|
+
- - ! '>='
|
180
|
+
- !ruby/object:Gem::Version
|
181
|
+
version: '0'
|
182
|
+
type: :development
|
183
|
+
prerelease: false
|
184
|
+
version_requirements: !ruby/object:Gem::Requirement
|
185
|
+
none: false
|
186
|
+
requirements:
|
187
|
+
- - ! '>='
|
188
|
+
- !ruby/object:Gem::Version
|
189
|
+
version: '0'
|
190
|
+
- !ruby/object:Gem::Dependency
|
191
|
+
name: fake_dynamo
|
192
|
+
requirement: !ruby/object:Gem::Requirement
|
193
|
+
none: false
|
194
|
+
requirements:
|
195
|
+
- - ! '>='
|
196
|
+
- !ruby/object:Gem::Version
|
197
|
+
version: '0'
|
198
|
+
type: :development
|
199
|
+
prerelease: false
|
200
|
+
version_requirements: !ruby/object:Gem::Requirement
|
201
|
+
none: false
|
202
|
+
requirements:
|
203
|
+
- - ! '>='
|
204
|
+
- !ruby/object:Gem::Version
|
205
|
+
version: '0'
|
206
|
+
- !ruby/object:Gem::Dependency
|
207
|
+
name: mocha
|
208
|
+
requirement: !ruby/object:Gem::Requirement
|
209
|
+
none: false
|
210
|
+
requirements:
|
211
|
+
- - '='
|
212
|
+
- !ruby/object:Gem::Version
|
213
|
+
version: 0.10.0
|
214
|
+
type: :development
|
215
|
+
prerelease: false
|
216
|
+
version_requirements: !ruby/object:Gem::Requirement
|
217
|
+
none: false
|
218
|
+
requirements:
|
219
|
+
- - '='
|
220
|
+
- !ruby/object:Gem::Version
|
221
|
+
version: 0.10.0
|
222
|
+
description: Dynamoid is an ORM for Amazon's DynamoDB that supports offline development,
|
223
|
+
associations, querying, and everything else you'd expect from an ActiveRecord-style
|
224
|
+
replacement.
|
225
|
+
email: josh@joshsymonds.com
|
226
|
+
executables: []
|
227
|
+
extensions: []
|
228
|
+
extra_rdoc_files:
|
229
|
+
- LICENSE.txt
|
230
|
+
- README.markdown
|
231
|
+
files:
|
232
|
+
- .document
|
233
|
+
- .rspec
|
234
|
+
- Dynamoid.gemspec
|
235
|
+
- Gemfile
|
236
|
+
- Gemfile.lock
|
237
|
+
- LICENSE.txt
|
238
|
+
- README.markdown
|
239
|
+
- Rakefile
|
240
|
+
- VERSION
|
241
|
+
- doc/.nojekyll
|
242
|
+
- doc/Dynamoid.html
|
243
|
+
- doc/Dynamoid/Adapter.html
|
244
|
+
- doc/Dynamoid/Adapter/AwsSdk.html
|
245
|
+
- doc/Dynamoid/Adapter/Local.html
|
246
|
+
- doc/Dynamoid/Associations.html
|
247
|
+
- doc/Dynamoid/Associations/Association.html
|
248
|
+
- doc/Dynamoid/Associations/BelongsTo.html
|
249
|
+
- doc/Dynamoid/Associations/ClassMethods.html
|
250
|
+
- doc/Dynamoid/Associations/HasAndBelongsToMany.html
|
251
|
+
- doc/Dynamoid/Associations/HasMany.html
|
252
|
+
- doc/Dynamoid/Associations/HasOne.html
|
253
|
+
- doc/Dynamoid/Associations/ManyAssociation.html
|
254
|
+
- doc/Dynamoid/Associations/SingleAssociation.html
|
255
|
+
- doc/Dynamoid/Components.html
|
256
|
+
- doc/Dynamoid/Config.html
|
257
|
+
- doc/Dynamoid/Config/Options.html
|
258
|
+
- doc/Dynamoid/Criteria.html
|
259
|
+
- doc/Dynamoid/Criteria/Chain.html
|
260
|
+
- doc/Dynamoid/Criteria/ClassMethods.html
|
261
|
+
- doc/Dynamoid/Document.html
|
262
|
+
- doc/Dynamoid/Document/ClassMethods.html
|
263
|
+
- doc/Dynamoid/Errors.html
|
264
|
+
- doc/Dynamoid/Errors/DocumentNotValid.html
|
265
|
+
- doc/Dynamoid/Errors/Error.html
|
266
|
+
- doc/Dynamoid/Errors/InvalidField.html
|
267
|
+
- doc/Dynamoid/Errors/MissingRangeKey.html
|
268
|
+
- doc/Dynamoid/Fields.html
|
269
|
+
- doc/Dynamoid/Fields/ClassMethods.html
|
270
|
+
- doc/Dynamoid/Finders.html
|
271
|
+
- doc/Dynamoid/Finders/ClassMethods.html
|
272
|
+
- doc/Dynamoid/Indexes.html
|
273
|
+
- doc/Dynamoid/Indexes/ClassMethods.html
|
274
|
+
- doc/Dynamoid/Indexes/Index.html
|
275
|
+
- doc/Dynamoid/Persistence.html
|
276
|
+
- doc/Dynamoid/Persistence/ClassMethods.html
|
277
|
+
- doc/Dynamoid/Validations.html
|
278
|
+
- doc/_index.html
|
279
|
+
- doc/class_list.html
|
280
|
+
- doc/css/common.css
|
281
|
+
- doc/css/full_list.css
|
282
|
+
- doc/css/style.css
|
283
|
+
- doc/file.LICENSE.html
|
284
|
+
- doc/file.README.html
|
285
|
+
- doc/file_list.html
|
286
|
+
- doc/frames.html
|
287
|
+
- doc/index.html
|
288
|
+
- doc/js/app.js
|
289
|
+
- doc/js/full_list.js
|
290
|
+
- doc/js/jquery.js
|
291
|
+
- doc/method_list.html
|
292
|
+
- doc/top-level-namespace.html
|
293
|
+
- lib/dynamoid.rb
|
294
|
+
- lib/dynamoid/adapter.rb
|
295
|
+
- lib/dynamoid/adapter/aws_sdk.rb
|
296
|
+
- lib/dynamoid/associations.rb
|
297
|
+
- lib/dynamoid/associations/association.rb
|
298
|
+
- lib/dynamoid/associations/belongs_to.rb
|
299
|
+
- lib/dynamoid/associations/has_and_belongs_to_many.rb
|
300
|
+
- lib/dynamoid/associations/has_many.rb
|
301
|
+
- lib/dynamoid/associations/has_one.rb
|
302
|
+
- lib/dynamoid/associations/many_association.rb
|
303
|
+
- lib/dynamoid/associations/single_association.rb
|
304
|
+
- lib/dynamoid/components.rb
|
305
|
+
- lib/dynamoid/config.rb
|
306
|
+
- lib/dynamoid/config/options.rb
|
307
|
+
- lib/dynamoid/criteria.rb
|
308
|
+
- lib/dynamoid/criteria/chain.rb
|
309
|
+
- lib/dynamoid/dirty.rb
|
310
|
+
- lib/dynamoid/document.rb
|
311
|
+
- lib/dynamoid/errors.rb
|
312
|
+
- lib/dynamoid/fields.rb
|
313
|
+
- lib/dynamoid/finders.rb
|
314
|
+
- lib/dynamoid/identity_map.rb
|
315
|
+
- lib/dynamoid/indexes.rb
|
316
|
+
- lib/dynamoid/indexes/index.rb
|
317
|
+
- lib/dynamoid/middleware/identity_map.rb
|
318
|
+
- lib/dynamoid/persistence.rb
|
319
|
+
- lib/dynamoid/validations.rb
|
320
|
+
- spec/app/models/address.rb
|
321
|
+
- spec/app/models/camel_case.rb
|
322
|
+
- spec/app/models/magazine.rb
|
323
|
+
- spec/app/models/message.rb
|
324
|
+
- spec/app/models/sponsor.rb
|
325
|
+
- spec/app/models/subscription.rb
|
326
|
+
- spec/app/models/tweet.rb
|
327
|
+
- spec/app/models/user.rb
|
328
|
+
- spec/dynamoid/adapter/aws_sdk_spec.rb
|
329
|
+
- spec/dynamoid/adapter_spec.rb
|
330
|
+
- spec/dynamoid/associations/association_spec.rb
|
331
|
+
- spec/dynamoid/associations/belongs_to_spec.rb
|
332
|
+
- spec/dynamoid/associations/has_and_belongs_to_many_spec.rb
|
333
|
+
- spec/dynamoid/associations/has_many_spec.rb
|
334
|
+
- spec/dynamoid/associations/has_one_spec.rb
|
335
|
+
- spec/dynamoid/associations_spec.rb
|
336
|
+
- spec/dynamoid/config_spec.rb
|
337
|
+
- spec/dynamoid/criteria/chain_spec.rb
|
338
|
+
- spec/dynamoid/criteria_spec.rb
|
339
|
+
- spec/dynamoid/dirty_spec.rb
|
340
|
+
- spec/dynamoid/document_spec.rb
|
341
|
+
- spec/dynamoid/fields_spec.rb
|
342
|
+
- spec/dynamoid/finders_spec.rb
|
343
|
+
- spec/dynamoid/identity_map_spec.rb
|
344
|
+
- spec/dynamoid/indexes/index_spec.rb
|
345
|
+
- spec/dynamoid/indexes_spec.rb
|
346
|
+
- spec/dynamoid/persistence_spec.rb
|
347
|
+
- spec/dynamoid/validations_spec.rb
|
348
|
+
- spec/dynamoid_spec.rb
|
349
|
+
- spec/spec_helper.rb
|
350
|
+
homepage: http://github.com/Veraticus/Dynamoid
|
351
|
+
licenses:
|
352
|
+
- MIT
|
353
|
+
post_install_message:
|
354
|
+
rdoc_options: []
|
355
|
+
require_paths:
|
356
|
+
- lib
|
357
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
358
|
+
none: false
|
359
|
+
requirements:
|
360
|
+
- - ! '>='
|
361
|
+
- !ruby/object:Gem::Version
|
362
|
+
version: '0'
|
363
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
364
|
+
none: false
|
365
|
+
requirements:
|
366
|
+
- - ! '>='
|
367
|
+
- !ruby/object:Gem::Version
|
368
|
+
version: '0'
|
369
|
+
requirements: []
|
370
|
+
rubyforge_project:
|
371
|
+
rubygems_version: 1.8.24
|
372
|
+
signing_key:
|
373
|
+
specification_version: 3
|
374
|
+
summary: Dynamoid is an ORM for Amazon's DynamoDB
|
375
|
+
test_files: []
|
376
|
+
has_rdoc:
|