dynamodb_record 0.3.1 → 0.3.3

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.
Files changed (31) hide show
  1. checksums.yaml +4 -4
  2. data/lib/dynamodb_record/associations.rb +33 -33
  3. data/lib/dynamodb_record/finders.rb +0 -1
  4. data/lib/dynamodb_record/query.rb +1 -0
  5. data/lib/dynamodb_record/version.rb +1 -1
  6. data/lib/dynamodb_record.rb +1 -0
  7. data/spec/dynamodb_record/config_spec.rb +28 -0
  8. data/spec/dynamodb_record/document_spec.rb +4 -4
  9. data/spec/dynamodb_record/finders_spec.rb +7 -7
  10. data/spec/dynamodb_record/persistence_spec.rb +12 -12
  11. data/spec/dynamodb_record/query_spec.rb +2 -2
  12. data/spec/fixtures/vcr_cassettes/DynamodbRecord_Associations/_belongs_to/get_object.yml +18 -18
  13. data/spec/fixtures/vcr_cassettes/DynamodbRecord_Associations/_has_many/add_list.yml +108 -57
  14. data/spec/fixtures/vcr_cassettes/DynamodbRecord_Associations/_has_many/create_item.yml +28 -27
  15. data/spec/fixtures/vcr_cassettes/DynamodbRecord_Associations/_has_many/get_collection.yml +19 -18
  16. data/spec/fixtures/vcr_cassettes/DynamodbRecord_Associations/has_and_belongs_to_many.yml +31 -31
  17. data/spec/fixtures/vcr_cassettes/DynamodbRecord_Associations/has_and_belongs_to_many_create.yml +91 -39
  18. data/spec/fixtures/vcr_cassettes/DynamodbRecord_Associations/has_many_through.yml +30 -27
  19. data/spec/fixtures/vcr_cassettes/DynamodbRecord_Document/initializes_from_database.yml +11 -11
  20. data/spec/fixtures/vcr_cassettes/DynamodbRecord_Fields/_find/finds_record.yml +12 -12
  21. data/spec/fixtures/vcr_cassettes/DynamodbRecord_Fields/_find/when_record_doesn_t_exists/returns_empty_object.yml +9 -9
  22. data/spec/fixtures/vcr_cassettes/DynamodbRecord_Persistence/_destroy/when_no_range_key/destroys_record.yml +30 -30
  23. data/spec/fixtures/vcr_cassettes/DynamodbRecord_Persistence/_destroy/when_there_is_range_key/destroys_record.yml +9 -111
  24. data/spec/fixtures/vcr_cassettes/DynamodbRecord_Persistence/does_not_overwrite_existing_record.yml +20 -20
  25. data/spec/fixtures/vcr_cassettes/DynamodbRecord_Persistence/saves_record.yml +9 -9
  26. data/spec/fixtures/vcr_cassettes/DynamodbRecord_Persistence/updates_record.yml +31 -31
  27. data/spec/fixtures/vcr_cassettes/DynamodbRecord_Query/_all/find_all_records.yml +12 -12
  28. data/spec/fixtures/vcr_cassettes/DynamodbRecord_Query/querying/_where/returns_records_by_limit.yml +12 -12
  29. data/spec/fixtures/vcr_cassettes/DynamodbRecord_Query/querying/_where/returns_records_where_user_balance_0.yml +12 -12
  30. data/spec/spec_helper.rb +7 -6
  31. metadata +3 -2
@@ -5,7 +5,7 @@ http_interactions:
5
5
  uri: http://localhost:8000/
6
6
  body:
7
7
  encoding: UTF-8
8
- string: '{"TableName":"cars","Key":{"id":{"S":"UVX455"}}}'
8
+ string: '{"TableName":"fleteo-v2-cars","Key":{"id":{"S":"UVX455"}}}'
9
9
  headers:
10
10
  Accept-Encoding:
11
11
  - ''
@@ -19,15 +19,15 @@ http_interactions:
19
19
  Host:
20
20
  - localhost:8000
21
21
  X-Amz-Date:
22
- - 20240510T153124Z
22
+ - 20240514T150706Z
23
23
  X-Amz-Content-Sha256:
24
- - 53644a2bbab903704867eb87df0fdfe6dd8cb8ac9e1dae5715033d0f636fd592
24
+ - 3f40080fdb7ac1732232c14b86645a9ffbd3f94cf8ecda6b3c584d105288bb8d
25
25
  Authorization:
26
- - AWS4-HMAC-SHA256 Credential=key/20240510/us-east-1/dynamodb/aws4_request,
26
+ - AWS4-HMAC-SHA256 Credential=key/20240514/us-east-1/dynamodb/aws4_request,
27
27
  SignedHeaders=content-type;host;x-amz-content-sha256;x-amz-date;x-amz-target,
28
- Signature=aabf32c5d98f0cb8d883d2be1fcbedb04b65b0c6c2d38ff4172a1d31a6bfa438
28
+ Signature=06a5056ca7b7412abb28f73b8b51813f4ea4ed87b99dafd5b28902f1f81ddc1d
29
29
  Content-Length:
30
- - '48'
30
+ - '58'
31
31
  Accept:
32
32
  - "*/*"
33
33
  response:
@@ -36,9 +36,9 @@ http_interactions:
36
36
  message: OK
37
37
  headers:
38
38
  Date:
39
- - Fri, 10 May 2024 15:31:24 GMT
39
+ - Tue, 14 May 2024 15:07:06 GMT
40
40
  X-Amzn-Requestid:
41
- - a1a0ed0c-b027-4df9-85a1-aeb1343d66f1
41
+ - ef6a1b97-0637-4f57-b952-e467f119059f
42
42
  Content-Type:
43
43
  - application/x-amz-json-1.0
44
44
  X-Amz-Crc32:
@@ -50,14 +50,14 @@ http_interactions:
50
50
  body:
51
51
  encoding: UTF-8
52
52
  string: '{"Item":{"marca":{"S":"Chvrolet"},"created_at":{"S":"2024-05-07T14:09:25-05:00"},"id":{"S":"UVX455"},"updated_at":{"S":"2024-05-07T14:09:25-05:00"}}}'
53
- recorded_at: Fri, 10 May 2024 15:31:24 GMT
53
+ recorded_at: Tue, 14 May 2024 15:07:06 GMT
54
54
  - request:
55
55
  method: post
56
56
  uri: http://localhost:8000/
57
57
  body:
58
58
  encoding: UTF-8
59
- string: '{"TableName":"subscriptions","IndexName":"car_id_index","KeyConditionExpression":"#car_id
60
- = :car_id","ExpressionAttributeNames":{"#car_id":"car_id"},"ExpressionAttributeValues":{":car_id":{"S":"UVX455"}},"Limit":1}'
59
+ string: '{"TableName":"fleteo-v2-cars-users","KeyConditionExpression":"#car_id
60
+ = :car_id","ExpressionAttributeNames":{"#car_id":"car_id"},"ExpressionAttributeValues":{":car_id":{"S":"UVX455"}}}'
61
61
  headers:
62
62
  Accept-Encoding:
63
63
  - ''
@@ -71,15 +71,15 @@ http_interactions:
71
71
  Host:
72
72
  - localhost:8000
73
73
  X-Amz-Date:
74
- - 20240510T153124Z
74
+ - 20240514T150706Z
75
75
  X-Amz-Content-Sha256:
76
- - a8ff850c4aeb9c9af304ba26c2cdbd7da707db1921602173d7d3d4d6c17fd101
76
+ - cace0a22d92863fee1a25aaedd2a1d186e28b09ab69c98bf43ee1e5d1e62dc78
77
77
  Authorization:
78
- - AWS4-HMAC-SHA256 Credential=key/20240510/us-east-1/dynamodb/aws4_request,
78
+ - AWS4-HMAC-SHA256 Credential=key/20240514/us-east-1/dynamodb/aws4_request,
79
79
  SignedHeaders=content-type;host;x-amz-content-sha256;x-amz-date;x-amz-target,
80
- Signature=5b17cf94981747e27477a2e746af96998ae6648b22986d06995737020d9de8b6
80
+ Signature=6b998e974e0b175cfef3301240167228ee4674b99364e0b3d6689914d7582a00
81
81
  Content-Length:
82
- - '214'
82
+ - '184'
83
83
  Accept:
84
84
  - "*/*"
85
85
  response:
@@ -88,27 +88,27 @@ http_interactions:
88
88
  message: OK
89
89
  headers:
90
90
  Date:
91
- - Fri, 10 May 2024 15:31:24 GMT
91
+ - Tue, 14 May 2024 15:07:06 GMT
92
92
  X-Amzn-Requestid:
93
- - 6b579265-07a9-4be1-913c-533ed443fbb1
93
+ - 5105fec4-4f2d-495f-b7fd-1e4e77d422eb
94
94
  Content-Type:
95
95
  - application/x-amz-json-1.0
96
96
  X-Amz-Crc32:
97
- - '3624557612'
97
+ - '1919856377'
98
98
  Content-Length:
99
- - '185'
99
+ - '102'
100
100
  Server:
101
101
  - Jetty(11.0.17)
102
102
  body:
103
103
  encoding: UTF-8
104
- string: '{"Items":[{"car_id":{"S":"UVX455"},"user_id":{"S":"hguzman10@gmail.com"},"id":{"S":"ASDFG"}}],"Count":1,"ScannedCount":1,"LastEvaluatedKey":{"car_id":{"S":"UVX455"},"id":{"S":"ASDFG"}}}'
105
- recorded_at: Fri, 10 May 2024 15:31:24 GMT
104
+ string: '{"Items":[{"user_id":{"S":"hguzman10@gmail.com"},"car_id":{"S":"UVX455"}}],"Count":1,"ScannedCount":1}'
105
+ recorded_at: Tue, 14 May 2024 15:07:06 GMT
106
106
  - request:
107
107
  method: post
108
108
  uri: http://localhost:8000/
109
109
  body:
110
110
  encoding: UTF-8
111
- string: '{"TableName":"users","Key":{"id":{"S":"hguzman10@gmail.com"}}}'
111
+ string: '{"TableName":"fleteo-v2-users","Key":{"id":{"S":"hguzman10@gmail.com"}}}'
112
112
  headers:
113
113
  Accept-Encoding:
114
114
  - ''
@@ -122,15 +122,15 @@ http_interactions:
122
122
  Host:
123
123
  - localhost:8000
124
124
  X-Amz-Date:
125
- - 20240510T153124Z
125
+ - 20240514T150706Z
126
126
  X-Amz-Content-Sha256:
127
- - 7e2248df156bd85d1c08add1aaa7b84ed6041fe96165fb6879ddbb1424663802
127
+ - ab20f394f9f17ab85359c8cef098ff2e93991ca4f4f9402376eaa33ea97d5545
128
128
  Authorization:
129
- - AWS4-HMAC-SHA256 Credential=key/20240510/us-east-1/dynamodb/aws4_request,
129
+ - AWS4-HMAC-SHA256 Credential=key/20240514/us-east-1/dynamodb/aws4_request,
130
130
  SignedHeaders=content-type;host;x-amz-content-sha256;x-amz-date;x-amz-target,
131
- Signature=148c8308f7139ad29b0c868b5c835044c7247c54a39347e603514301bca0dc42
131
+ Signature=7a77ca70c4490290987c8cc9c0c7d5828f710adb74e54e0308318765d6cb0bff
132
132
  Content-Length:
133
- - '62'
133
+ - '72'
134
134
  Accept:
135
135
  - "*/*"
136
136
  response:
@@ -139,9 +139,9 @@ http_interactions:
139
139
  message: OK
140
140
  headers:
141
141
  Date:
142
- - Fri, 10 May 2024 15:31:24 GMT
142
+ - Tue, 14 May 2024 15:07:06 GMT
143
143
  X-Amzn-Requestid:
144
- - f619c0fb-46a2-4016-a59f-749d48435612
144
+ - 89bd60ea-9f8f-4e3f-ab76-4a895bb5eb39
145
145
  Content-Type:
146
146
  - application/x-amz-json-1.0
147
147
  X-Amz-Crc32:
@@ -153,5 +153,5 @@ http_interactions:
153
153
  body:
154
154
  encoding: UTF-8
155
155
  string: '{"Item":{"created_at":{"S":"2024-05-07T14:10:09-05:00"},"id":{"S":"hguzman10@gmail.com"},"balance":{"N":"0"},"updated_at":{"S":"2024-05-07T14:10:09-05:00"}}}'
156
- recorded_at: Fri, 10 May 2024 15:31:24 GMT
156
+ recorded_at: Tue, 14 May 2024 15:07:06 GMT
157
157
  recorded_with: VCR 6.2.0
@@ -5,7 +5,7 @@ http_interactions:
5
5
  uri: http://localhost:8000/
6
6
  body:
7
7
  encoding: UTF-8
8
- string: '{"TableName":"cars","Key":{"id":{"S":"UVX455"}}}'
8
+ string: '{"TableName":"fleteo-v2-cars","Key":{"id":{"S":"UVX455"}}}'
9
9
  headers:
10
10
  Accept-Encoding:
11
11
  - ''
@@ -19,15 +19,15 @@ http_interactions:
19
19
  Host:
20
20
  - localhost:8000
21
21
  X-Amz-Date:
22
- - 20240511T165334Z
22
+ - 20240514T150857Z
23
23
  X-Amz-Content-Sha256:
24
- - 53644a2bbab903704867eb87df0fdfe6dd8cb8ac9e1dae5715033d0f636fd592
24
+ - 3f40080fdb7ac1732232c14b86645a9ffbd3f94cf8ecda6b3c584d105288bb8d
25
25
  Authorization:
26
- - AWS4-HMAC-SHA256 Credential=key/20240511/us-east-1/dynamodb/aws4_request,
26
+ - AWS4-HMAC-SHA256 Credential=key/20240514/us-east-1/dynamodb/aws4_request,
27
27
  SignedHeaders=content-type;host;x-amz-content-sha256;x-amz-date;x-amz-target,
28
- Signature=945141506a3d03f5dfa8197ade25fc065c72852f9f59020adef19232dbae1c48
28
+ Signature=7b342a18382670246dd411ab6773fb2c99478d532b07d554e20c6212c0f9bc89
29
29
  Content-Length:
30
- - '48'
30
+ - '58'
31
31
  Accept:
32
32
  - "*/*"
33
33
  response:
@@ -36,9 +36,9 @@ http_interactions:
36
36
  message: OK
37
37
  headers:
38
38
  Date:
39
- - Sat, 11 May 2024 16:53:34 GMT
39
+ - Tue, 14 May 2024 15:08:57 GMT
40
40
  X-Amzn-Requestid:
41
- - cde0b341-e90d-4e78-b952-839a7959422d
41
+ - 4d417ee2-ef68-41f9-a96a-b494f7aa75e8
42
42
  Content-Type:
43
43
  - application/x-amz-json-1.0
44
44
  X-Amz-Crc32:
@@ -50,13 +50,14 @@ http_interactions:
50
50
  body:
51
51
  encoding: UTF-8
52
52
  string: '{"Item":{"marca":{"S":"Chvrolet"},"created_at":{"S":"2024-05-07T14:09:25-05:00"},"id":{"S":"UVX455"},"updated_at":{"S":"2024-05-07T14:09:25-05:00"}}}'
53
- recorded_at: Sat, 11 May 2024 16:53:34 GMT
53
+ recorded_at: Tue, 14 May 2024 15:08:57 GMT
54
54
  - request:
55
55
  method: post
56
56
  uri: http://localhost:8000/
57
57
  body:
58
58
  encoding: UTF-8
59
- string: '{"TableName":"cars-users","KeyConditionExpression":"#car_id = :car_id","ExpressionAttributeNames":{"#car_id":"car_id"},"ExpressionAttributeValues":{":car_id":{"S":"UVX455"}}}'
59
+ string: '{"TableName":"fleteo-v2-cars-users","KeyConditionExpression":"#car_id
60
+ = :car_id","ExpressionAttributeNames":{"#car_id":"car_id"},"ExpressionAttributeValues":{":car_id":{"S":"UVX455"}}}'
60
61
  headers:
61
62
  Accept-Encoding:
62
63
  - ''
@@ -70,15 +71,15 @@ http_interactions:
70
71
  Host:
71
72
  - localhost:8000
72
73
  X-Amz-Date:
73
- - 20240511T165334Z
74
+ - 20240514T150857Z
74
75
  X-Amz-Content-Sha256:
75
- - c5afaee6670f0bb8de80a62d934db1175d05a20c9f56b1cd58397a6e6124f3e9
76
+ - cace0a22d92863fee1a25aaedd2a1d186e28b09ab69c98bf43ee1e5d1e62dc78
76
77
  Authorization:
77
- - AWS4-HMAC-SHA256 Credential=key/20240511/us-east-1/dynamodb/aws4_request,
78
+ - AWS4-HMAC-SHA256 Credential=key/20240514/us-east-1/dynamodb/aws4_request,
78
79
  SignedHeaders=content-type;host;x-amz-content-sha256;x-amz-date;x-amz-target,
79
- Signature=2ab37eed9aeff2704d9233edb66f8744c8c64d1b2afe6ec6eef864f4ef5850b7
80
+ Signature=061e838c38387334ef4c00e006a3277a10a1a6bcf05a52d33366e52ca09e0fe5
80
81
  Content-Length:
81
- - '174'
82
+ - '184'
82
83
  Accept:
83
84
  - "*/*"
84
85
  response:
@@ -87,27 +88,78 @@ http_interactions:
87
88
  message: OK
88
89
  headers:
89
90
  Date:
90
- - Sat, 11 May 2024 16:53:34 GMT
91
+ - Tue, 14 May 2024 15:08:57 GMT
91
92
  X-Amzn-Requestid:
92
- - 918896f7-6570-4d53-91b4-b316fb1d1e72
93
+ - 928a6943-b6c4-4a19-845a-1f89e3ed11c5
93
94
  Content-Type:
94
95
  - application/x-amz-json-1.0
95
96
  X-Amz-Crc32:
96
- - '583912891'
97
+ - '1919856377'
97
98
  Content-Length:
98
- - '39'
99
+ - '102'
99
100
  Server:
100
101
  - Jetty(11.0.17)
101
102
  body:
102
103
  encoding: UTF-8
103
- string: '{"Items":[],"Count":0,"ScannedCount":0}'
104
- recorded_at: Sat, 11 May 2024 16:53:34 GMT
104
+ string: '{"Items":[{"user_id":{"S":"hguzman10@gmail.com"},"car_id":{"S":"UVX455"}}],"Count":1,"ScannedCount":1}'
105
+ recorded_at: Tue, 14 May 2024 15:08:57 GMT
105
106
  - request:
106
107
  method: post
107
108
  uri: http://localhost:8000/
108
109
  body:
109
110
  encoding: UTF-8
110
- string: '{"TableName":"users","Item":{"balance":{"N":"0"},"id":{"S":"hguzman50@gmail.com"},"created_at":{"S":"2024-05-11T11:53:34-05:00"},"updated_at":{"S":"2024-05-11T11:53:34-05:00"}}}'
111
+ string: '{"TableName":"fleteo-v2-users","Key":{"id":{"S":"hguzman10@gmail.com"}}}'
112
+ headers:
113
+ Accept-Encoding:
114
+ - ''
115
+ Content-Type:
116
+ - application/x-amz-json-1.0
117
+ X-Amz-Target:
118
+ - DynamoDB_20120810.GetItem
119
+ User-Agent:
120
+ - aws-sdk-ruby3/3.191.3 ua/2.0 api/dynamodb#1.105.0 os/macos#20 md/x86_64 lang/ruby#3.2.3
121
+ md/3.2.3 cfg/retry-mode#legacy
122
+ Host:
123
+ - localhost:8000
124
+ X-Amz-Date:
125
+ - 20240514T150857Z
126
+ X-Amz-Content-Sha256:
127
+ - ab20f394f9f17ab85359c8cef098ff2e93991ca4f4f9402376eaa33ea97d5545
128
+ Authorization:
129
+ - AWS4-HMAC-SHA256 Credential=key/20240514/us-east-1/dynamodb/aws4_request,
130
+ SignedHeaders=content-type;host;x-amz-content-sha256;x-amz-date;x-amz-target,
131
+ Signature=91872537c56776cac01ca40cb64b82fcde77bb64b8b3dd1b4e698e0c1225f847
132
+ Content-Length:
133
+ - '72'
134
+ Accept:
135
+ - "*/*"
136
+ response:
137
+ status:
138
+ code: 200
139
+ message: OK
140
+ headers:
141
+ Date:
142
+ - Tue, 14 May 2024 15:08:57 GMT
143
+ X-Amzn-Requestid:
144
+ - 5b8bed75-6639-42a2-822a-df4697c22953
145
+ Content-Type:
146
+ - application/x-amz-json-1.0
147
+ X-Amz-Crc32:
148
+ - '3262869781'
149
+ Content-Length:
150
+ - '157'
151
+ Server:
152
+ - Jetty(11.0.17)
153
+ body:
154
+ encoding: UTF-8
155
+ string: '{"Item":{"created_at":{"S":"2024-05-07T14:10:09-05:00"},"id":{"S":"hguzman10@gmail.com"},"balance":{"N":"0"},"updated_at":{"S":"2024-05-07T14:10:09-05:00"}}}'
156
+ recorded_at: Tue, 14 May 2024 15:08:57 GMT
157
+ - request:
158
+ method: post
159
+ uri: http://localhost:8000/
160
+ body:
161
+ encoding: UTF-8
162
+ string: '{"TableName":"fleteo-v2-users","Item":{"balance":{"N":"0"},"id":{"S":"hguzman50@gmail.com"},"created_at":{"S":"2024-05-14T10:08:57-05:00"},"updated_at":{"S":"2024-05-14T10:08:57-05:00"}}}'
111
163
  headers:
112
164
  Accept-Encoding:
113
165
  - ''
@@ -121,15 +173,15 @@ http_interactions:
121
173
  Host:
122
174
  - localhost:8000
123
175
  X-Amz-Date:
124
- - 20240511T165334Z
176
+ - 20240514T150857Z
125
177
  X-Amz-Content-Sha256:
126
- - 42291efb1996f6031a9903c6046f07ce33adaeb5a12f83063cf032a351fddf02
178
+ - 3ad6c8463801ae079ca7f7ec94c2e2a791d16e713a736cd9f11ed3e219ea0964
127
179
  Authorization:
128
- - AWS4-HMAC-SHA256 Credential=key/20240511/us-east-1/dynamodb/aws4_request,
180
+ - AWS4-HMAC-SHA256 Credential=key/20240514/us-east-1/dynamodb/aws4_request,
129
181
  SignedHeaders=content-type;host;x-amz-content-sha256;x-amz-date;x-amz-target,
130
- Signature=ce88618157742bd045cb950a6fc2db03eaf92146ee78ea0bf0248f00bc2b5f58
182
+ Signature=27d7745ec37b37e7c19b8baf1cf88045f0e95b7f51e0ffed8862f8e3e0db36c5
131
183
  Content-Length:
132
- - '177'
184
+ - '187'
133
185
  Accept:
134
186
  - "*/*"
135
187
  response:
@@ -138,9 +190,9 @@ http_interactions:
138
190
  message: OK
139
191
  headers:
140
192
  Date:
141
- - Sat, 11 May 2024 16:53:34 GMT
193
+ - Tue, 14 May 2024 15:08:57 GMT
142
194
  X-Amzn-Requestid:
143
- - fe894c17-9a00-4c07-9a62-5bed6428e87e
195
+ - 0ba821b4-96b4-4f07-a4fe-63ee94603d94
144
196
  Content-Type:
145
197
  - application/x-amz-json-1.0
146
198
  X-Amz-Crc32:
@@ -152,13 +204,13 @@ http_interactions:
152
204
  body:
153
205
  encoding: UTF-8
154
206
  string: "{}"
155
- recorded_at: Sat, 11 May 2024 16:53:34 GMT
207
+ recorded_at: Tue, 14 May 2024 15:08:57 GMT
156
208
  - request:
157
209
  method: post
158
210
  uri: http://localhost:8000/
159
211
  body:
160
212
  encoding: UTF-8
161
- string: '{"TableName":"cars-users","Item":{"car_id":{"S":"UVX455"},"user_id":{"S":"hguzman50@gmail.com"}}}'
213
+ string: '{"TableName":"fleteo-v2-cars-users","Item":{"car_id":{"S":"UVX455"},"user_id":{"S":"hguzman50@gmail.com"}}}'
162
214
  headers:
163
215
  Accept-Encoding:
164
216
  - ''
@@ -172,15 +224,15 @@ http_interactions:
172
224
  Host:
173
225
  - localhost:8000
174
226
  X-Amz-Date:
175
- - 20240511T165334Z
227
+ - 20240514T150857Z
176
228
  X-Amz-Content-Sha256:
177
- - 574742e460f05d07e61a96fe7cac4b815543db8f5aa10409003bbfe4bda5ee76
229
+ - d5b220f0a13a3cedb9b4d4b1eb2b48b14c66738be9e9690a12290e570ad3262d
178
230
  Authorization:
179
- - AWS4-HMAC-SHA256 Credential=key/20240511/us-east-1/dynamodb/aws4_request,
231
+ - AWS4-HMAC-SHA256 Credential=key/20240514/us-east-1/dynamodb/aws4_request,
180
232
  SignedHeaders=content-type;host;x-amz-content-sha256;x-amz-date;x-amz-target,
181
- Signature=1b0e6aa6d5579f630e75b404b1fa404b10779a1f191d0309c269b5a7ec0aaef2
233
+ Signature=4daab6481522dc81dc65d32bd749ac3e60d3577b28344b1b463eb473c7d1e718
182
234
  Content-Length:
183
- - '97'
235
+ - '107'
184
236
  Accept:
185
237
  - "*/*"
186
238
  response:
@@ -189,9 +241,9 @@ http_interactions:
189
241
  message: OK
190
242
  headers:
191
243
  Date:
192
- - Sat, 11 May 2024 16:53:34 GMT
244
+ - Tue, 14 May 2024 15:08:57 GMT
193
245
  X-Amzn-Requestid:
194
- - c735d39e-5650-4e6c-b111-8cbcfb001c75
246
+ - 43c4093e-afb1-4ba1-a57a-2d1d75fb1580
195
247
  Content-Type:
196
248
  - application/x-amz-json-1.0
197
249
  X-Amz-Crc32:
@@ -203,5 +255,5 @@ http_interactions:
203
255
  body:
204
256
  encoding: UTF-8
205
257
  string: "{}"
206
- recorded_at: Sat, 11 May 2024 16:53:34 GMT
258
+ recorded_at: Tue, 14 May 2024 15:08:57 GMT
207
259
  recorded_with: VCR 6.2.0
@@ -5,7 +5,7 @@ http_interactions:
5
5
  uri: http://localhost:8000/
6
6
  body:
7
7
  encoding: UTF-8
8
- string: '{"TableName":"services","Key":{"id":{"S":"c1"}}}'
8
+ string: '{"TableName":"fleteo-v2-services","Key":{"id":{"S":"c1"}}}'
9
9
  headers:
10
10
  Accept-Encoding:
11
11
  - ''
@@ -19,15 +19,15 @@ http_interactions:
19
19
  Host:
20
20
  - localhost:8000
21
21
  X-Amz-Date:
22
- - 20240510T173320Z
22
+ - 20240514T150755Z
23
23
  X-Amz-Content-Sha256:
24
- - af39639619dd25d0ec94d9c140275bdaf272544a94c5a0d5ad74a74187a01e3c
24
+ - 58ea1cd954af69b1be2d672492d299f11508b9a50931d6d41773854ad047f50f
25
25
  Authorization:
26
- - AWS4-HMAC-SHA256 Credential=key/20240510/us-east-1/dynamodb/aws4_request,
26
+ - AWS4-HMAC-SHA256 Credential=key/20240514/us-east-1/dynamodb/aws4_request,
27
27
  SignedHeaders=content-type;host;x-amz-content-sha256;x-amz-date;x-amz-target,
28
- Signature=5572b10254bb03c3be61dafb3183a69c28c04297e186bd97288b8d9f542cfdbf
28
+ Signature=fda5728befe377bfe63bbfd5f62a72061116fb93b6e8367174004b7449a3e98b
29
29
  Content-Length:
30
- - '48'
30
+ - '58'
31
31
  Accept:
32
32
  - "*/*"
33
33
  response:
@@ -36,21 +36,24 @@ http_interactions:
36
36
  message: OK
37
37
  headers:
38
38
  Date:
39
- - Fri, 10 May 2024 17:33:20 GMT
39
+ - Tue, 14 May 2024 15:07:55 GMT
40
40
  X-Amzn-Requestid:
41
- - c8f747ca-078d-463b-a412-bd94560bfa3b
41
+ - 893f562b-7bc7-49d2-b5ce-65cdb1eb0faa
42
42
  Content-Type:
43
43
  - application/x-amz-json-1.0
44
44
  X-Amz-Crc32:
45
- - '2191590297'
45
+ - '218550687'
46
46
  Content-Length:
47
- - '76'
47
+ - '385'
48
48
  Server:
49
49
  - Jetty(11.0.17)
50
50
  body:
51
51
  encoding: UTF-8
52
- string: '{"Item":{"name":{"S":"servicio"},"service_price":{"N":"0"},"id":{"S":"c1"}}}'
53
- recorded_at: Fri, 10 May 2024 17:33:20 GMT
52
+ string: '{"Item":{"schedule":{"S":"Luneas a viernes"},"standby_time":{"S":"1
53
+ minuto"},"helper_price":{"N":"100"},"service_price":{"N":"1000"},"updated_at":{"S":"2024-05-02T17:24:34-05:00"},"name":{"S":"Datos
54
+ Basicos"},"description":{"S":"Informacion del automotor"},"created_at":{"S":"2024-05-02T17:24:34-05:00"},"id":{"S":"c1"},"fields":{"S":"placa,
55
+ motor, chasis"},"activated":{"BOOL":true}}}'
56
+ recorded_at: Tue, 14 May 2024 15:07:55 GMT
54
57
  - request:
55
58
  method: post
56
59
  uri: http://localhost:8000/
@@ -71,13 +74,13 @@ http_interactions:
71
74
  Host:
72
75
  - localhost:8000
73
76
  X-Amz-Date:
74
- - 20240510T173320Z
77
+ - 20240514T150755Z
75
78
  X-Amz-Content-Sha256:
76
79
  - 7e4307bcc54828fddac9ef4e82db7b6a7523b3e92ea7d81617aa541348ea7378
77
80
  Authorization:
78
- - AWS4-HMAC-SHA256 Credential=key/20240510/us-east-1/dynamodb/aws4_request,
81
+ - AWS4-HMAC-SHA256 Credential=key/20240514/us-east-1/dynamodb/aws4_request,
79
82
  SignedHeaders=content-type;host;x-amz-content-sha256;x-amz-date;x-amz-target,
80
- Signature=0b40cd0504bb7d062a745bc1f227fdda78866e1c91ed4f8d61bff4a4cc97ff55
83
+ Signature=ca1d7116ed680b7bf3ee6f3ad128eae8d23e179a16def45f00571e8899f5ae0e
81
84
  Content-Length:
82
85
  - '225'
83
86
  Accept:
@@ -88,9 +91,9 @@ http_interactions:
88
91
  message: OK
89
92
  headers:
90
93
  Date:
91
- - Fri, 10 May 2024 17:33:20 GMT
94
+ - Tue, 14 May 2024 15:07:55 GMT
92
95
  X-Amzn-Requestid:
93
- - f7553ff6-790d-4983-8373-845b0fc50629
96
+ - acc1366d-b324-4da8-a2c3-7f1a751af150
94
97
  Content-Type:
95
98
  - application/x-amz-json-1.0
96
99
  X-Amz-Crc32:
@@ -102,13 +105,13 @@ http_interactions:
102
105
  body:
103
106
  encoding: UTF-8
104
107
  string: '{"Items":[{"user_id":{"S":"hguzman10@gmail.com"},"id":{"S":"12345"},"service_id":{"S":"c1"}}],"Count":1,"ScannedCount":1}'
105
- recorded_at: Fri, 10 May 2024 17:33:20 GMT
108
+ recorded_at: Tue, 14 May 2024 15:07:55 GMT
106
109
  - request:
107
110
  method: post
108
111
  uri: http://localhost:8000/
109
112
  body:
110
113
  encoding: UTF-8
111
- string: '{"TableName":"users","Key":{"id":{"S":"hguzman10@gmail.com"}}}'
114
+ string: '{"TableName":"fleteo-v2-users","Key":{"id":{"S":"hguzman10@gmail.com"}}}'
112
115
  headers:
113
116
  Accept-Encoding:
114
117
  - ''
@@ -122,15 +125,15 @@ http_interactions:
122
125
  Host:
123
126
  - localhost:8000
124
127
  X-Amz-Date:
125
- - 20240510T173320Z
128
+ - 20240514T150755Z
126
129
  X-Amz-Content-Sha256:
127
- - 7e2248df156bd85d1c08add1aaa7b84ed6041fe96165fb6879ddbb1424663802
130
+ - ab20f394f9f17ab85359c8cef098ff2e93991ca4f4f9402376eaa33ea97d5545
128
131
  Authorization:
129
- - AWS4-HMAC-SHA256 Credential=key/20240510/us-east-1/dynamodb/aws4_request,
132
+ - AWS4-HMAC-SHA256 Credential=key/20240514/us-east-1/dynamodb/aws4_request,
130
133
  SignedHeaders=content-type;host;x-amz-content-sha256;x-amz-date;x-amz-target,
131
- Signature=de704d4771897483997468fb25e2bb103e181e26e0f5871248c86255d40e09a3
134
+ Signature=2311f940f3763c56418db07d2d498ca006c94fd097550710d01a749f66cc3fd1
132
135
  Content-Length:
133
- - '62'
136
+ - '72'
134
137
  Accept:
135
138
  - "*/*"
136
139
  response:
@@ -139,9 +142,9 @@ http_interactions:
139
142
  message: OK
140
143
  headers:
141
144
  Date:
142
- - Fri, 10 May 2024 17:33:20 GMT
145
+ - Tue, 14 May 2024 15:07:55 GMT
143
146
  X-Amzn-Requestid:
144
- - dc8e435e-18ca-4bd4-afb0-0f309384fe77
147
+ - 6780ab71-69c9-4d30-a321-43c2d06aec41
145
148
  Content-Type:
146
149
  - application/x-amz-json-1.0
147
150
  X-Amz-Crc32:
@@ -153,5 +156,5 @@ http_interactions:
153
156
  body:
154
157
  encoding: UTF-8
155
158
  string: '{"Item":{"created_at":{"S":"2024-05-07T14:10:09-05:00"},"id":{"S":"hguzman10@gmail.com"},"balance":{"N":"0"},"updated_at":{"S":"2024-05-07T14:10:09-05:00"}}}'
156
- recorded_at: Fri, 10 May 2024 17:33:20 GMT
159
+ recorded_at: Tue, 14 May 2024 15:07:55 GMT
157
160
  recorded_with: VCR 6.2.0
@@ -5,7 +5,7 @@ http_interactions:
5
5
  uri: http://localhost:8000/
6
6
  body:
7
7
  encoding: UTF-8
8
- string: '{"TableName":"users","Key":{"id":{"S":"hguzman10@gmail.com"}}}'
8
+ string: '{"TableName":"fleteo-v2-users","Key":{"id":{"S":"hguzman20@gmail.com"}}}'
9
9
  headers:
10
10
  Accept-Encoding:
11
11
  - ''
@@ -19,15 +19,15 @@ http_interactions:
19
19
  Host:
20
20
  - localhost:8000
21
21
  X-Amz-Date:
22
- - 20240418T230852Z
22
+ - 20240514T153526Z
23
23
  X-Amz-Content-Sha256:
24
- - 7e2248df156bd85d1c08add1aaa7b84ed6041fe96165fb6879ddbb1424663802
24
+ - 5f6498b172f2373775918f917bdbc8930eb585a92f1b57dbb3dd69c47e145a0d
25
25
  Authorization:
26
- - AWS4-HMAC-SHA256 Credential=AKIAV3OBKSDM5UO5PK5A/20240418/us-east-1/dynamodb/aws4_request,
26
+ - AWS4-HMAC-SHA256 Credential=key/20240514/us-east-1/dynamodb/aws4_request,
27
27
  SignedHeaders=content-type;host;x-amz-content-sha256;x-amz-date;x-amz-target,
28
- Signature=a6e8d3a4fbfcc98091bff89a3d492337c072c486ea0a1d05c6ee45d69ff0834f
28
+ Signature=fe7365ca88b1015daeeb7c096fb704897dbd12c1894c65e5ddadf047ee44bc58
29
29
  Content-Length:
30
- - '62'
30
+ - '72'
31
31
  Accept:
32
32
  - "*/*"
33
33
  response:
@@ -36,19 +36,19 @@ http_interactions:
36
36
  message: OK
37
37
  headers:
38
38
  Date:
39
- - Thu, 18 Apr 2024 23:08:52 GMT
39
+ - Tue, 14 May 2024 15:35:26 GMT
40
40
  X-Amzn-Requestid:
41
- - 2905a9b7-87da-494c-ba16-3d26a0e3df6b
41
+ - 6b122f1f-4056-4df0-a81e-647d952e093d
42
42
  Content-Type:
43
43
  - application/x-amz-json-1.0
44
44
  X-Amz-Crc32:
45
- - '3745271733'
45
+ - '4143250247'
46
46
  Content-Length:
47
47
  - '63'
48
48
  Server:
49
49
  - Jetty(11.0.17)
50
50
  body:
51
51
  encoding: UTF-8
52
- string: '{"Item":{"balance":{"N":"0"},"id":{"S":"hguzman10@gmail.com"}}}'
53
- recorded_at: Thu, 18 Apr 2024 23:08:52 GMT
52
+ string: '{"Item":{"balance":{"N":"0"},"id":{"S":"hguzman20@gmail.com"}}}'
53
+ recorded_at: Tue, 14 May 2024 15:35:26 GMT
54
54
  recorded_with: VCR 6.2.0
@@ -5,7 +5,7 @@ http_interactions:
5
5
  uri: http://localhost:8000/
6
6
  body:
7
7
  encoding: UTF-8
8
- string: '{"TableName":"users","Key":{"id":{"S":"hguzman10@gmail.com"}}}'
8
+ string: '{"TableName":"fleteo-v2-users","Key":{"id":{"S":"hguzman10@gmail.com"}}}'
9
9
  headers:
10
10
  Accept-Encoding:
11
11
  - ''
@@ -19,15 +19,15 @@ http_interactions:
19
19
  Host:
20
20
  - localhost:8000
21
21
  X-Amz-Date:
22
- - 20240426T004444Z
22
+ - 20240514T151559Z
23
23
  X-Amz-Content-Sha256:
24
- - 7e2248df156bd85d1c08add1aaa7b84ed6041fe96165fb6879ddbb1424663802
24
+ - ab20f394f9f17ab85359c8cef098ff2e93991ca4f4f9402376eaa33ea97d5545
25
25
  Authorization:
26
- - AWS4-HMAC-SHA256 Credential=AKIAV3OBKSDM5UO5PK5A/20240426/us-east-1/dynamodb/aws4_request,
26
+ - AWS4-HMAC-SHA256 Credential=key/20240514/us-east-1/dynamodb/aws4_request,
27
27
  SignedHeaders=content-type;host;x-amz-content-sha256;x-amz-date;x-amz-target,
28
- Signature=7ad9fd348878ca27a2ea9c93bd4ca02a6cefe8a455429d1f7d4931ff8004825e
28
+ Signature=e6c843173f5e9cbb469fc86a0cc107d2edab9c80853a5a5e078829cb8a42e184
29
29
  Content-Length:
30
- - '62'
30
+ - '72'
31
31
  Accept:
32
32
  - "*/*"
33
33
  response:
@@ -36,19 +36,19 @@ http_interactions:
36
36
  message: OK
37
37
  headers:
38
38
  Date:
39
- - Fri, 26 Apr 2024 00:44:44 GMT
39
+ - Tue, 14 May 2024 15:16:00 GMT
40
40
  X-Amzn-Requestid:
41
- - 487bfb5e-a7fc-4bfd-9763-c61930591f5c
41
+ - 9ae029ac-b6b0-4212-830e-92035b403816
42
42
  Content-Type:
43
43
  - application/x-amz-json-1.0
44
44
  X-Amz-Crc32:
45
- - '3745271733'
45
+ - '3262869781'
46
46
  Content-Length:
47
- - '63'
47
+ - '157'
48
48
  Server:
49
49
  - Jetty(11.0.17)
50
50
  body:
51
51
  encoding: UTF-8
52
- string: '{"Item":{"balance":{"N":"0"},"id":{"S":"hguzman10@gmail.com"}}}'
53
- recorded_at: Fri, 26 Apr 2024 00:44:44 GMT
52
+ string: '{"Item":{"created_at":{"S":"2024-05-07T14:10:09-05:00"},"id":{"S":"hguzman10@gmail.com"},"balance":{"N":"0"},"updated_at":{"S":"2024-05-07T14:10:09-05:00"}}}'
53
+ recorded_at: Tue, 14 May 2024 15:16:00 GMT
54
54
  recorded_with: VCR 6.2.0