auto-session-timeout 0.9.8 → 1.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: 71d3e9f467963b89be2bdfb4e87ce915ed693536fd0760cf954d6116c8987c3a
4
- data.tar.gz: f3b2cfee583099d5bb29400db0e4e187f8fdfd1750cc12cfc45380316719df50
3
+ metadata.gz: 20b023ebb43111d703d1175daf0826640c89f452a28f513d9a2f7882929f7dc4
4
+ data.tar.gz: f0aefb518e821056121e21801fca26fe356f86c6a433e5321a3c76dcb68ff135
5
5
  SHA512:
6
- metadata.gz: 20685219ebb5e6750e215d8a873ad60b7de0a3e05f36c9bfb03249266b4886b240ea6b009242a718dc7d91b723053d3c5c3a2ae4f768b6ab016cefe915d7ed73
7
- data.tar.gz: d94594ce6b6d7464ad543fcad88e8343e53b1d3a1f6af02f0d6d24a2877167b6cd776a4e62f575cc023ee752a30be4b7ed518b0283ed6eb144b42a5345d2705c
6
+ metadata.gz: 230b921f57492287baa5b645b72ff20c8343a4494d86694d3c58a707bdd68ed0c27c5ea1ee1d857982966e8a53f71467489666d7fb65860df041ba7d60f1f148
7
+ data.tar.gz: d8abe691e2dc760d80b819c42257bdb7a2a67cac11e5f873d46acb5983eb61e35e9e3c85ac2020d5d1f7dcd91dbc1f5da3f6b59b3d1b2fdfa75517ab76591352
@@ -0,0 +1,69 @@
1
+ name: Minitest
2
+
3
+ on:
4
+ push:
5
+ branches: [ master ]
6
+ pull_request:
7
+ branches: [ master ]
8
+
9
+ jobs:
10
+ test:
11
+
12
+ runs-on: ubuntu-latest
13
+ strategy:
14
+ matrix:
15
+ rails-version: ['3.2', '4.0', '4.1', '4.2', '5.0', '5.1', '5.2', '6.0', '6.1', '7.0']
16
+ ruby-version: ['2.4', '2.5', '2.6', '2.7', '3.0']
17
+ exclude:
18
+ - rails-version: '3.2'
19
+ ruby-version: '2.7'
20
+ - rails-version: '3.2'
21
+ ruby-version: '3.0'
22
+
23
+ - rails-version: '4.0'
24
+ ruby-version: '2.7'
25
+ - rails-version: '4.0'
26
+ ruby-version: '3.0'
27
+
28
+ - rails-version: '4.1'
29
+ ruby-version: '2.7'
30
+ - rails-version: '4.1'
31
+ ruby-version: '3.0'
32
+
33
+ - rails-version: '4.2'
34
+ ruby-version: '2.7'
35
+ - rails-version: '4.2'
36
+ ruby-version: '3.0'
37
+
38
+ - rails-version: '5.0'
39
+ ruby-version: '3.0'
40
+
41
+ - rails-version: '5.1'
42
+ ruby-version: '3.0'
43
+
44
+ - rails-version: '5.2'
45
+ ruby-version: '3.0'
46
+
47
+ - rails-version: '6.0'
48
+ ruby-version: '2.4'
49
+
50
+ - rails-version: '6.1'
51
+ ruby-version: '2.4'
52
+
53
+ - rails-version: '7.0'
54
+ ruby-version: '2.4'
55
+ - rails-version: '7.0'
56
+ ruby-version: '2.5'
57
+ - rails-version: '7.0'
58
+ ruby-version: '2.6'
59
+ steps:
60
+ - uses: actions/checkout@v2
61
+ - name: Set up Ruby
62
+ uses: ruby/setup-ruby@v1
63
+ env:
64
+ RAILS_VERSION: ${{ matrix.rails-version }}
65
+ with:
66
+ ruby-version: ${{ matrix.ruby-version }}
67
+ bundler-cache: true # runs 'bundle install' and caches installed gems automatically
68
+ - name: Run tests
69
+ run: bundle exec rake
data/CHANGELOG CHANGED
@@ -1,3 +1,12 @@
1
+ 2023-01-18 - v1.0
2
+
3
+ 2023-01-18 - Compatablity issue with Rack 2.2.4 [GearoidDC]
4
+ 2022-01-20 - Use GitHub Actions build badge [pelargir]
5
+
6
+ 2022-01-04 - v0.9.9
7
+
8
+ 2022-01-04 - Rails 7 compatibility [pelargir]
9
+
1
10
  2021-10-11 - v0.9.8
2
11
 
3
12
  2021-10-10 - Custom session timeout method [JunaidUK]
data/README.md CHANGED
@@ -1,4 +1,4 @@
1
- [![Build Status](https://travis-ci.com/pelargir/auto-session-timeout.svg?branch=master)](https://travis-ci.com/pelargir/auto-session-timeout)
1
+ ![Build Status](https://github.com/pelargir/auto-session-timeout/actions/workflows/minitest.yml/badge.svg)
2
2
 
3
3
  # Auto::Session::Timeout
4
4
 
@@ -18,7 +18,7 @@ Gem::Specification.new do |spec|
18
18
  spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
19
19
  spec.require_paths = ["lib"]
20
20
 
21
- spec.add_dependency "actionpack", [">= 3.2", "< 7"]
21
+ spec.add_dependency "actionpack", [">= 3.2", "< 7.1"]
22
22
  spec.add_development_dependency "bundler", "~> 2.0"
23
23
  spec.add_development_dependency "rake", "~> 13.0"
24
24
  spec.add_development_dependency "minitest", [">= 4.2", "< 6"]
@@ -1,7 +1,7 @@
1
1
  module Auto
2
2
  module Session
3
3
  module Timeout
4
- VERSION = "0.9.8"
4
+ VERSION = "1.0"
5
5
  end
6
6
  end
7
7
  end
@@ -26,7 +26,7 @@ module AutoSessionTimeout
26
26
  end
27
27
 
28
28
  def render_session_status
29
- response.headers["Etag"] = "" # clear etags to prevent caching
29
+ response.headers["Etag"] = nil # clear etags to prevent caching
30
30
  render plain: !!current_user, status: 200
31
31
  end
32
32
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: auto-session-timeout
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.9.8
4
+ version: '1.0'
5
5
  platform: ruby
6
6
  authors:
7
7
  - Matthew Bass
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-11-11 00:00:00.000000000 Z
11
+ date: 2023-02-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: actionpack
@@ -19,7 +19,7 @@ dependencies:
19
19
  version: '3.2'
20
20
  - - "<"
21
21
  - !ruby/object:Gem::Version
22
- version: '7'
22
+ version: '7.1'
23
23
  type: :runtime
24
24
  prerelease: false
25
25
  version_requirements: !ruby/object:Gem::Requirement
@@ -29,7 +29,7 @@ dependencies:
29
29
  version: '3.2'
30
30
  - - "<"
31
31
  - !ruby/object:Gem::Version
32
- version: '7'
32
+ version: '7.1'
33
33
  - !ruby/object:Gem::Dependency
34
34
  name: bundler
35
35
  requirement: !ruby/object:Gem::Requirement
@@ -85,8 +85,8 @@ executables: []
85
85
  extensions: []
86
86
  extra_rdoc_files: []
87
87
  files:
88
+ - ".github/workflows/minitest.yml"
88
89
  - ".gitignore"
89
- - ".travis.yml"
90
90
  - CHANGELOG
91
91
  - Gemfile
92
92
  - LICENSE.txt
@@ -120,7 +120,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
120
120
  - !ruby/object:Gem::Version
121
121
  version: '0'
122
122
  requirements: []
123
- rubygems_version: 3.2.22
123
+ rubygems_version: 3.3.26
124
124
  signing_key:
125
125
  specification_version: 4
126
126
  summary: Provides automatic session timeout in a Rails application.
data/.travis.yml DELETED
@@ -1,46 +0,0 @@
1
- sudo: false
2
- language: ruby
3
- cache: bundler
4
- before_install:
5
- - gem install bundler -v '~> 2'
6
- rvm:
7
- - 2.4.10
8
- - 2.5.8
9
- - 2.6.6
10
- - 2.7.2
11
- - ruby-head
12
- env:
13
- - RAILS_VERSION='~> 3.2'
14
- - RAILS_VERSION='~> 4.0'
15
- - RAILS_VERSION='~> 4.1'
16
- - RAILS_VERSION='~> 4.2'
17
- - RAILS_VERSION='~> 5.0'
18
- - RAILS_VERSION='~> 5.1'
19
- - RAILS_VERSION='~> 5.2'
20
- - RAILS_VERSION='~> 6.0'
21
- - RAILS_VERSION='~> 6.1'
22
- jobs:
23
- exclude:
24
- - rvm: 2.4.10
25
- env: RAILS_VERSION='~> 6.0'
26
- - rvm: 2.4.10
27
- env: RAILS_VERSION='~> 6.1'
28
- - rvm: 2.7.2
29
- env: RAILS_VERSION='~> 3.2'
30
- - rvm: 2.7.2
31
- env: RAILS_VERSION='~> 4.0'
32
- - rvm: 2.7.2
33
- env: RAILS_VERSION='~> 4.1'
34
- - rvm: 2.7.2
35
- env: RAILS_VERSION='~> 4.2'
36
- - rvm: ruby-head
37
- env: RAILS_VERSION='~> 3.2'
38
- - rvm: ruby-head
39
- env: RAILS_VERSION='~> 4.0'
40
- - rvm: ruby-head
41
- env: RAILS_VERSION='~> 4.1'
42
- - rvm: ruby-head
43
- env: RAILS_VERSION='~> 4.2'
44
- allow_failures:
45
- - rvm: ruby-head
46
- fast_finish: true