aws-sessionstore-dynamodb 2.1.0 → 2.2.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 567a54a1d54a1c4e00d6c85e98636320e6b1dcdddadf7acbeb1240244a32555e
4
- data.tar.gz: 299b7c0b5780a980c963fe18c7f053919c8e7157ea092f0fbdfb88b263b39f5c
3
+ metadata.gz: ee27fa01f65650a13304791dc345e3ee4b0c9ae10b734a54f57acb72706f4963
4
+ data.tar.gz: 269c66dbd952cd68d76fc3e1fcec8559fc945f4c745cc4987fb33e42c3c0bd1c
5
5
  SHA512:
6
- metadata.gz: 9b244ab47e504e446d268570f0fd54d47b6d142c31f17bb30053145f13aaea3a2a34f512841767fe9b0db2b5330983545e7e1c4b8209f309f95137f39762dc3a
7
- data.tar.gz: 36d11102937288958a31899e99b8cd7d0e84e8e252bdc901e2a7d9514e74853ecd208c63217034c791b477eb83de058e06e0b790203fc5efc8aac94aa5b1bedc
6
+ metadata.gz: 68ff2d325413b24ef06bfe8a40f83f209afc93858af6322c648f4f82daac0096b90f7b2521bc5eac4e0d562636db2eea30d7931f97990d69b1f346866005506c
7
+ data.tar.gz: 5653d32a3a00b7bfbfaee3ddd9449d9a92cb3c369dd31a7fc887194f5a3b12dea141ac6d12f82db552ee82087956c8c0b88803f9bf25c460ea8fc894a58bd0fc
@@ -15,18 +15,25 @@ jobs:
15
15
  strategy:
16
16
  fail-fast: false
17
17
  matrix:
18
- ruby: [2.3, 2.4, 2.5, 2.6, 2.7, '3.0', 3.1, 3.2, jruby-9.1, jruby-9.2, jruby-9.3, jruby-9.4]
18
+ ruby: [2.5, 2.6, 2.7, '3.0', 3.1, 3.2, 3.3, jruby-9.2, jruby-9.3, jruby-9.4]
19
+ env: [RACK2, RACK3]
19
20
 
20
21
  steps:
21
- - name: Setup
22
+ - name: Setup Ruby
22
23
  uses: ruby/setup-ruby@v1
23
24
  with:
24
25
  ruby-version: ${{ matrix.ruby }}
25
26
 
26
- - uses: actions/checkout@v2
27
+ - uses: actions/checkout@v4
27
28
 
28
- - name: Install
29
- run: bundle install --without docs
29
+ - name: Setup environment
30
+ run: |
31
+ echo "${{ matrix.env }}=1" >> $GITHUB_ENV
30
32
 
31
- - name: Test
33
+ - name: Install gems
34
+ run: |
35
+ bundle config set --local without 'docs'
36
+ bundle install
37
+
38
+ - name: Tests
32
39
  run: bundle exec rake spec
data/.gitignore CHANGED
@@ -1,6 +1,12 @@
1
- doc
2
- coverage
3
- .yardoc
4
- Gemfile.lock
5
- .release
1
+ .DS_Store
2
+
3
+ /.byebug_history
4
+ /.bundle
5
+ /.yardoc
6
+ /doc
7
+ /Gemfile.lock
8
+ /coverage
9
+ *.gem
10
+ /.release
11
+
6
12
  .idea/
data/CHANGELOG.md CHANGED
@@ -1,3 +1,10 @@
1
+ 2.2.0 (2024-01-25)
2
+ ------------------
3
+
4
+ * Feature - Drop support for Ruby 2.3 and 2.4.
5
+
6
+ * Issue - Relax `rack` dependency to allow version 3. Adds `rack-session` to the gemspec.
7
+
1
8
  2.1.0 (2023-06-02)
2
9
  ------------------
3
10
 
data/Gemfile CHANGED
@@ -1,5 +1,9 @@
1
1
  source 'https://rubygems.org'
2
2
 
3
+ if ENV['RACK2']
4
+ gem 'rack', '~> 2'
5
+ end
6
+
3
7
  gemspec
4
8
 
5
9
  gem 'rake', require: false
@@ -11,8 +15,8 @@ end
11
15
 
12
16
  group :test do
13
17
  gem 'rspec'
14
- gem 'simplecov', require: false
15
18
  gem 'rack-test'
19
+ gem 'simplecov'
16
20
 
17
21
  if RUBY_VERSION >= '3.0'
18
22
  gem 'rexml'
data/VERSION CHANGED
@@ -1 +1 @@
1
- 2.1.0
1
+ 2.2.0
@@ -4,7 +4,7 @@ Gem::Specification.new do |spec|
4
4
  spec.name = "aws-sessionstore-dynamodb"
5
5
  spec.version = version
6
6
  spec.authors = ["Amazon Web Services"]
7
- spec.email = ["mamuller@amazon.com", "alexwoo@amazon.com"]
7
+ spec.email = ["aws-dr-rubygems@amazon.com"]
8
8
 
9
9
  spec.summary = "The Amazon DynamoDB Session Store handles sessions " +
10
10
  "for Ruby web applications using a DynamoDB backend."
@@ -17,5 +17,8 @@ Gem::Specification.new do |spec|
17
17
 
18
18
  # Require 1.85.0 for user_agent_frameworks config
19
19
  spec.add_dependency 'aws-sdk-dynamodb', '~> 1', '>= 1.85.0'
20
- spec.add_dependency 'rack', '~> 2'
20
+ spec.add_dependency 'rack', '>= 2', '< 4'
21
+ spec.add_dependency 'rack-session', '>= 1', '< 3'
22
+
23
+ spec.required_ruby_version = '>= 2.5'
21
24
  end
data/spec/spec_helper.rb CHANGED
@@ -13,13 +13,8 @@
13
13
  # ANY KIND, either express or implied. See the License for the specific
14
14
  # language governing permissions and limitations under the License.
15
15
 
16
- begin
17
- if ENV['COVERAGE']
18
- require 'simplecov'
19
- SimpleCov.start { add_filter 'spec' }
20
- end
21
- rescue LoadError
22
- end
16
+ require 'simplecov'
17
+ SimpleCov.start { add_filter 'spec' }
23
18
 
24
19
  $LOAD_PATH << File.join(File.dirname(File.dirname(__FILE__)), 'lib')
25
20
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sessionstore-dynamodb
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.1.0
4
+ version: 2.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amazon Web Services
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-06-02 00:00:00.000000000 Z
11
+ date: 2024-01-25 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-dynamodb
@@ -34,20 +34,45 @@ dependencies:
34
34
  name: rack
35
35
  requirement: !ruby/object:Gem::Requirement
36
36
  requirements:
37
- - - "~>"
37
+ - - ">="
38
38
  - !ruby/object:Gem::Version
39
39
  version: '2'
40
+ - - "<"
41
+ - !ruby/object:Gem::Version
42
+ version: '4'
40
43
  type: :runtime
41
44
  prerelease: false
42
45
  version_requirements: !ruby/object:Gem::Requirement
43
46
  requirements:
44
- - - "~>"
47
+ - - ">="
45
48
  - !ruby/object:Gem::Version
46
49
  version: '2'
50
+ - - "<"
51
+ - !ruby/object:Gem::Version
52
+ version: '4'
53
+ - !ruby/object:Gem::Dependency
54
+ name: rack-session
55
+ requirement: !ruby/object:Gem::Requirement
56
+ requirements:
57
+ - - ">="
58
+ - !ruby/object:Gem::Version
59
+ version: '1'
60
+ - - "<"
61
+ - !ruby/object:Gem::Version
62
+ version: '3'
63
+ type: :runtime
64
+ prerelease: false
65
+ version_requirements: !ruby/object:Gem::Requirement
66
+ requirements:
67
+ - - ">="
68
+ - !ruby/object:Gem::Version
69
+ version: '1'
70
+ - - "<"
71
+ - !ruby/object:Gem::Version
72
+ version: '3'
47
73
  description:
48
74
  email:
49
- - mamuller@amazon.com
50
- - alexwoo@amazon.com
75
+ - aws-dr-rubygems@amazon.com
51
76
  executables: []
52
77
  extensions: []
53
78
  extra_rdoc_files: []
@@ -56,7 +81,6 @@ files:
56
81
  - ".github/workflows/ci.yml"
57
82
  - ".gitignore"
58
83
  - ".gitmodules"
59
- - ".travis.yml"
60
84
  - ".yardopts"
61
85
  - CHANGELOG.md
62
86
  - CODE_OF_CONDUCT.md
@@ -104,14 +128,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
104
128
  requirements:
105
129
  - - ">="
106
130
  - !ruby/object:Gem::Version
107
- version: '0'
131
+ version: '2.5'
108
132
  required_rubygems_version: !ruby/object:Gem::Requirement
109
133
  requirements:
110
134
  - - ">="
111
135
  - !ruby/object:Gem::Version
112
136
  version: '0'
113
137
  requirements: []
114
- rubygems_version: 3.4.10
138
+ rubygems_version: 3.5.5
115
139
  signing_key:
116
140
  specification_version: 4
117
141
  summary: The Amazon DynamoDB Session Store handles sessions for Ruby web applications
data/.travis.yml DELETED
@@ -1,24 +0,0 @@
1
- branches:
2
- only:
3
- - master
4
-
5
- language: ruby
6
-
7
- rvm:
8
- - 2.2
9
- - 2.3
10
- - 2.4
11
- - 2.5
12
- - 2.6
13
- - 2.7
14
- - jruby-9.1
15
- - jruby-9.2
16
-
17
- sudo: false
18
-
19
- env:
20
- - AWS_REGION=us-west-2
21
-
22
- script: bundle exec rake spec
23
-
24
- bundler_args: --without docs release repl