redis-rack 2.1.4 → 3.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.github/release.yml +13 -0
- data/.github/workflows/ci.yml +19 -0
- data/.github/workflows/publish.yml +31 -0
- data/README.md +1 -1
- data/lib/rack/session/redis.rb +1 -1
- data/lib/redis/rack/version.rb +1 -1
- data/redis-rack.gemspec +1 -1
- metadata +9 -13
- data/.travis.yml +0 -23
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4f857cc2c27d342862ab4a3008a73348bff629c16c6520f45e7d2cd00018c93c
|
4
|
+
data.tar.gz: b196046aeaa0baff1e387871499bde3e2768378c779f8f120ef3d9d2c91ef8c8
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: adc22c8d1e053309291d8649d86ed9b1811812418e62f9973a0416b10f950c0e7867b8b364c90bb377fd2b2e819a2e9b2f320e9676ebb8b4bf866a03373587f0
|
7
|
+
data.tar.gz: dd27364acbb9b7876fb3acb510d533fcc9ac4197d91eca2f98fad97b9cf7303a3a8bf256458b444ec4078cc163e2b88fcb5fb82ecab83e1f34e16bff515a0f00
|
data/.github/release.yml
ADDED
@@ -0,0 +1,13 @@
|
|
1
|
+
changelog:
|
2
|
+
exclude:
|
3
|
+
labels: [dependencies]
|
4
|
+
authors: [renovate-bot]
|
5
|
+
categories:
|
6
|
+
- title: Breaking Changes
|
7
|
+
labels: [breaking]
|
8
|
+
- title: New Features
|
9
|
+
labels: [enhancement]
|
10
|
+
- title: Bug Fixes
|
11
|
+
labels: [bug]
|
12
|
+
- title: Other Changes
|
13
|
+
labels: ["*"]
|
@@ -0,0 +1,19 @@
|
|
1
|
+
name: CI
|
2
|
+
on:
|
3
|
+
push:
|
4
|
+
branches-ignore: [master]
|
5
|
+
jobs:
|
6
|
+
test:
|
7
|
+
runs-on: ubuntu-latest
|
8
|
+
strategy:
|
9
|
+
matrix:
|
10
|
+
ruby-version: ["2.6", "2.7", "3.0", "3.1", "jruby"]
|
11
|
+
|
12
|
+
steps:
|
13
|
+
- uses: actions/checkout@v3
|
14
|
+
- run: sudo apt-get install -y --no-install-recommends redis-server
|
15
|
+
- uses: ruby/setup-ruby@v1
|
16
|
+
with:
|
17
|
+
ruby-version: ${{ matrix.ruby-version }}
|
18
|
+
bundler-cache: true
|
19
|
+
- run: bundle exec rake
|
@@ -0,0 +1,31 @@
|
|
1
|
+
name: Publish
|
2
|
+
on:
|
3
|
+
push:
|
4
|
+
tags: [v*]
|
5
|
+
permissions:
|
6
|
+
contents: write
|
7
|
+
concurrency:
|
8
|
+
group: ${{ github.workflow }}-${{ github.ref }}
|
9
|
+
cancel-in-progress: true
|
10
|
+
jobs:
|
11
|
+
release:
|
12
|
+
runs-on: ubuntu-latest
|
13
|
+
steps:
|
14
|
+
- uses: actions/checkout@v3
|
15
|
+
- uses: ruby/setup-ruby@v1
|
16
|
+
with:
|
17
|
+
bundler-cache: true
|
18
|
+
- run: |
|
19
|
+
mkdir -p ~/.gem
|
20
|
+
cat << EOF > ~/.gem/credentials
|
21
|
+
---
|
22
|
+
:rubygems_api_key: ${{ secrets.RUBYGEMS_API_KEY }}
|
23
|
+
EOF
|
24
|
+
|
25
|
+
chmod 0600 ~/.gem/credentials
|
26
|
+
- run: bundle exec rake release
|
27
|
+
- uses: softprops/action-gh-release@v1
|
28
|
+
with:
|
29
|
+
files: "*.gem"
|
30
|
+
generate_release_notes: true
|
31
|
+
prerelease: ${{ contains(github.ref, '.pre') }}
|
data/README.md
CHANGED
@@ -8,7 +8,7 @@ See the main [redis-store readme] for general guidelines.
|
|
8
8
|
as a backend store for the `Rack::Cache` HTTP cache. All this gem does
|
9
9
|
is store the Rack session within Redis.
|
10
10
|
|
11
|
-
[![Build Status](https://
|
11
|
+
[![Build Status](https://github.com/redis-store/redis-rack/actions/workflows/ruby.yml/badge.svg?branch=master)](https://github.com/redis-store/redis-rack/actions/workflows/ruby.yml?query=branch%3Amaster)
|
12
12
|
[![Code Climate](https://codeclimate.com/github/redis-store/redis-store.png)](https://codeclimate.com/github/redis-store/redis-rack)
|
13
13
|
[![Gem Version](https://badge.fury.io/rb/redis-rack.png)](http://badge.fury.io/rb/redis-rack)
|
14
14
|
|
data/lib/rack/session/redis.rb
CHANGED
data/lib/redis/rack/version.rb
CHANGED
data/redis-rack.gemspec
CHANGED
@@ -18,7 +18,7 @@ Gem::Specification.new do |s|
|
|
18
18
|
s.require_paths = ["lib"]
|
19
19
|
|
20
20
|
s.add_runtime_dependency 'redis-store', ['< 2', '>= 1.2']
|
21
|
-
s.add_runtime_dependency 'rack',
|
21
|
+
s.add_runtime_dependency 'rack-session', '>= 0.2.0'
|
22
22
|
|
23
23
|
s.add_development_dependency 'rake', '>= 12.3.3'
|
24
24
|
s.add_development_dependency 'bundler', '> 1', '< 3'
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: redis-rack
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version:
|
4
|
+
version: 3.0.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Luca Guidi
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2023-12-04 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: redis-store
|
@@ -31,25 +31,19 @@ dependencies:
|
|
31
31
|
- !ruby/object:Gem::Version
|
32
32
|
version: '1.2'
|
33
33
|
- !ruby/object:Gem::Dependency
|
34
|
-
name: rack
|
34
|
+
name: rack-session
|
35
35
|
requirement: !ruby/object:Gem::Requirement
|
36
36
|
requirements:
|
37
37
|
- - ">="
|
38
38
|
- !ruby/object:Gem::Version
|
39
|
-
version: 2.0
|
40
|
-
- - "<"
|
41
|
-
- !ruby/object:Gem::Version
|
42
|
-
version: '3'
|
39
|
+
version: 0.2.0
|
43
40
|
type: :runtime
|
44
41
|
prerelease: false
|
45
42
|
version_requirements: !ruby/object:Gem::Requirement
|
46
43
|
requirements:
|
47
44
|
- - ">="
|
48
45
|
- !ruby/object:Gem::Version
|
49
|
-
version: 2.0
|
50
|
-
- - "<"
|
51
|
-
- !ruby/object:Gem::Version
|
52
|
-
version: '3'
|
46
|
+
version: 0.2.0
|
53
47
|
- !ruby/object:Gem::Dependency
|
54
48
|
name: rake
|
55
49
|
requirement: !ruby/object:Gem::Requirement
|
@@ -134,9 +128,11 @@ extensions: []
|
|
134
128
|
extra_rdoc_files: []
|
135
129
|
files:
|
136
130
|
- ".github/auto-assign-issues.yml"
|
131
|
+
- ".github/release.yml"
|
132
|
+
- ".github/workflows/ci.yml"
|
133
|
+
- ".github/workflows/publish.yml"
|
137
134
|
- ".gitignore"
|
138
135
|
- ".ruby-version"
|
139
|
-
- ".travis.yml"
|
140
136
|
- CHANGELOG.md
|
141
137
|
- CODEOWNERS
|
142
138
|
- Gemfile
|
@@ -172,7 +168,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
172
168
|
- !ruby/object:Gem::Version
|
173
169
|
version: '0'
|
174
170
|
requirements: []
|
175
|
-
rubygems_version: 3.
|
171
|
+
rubygems_version: 3.3.16
|
176
172
|
signing_key:
|
177
173
|
specification_version: 4
|
178
174
|
summary: Redis Store for Rack
|
data/.travis.yml
DELETED
@@ -1,23 +0,0 @@
|
|
1
|
-
language: ruby
|
2
|
-
script: bundle exec rake
|
3
|
-
rvm:
|
4
|
-
- 2.2
|
5
|
-
- 2.3
|
6
|
-
- 2.4
|
7
|
-
- 2.5
|
8
|
-
- 2.6
|
9
|
-
- 2.7
|
10
|
-
- ruby-head
|
11
|
-
- jruby-head
|
12
|
-
matrix:
|
13
|
-
allow_failures:
|
14
|
-
- rvm: jruby-head
|
15
|
-
- rvm: ruby-head
|
16
|
-
deploy:
|
17
|
-
provider: rubygems
|
18
|
-
api_key:
|
19
|
-
secure: VTosVmCdLWUGK8KyzovYri7ySfd7fACtfL8MClEBBHnI+m2cLCpmtCJ7Z1X7z9BXlj974EDaF8V9iRKzfksXIf8aaPfVQw9AW94fLJZbfSB8YGOGyNbPu9YECoZQB1aZ2lw9s/aEdfwCbmqizO/fYpG3YoPKJdm1ZJpNOFR37Xk=
|
20
|
-
gem: redis-rack
|
21
|
-
on:
|
22
|
-
tags: true
|
23
|
-
repo: redis-store/redis-rack
|