sha_header 1.1.1 → 1.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: ebdccfc0281d7039df41056e9b8b7abe41848d69635c6b858a3af34c86beac2a
4
- data.tar.gz: 8510a5073f2de16071750b23b9b8f8e8cda833e875e5e09e256f57183a84d810
3
+ metadata.gz: bf3755d0b96e9fdcffcad558a61f566c036d34d50b15f546e6914429fa936e28
4
+ data.tar.gz: 503e99252b580f16c1dad95625ae3ced4fb53f894ab8a945862cf0dde8c3d7e8
5
5
  SHA512:
6
- metadata.gz: ee54cbc74ac4573d2d27f0169b2971b0840001850b6851ecaf6638239606ab986c41440fef1549761181f32211db7129d005355be907bdc3364c7d6b0445b4e5
7
- data.tar.gz: a2ad576300d5156b954d5245d86a537482f7be40501e5758088e656fb02afeb0660e1eee6f83fe70c934b383edda028885671adcf3ece5ac967b30c4e16e3245
6
+ metadata.gz: 77aac65a5403c56348f1b0c40f93be4bd3e2a83be026fb551ef8aa31154ebc3187a98b6b6d0da0caaf4cfef5d0c1f4a962ecf2d704a7760d7aab2dd4666359aa
7
+ data.tar.gz: bc0bf61744490bd986847954b594753f865e3998451cae005441ddd550f909692072c00beb8e1b2dd084bffe5ab7d18364c973c041fbabfbe95cb92e1abd0651
@@ -0,0 +1,23 @@
1
+ ---
2
+
3
+ name: "Release"
4
+
5
+ "on":
6
+ push:
7
+ tags:
8
+ - "v*"
9
+
10
+ jobs:
11
+ github_packages:
12
+ runs-on: "ubuntu-latest"
13
+
14
+ steps:
15
+ - uses: "actions/checkout@v1"
16
+ - uses: "actions/setup-ruby@v1"
17
+ with:
18
+ ruby-version: "2.7"
19
+ - name: "Publish to GitHub"
20
+ uses: "jstastny/publish-gem-to-github@v1.1"
21
+ with:
22
+ token: "${{ secrets.GITHUB_TOKEN }}"
23
+ owner: "nbibler"
@@ -0,0 +1,32 @@
1
+ ---
2
+
3
+ name: "Tests"
4
+
5
+ "on": [push]
6
+
7
+ jobs:
8
+ tests:
9
+ runs-on: "ubuntu-latest"
10
+
11
+ strategy:
12
+ matrix:
13
+ gemfile:
14
+ - "Gemfile"
15
+ - "gemfiles/railties_5.2.gemfile"
16
+ - "gemfiles/railties_6.0.gemfile"
17
+
18
+ steps:
19
+ - uses: "actions/checkout@v1"
20
+ - uses: "actions/setup-ruby@v1"
21
+ with:
22
+ ruby-version: "2.7"
23
+ - name: "Install Latest Bundler"
24
+ run: |
25
+ gem install bundler --no-document
26
+ bundle config --global gemfile ${{ matrix.gemfile }}
27
+ bundle config path vendor/bundle
28
+ bundle config set without "tools benchmarks docs"
29
+ - name: "Bundle Install"
30
+ run: "bundle install --jobs 4 --retry 3"
31
+ - name: "Run Tests"
32
+ run: "bundle exec rake spec"
data/Appraisals CHANGED
@@ -1,21 +1,9 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- appraise 'railties-4.2' do
4
- gem 'railties', '~> 4.2'
5
- end
6
-
7
- appraise 'railties-5.0' do
8
- gem 'railties', '~> 5.0.0'
9
- end
10
-
11
- appraise 'railties-5.1' do
12
- gem 'railties', '~> 5.1.0'
13
- end
14
-
15
3
  appraise 'railties-5.2' do
16
4
  gem 'railties', '~> 5.2.0'
17
5
  end
18
6
 
19
- appraise 'railties-5.x' do
20
- gem 'railties', '~> 5.0'
7
+ appraise 'railties-6.0' do
8
+ gem 'railties', '~> 6.0.0'
21
9
  end
@@ -7,6 +7,14 @@
7
7
 
8
8
  * No significant changes.
9
9
 
10
+ ## [v1.2.0][] / 2020-04-04
11
+
12
+ * Widen supported Rails version to include 3.2 to 6.0. However, explicit
13
+ testing of [unmaintained Rails
14
+ versions](https://guides.rubyonrails.org/maintenance_policy.html) are no
15
+ longer being performed and compatibility is not guaranteed for those affected
16
+ versions.
17
+
10
18
  ## [v1.1.1][] / 2019-03-26
11
19
 
12
20
  * Widen supported Rails version to include 3.2 to 5.2.
@@ -28,4 +36,5 @@
28
36
  [v1.0.0]: https://github.com/nbibler/sha_header/compare/v0.0.4...v1.0.0
29
37
  [v1.1.0]: https://github.com/nbibler/sha_header/compare/v1.0.0...v1.1.0
30
38
  [v1.1.1]: https://github.com/nbibler/sha_header/compare/v1.1.0...v1.1.1
31
- [HEAD]: https://github.com/nbibler/sha_header/compare/v1.1.1...master
39
+ [v1.2.0]: https://github.com/nbibler/sha_header/compare/v1.1.1...v1.2.0
40
+ [HEAD]: https://github.com/nbibler/sha_header/compare/v1.2.0...master
data/README.md CHANGED
@@ -20,7 +20,7 @@ response headers.
20
20
  The SHAHeader gem is compatible with:
21
21
 
22
22
  * Ruby 2.4, 2.5, and 2.6 and
23
- * Rails 4.2, 5.1, and 5.2.
23
+ * Rails 5.2 and 6.0.
24
24
 
25
25
  This library may continue to be compatible with older versions (Ruby 2.1+,
26
26
  Rails 3.2+), however those versions have been end-of-life'd and are no longer
@@ -2,6 +2,6 @@
2
2
 
3
3
  source "https://rubygems.org"
4
4
 
5
- gem "railties", "~> 5.0"
5
+ gem "railties", "~> 6.0.0"
6
6
 
7
7
  gemspec path: "../"
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module SHAHeader
4
- VERSION = '1.1.1'
4
+ VERSION = '1.2.0'
5
5
  end
@@ -24,11 +24,11 @@ Gem::Specification.new do |spec|
24
24
  spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
25
25
  spec.require_paths = ['lib']
26
26
 
27
- spec.add_dependency 'railties', '>= 3.2', '< 5.3'
27
+ spec.add_dependency 'railties', '>= 3.2', '< 6.1'
28
28
 
29
29
  spec.add_development_dependency 'appraisal', '~> 2.0'
30
30
  spec.add_development_dependency 'bundler', '~> 2.0'
31
- spec.add_development_dependency 'fakefs', '~>0.4', '>= 0.4.3'
32
- spec.add_development_dependency 'rake', '~> 12.0'
31
+ spec.add_development_dependency 'fakefs', '~>1.0'
32
+ spec.add_development_dependency 'rake', '~> 13.0'
33
33
  spec.add_development_dependency 'rspec', '~> 3.0'
34
34
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sha_header
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.1
4
+ version: 1.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Nathaniel Bibler
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2019-03-26 00:00:00.000000000 Z
11
+ date: 2020-04-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: railties
@@ -19,7 +19,7 @@ dependencies:
19
19
  version: '3.2'
20
20
  - - "<"
21
21
  - !ruby/object:Gem::Version
22
- version: '5.3'
22
+ version: '6.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: '5.3'
32
+ version: '6.1'
33
33
  - !ruby/object:Gem::Dependency
34
34
  name: appraisal
35
35
  requirement: !ruby/object:Gem::Requirement
@@ -64,34 +64,28 @@ dependencies:
64
64
  requirements:
65
65
  - - "~>"
66
66
  - !ruby/object:Gem::Version
67
- version: '0.4'
68
- - - ">="
69
- - !ruby/object:Gem::Version
70
- version: 0.4.3
67
+ version: '1.0'
71
68
  type: :development
72
69
  prerelease: false
73
70
  version_requirements: !ruby/object:Gem::Requirement
74
71
  requirements:
75
72
  - - "~>"
76
73
  - !ruby/object:Gem::Version
77
- version: '0.4'
78
- - - ">="
79
- - !ruby/object:Gem::Version
80
- version: 0.4.3
74
+ version: '1.0'
81
75
  - !ruby/object:Gem::Dependency
82
76
  name: rake
83
77
  requirement: !ruby/object:Gem::Requirement
84
78
  requirements:
85
79
  - - "~>"
86
80
  - !ruby/object:Gem::Version
87
- version: '12.0'
81
+ version: '13.0'
88
82
  type: :development
89
83
  prerelease: false
90
84
  version_requirements: !ruby/object:Gem::Requirement
91
85
  requirements:
92
86
  - - "~>"
93
87
  - !ruby/object:Gem::Version
94
- version: '12.0'
88
+ version: '13.0'
95
89
  - !ruby/object:Gem::Dependency
96
90
  name: rspec
97
91
  requirement: !ruby/object:Gem::Requirement
@@ -114,10 +108,11 @@ executables: []
114
108
  extensions: []
115
109
  extra_rdoc_files: []
116
110
  files:
111
+ - ".github/workflows/release.yml"
112
+ - ".github/workflows/tests.yml"
117
113
  - ".gitignore"
118
114
  - ".rspec"
119
115
  - ".rubocop.yml"
120
- - ".travis.yml"
121
116
  - Appraisals
122
117
  - CHANGELOG.md
123
118
  - Gemfile
@@ -126,11 +121,8 @@ files:
126
121
  - Rakefile
127
122
  - bin/console
128
123
  - bin/setup
129
- - gemfiles/railties_4.2.gemfile
130
- - gemfiles/railties_5.0.gemfile
131
- - gemfiles/railties_5.1.gemfile
132
124
  - gemfiles/railties_5.2.gemfile
133
- - gemfiles/railties_5.x.gemfile
125
+ - gemfiles/railties_6.0.gemfile
134
126
  - lib/sha_header.rb
135
127
  - lib/sha_header/middleware.rb
136
128
  - lib/sha_header/railtie.rb
@@ -155,7 +147,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
155
147
  - !ruby/object:Gem::Version
156
148
  version: '0'
157
149
  requirements: []
158
- rubygems_version: 3.0.3
150
+ rubygems_version: 3.1.2
159
151
  signing_key:
160
152
  specification_version: 4
161
153
  summary: Add a header to the response of your Rails application containing the current
@@ -1,20 +0,0 @@
1
- before_install: gem install bundler -v 2.0.1
2
- cache: bundler
3
- gemfile:
4
- - gemfiles/railties_4.2.gemfile
5
- - gemfiles/railties_5.0.gemfile
6
- - gemfiles/railties_5.1.gemfile
7
- - gemfiles/railties_5.2.gemfile
8
- - gemfiles/railties_5.x.gemfile
9
- language: ruby
10
- matrix:
11
- fast_finish: true
12
- rvm:
13
- - 2.4.5
14
- - 2.5.5
15
- - 2.6.2
16
- notifications:
17
- email:
18
- on_failure: always
19
- on_success: change
20
- sudo: false
@@ -1,7 +0,0 @@
1
- # This file was generated by Appraisal
2
-
3
- source "https://rubygems.org"
4
-
5
- gem "railties", "~> 4.2"
6
-
7
- gemspec path: "../"
@@ -1,7 +0,0 @@
1
- # This file was generated by Appraisal
2
-
3
- source "https://rubygems.org"
4
-
5
- gem "railties", "~> 5.0.0"
6
-
7
- gemspec path: "../"
@@ -1,7 +0,0 @@
1
- # This file was generated by Appraisal
2
-
3
- source "https://rubygems.org"
4
-
5
- gem "railties", "~> 5.1.0"
6
-
7
- gemspec path: "../"