versioncake 4.0.2 → 4.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (34) hide show
  1. checksums.yaml +4 -4
  2. data/.github/workflows/ruby.yml +33 -0
  3. data/Appraisals +9 -3
  4. data/CHANGELOG.md +16 -1
  5. data/Gemfile.lock +25 -23
  6. data/README.md +13 -11
  7. data/SECURITY.md +9 -0
  8. data/gemfiles/rails5.0.gemfile.lock +26 -24
  9. data/gemfiles/rails5.2.gemfile.lock +36 -34
  10. data/gemfiles/rails6.0.gemfile +3 -3
  11. data/gemfiles/rails6.0.gemfile.lock +44 -40
  12. data/gemfiles/rails7.0.gemfile +9 -0
  13. data/gemfiles/rails7.0.gemfile.lock +127 -0
  14. data/lib/versioncake/response_strategy/http_content_type_strategy.rb +4 -2
  15. data/lib/versioncake/strategies/extraction_strategy.rb +11 -7
  16. data/lib/versioncake/version.rb +1 -1
  17. data/lib/versioncake/version_checker.rb +2 -1
  18. data/lib/versioncake/version_context_service.rb +1 -1
  19. data/lib/versioncake/versioned_request.rb +1 -1
  20. data/lib/versioncake/view_additions.rb +8 -88
  21. data/lib/versioncake/view_additions_rails5.rb +70 -0
  22. data/lib/versioncake/view_additions_rails6.rb +69 -0
  23. data/lib/versioncake/view_additions_rails7.rb +155 -0
  24. data/spec/integration/controller/unversioned_controller_spec.rb +1 -1
  25. data/spec/integration/view/render_spec.rb +8 -1
  26. data/spec/integration/view/view_additions_rails5_spec.rb +67 -0
  27. data/spec/integration/view/view_additions_rails6_spec.rb +44 -0
  28. data/spec/integration/view/view_additions_rails7_spec.rb +76 -0
  29. data/spec/unit/strategies/extraction_strategy_spec.rb +2 -2
  30. data/spec/unit/version_checker_spec.rb +1 -1
  31. data/spec/unit/versioned_request_spec.rb +0 -7
  32. metadata +16 -8
  33. data/.travis.yml +0 -20
  34. data/spec/integration/view/view_additions_spec.rb +0 -42
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 2584a00abf5d5d5dcf688405473566592b50c76e2d44228e125805646f90f84b
4
- data.tar.gz: ac88a66a011780e1f9da35fe2dea73bc3afb47a80f0930272a508f328d81df71
3
+ metadata.gz: 8842743fe7db85ac3a43187bd68943c370198ef81c4a482762e5596d00ef7aec
4
+ data.tar.gz: d8414afd0fa212b93cfcce8fb108ac2f41169db83686be15e84933c9d23da3ae
5
5
  SHA512:
6
- metadata.gz: 53baf4c7c63e5396efd76cd040270d5cba6f27674a9ca8da9802edf8119f6321a7d5d79f93793505f9f81ea57e2ea28c423e43ed2c5f628e100d975168283b5e
7
- data.tar.gz: 7550a8a563d0136d73a579bb5da9320390f717fd6975e4e9f1788150ab497dc350bec4c8cbdcdcba7ea96b0df22880ae8e6aee3d61702bcf2e411b3eb3503f8d
6
+ metadata.gz: 283e40c62659da970b9717789d3e904dd294ee475b6d89af3dd2b4839232edfb63f15c93c6162c3facf8b7104c453317ed781a8855c161145bef06231e4821f0
7
+ data.tar.gz: bcb5202fd664bf40a682802c8a64630f9f66fa042f87b544aab65730694474ded842e2bc0a04c8c0c9b95d5accaaa0ec35dfc0bd4258499fd30c4058cfb89b9a
@@ -0,0 +1,33 @@
1
+ name: Ruby
2
+
3
+ on:
4
+ push:
5
+ branches: [ master ]
6
+ pull_request:
7
+ branches: [ master ]
8
+
9
+ jobs:
10
+ test:
11
+ name: Specs
12
+ runs-on: ubuntu-latest
13
+
14
+ strategy:
15
+ matrix:
16
+ ruby:
17
+ - 2.7
18
+ gemfile:
19
+ - gemfiles/rails5.0.gemfile
20
+ - gemfiles/rails5.2.gemfile
21
+ - gemfiles/rails6.0.gemfile
22
+ - gemfiles/rails7.0.gemfile
23
+
24
+ steps:
25
+ - uses: actions/checkout@v2
26
+ - name: Set up Ruby ${{ matrix.ruby }}
27
+ uses: ruby/setup-ruby@v1
28
+ with:
29
+ ruby-version: ${{ matrix.ruby }}
30
+ - name: Install dependencies
31
+ run: bundle install --gemfile=${{matrix.gemfile}}
32
+ - name: Run tests
33
+ run: bundle exec --gemfile=${{matrix.gemfile}} rake
data/Appraisals CHANGED
@@ -11,7 +11,13 @@ appraise "rails5.2" do
11
11
  end
12
12
 
13
13
  appraise "rails6.0" do
14
- gem('actionpack', '~> 5.2.0')
15
- gem('activesupport', '~> 5.2.0')
16
- gem('railties', '~> 5.2.0')
14
+ gem('actionpack', '~> 6.0.0')
15
+ gem('activesupport', '~> 6.0.0')
16
+ gem('railties', '~> 6.0.0')
17
+ end
18
+
19
+ appraise "rails7.0" do
20
+ gem('actionpack', '~> 7.0.0')
21
+ gem('activesupport', '~> 7.0.0')
22
+ gem('railties', '~> 7.0.0')
17
23
  end
data/CHANGELOG.md CHANGED
@@ -1,6 +1,6 @@
1
1
  ## Unreleased Changes
2
2
 
3
- [Full Changelog](https://github.com/bwillis/versioncake/compare/v4.0...master)
3
+ [Full Changelog](https://github.com/bwillis/versioncake/compare/v4.1...master)
4
4
 
5
5
  Bug Fixes:
6
6
 
@@ -13,6 +13,21 @@ Enhancements:
13
13
  Deprecations:
14
14
  * None
15
15
 
16
+ ## 4.1.0 (March 31, 2022)
17
+
18
+ Bug Fixes:
19
+
20
+ * FronzeError bug in content type strategy (#100)
21
+ *
22
+
23
+ Enhancements:
24
+
25
+ * Rails 7 support (#108)
26
+ * Raise (and catch) more specific exceptions (#105)
27
+
28
+ Deprecations:
29
+ * None
30
+
16
31
  ## 4.0.2 (June 5, 2020)
17
32
 
18
33
  Bug Fixes:
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- versioncake (4.0.2)
4
+ versioncake (4.1.0)
5
5
  actionpack (> 5.0)
6
6
  activesupport (> 5.0)
7
7
  railties (> 5.0)
@@ -10,20 +10,20 @@ PATH
10
10
  GEM
11
11
  remote: https://rubygems.org/
12
12
  specs:
13
- actionpack (5.2.4.3)
14
- actionview (= 5.2.4.3)
15
- activesupport (= 5.2.4.3)
13
+ actionpack (5.2.6.2)
14
+ actionview (= 5.2.6.2)
15
+ activesupport (= 5.2.6.2)
16
16
  rack (~> 2.0, >= 2.0.8)
17
17
  rack-test (>= 0.6.3)
18
18
  rails-dom-testing (~> 2.0)
19
19
  rails-html-sanitizer (~> 1.0, >= 1.0.2)
20
- actionview (5.2.4.3)
21
- activesupport (= 5.2.4.3)
20
+ actionview (5.2.6.2)
21
+ activesupport (= 5.2.6.2)
22
22
  builder (~> 3.1)
23
23
  erubi (~> 1.4)
24
24
  rails-dom-testing (~> 2.0)
25
25
  rails-html-sanitizer (~> 1.0, >= 1.0.3)
26
- activesupport (5.2.4.3)
26
+ activesupport (5.2.6.2)
27
27
  concurrent-ruby (~> 1.0, >= 1.0.2)
28
28
  i18n (>= 0.7, < 2)
29
29
  minitest (~> 5.1)
@@ -33,7 +33,7 @@ GEM
33
33
  rake
34
34
  thor (>= 0.14.0)
35
35
  builder (3.2.4)
36
- concurrent-ruby (1.1.6)
36
+ concurrent-ruby (1.1.9)
37
37
  coveralls (0.8.21)
38
38
  json (>= 1.8, < 3)
39
39
  simplecov (~> 0.14.1)
@@ -43,29 +43,31 @@ GEM
43
43
  crass (1.0.6)
44
44
  diff-lcs (1.3)
45
45
  docile (1.1.5)
46
- erubi (1.9.0)
47
- i18n (1.8.2)
46
+ erubi (1.10.0)
47
+ i18n (1.9.1)
48
48
  concurrent-ruby (~> 1.0)
49
- json (2.1.0)
50
- loofah (2.5.0)
49
+ json (2.3.0)
50
+ loofah (2.14.0)
51
51
  crass (~> 1.0.2)
52
52
  nokogiri (>= 1.5.9)
53
53
  method_source (1.0.0)
54
- mini_portile2 (2.4.0)
55
- minitest (5.14.1)
56
- nokogiri (1.10.9)
57
- mini_portile2 (~> 2.4.0)
58
- rack (2.2.2)
54
+ mini_portile2 (2.8.0)
55
+ minitest (5.15.0)
56
+ nokogiri (1.13.3)
57
+ mini_portile2 (~> 2.8.0)
58
+ racc (~> 1.4)
59
+ racc (1.6.0)
60
+ rack (2.2.3)
59
61
  rack-test (1.1.0)
60
62
  rack (>= 1.0, < 3)
61
63
  rails-dom-testing (2.0.3)
62
64
  activesupport (>= 4.2.0)
63
65
  nokogiri (>= 1.6)
64
- rails-html-sanitizer (1.3.0)
66
+ rails-html-sanitizer (1.4.2)
65
67
  loofah (~> 2.3)
66
- railties (5.2.4.3)
67
- actionpack (= 5.2.4.3)
68
- activesupport (= 5.2.4.3)
68
+ railties (5.2.6.2)
69
+ actionpack (= 5.2.6.2)
70
+ activesupport (= 5.2.6.2)
69
71
  method_source
70
72
  rake (>= 0.8.7)
71
73
  thor (>= 0.19.0, < 2.0)
@@ -101,7 +103,7 @@ GEM
101
103
  thor (0.19.4)
102
104
  thread_safe (0.3.6)
103
105
  tins (1.15.0)
104
- tzinfo (1.2.7)
106
+ tzinfo (1.2.9)
105
107
  thread_safe (~> 0.1)
106
108
 
107
109
  PLATFORMS
@@ -116,4 +118,4 @@ DEPENDENCIES
116
118
  versioncake!
117
119
 
118
120
  BUNDLED WITH
119
- 1.17.2
121
+ 2.2.15
data/README.md CHANGED
@@ -1,6 +1,6 @@
1
1
  ![Version Cake](https://raw.github.com/alicial/versioncake/master/images/versioncake-logo450x100.png)
2
2
 
3
- [![Build Status](https://secure.travis-ci.org/bwillis/versioncake.png?branch=master)](http://travis-ci.org/bwillis/versioncake)
3
+ ![Ruby](https://github.com/bwillis/versioncake/workflows/Ruby/badge.svg?branch=master)
4
4
  [![Code Climate](https://codeclimate.com/github/bwillis/versioncake.png)](https://codeclimate.com/github/bwillis/versioncake)
5
5
  [![Coverage Status](https://coveralls.io/repos/bwillis/versioncake/badge.png?branch=master)](https://coveralls.io/r/bwillis/versioncake)
6
6
  [![Gem Version](https://badge.fury.io/rb/versioncake.png)](http://badge.fury.io/rb/versioncake)
@@ -33,16 +33,17 @@ rails g versioncake:install
33
33
 
34
34
  ### Requirements
35
35
 
36
- | Version | Rails 3.2 Support? | Rails 4 Support? | Rails >4.1 Support? | Rails >5 Support? | Rails >5.2 Support? | [Rails API](https://github.com/rails-api/rails-api) 0.2 Support? |
37
- | -------:|:---------:| -------:| -------:| -------:| -------:| -------:|
38
- | [1.0](CHANGELOG.md#100-march-14-2013) | Yes | No | No | No | No | No |
39
- | [1.1](CHANGELOG.md#110-may-18-2013) | Yes | No | No | No | No | No |
40
- | [1.2](CHANGELOG.md#120-may-26-2013) | Yes | Yes | No | No | No | No |
41
- | [1.3](CHANGELOG.md#130-sept-26-2013) | Yes | Yes | No | No | No | No |
42
- | [>2.0](CHANGELOG.md#200-feb-6-2014) | Yes | Yes | Yes | No | No | No |
43
- | [>2.4](CHANGELOG.md#200-feb-6-2014) | Yes | Yes | Yes | No | No | Yes |
44
- | [>3.0](CHANGELOG.md) | Yes | Yes | Yes | Yes | No | Yes |
45
- | [>3.3](CHANGELOG.md) | Yes | Yes | Yes | Yes | Yes | Yes |
36
+ | Version | Rails 3.2 Support? | Rails 4 Support? | Rails >4.1 Support? | Rails >5 Support? | Rails >5.2 Support? | Rails 6 Support? | [Rails API](https://github.com/rails-api/rails-api) 0.2 Support? |
37
+ | -------:|:---------:| -------:| -------:| -------:| -------:| -------:| -------:|
38
+ | [1.0](CHANGELOG.md#100-march-14-2013) | Yes | No | No | No | No | No | No |
39
+ | [1.1](CHANGELOG.md#110-may-18-2013) | Yes | No | No | No | No | No | No |
40
+ | [1.2](CHANGELOG.md#120-may-26-2013) | Yes | Yes | No | No | No | No | No |
41
+ | [1.3](CHANGELOG.md#130-sept-26-2013) | Yes | Yes | No | No | No | No | No |
42
+ | [>2.0](CHANGELOG.md#200-feb-6-2014) | Yes | Yes | Yes | No | No | No | No |
43
+ | [>2.4](CHANGELOG.md#200-feb-6-2014) | Yes | Yes | Yes | No | No | No | Yes |
44
+ | [>3.0](CHANGELOG.md#300-aug-3-2015) | Yes | Yes | Yes | Yes | No | No | Yes |
45
+ | [>3.3](CHANGELOG.md#330-may-7-2017) | Yes | Yes | Yes | Yes | Yes | No | Yes |
46
+ | [>4.0](CHANGELOG.md) | No | No | Yes | Yes | Yes | Yes | Yes |
46
47
 
47
48
  ## Upgrade v2.0 -> v3.0
48
49
 
@@ -436,6 +437,7 @@ Thanks to all those who have helped make Version Cake really sweet:
436
437
  * [Ersin Akinci](https://github.com/earksiinni)
437
438
  * [Bartosz Bonisławski](https://github.com/bbonislawski)
438
439
  * [Harry Lascelles](https://github.com/hlascelles)
440
+ * [James Carscadden](https://github.com/JamesCarscadden)
439
441
 
440
442
  # Related Material
441
443
 
data/SECURITY.md ADDED
@@ -0,0 +1,9 @@
1
+ # Security Policy
2
+
3
+ ## Supported Versions
4
+
5
+ Only the latest major version will be supported for security patches. We may consider backporting depending on severity of the issue.
6
+
7
+ ## Reporting a Vulnerability
8
+
9
+ If you think you have a security vulnerability, please submit the issue and the details to https://hackerone.com/versioncake
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: ..
3
3
  specs:
4
- versioncake (4.0.2)
4
+ versioncake (4.1.0)
5
5
  actionpack (> 5.0)
6
6
  activesupport (> 5.0)
7
7
  railties (> 5.0)
@@ -28,12 +28,12 @@ GEM
28
28
  i18n (>= 0.7, < 2)
29
29
  minitest (~> 5.1)
30
30
  tzinfo (~> 1.1)
31
- appraisal (2.2.0)
31
+ appraisal (2.4.1)
32
32
  bundler
33
33
  rake
34
34
  thor (>= 0.14.0)
35
35
  builder (3.2.4)
36
- concurrent-ruby (1.1.6)
36
+ concurrent-ruby (1.1.9)
37
37
  coveralls (0.8.23)
38
38
  json (>= 1.8, < 3)
39
39
  simplecov (~> 0.16.1)
@@ -41,27 +41,29 @@ GEM
41
41
  thor (>= 0.19.4, < 2.0)
42
42
  tins (~> 1.6)
43
43
  crass (1.0.6)
44
- diff-lcs (1.3)
45
- docile (1.3.2)
44
+ diff-lcs (1.5.0)
45
+ docile (1.4.0)
46
46
  erubis (2.7.0)
47
- i18n (1.8.2)
47
+ i18n (1.8.11)
48
48
  concurrent-ruby (~> 1.0)
49
- json (2.3.0)
50
- loofah (2.4.0)
49
+ json (2.6.1)
50
+ loofah (2.13.0)
51
51
  crass (~> 1.0.2)
52
52
  nokogiri (>= 1.5.9)
53
- method_source (0.9.2)
54
- mini_portile2 (2.4.0)
55
- minitest (5.14.0)
56
- nokogiri (1.10.9)
57
- mini_portile2 (~> 2.4.0)
58
- rack (2.2.2)
53
+ method_source (1.0.0)
54
+ mini_portile2 (2.7.1)
55
+ minitest (5.15.0)
56
+ nokogiri (1.13.1)
57
+ mini_portile2 (~> 2.7.0)
58
+ racc (~> 1.4)
59
+ racc (1.6.0)
60
+ rack (2.2.3)
59
61
  rack-test (0.6.3)
60
62
  rack (>= 1.0)
61
63
  rails-dom-testing (2.0.3)
62
64
  activesupport (>= 4.2.0)
63
65
  nokogiri (>= 1.6)
64
- rails-html-sanitizer (1.3.0)
66
+ rails-html-sanitizer (1.4.2)
65
67
  loofah (~> 2.3)
66
68
  railties (5.0.7.2)
67
69
  actionpack (= 5.0.7.2)
@@ -69,14 +71,14 @@ GEM
69
71
  method_source
70
72
  rake (>= 0.8.7)
71
73
  thor (>= 0.18.1, < 2.0)
72
- rake (13.0.1)
74
+ rake (13.0.6)
73
75
  rspec (3.9.0)
74
76
  rspec-core (~> 3.9.0)
75
77
  rspec-expectations (~> 3.9.0)
76
78
  rspec-mocks (~> 3.9.0)
77
- rspec-core (3.9.1)
78
- rspec-support (~> 3.9.1)
79
- rspec-expectations (3.9.0)
79
+ rspec-core (3.9.3)
80
+ rspec-support (~> 3.9.3)
81
+ rspec-expectations (3.9.4)
80
82
  diff-lcs (>= 1.2.0, < 2.0)
81
83
  rspec-support (~> 3.9.0)
82
84
  rspec-mocks (3.9.1)
@@ -90,7 +92,7 @@ GEM
90
92
  rspec-expectations (~> 3.9.0)
91
93
  rspec-mocks (~> 3.9.0)
92
94
  rspec-support (~> 3.9.0)
93
- rspec-support (3.9.2)
95
+ rspec-support (3.9.4)
94
96
  simplecov (0.16.1)
95
97
  docile (~> 1.1)
96
98
  json (>= 1.8, < 3)
@@ -99,11 +101,11 @@ GEM
99
101
  sync (0.5.0)
100
102
  term-ansicolor (1.7.1)
101
103
  tins (~> 1.0)
102
- thor (1.0.1)
104
+ thor (1.2.1)
103
105
  thread_safe (0.3.6)
104
- tins (1.24.1)
106
+ tins (1.31.0)
105
107
  sync
106
- tzinfo (1.2.6)
108
+ tzinfo (1.2.9)
107
109
  thread_safe (~> 0.1)
108
110
 
109
111
  PLATFORMS
@@ -121,4 +123,4 @@ DEPENDENCIES
121
123
  versioncake!
122
124
 
123
125
  BUNDLED WITH
124
- 1.17.2
126
+ 2.2.15
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: ..
3
3
  specs:
4
- versioncake (4.0.2)
4
+ versioncake (4.1.0)
5
5
  actionpack (> 5.0)
6
6
  activesupport (> 5.0)
7
7
  railties (> 5.0)
@@ -10,30 +10,30 @@ PATH
10
10
  GEM
11
11
  remote: https://rubygems.org/
12
12
  specs:
13
- actionpack (5.2.4.1)
14
- actionview (= 5.2.4.1)
15
- activesupport (= 5.2.4.1)
13
+ actionpack (5.2.6)
14
+ actionview (= 5.2.6)
15
+ activesupport (= 5.2.6)
16
16
  rack (~> 2.0, >= 2.0.8)
17
17
  rack-test (>= 0.6.3)
18
18
  rails-dom-testing (~> 2.0)
19
19
  rails-html-sanitizer (~> 1.0, >= 1.0.2)
20
- actionview (5.2.4.1)
21
- activesupport (= 5.2.4.1)
20
+ actionview (5.2.6)
21
+ activesupport (= 5.2.6)
22
22
  builder (~> 3.1)
23
23
  erubi (~> 1.4)
24
24
  rails-dom-testing (~> 2.0)
25
25
  rails-html-sanitizer (~> 1.0, >= 1.0.3)
26
- activesupport (5.2.4.1)
26
+ activesupport (5.2.6)
27
27
  concurrent-ruby (~> 1.0, >= 1.0.2)
28
28
  i18n (>= 0.7, < 2)
29
29
  minitest (~> 5.1)
30
30
  tzinfo (~> 1.1)
31
- appraisal (2.2.0)
31
+ appraisal (2.4.1)
32
32
  bundler
33
33
  rake
34
34
  thor (>= 0.14.0)
35
35
  builder (3.2.4)
36
- concurrent-ruby (1.1.6)
36
+ concurrent-ruby (1.1.9)
37
37
  coveralls (0.8.23)
38
38
  json (>= 1.8, < 3)
39
39
  simplecov (~> 0.16.1)
@@ -41,42 +41,44 @@ GEM
41
41
  thor (>= 0.19.4, < 2.0)
42
42
  tins (~> 1.6)
43
43
  crass (1.0.6)
44
- diff-lcs (1.3)
45
- docile (1.3.2)
46
- erubi (1.9.0)
47
- i18n (1.8.2)
44
+ diff-lcs (1.5.0)
45
+ docile (1.4.0)
46
+ erubi (1.10.0)
47
+ i18n (1.8.11)
48
48
  concurrent-ruby (~> 1.0)
49
- json (2.3.0)
50
- loofah (2.4.0)
49
+ json (2.6.1)
50
+ loofah (2.13.0)
51
51
  crass (~> 1.0.2)
52
52
  nokogiri (>= 1.5.9)
53
- method_source (0.9.2)
54
- mini_portile2 (2.4.0)
55
- minitest (5.14.0)
56
- nokogiri (1.10.9)
57
- mini_portile2 (~> 2.4.0)
58
- rack (2.2.2)
53
+ method_source (1.0.0)
54
+ mini_portile2 (2.7.1)
55
+ minitest (5.15.0)
56
+ nokogiri (1.13.1)
57
+ mini_portile2 (~> 2.7.0)
58
+ racc (~> 1.4)
59
+ racc (1.6.0)
60
+ rack (2.2.3)
59
61
  rack-test (1.1.0)
60
62
  rack (>= 1.0, < 3)
61
63
  rails-dom-testing (2.0.3)
62
64
  activesupport (>= 4.2.0)
63
65
  nokogiri (>= 1.6)
64
- rails-html-sanitizer (1.3.0)
66
+ rails-html-sanitizer (1.4.2)
65
67
  loofah (~> 2.3)
66
- railties (5.2.4.1)
67
- actionpack (= 5.2.4.1)
68
- activesupport (= 5.2.4.1)
68
+ railties (5.2.6)
69
+ actionpack (= 5.2.6)
70
+ activesupport (= 5.2.6)
69
71
  method_source
70
72
  rake (>= 0.8.7)
71
73
  thor (>= 0.19.0, < 2.0)
72
- rake (13.0.1)
74
+ rake (13.0.6)
73
75
  rspec (3.9.0)
74
76
  rspec-core (~> 3.9.0)
75
77
  rspec-expectations (~> 3.9.0)
76
78
  rspec-mocks (~> 3.9.0)
77
- rspec-core (3.9.1)
78
- rspec-support (~> 3.9.1)
79
- rspec-expectations (3.9.0)
79
+ rspec-core (3.9.3)
80
+ rspec-support (~> 3.9.3)
81
+ rspec-expectations (3.9.4)
80
82
  diff-lcs (>= 1.2.0, < 2.0)
81
83
  rspec-support (~> 3.9.0)
82
84
  rspec-mocks (3.9.1)
@@ -90,7 +92,7 @@ GEM
90
92
  rspec-expectations (~> 3.9.0)
91
93
  rspec-mocks (~> 3.9.0)
92
94
  rspec-support (~> 3.9.0)
93
- rspec-support (3.9.2)
95
+ rspec-support (3.9.4)
94
96
  simplecov (0.16.1)
95
97
  docile (~> 1.1)
96
98
  json (>= 1.8, < 3)
@@ -99,11 +101,11 @@ GEM
99
101
  sync (0.5.0)
100
102
  term-ansicolor (1.7.1)
101
103
  tins (~> 1.0)
102
- thor (1.0.1)
104
+ thor (1.2.1)
103
105
  thread_safe (0.3.6)
104
- tins (1.24.1)
106
+ tins (1.31.0)
105
107
  sync
106
- tzinfo (1.2.6)
108
+ tzinfo (1.2.9)
107
109
  thread_safe (~> 0.1)
108
110
 
109
111
  PLATFORMS
@@ -121,4 +123,4 @@ DEPENDENCIES
121
123
  versioncake!
122
124
 
123
125
  BUNDLED WITH
124
- 1.17.2
126
+ 2.2.15
@@ -2,8 +2,8 @@
2
2
 
3
3
  source "https://rubygems.org"
4
4
 
5
- gem "actionpack", "~> 5.2.0"
6
- gem "activesupport", "~> 5.2.0"
7
- gem "railties", "~> 5.2.0"
5
+ gem "actionpack", "~> 6.0.0"
6
+ gem "activesupport", "~> 6.0.0"
7
+ gem "railties", "~> 6.0.0"
8
8
 
9
9
  gemspec path: "../"
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: ..
3
3
  specs:
4
- versioncake (4.0.2)
4
+ versioncake (4.1.0)
5
5
  actionpack (> 5.0)
6
6
  activesupport (> 5.0)
7
7
  railties (> 5.0)
@@ -10,30 +10,31 @@ PATH
10
10
  GEM
11
11
  remote: https://rubygems.org/
12
12
  specs:
13
- actionpack (5.2.4.1)
14
- actionview (= 5.2.4.1)
15
- activesupport (= 5.2.4.1)
13
+ actionpack (6.0.4.4)
14
+ actionview (= 6.0.4.4)
15
+ activesupport (= 6.0.4.4)
16
16
  rack (~> 2.0, >= 2.0.8)
17
17
  rack-test (>= 0.6.3)
18
18
  rails-dom-testing (~> 2.0)
19
- rails-html-sanitizer (~> 1.0, >= 1.0.2)
20
- actionview (5.2.4.1)
21
- activesupport (= 5.2.4.1)
19
+ rails-html-sanitizer (~> 1.0, >= 1.2.0)
20
+ actionview (6.0.4.4)
21
+ activesupport (= 6.0.4.4)
22
22
  builder (~> 3.1)
23
23
  erubi (~> 1.4)
24
24
  rails-dom-testing (~> 2.0)
25
- rails-html-sanitizer (~> 1.0, >= 1.0.3)
26
- activesupport (5.2.4.1)
25
+ rails-html-sanitizer (~> 1.1, >= 1.2.0)
26
+ activesupport (6.0.4.4)
27
27
  concurrent-ruby (~> 1.0, >= 1.0.2)
28
28
  i18n (>= 0.7, < 2)
29
29
  minitest (~> 5.1)
30
30
  tzinfo (~> 1.1)
31
- appraisal (2.2.0)
31
+ zeitwerk (~> 2.2, >= 2.2.2)
32
+ appraisal (2.4.1)
32
33
  bundler
33
34
  rake
34
35
  thor (>= 0.14.0)
35
36
  builder (3.2.4)
36
- concurrent-ruby (1.1.6)
37
+ concurrent-ruby (1.1.9)
37
38
  coveralls (0.8.23)
38
39
  json (>= 1.8, < 3)
39
40
  simplecov (~> 0.16.1)
@@ -41,42 +42,44 @@ GEM
41
42
  thor (>= 0.19.4, < 2.0)
42
43
  tins (~> 1.6)
43
44
  crass (1.0.6)
44
- diff-lcs (1.3)
45
- docile (1.3.2)
46
- erubi (1.9.0)
47
- i18n (1.8.2)
45
+ diff-lcs (1.5.0)
46
+ docile (1.4.0)
47
+ erubi (1.10.0)
48
+ i18n (1.8.11)
48
49
  concurrent-ruby (~> 1.0)
49
- json (2.3.0)
50
- loofah (2.4.0)
50
+ json (2.6.1)
51
+ loofah (2.13.0)
51
52
  crass (~> 1.0.2)
52
53
  nokogiri (>= 1.5.9)
53
- method_source (0.9.2)
54
- mini_portile2 (2.4.0)
55
- minitest (5.14.0)
56
- nokogiri (1.10.9)
57
- mini_portile2 (~> 2.4.0)
58
- rack (2.2.2)
54
+ method_source (1.0.0)
55
+ mini_portile2 (2.7.1)
56
+ minitest (5.15.0)
57
+ nokogiri (1.13.1)
58
+ mini_portile2 (~> 2.7.0)
59
+ racc (~> 1.4)
60
+ racc (1.6.0)
61
+ rack (2.2.3)
59
62
  rack-test (1.1.0)
60
63
  rack (>= 1.0, < 3)
61
64
  rails-dom-testing (2.0.3)
62
65
  activesupport (>= 4.2.0)
63
66
  nokogiri (>= 1.6)
64
- rails-html-sanitizer (1.3.0)
67
+ rails-html-sanitizer (1.4.2)
65
68
  loofah (~> 2.3)
66
- railties (5.2.4.1)
67
- actionpack (= 5.2.4.1)
68
- activesupport (= 5.2.4.1)
69
+ railties (6.0.4.4)
70
+ actionpack (= 6.0.4.4)
71
+ activesupport (= 6.0.4.4)
69
72
  method_source
70
73
  rake (>= 0.8.7)
71
- thor (>= 0.19.0, < 2.0)
72
- rake (13.0.1)
74
+ thor (>= 0.20.3, < 2.0)
75
+ rake (13.0.6)
73
76
  rspec (3.9.0)
74
77
  rspec-core (~> 3.9.0)
75
78
  rspec-expectations (~> 3.9.0)
76
79
  rspec-mocks (~> 3.9.0)
77
- rspec-core (3.9.1)
78
- rspec-support (~> 3.9.1)
79
- rspec-expectations (3.9.0)
80
+ rspec-core (3.9.3)
81
+ rspec-support (~> 3.9.3)
82
+ rspec-expectations (3.9.4)
80
83
  diff-lcs (>= 1.2.0, < 2.0)
81
84
  rspec-support (~> 3.9.0)
82
85
  rspec-mocks (3.9.1)
@@ -90,7 +93,7 @@ GEM
90
93
  rspec-expectations (~> 3.9.0)
91
94
  rspec-mocks (~> 3.9.0)
92
95
  rspec-support (~> 3.9.0)
93
- rspec-support (3.9.2)
96
+ rspec-support (3.9.4)
94
97
  simplecov (0.16.1)
95
98
  docile (~> 1.1)
96
99
  json (>= 1.8, < 3)
@@ -99,26 +102,27 @@ GEM
99
102
  sync (0.5.0)
100
103
  term-ansicolor (1.7.1)
101
104
  tins (~> 1.0)
102
- thor (1.0.1)
105
+ thor (1.2.1)
103
106
  thread_safe (0.3.6)
104
- tins (1.24.1)
107
+ tins (1.31.0)
105
108
  sync
106
- tzinfo (1.2.6)
109
+ tzinfo (1.2.9)
107
110
  thread_safe (~> 0.1)
111
+ zeitwerk (2.5.3)
108
112
 
109
113
  PLATFORMS
110
114
  ruby
111
115
 
112
116
  DEPENDENCIES
113
- actionpack (~> 5.2.0)
114
- activesupport (~> 5.2.0)
117
+ actionpack (~> 6.0.0)
118
+ activesupport (~> 6.0.0)
115
119
  appraisal (~> 2.2)
116
120
  coveralls (~> 0.8)
117
- railties (~> 5.2.0)
121
+ railties (~> 6.0.0)
118
122
  rake (> 12.0)
119
123
  rspec (~> 3.6)
120
124
  rspec-rails (~> 3.6)
121
125
  versioncake!
122
126
 
123
127
  BUNDLED WITH
124
- 1.17.2
128
+ 2.2.15