dynamo_record 0.0.17 → 0.0.18

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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: e118c8930837cde9e813d2c8aac61a5a791fd3c3
4
- data.tar.gz: db7f2acda4ebebdc38e4b997d09dc83776005bb2
3
+ metadata.gz: 639fd29aab8fe77e2c628d88c5f4878171546f84
4
+ data.tar.gz: df847f09a82a7e71b1c31309573e6159c2a5541a
5
5
  SHA512:
6
- metadata.gz: 585180c10b7d731fee3a3696c58316e7662873d48ce863a36d48cc61e050ff4356a520f32f5daa173e16ea79a2d9353fa290a0f9d94e143831d5d6c25c376eea
7
- data.tar.gz: 3e9ecba3d1382a08f5869bac120bfece4668c8e55fef4952097274742338ba7c68c597a3347a0a908b5b30346a044b3991690a1051bf443f4a1a066dfb84d06f
6
+ metadata.gz: f74b5905523301507c6801519c98a5394a8b21a63ee12e1bbe395a64ccfe6b1ce132a0893e595e073c718aa3453ee1ec05ddacb6ff461307e7eee798f089c984
7
+ data.tar.gz: 2c645422e313ea408eaaa3ea39e1b3a94e339de087200f7a904bb00cc196f60cf611b0a776c682223dc7e26f9d9ef91ee61829914e1e09335ce971917c3a3a01
@@ -3,12 +3,14 @@ module DynamoRecord
3
3
  extend ActiveSupport::Concern
4
4
 
5
5
  module ClassMethods
6
- def find(id)
6
+ def find(id, range_key=nil)
7
+ key = { 'id' => id }
8
+ if self.range_key
9
+ key[self.range_key] = range_key
10
+ end
7
11
  response = client.get_item(
8
12
  table_name: table_name,
9
- key: {
10
- id: id
11
- }
13
+ key: key
12
14
  )
13
15
  response.item ? from_database(response.item) : nil
14
16
  end
@@ -104,8 +104,13 @@ module DynamoRecord
104
104
 
105
105
  def destroy
106
106
  options = self.class.default_options
107
+ key = { 'id' => self.id }
108
+ if range_key = self.class.range_key
109
+ key[range_key] = self.class.dump_field(self.read_attribute(range_key), self.class.attributes[range_key])
110
+ end
111
+
107
112
  response = self.class.client.delete_item(
108
- options.merge(key: { 'id' => self.id} )
113
+ options.merge(key: key )
109
114
  )
110
115
  end
111
116
 
@@ -1,3 +1,3 @@
1
1
  module DynamoRecord
2
- VERSION = "0.0.17"
2
+ VERSION = "0.0.18"
3
3
  end
@@ -0,0 +1,7 @@
1
+ class PersonRange
2
+ include DynamoRecord::Document
3
+
4
+ field :name, :string
5
+ field :activated, :boolean
6
+ field :created_at, :datetime, range_key: true
7
+ end
@@ -104,11 +104,25 @@ RSpec.describe DynamoRecord::Persistence, :vcr do
104
104
  expect(person.name).to eq('New name')
105
105
  end
106
106
 
107
- it 'destroys record' do
108
- person = Person.find('f9b351b0-d06d-4fff-b8d4-8af162e2b8ba')
109
- person.destroy
110
- person = Person.find('f9b351b0-d06d-4fff-b8d4-8af162e2b8ba')
111
- expect(person).to be_nil
107
+ describe '#destroy' do
108
+ context 'when no range key' do
109
+ it 'destroys record' do
110
+ person = Person.find('278aaf78-2f71-467b-a711-658c3bd8cad2')
111
+ person.destroy
112
+ person = Person.find('278aaf78-2f71-467b-a711-658c3bd8cad2')
113
+ expect(person).to be_nil
114
+ end
115
+ end
116
+
117
+ context 'when there is range key' do
118
+ it 'destroys record' do
119
+ person = PersonRange.find('369a0862-5dee-441a-b438-1fb17af2d484', '2015-01-24T22:15:42+08:00')
120
+ person.destroy
121
+ person = PersonRange.find('369a0862-5dee-441a-b438-1fb17af2d484', '2015-01-24T22:15:42+08:00')
122
+ expect(person).to be_nil
123
+ end
124
+ end
112
125
  end
126
+
113
127
 
114
128
  end
@@ -5,7 +5,7 @@ http_interactions:
5
5
  uri: https://dynamodb.us-east-1.amazonaws.com/
6
6
  body:
7
7
  encoding: UTF-8
8
- string: '{"TableName":"people","Key":{"id":{"S":"f9b351b0-d06d-4fff-b8d4-8af162e2b8ba"}}}'
8
+ string: '{"TableName":"people","Key":{"id":{"S":"278aaf78-2f71-467b-a711-658c3bd8cad2"}}}'
9
9
  headers:
10
10
  Content-Type:
11
11
  - application/x-amz-json-1.0
@@ -16,15 +16,15 @@ http_interactions:
16
16
  X-Amz-Target:
17
17
  - DynamoDB_20120810.GetItem
18
18
  X-Amz-Date:
19
- - 20150116T135102Z
19
+ - 20150124T141901Z
20
20
  Host:
21
21
  - dynamodb.us-east-1.amazonaws.com
22
22
  X-Amz-Content-Sha256:
23
- - 11a49d1d6421d3540cf7a7c96423eb631d8b8de996d5069f178a631eea8d8e01
23
+ - 03dd09f0b2bc9e512a5ee906ce0aba66caa8e61d1b7a88a0c5d846502b3cfbac
24
24
  Authorization:
25
- - AWS4-HMAC-SHA256 Credential=key/20150116/us-east-1/dynamodb/aws4_request,
25
+ - AWS4-HMAC-SHA256 Credential=key/20150124/us-east-1/dynamodb/aws4_request,
26
26
  SignedHeaders=content-type;host;user-agent;x-amz-content-sha256;x-amz-date;x-amz-target,
27
- Signature=594884042c1dd7c46b5175963fe80f13770a4426946f3cfa8d4e6d1ef9c86c31
27
+ Signature=148ff6265b24d5bf668e0aa1a43945954155bfc3375ed13081cc33e905b63b88
28
28
  Content-Length:
29
29
  - '80'
30
30
  Accept:
@@ -35,26 +35,26 @@ http_interactions:
35
35
  message: OK
36
36
  headers:
37
37
  X-Amzn-Requestid:
38
- - TJP2MAAV789JHBGT3EK4MC4NQRVV4KQNSO5AEMVJF66Q9ASUAAJG
38
+ - SMUIA5ABCJ8AQQMK2T2TV957LNVV4KQNSO5AEMVJF66Q9ASUAAJG
39
39
  X-Amz-Crc32:
40
- - '3221367258'
40
+ - '2414265853'
41
41
  Content-Type:
42
42
  - application/x-amz-json-1.0
43
43
  Content-Length:
44
- - '84'
44
+ - '131'
45
45
  Date:
46
- - Fri, 16 Jan 2015 13:51:03 GMT
46
+ - Sat, 24 Jan 2015 14:19:02 GMT
47
47
  body:
48
48
  encoding: UTF-8
49
- string: '{"Item":{"name":{"S":"Person 1"},"id":{"S":"f9b351b0-d06d-4fff-b8d4-8af162e2b8ba"}}}'
49
+ string: '{"Item":{"name":{"S":"A person"},"created_at":{"S":"2015-01-24T22:15:40+08:00"},"id":{"S":"278aaf78-2f71-467b-a711-658c3bd8cad2"}}}'
50
50
  http_version:
51
- recorded_at: Fri, 16 Jan 2015 13:51:04 GMT
51
+ recorded_at: Sat, 24 Jan 2015 14:19:02 GMT
52
52
  - request:
53
53
  method: post
54
54
  uri: https://dynamodb.us-east-1.amazonaws.com/
55
55
  body:
56
56
  encoding: UTF-8
57
- string: '{"TableName":"people","Key":{"id":{"S":"f9b351b0-d06d-4fff-b8d4-8af162e2b8ba"}}}'
57
+ string: '{"TableName":"people","Key":{"id":{"S":"278aaf78-2f71-467b-a711-658c3bd8cad2"}}}'
58
58
  headers:
59
59
  Content-Type:
60
60
  - application/x-amz-json-1.0
@@ -65,15 +65,15 @@ http_interactions:
65
65
  X-Amz-Target:
66
66
  - DynamoDB_20120810.DeleteItem
67
67
  X-Amz-Date:
68
- - 20150116T135104Z
68
+ - 20150124T141902Z
69
69
  Host:
70
70
  - dynamodb.us-east-1.amazonaws.com
71
71
  X-Amz-Content-Sha256:
72
- - 11a49d1d6421d3540cf7a7c96423eb631d8b8de996d5069f178a631eea8d8e01
72
+ - 03dd09f0b2bc9e512a5ee906ce0aba66caa8e61d1b7a88a0c5d846502b3cfbac
73
73
  Authorization:
74
- - AWS4-HMAC-SHA256 Credential=key/20150116/us-east-1/dynamodb/aws4_request,
74
+ - AWS4-HMAC-SHA256 Credential=key/20150124/us-east-1/dynamodb/aws4_request,
75
75
  SignedHeaders=content-type;host;user-agent;x-amz-content-sha256;x-amz-date;x-amz-target,
76
- Signature=958b6d99fa3add9c2239c44cf05b7e11de63af677e571e390b3b46acfd6527de
76
+ Signature=1c6566a4ae1c1cc4297fefec7ef29fcaf5e7228ac9b33cc64860147ed77cb0d0
77
77
  Content-Length:
78
78
  - '80'
79
79
  Accept:
@@ -84,7 +84,7 @@ http_interactions:
84
84
  message: OK
85
85
  headers:
86
86
  X-Amzn-Requestid:
87
- - 2C19L4ABMBIGKMNSLQRD2IK583VV4KQNSO5AEMVJF66Q9ASUAAJG
87
+ - EMC3FTC599C3G3LCU8J413RVTVVV4KQNSO5AEMVJF66Q9ASUAAJG
88
88
  X-Amz-Crc32:
89
89
  - '2745614147'
90
90
  Content-Type:
@@ -92,18 +92,18 @@ http_interactions:
92
92
  Content-Length:
93
93
  - '2'
94
94
  Date:
95
- - Fri, 16 Jan 2015 13:51:04 GMT
95
+ - Sat, 24 Jan 2015 14:19:03 GMT
96
96
  body:
97
97
  encoding: UTF-8
98
98
  string: "{}"
99
99
  http_version:
100
- recorded_at: Fri, 16 Jan 2015 13:51:05 GMT
100
+ recorded_at: Sat, 24 Jan 2015 14:19:03 GMT
101
101
  - request:
102
102
  method: post
103
103
  uri: https://dynamodb.us-east-1.amazonaws.com/
104
104
  body:
105
105
  encoding: UTF-8
106
- string: '{"TableName":"people","Key":{"id":{"S":"f9b351b0-d06d-4fff-b8d4-8af162e2b8ba"}}}'
106
+ string: '{"TableName":"people","Key":{"id":{"S":"278aaf78-2f71-467b-a711-658c3bd8cad2"}}}'
107
107
  headers:
108
108
  Content-Type:
109
109
  - application/x-amz-json-1.0
@@ -114,15 +114,15 @@ http_interactions:
114
114
  X-Amz-Target:
115
115
  - DynamoDB_20120810.GetItem
116
116
  X-Amz-Date:
117
- - 20150116T135105Z
117
+ - 20150124T141903Z
118
118
  Host:
119
119
  - dynamodb.us-east-1.amazonaws.com
120
120
  X-Amz-Content-Sha256:
121
- - 11a49d1d6421d3540cf7a7c96423eb631d8b8de996d5069f178a631eea8d8e01
121
+ - 03dd09f0b2bc9e512a5ee906ce0aba66caa8e61d1b7a88a0c5d846502b3cfbac
122
122
  Authorization:
123
- - AWS4-HMAC-SHA256 Credential=key/20150116/us-east-1/dynamodb/aws4_request,
123
+ - AWS4-HMAC-SHA256 Credential=key/20150124/us-east-1/dynamodb/aws4_request,
124
124
  SignedHeaders=content-type;host;user-agent;x-amz-content-sha256;x-amz-date;x-amz-target,
125
- Signature=6cdf950bda59fa02691f3099a8035a676ee82cb979861271b12a96badf550f5c
125
+ Signature=3e050ef194577201c9f15bb3593619257a2a96f10070273637d867b5a52cf953
126
126
  Content-Length:
127
127
  - '80'
128
128
  Accept:
@@ -133,7 +133,7 @@ http_interactions:
133
133
  message: OK
134
134
  headers:
135
135
  X-Amzn-Requestid:
136
- - IUSDC4UFAN1QUAH8PUCH4VASFVVV4KQNSO5AEMVJF66Q9ASUAAJG
136
+ - 85OSGBSDQL99CLPRVEFQFD6CVVVV4KQNSO5AEMVJF66Q9ASUAAJG
137
137
  X-Amz-Crc32:
138
138
  - '2745614147'
139
139
  Content-Type:
@@ -141,10 +141,10 @@ http_interactions:
141
141
  Content-Length:
142
142
  - '2'
143
143
  Date:
144
- - Fri, 16 Jan 2015 13:51:05 GMT
144
+ - Sat, 24 Jan 2015 14:19:03 GMT
145
145
  body:
146
146
  encoding: UTF-8
147
147
  string: "{}"
148
148
  http_version:
149
- recorded_at: Fri, 16 Jan 2015 13:51:05 GMT
149
+ recorded_at: Sat, 24 Jan 2015 14:19:04 GMT
150
150
  recorded_with: VCR 2.9.3
@@ -0,0 +1,151 @@
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: post
5
+ uri: https://dynamodb.us-east-1.amazonaws.com/
6
+ body:
7
+ encoding: UTF-8
8
+ string: '{"TableName":"person_ranges","Key":{"id":{"S":"369a0862-5dee-441a-b438-1fb17af2d484"},"created_at":{"S":"2015-01-24T22:15:42+08:00"}}}'
9
+ headers:
10
+ Content-Type:
11
+ - application/x-amz-json-1.0
12
+ Accept-Encoding:
13
+ - ''
14
+ User-Agent:
15
+ - aws-sdk-ruby2/2.0.19 ruby/2.1.2 x86_64-darwin14.0
16
+ X-Amz-Target:
17
+ - DynamoDB_20120810.GetItem
18
+ X-Amz-Date:
19
+ - 20150124T143941Z
20
+ Host:
21
+ - dynamodb.us-east-1.amazonaws.com
22
+ X-Amz-Content-Sha256:
23
+ - 17e5ae148907c65927f204296d31bccfdfc6aa5c09c7485e0b8008dda0660623
24
+ Authorization:
25
+ - AWS4-HMAC-SHA256 Credential=key/20150124/us-east-1/dynamodb/aws4_request,
26
+ SignedHeaders=content-type;host;user-agent;x-amz-content-sha256;x-amz-date;x-amz-target,
27
+ Signature=e04aad97f5bf39a18db181be28ceb5cfa5280e750f45de84212ea4e552b2a96f
28
+ Content-Length:
29
+ - '134'
30
+ Accept:
31
+ - "*/*"
32
+ response:
33
+ status:
34
+ code: 200
35
+ message: OK
36
+ headers:
37
+ X-Amzn-Requestid:
38
+ - DC56KPCUJHQ5BHBE01S2JS4BFBVV4KQNSO5AEMVJF66Q9ASUAAJG
39
+ X-Amz-Crc32:
40
+ - '3732177927'
41
+ Content-Type:
42
+ - application/x-amz-json-1.0
43
+ Content-Length:
44
+ - '131'
45
+ Date:
46
+ - Sat, 24 Jan 2015 14:39:43 GMT
47
+ body:
48
+ encoding: UTF-8
49
+ string: '{"Item":{"created_at":{"S":"2015-01-24T22:15:42+08:00"},"name":{"S":"A
50
+ person"},"id":{"S":"369a0862-5dee-441a-b438-1fb17af2d484"}}}'
51
+ http_version:
52
+ recorded_at: Sat, 24 Jan 2015 14:39:44 GMT
53
+ - request:
54
+ method: post
55
+ uri: https://dynamodb.us-east-1.amazonaws.com/
56
+ body:
57
+ encoding: UTF-8
58
+ string: '{"TableName":"person_ranges","Key":{"id":{"S":"369a0862-5dee-441a-b438-1fb17af2d484"},"created_at":{"S":"2015-01-24T22:15:42+08:00"}}}'
59
+ headers:
60
+ Content-Type:
61
+ - application/x-amz-json-1.0
62
+ Accept-Encoding:
63
+ - ''
64
+ User-Agent:
65
+ - aws-sdk-ruby2/2.0.19 ruby/2.1.2 x86_64-darwin14.0
66
+ X-Amz-Target:
67
+ - DynamoDB_20120810.DeleteItem
68
+ X-Amz-Date:
69
+ - 20150124T143944Z
70
+ Host:
71
+ - dynamodb.us-east-1.amazonaws.com
72
+ X-Amz-Content-Sha256:
73
+ - 17e5ae148907c65927f204296d31bccfdfc6aa5c09c7485e0b8008dda0660623
74
+ Authorization:
75
+ - AWS4-HMAC-SHA256 Credential=key/20150124/us-east-1/dynamodb/aws4_request,
76
+ SignedHeaders=content-type;host;user-agent;x-amz-content-sha256;x-amz-date;x-amz-target,
77
+ Signature=e9f067cbacbae4837bb9a3a1f0dbe266126aa35633a5a92d8c8f832532aed35e
78
+ Content-Length:
79
+ - '134'
80
+ Accept:
81
+ - "*/*"
82
+ response:
83
+ status:
84
+ code: 200
85
+ message: OK
86
+ headers:
87
+ X-Amzn-Requestid:
88
+ - 694UVIOACTA39N5AG026HESUURVV4KQNSO5AEMVJF66Q9ASUAAJG
89
+ X-Amz-Crc32:
90
+ - '2745614147'
91
+ Content-Type:
92
+ - application/x-amz-json-1.0
93
+ Content-Length:
94
+ - '2'
95
+ Date:
96
+ - Sat, 24 Jan 2015 14:39:44 GMT
97
+ body:
98
+ encoding: UTF-8
99
+ string: "{}"
100
+ http_version:
101
+ recorded_at: Sat, 24 Jan 2015 14:39:45 GMT
102
+ - request:
103
+ method: post
104
+ uri: https://dynamodb.us-east-1.amazonaws.com/
105
+ body:
106
+ encoding: UTF-8
107
+ string: '{"TableName":"person_ranges","Key":{"id":{"S":"369a0862-5dee-441a-b438-1fb17af2d484"},"created_at":{"S":"2015-01-24T22:15:42+08:00"}}}'
108
+ headers:
109
+ Content-Type:
110
+ - application/x-amz-json-1.0
111
+ Accept-Encoding:
112
+ - ''
113
+ User-Agent:
114
+ - aws-sdk-ruby2/2.0.19 ruby/2.1.2 x86_64-darwin14.0
115
+ X-Amz-Target:
116
+ - DynamoDB_20120810.GetItem
117
+ X-Amz-Date:
118
+ - 20150124T143945Z
119
+ Host:
120
+ - dynamodb.us-east-1.amazonaws.com
121
+ X-Amz-Content-Sha256:
122
+ - 17e5ae148907c65927f204296d31bccfdfc6aa5c09c7485e0b8008dda0660623
123
+ Authorization:
124
+ - AWS4-HMAC-SHA256 Credential=key/20150124/us-east-1/dynamodb/aws4_request,
125
+ SignedHeaders=content-type;host;user-agent;x-amz-content-sha256;x-amz-date;x-amz-target,
126
+ Signature=d393dca89c02b13f05d8370fdf5b067d0e3384303ffd7796e8c56f51346eed70
127
+ Content-Length:
128
+ - '134'
129
+ Accept:
130
+ - "*/*"
131
+ response:
132
+ status:
133
+ code: 200
134
+ message: OK
135
+ headers:
136
+ X-Amzn-Requestid:
137
+ - KLGVS0MTQBA47BBIV11R31L5OBVV4KQNSO5AEMVJF66Q9ASUAAJG
138
+ X-Amz-Crc32:
139
+ - '2745614147'
140
+ Content-Type:
141
+ - application/x-amz-json-1.0
142
+ Content-Length:
143
+ - '2'
144
+ Date:
145
+ - Sat, 24 Jan 2015 14:39:44 GMT
146
+ body:
147
+ encoding: UTF-8
148
+ string: "{}"
149
+ http_version:
150
+ recorded_at: Sat, 24 Jan 2015 14:39:46 GMT
151
+ recorded_with: VCR 2.9.3
data/spec/spec_helper.rb CHANGED
@@ -15,9 +15,4 @@ end
15
15
  DynamoRecord.configure do |config|
16
16
  config.access_key_id = 'key'
17
17
  config.secret_access_key = 'secret'
18
- end
19
-
20
- # DynamoRecord.configure do |config|
21
- # config.access_key_id = 'AKIAI6M4LBRLK4COUJ5Q'
22
- # config.secret_access_key = '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'
23
- # end
18
+ end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: dynamo_record
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.17
4
+ version: 0.0.18
5
5
  platform: ruby
6
6
  authors:
7
7
  - Nguyen Vu Nguyen
@@ -132,6 +132,7 @@ files:
132
132
  - lib/dynamo_record/version.rb
133
133
  - spec/app/models/address.rb
134
134
  - spec/app/models/person.rb
135
+ - spec/app/models/person_range.rb
135
136
  - spec/dynamo_record/collection_spec.rb
136
137
  - spec/dynamo_record/config_spec.rb
137
138
  - spec/dynamo_record/document_spec.rb
@@ -146,8 +147,9 @@ files:
146
147
  - spec/fixtures/vcr_cassettes/DynamoRecord_Persistence/_create_table/with_default_hash_key/creates_table.yml
147
148
  - spec/fixtures/vcr_cassettes/DynamoRecord_Persistence/_create_table/with_index/creates_table.yml
148
149
  - spec/fixtures/vcr_cassettes/DynamoRecord_Persistence/_create_table/with_range_key/creates_table.yml
150
+ - spec/fixtures/vcr_cassettes/DynamoRecord_Persistence/_destroy/when_no_range_key/destroys_record.yml
151
+ - spec/fixtures/vcr_cassettes/DynamoRecord_Persistence/_destroy/when_there_is_range_key/destroys_record.yml
149
152
  - spec/fixtures/vcr_cassettes/DynamoRecord_Persistence/creates_record.yml
150
- - spec/fixtures/vcr_cassettes/DynamoRecord_Persistence/destroys_record.yml
151
153
  - spec/fixtures/vcr_cassettes/DynamoRecord_Persistence/does_not_overwrite_existing_record.yml
152
154
  - spec/fixtures/vcr_cassettes/DynamoRecord_Persistence/saves_record.yml
153
155
  - spec/fixtures/vcr_cassettes/DynamoRecord_Persistence/updates_record.yml
@@ -188,6 +190,7 @@ summary: A simple DynamoDB ORM wrapper on top of aws-sdk v2
188
190
  test_files:
189
191
  - spec/app/models/address.rb
190
192
  - spec/app/models/person.rb
193
+ - spec/app/models/person_range.rb
191
194
  - spec/dynamo_record/collection_spec.rb
192
195
  - spec/dynamo_record/config_spec.rb
193
196
  - spec/dynamo_record/document_spec.rb
@@ -202,8 +205,9 @@ test_files:
202
205
  - spec/fixtures/vcr_cassettes/DynamoRecord_Persistence/_create_table/with_default_hash_key/creates_table.yml
203
206
  - spec/fixtures/vcr_cassettes/DynamoRecord_Persistence/_create_table/with_index/creates_table.yml
204
207
  - spec/fixtures/vcr_cassettes/DynamoRecord_Persistence/_create_table/with_range_key/creates_table.yml
208
+ - spec/fixtures/vcr_cassettes/DynamoRecord_Persistence/_destroy/when_no_range_key/destroys_record.yml
209
+ - spec/fixtures/vcr_cassettes/DynamoRecord_Persistence/_destroy/when_there_is_range_key/destroys_record.yml
205
210
  - spec/fixtures/vcr_cassettes/DynamoRecord_Persistence/creates_record.yml
206
- - spec/fixtures/vcr_cassettes/DynamoRecord_Persistence/destroys_record.yml
207
211
  - spec/fixtures/vcr_cassettes/DynamoRecord_Persistence/does_not_overwrite_existing_record.yml
208
212
  - spec/fixtures/vcr_cassettes/DynamoRecord_Persistence/saves_record.yml
209
213
  - spec/fixtures/vcr_cassettes/DynamoRecord_Persistence/updates_record.yml