dynamodb-api 0.9.0 → 0.9.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.github/workflows/build.yml +28 -0
- data/Appraisals +14 -2
- data/CHANGELOG.md +11 -0
- data/README.md +1 -1
- data/dynamodb-api.gemspec +2 -3
- data/gemfiles/{aws_sdk_2.gemfile → aws_sdk_2_rails_5.gemfile} +1 -0
- data/gemfiles/aws_sdk_2_rails_6.gemfile +9 -0
- data/gemfiles/{aws_sdk_3.gemfile → aws_sdk_3_rails_5.gemfile} +1 -0
- data/gemfiles/aws_sdk_3_rails_6.gemfile +9 -0
- data/lib/dynamodb/api/version.rb +1 -1
- metadata +16 -28
- data/.travis.yml +0 -22
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1276a3be5e1124f79957caee61c7585e3f59f37da5f12e2fac5d638238727ee8
|
4
|
+
data.tar.gz: c36d86b1087075fd6c154e5491cd08e6effcc0e91ffa0d96595d31fafc33eabc
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a3c366b1cd32a307c6756bb4fb50ba43cafa98b5ff69f430ec55d638a5566492ee98f8554531196b27749e83ed2af2f26267cd12d9661feb193bb6ad63d44be9
|
7
|
+
data.tar.gz: 3cac38591e633e466439a2c12eaec0311828138caeb45bdc76f6c420321725a082fba136e2c0f2f826db40ba35c5e8bd5b672ffe2bb43ec10080d4e3f3bdbb31
|
@@ -0,0 +1,28 @@
|
|
1
|
+
name: build
|
2
|
+
on: [push, pull_request]
|
3
|
+
jobs:
|
4
|
+
test:
|
5
|
+
strategy:
|
6
|
+
fail-fast: false
|
7
|
+
matrix:
|
8
|
+
ruby: [2.4, 2.5, 2.6, 2.7]
|
9
|
+
gemfile: [ aws_sdk_2_rails_5, aws_sdk_2_rails_6, aws_sdk_3_rails_5, aws_sdk_3_rails_6 ]
|
10
|
+
exclude:
|
11
|
+
- { ruby: 2.4, gemfile: aws_sdk_2_rails_6 }
|
12
|
+
- { ruby: 2.4, gemfile: aws_sdk_3_rails_6 }
|
13
|
+
runs-on: ubuntu-latest
|
14
|
+
env:
|
15
|
+
BUNDLE_GEMFILE: gemfiles/${{ matrix.gemfile }}.gemfile
|
16
|
+
TEST_DYNAMODB_ENDPOINT: 'http://0.0.0.0:8000'
|
17
|
+
steps:
|
18
|
+
- uses: actions/checkout@v2
|
19
|
+
- uses: ruby/setup-ruby@v1
|
20
|
+
with:
|
21
|
+
ruby-version: ${{ matrix.ruby }}
|
22
|
+
bundler-cache: true
|
23
|
+
- run: bin/setup
|
24
|
+
- run: docker-compose up -d
|
25
|
+
- run: docker ps
|
26
|
+
- run: bundle exec rubocop --fail-level=C
|
27
|
+
- run: bundle exec rake spec
|
28
|
+
- run: docker-compose down
|
data/Appraisals
CHANGED
@@ -1,7 +1,19 @@
|
|
1
|
-
appraise "aws-sdk-2" do
|
1
|
+
appraise "aws-sdk-2-rails-5" do
|
2
2
|
gem "aws-sdk", "~> 2"
|
3
|
+
gem "activesupport", "~> 5"
|
3
4
|
end
|
4
5
|
|
5
|
-
appraise "aws-sdk-
|
6
|
+
appraise "aws-sdk-2-rails-6" do
|
7
|
+
gem "aws-sdk", "~> 2"
|
8
|
+
gem "activesupport", "~> 6"
|
9
|
+
end
|
10
|
+
|
11
|
+
appraise "aws-sdk-3-rails-5" do
|
12
|
+
gem "aws-sdk", "~> 3"
|
13
|
+
gem "activesupport", "~> 5"
|
14
|
+
end
|
15
|
+
|
16
|
+
appraise "aws-sdk-3-rails-6" do
|
6
17
|
gem "aws-sdk", "~> 3"
|
18
|
+
gem "activesupport", "~> 6"
|
7
19
|
end
|
data/CHANGELOG.md
CHANGED
@@ -8,6 +8,17 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
8
8
|
|
9
9
|
---
|
10
10
|
|
11
|
+
## [0.9.1] - 2020-11-21
|
12
|
+
### Security
|
13
|
+
- [#59](https://github.com/walkersumida/dynamodb-api/pull/59) Update rake version
|
14
|
+
|
15
|
+
### Removed
|
16
|
+
- [#57](https://github.com/walkersumida/dynamodb-api/pull/57) Unsupport ruby2.3 and activesupport4
|
17
|
+
|
18
|
+
## [0.9.0] - 2020-02-24
|
19
|
+
### Fixed
|
20
|
+
- [#56](https://github.com/walkersumida/dynamodb-api/pull/56) Make the `begins_with` and `between` available
|
21
|
+
|
11
22
|
## [0.8.1] - 2019-06-03
|
12
23
|
### Fixed
|
13
24
|
- [#49](https://github.com/walkersumida/dynamodb-api/pull/49) not be added table name prefix
|
data/README.md
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
# Dynamodb::Api
|
2
2
|
|
3
|
-
|
3
|
+
![Build Status](https://github.com/walkersumida/dynamodb-api/workflows/build/badge.svg?branch=master)
|
4
4
|
[![Gem Version](https://badge.fury.io/rb/dynamodb-api.svg)](https://badge.fury.io/rb/dynamodb-api)
|
5
5
|
|
6
6
|
## Installation
|
data/dynamodb-api.gemspec
CHANGED
@@ -23,10 +23,9 @@ Gem::Specification.new do |spec|
|
|
23
23
|
spec.require_paths = ['lib']
|
24
24
|
|
25
25
|
spec.add_runtime_dependency 'aws-sdk', '>= 2'
|
26
|
-
spec.add_runtime_dependency('activesupport', '>=
|
26
|
+
spec.add_runtime_dependency('activesupport', '>= 5')
|
27
27
|
|
28
|
-
spec.add_development_dependency '
|
29
|
-
spec.add_development_dependency 'rake', '~> 10.0'
|
28
|
+
spec.add_development_dependency 'rake', '>= 12.3.3'
|
30
29
|
spec.add_development_dependency 'rspec', '~> 3.0'
|
31
30
|
spec.add_development_dependency 'pry'
|
32
31
|
spec.add_development_dependency 'rubocop-airbnb'
|
data/lib/dynamodb/api/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: dynamodb-api
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.9.
|
4
|
+
version: 0.9.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- WalkerSumida
|
8
|
-
autorequire:
|
8
|
+
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2021-06-27 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk
|
@@ -30,42 +30,28 @@ dependencies:
|
|
30
30
|
requirements:
|
31
31
|
- - ">="
|
32
32
|
- !ruby/object:Gem::Version
|
33
|
-
version: '
|
33
|
+
version: '5'
|
34
34
|
type: :runtime
|
35
35
|
prerelease: false
|
36
36
|
version_requirements: !ruby/object:Gem::Requirement
|
37
37
|
requirements:
|
38
38
|
- - ">="
|
39
39
|
- !ruby/object:Gem::Version
|
40
|
-
version: '
|
41
|
-
- !ruby/object:Gem::Dependency
|
42
|
-
name: bundler
|
43
|
-
requirement: !ruby/object:Gem::Requirement
|
44
|
-
requirements:
|
45
|
-
- - "~>"
|
46
|
-
- !ruby/object:Gem::Version
|
47
|
-
version: '1.16'
|
48
|
-
type: :development
|
49
|
-
prerelease: false
|
50
|
-
version_requirements: !ruby/object:Gem::Requirement
|
51
|
-
requirements:
|
52
|
-
- - "~>"
|
53
|
-
- !ruby/object:Gem::Version
|
54
|
-
version: '1.16'
|
40
|
+
version: '5'
|
55
41
|
- !ruby/object:Gem::Dependency
|
56
42
|
name: rake
|
57
43
|
requirement: !ruby/object:Gem::Requirement
|
58
44
|
requirements:
|
59
|
-
- - "
|
45
|
+
- - ">="
|
60
46
|
- !ruby/object:Gem::Version
|
61
|
-
version:
|
47
|
+
version: 12.3.3
|
62
48
|
type: :development
|
63
49
|
prerelease: false
|
64
50
|
version_requirements: !ruby/object:Gem::Requirement
|
65
51
|
requirements:
|
66
|
-
- - "
|
52
|
+
- - ">="
|
67
53
|
- !ruby/object:Gem::Version
|
68
|
-
version:
|
54
|
+
version: 12.3.3
|
69
55
|
- !ruby/object:Gem::Dependency
|
70
56
|
name: rspec
|
71
57
|
requirement: !ruby/object:Gem::Requirement
|
@@ -129,12 +115,12 @@ executables: []
|
|
129
115
|
extensions: []
|
130
116
|
extra_rdoc_files: []
|
131
117
|
files:
|
118
|
+
- ".github/workflows/build.yml"
|
132
119
|
- ".gitignore"
|
133
120
|
- ".pryrc"
|
134
121
|
- ".rspec"
|
135
122
|
- ".rubocop.yml"
|
136
123
|
- ".rubocop_todo.yml"
|
137
|
-
- ".travis.yml"
|
138
124
|
- Appraisals
|
139
125
|
- CHANGELOG.md
|
140
126
|
- CODE_OF_CONDUCT.md
|
@@ -147,8 +133,10 @@ files:
|
|
147
133
|
- bin/setup
|
148
134
|
- docker-compose.yml
|
149
135
|
- dynamodb-api.gemspec
|
150
|
-
- gemfiles/
|
151
|
-
- gemfiles/
|
136
|
+
- gemfiles/aws_sdk_2_rails_5.gemfile
|
137
|
+
- gemfiles/aws_sdk_2_rails_6.gemfile
|
138
|
+
- gemfiles/aws_sdk_3_rails_5.gemfile
|
139
|
+
- gemfiles/aws_sdk_3_rails_6.gemfile
|
152
140
|
- lib/dynamodb/api.rb
|
153
141
|
- lib/dynamodb/api/adapter.rb
|
154
142
|
- lib/dynamodb/api/base.rb
|
@@ -178,7 +166,7 @@ homepage: https://github.com/walkersumida/dynamodb-api
|
|
178
166
|
licenses:
|
179
167
|
- MIT
|
180
168
|
metadata: {}
|
181
|
-
post_install_message:
|
169
|
+
post_install_message:
|
182
170
|
rdoc_options: []
|
183
171
|
require_paths:
|
184
172
|
- lib
|
@@ -194,7 +182,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
194
182
|
version: '0'
|
195
183
|
requirements: []
|
196
184
|
rubygems_version: 3.0.3
|
197
|
-
signing_key:
|
185
|
+
signing_key:
|
198
186
|
specification_version: 4
|
199
187
|
summary: aws dynamodb api
|
200
188
|
test_files: []
|
data/.travis.yml
DELETED
@@ -1,22 +0,0 @@
|
|
1
|
-
sudo: false
|
2
|
-
language: ruby
|
3
|
-
rvm:
|
4
|
-
- 2.3
|
5
|
-
- 2.4
|
6
|
-
- 2.5
|
7
|
-
- 2.6
|
8
|
-
gemfile:
|
9
|
-
- gemfiles/aws_sdk_2.gemfile
|
10
|
-
- gemfiles/aws_sdk_3.gemfile
|
11
|
-
|
12
|
-
before_install:
|
13
|
-
- gem uninstall -v '>= 2' -i $(rvm gemdir)@global -ax bundler || true
|
14
|
-
- gem install bundler -v 1.16.2
|
15
|
-
|
16
|
-
before_script:
|
17
|
-
- docker-compose up -d
|
18
|
-
|
19
|
-
script: bundle exec rubocop --fail-level=C
|
20
|
-
|
21
|
-
after_script:
|
22
|
-
- docker-compose down
|