rapporteur 3.7.0 → 3.7.1

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: 3db69d5d73dbfafab08c22edd81d3820e56fed93d28432b53fa7be3887cc406c
4
- data.tar.gz: 0aa510c74dafa83f2134ffe676f2890ae3f86c94952511d201a65704fabcadbc
3
+ metadata.gz: 13df72850687b6ffa72963ce159ff997d179474286830ad88310b2b07814d6dd
4
+ data.tar.gz: ae411b54da99569ee45f64ae7bf2dc93fa3c8a7e9a2716d3f164bec0eb9f60b3
5
5
  SHA512:
6
- metadata.gz: af872ea5073a9cb0f80d915e73ba6f36dd5d68acc9c143717a1f7f3d259d974b79852060850e84398c9bfb67e306de97b95702bae0501244974a2b0f54ff66eb
7
- data.tar.gz: 713bd749716b99c5d1a9eeb53bba570564acffc6b7933adf7006b2f6c20d5671925aeb1be7b8efc6099749d6c5db49942a352a8164878335d2556bcb3f887de0
6
+ metadata.gz: 72f94494414402a9ef91a9951d8d9b7107e0123c0fcb65acfa72ad053ad1f5fce83f2d3874a7853e4d106ca38b91a2c9b90d05eea1372c364e2fdcdbeff29585
7
+ data.tar.gz: bb4e61342c23fa507f7900aeefd9be487c2257979ea48a31d556ebe299b32df2c9e87e3c623e9e0fd72de9b843e4d9e457c7093f7352f0ed58d8efe72389fbb1
@@ -20,9 +20,6 @@ Layout/EmptyLinesAroundAccessModifier:
20
20
  Layout/EndOfLine:
21
21
  EnforcedStyle: "lf"
22
22
 
23
- Layout/HeredocIndentation:
24
- EnforcedStyle: "squiggly"
25
-
26
23
  Layout/IndentationConsistency:
27
24
  EnforcedStyle: "normal"
28
25
 
@@ -2,54 +2,50 @@
2
2
 
3
3
  before_install:
4
4
  - "gem install bundler -v 2.1.3"
5
- install:
6
- - "bundle install --jobs=3 --retry=3 --path=${BUNDLE_PATH:-vendor/bundle}"
7
5
  branches:
8
6
  only:
9
7
  - "master"
10
8
  - '/^v\d+\.\d+\.\d+/'
11
9
  cache:
12
10
  bundler: true
13
- dist: "xenial"
11
+ dist: "bionic"
12
+ install:
13
+ - "bundle install --jobs=3 --retry=3 --path=${BUNDLE_PATH:-vendor/bundle}"
14
14
  jobs:
15
15
  fail_fast: true
16
16
  include:
17
- - rvm: "2.7.0"
17
+ - rvm: "2.7.1"
18
18
  stage: "Test"
19
19
 
20
20
  - gemfile: "gemfiles/rails_latest.gemfile"
21
- rvm: "2.7.0"
21
+ rvm: "2.7.1"
22
22
  stage: "Latest Rails Release"
23
23
  - gemfile: "gemfiles/rails_latest.gemfile"
24
- rvm: "2.6.5"
24
+ rvm: "2.6.6"
25
25
  - gemfile: "gemfiles/rails_latest.gemfile"
26
- rvm: "2.5.7"
26
+ rvm: "2.5.8"
27
27
 
28
28
  - gemfile: "gemfiles/rails6.0.gemfile"
29
- rvm: "2.7.0"
29
+ rvm: "2.7.1"
30
30
  stage: "Additinal Rails Tests"
31
31
  - gemfile: "gemfiles/rails6.0.gemfile"
32
- rvm: "2.6.5"
32
+ rvm: "2.6.6"
33
33
  - gemfile: "gemfiles/rails6.0.gemfile"
34
- rvm: "2.5.7"
35
- - gemfile: "gemfiles/rails5.2.gemfile"
36
- rvm: "2.7.0"
34
+ rvm: "2.5.8"
37
35
  - gemfile: "gemfiles/rails5.2.gemfile"
38
- rvm: "2.6.5"
36
+ rvm: "2.7.1"
39
37
  - gemfile: "gemfiles/rails5.2.gemfile"
40
- rvm: "2.5.7"
38
+ rvm: "2.6.6"
41
39
  - gemfile: "gemfiles/rails5.2.gemfile"
42
- rvm: "2.4.9"
40
+ rvm: "2.5.8"
43
41
 
44
42
  - gemfile: "gemfiles/sinatra2.x.gemfile"
45
- rvm: "2.7.0"
43
+ rvm: "2.7.1"
46
44
  stage: "Sinatra 2.x Release"
47
45
  - gemfile: "gemfiles/sinatra2.x.gemfile"
48
- rvm: "2.6.5"
49
- - gemfile: "gemfiles/sinatra2.x.gemfile"
50
- rvm: "2.5.7"
46
+ rvm: "2.6.6"
51
47
  - gemfile: "gemfiles/sinatra2.x.gemfile"
52
- rvm: "2.4.9"
48
+ rvm: "2.5.8"
53
49
  language: "ruby"
54
50
  notifications:
55
51
  email: false
@@ -9,6 +9,10 @@
9
9
 
10
10
  * No significant changes.
11
11
 
12
+ ## [3.7.1][] / 2020-09-25
13
+
14
+ * Fix a Ruby 2.7 keyword argument deprecation warning in MessageList.
15
+
12
16
  ## [3.7.0][] / 2020-01-02
13
17
 
14
18
  * Add and test support for Rails 6.0. This also drops explicit testing of Rails
@@ -193,4 +197,5 @@
193
197
  [3.6.3]: https://github.com/envylabs/rapporteur/compare/v3.6.2...v3.6.3
194
198
  [3.6.4]: https://github.com/envylabs/rapporteur/compare/v3.6.3...v3.6.4
195
199
  [3.7.0]: https://github.com/envylabs/rapporteur/compare/v3.6.4...v3.7.0
196
- [HEAD]: https://github.com/envylabs/rapporteur/compare/v3.7.0...master
200
+ [3.7.1]: https://github.com/envylabs/rapporteur/compare/v3.7.0...v3.7.1
201
+ [HEAD]: https://github.com/envylabs/rapporteur/compare/v3.7.1...master
@@ -1,185 +1,191 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- rapporteur (3.7.0)
4
+ rapporteur (3.7.1)
5
5
  i18n (>= 0.6, < 2)
6
6
 
7
7
  GEM
8
8
  remote: https://rubygems.org/
9
9
  specs:
10
- actioncable (6.0.2.1)
11
- actionpack (= 6.0.2.1)
10
+ actioncable (6.0.3.3)
11
+ actionpack (= 6.0.3.3)
12
12
  nio4r (~> 2.0)
13
13
  websocket-driver (>= 0.6.1)
14
- actionmailbox (6.0.2.1)
15
- actionpack (= 6.0.2.1)
16
- activejob (= 6.0.2.1)
17
- activerecord (= 6.0.2.1)
18
- activestorage (= 6.0.2.1)
19
- activesupport (= 6.0.2.1)
14
+ actionmailbox (6.0.3.3)
15
+ actionpack (= 6.0.3.3)
16
+ activejob (= 6.0.3.3)
17
+ activerecord (= 6.0.3.3)
18
+ activestorage (= 6.0.3.3)
19
+ activesupport (= 6.0.3.3)
20
20
  mail (>= 2.7.1)
21
- actionmailer (6.0.2.1)
22
- actionpack (= 6.0.2.1)
23
- actionview (= 6.0.2.1)
24
- activejob (= 6.0.2.1)
21
+ actionmailer (6.0.3.3)
22
+ actionpack (= 6.0.3.3)
23
+ actionview (= 6.0.3.3)
24
+ activejob (= 6.0.3.3)
25
25
  mail (~> 2.5, >= 2.5.4)
26
26
  rails-dom-testing (~> 2.0)
27
- actionpack (6.0.2.1)
28
- actionview (= 6.0.2.1)
29
- activesupport (= 6.0.2.1)
27
+ actionpack (6.0.3.3)
28
+ actionview (= 6.0.3.3)
29
+ activesupport (= 6.0.3.3)
30
30
  rack (~> 2.0, >= 2.0.8)
31
31
  rack-test (>= 0.6.3)
32
32
  rails-dom-testing (~> 2.0)
33
33
  rails-html-sanitizer (~> 1.0, >= 1.2.0)
34
- actiontext (6.0.2.1)
35
- actionpack (= 6.0.2.1)
36
- activerecord (= 6.0.2.1)
37
- activestorage (= 6.0.2.1)
38
- activesupport (= 6.0.2.1)
34
+ actiontext (6.0.3.3)
35
+ actionpack (= 6.0.3.3)
36
+ activerecord (= 6.0.3.3)
37
+ activestorage (= 6.0.3.3)
38
+ activesupport (= 6.0.3.3)
39
39
  nokogiri (>= 1.8.5)
40
- actionview (6.0.2.1)
41
- activesupport (= 6.0.2.1)
40
+ actionview (6.0.3.3)
41
+ activesupport (= 6.0.3.3)
42
42
  builder (~> 3.1)
43
43
  erubi (~> 1.4)
44
44
  rails-dom-testing (~> 2.0)
45
45
  rails-html-sanitizer (~> 1.1, >= 1.2.0)
46
- activejob (6.0.2.1)
47
- activesupport (= 6.0.2.1)
46
+ activejob (6.0.3.3)
47
+ activesupport (= 6.0.3.3)
48
48
  globalid (>= 0.3.6)
49
- activemodel (6.0.2.1)
50
- activesupport (= 6.0.2.1)
51
- activerecord (6.0.2.1)
52
- activemodel (= 6.0.2.1)
53
- activesupport (= 6.0.2.1)
54
- activerecord-jdbc-adapter (60.1-java)
49
+ activemodel (6.0.3.3)
50
+ activesupport (= 6.0.3.3)
51
+ activerecord (6.0.3.3)
52
+ activemodel (= 6.0.3.3)
53
+ activesupport (= 6.0.3.3)
54
+ activerecord-jdbc-adapter (60.2-java)
55
55
  activerecord (~> 6.0.0)
56
- activerecord-jdbcsqlite3-adapter (60.1-java)
57
- activerecord-jdbc-adapter (= 60.1)
56
+ activerecord-jdbcsqlite3-adapter (60.2-java)
57
+ activerecord-jdbc-adapter (= 60.2)
58
58
  jdbc-sqlite3 (~> 3.8, < 3.30)
59
- activestorage (6.0.2.1)
60
- actionpack (= 6.0.2.1)
61
- activejob (= 6.0.2.1)
62
- activerecord (= 6.0.2.1)
59
+ activestorage (6.0.3.3)
60
+ actionpack (= 6.0.3.3)
61
+ activejob (= 6.0.3.3)
62
+ activerecord (= 6.0.3.3)
63
63
  marcel (~> 0.3.1)
64
- activesupport (6.0.2.1)
64
+ activesupport (6.0.3.3)
65
65
  concurrent-ruby (~> 1.0, >= 1.0.2)
66
66
  i18n (>= 0.7, < 2)
67
67
  minitest (~> 5.1)
68
68
  tzinfo (~> 1.1)
69
- zeitwerk (~> 2.2)
70
- appraisal (2.2.0)
69
+ zeitwerk (~> 2.2, >= 2.2.2)
70
+ appraisal (2.3.0)
71
71
  bundler
72
72
  rake
73
73
  thor (>= 0.14.0)
74
- ast (2.4.0)
74
+ ast (2.4.1)
75
75
  builder (3.2.4)
76
- combustion (1.1.2)
76
+ combustion (1.3.0)
77
77
  activesupport (>= 3.0.0)
78
78
  railties (>= 3.0.0)
79
79
  thor (>= 0.14.6)
80
- concurrent-ruby (1.1.5)
81
- crass (1.0.5)
82
- diff-lcs (1.3)
80
+ concurrent-ruby (1.1.7)
81
+ crass (1.0.6)
82
+ diff-lcs (1.4.4)
83
83
  erubi (1.9.0)
84
84
  globalid (0.4.2)
85
85
  activesupport (>= 4.2.0)
86
- i18n (1.7.0)
86
+ i18n (1.8.5)
87
87
  concurrent-ruby (~> 1.0)
88
- jaro_winkler (1.5.4)
89
- jaro_winkler (1.5.4-java)
90
88
  jdbc-sqlite3 (3.28.0)
91
- loofah (2.4.0)
89
+ loofah (2.7.0)
92
90
  crass (~> 1.0.2)
93
91
  nokogiri (>= 1.5.9)
94
92
  mail (2.7.1)
95
93
  mini_mime (>= 0.1.1)
96
94
  marcel (0.3.3)
97
95
  mimemagic (~> 0.3.2)
98
- method_source (0.9.2)
99
- mimemagic (0.3.3)
96
+ method_source (1.0.0)
97
+ mimemagic (0.3.5)
100
98
  mini_mime (1.0.2)
101
99
  mini_portile2 (2.4.0)
102
- minitest (5.13.0)
103
- nio4r (2.5.2)
104
- nio4r (2.5.2-java)
105
- nokogiri (1.10.7)
100
+ minitest (5.14.2)
101
+ nio4r (2.5.4)
102
+ nio4r (2.5.4-java)
103
+ nokogiri (1.10.10)
106
104
  mini_portile2 (~> 2.4.0)
107
- nokogiri (1.10.7-java)
108
- parallel (1.19.1)
109
- parser (2.7.0.1)
110
- ast (~> 2.4.0)
111
- rack (2.0.8)
105
+ nokogiri (1.10.10-java)
106
+ parallel (1.19.2)
107
+ parser (2.7.1.5)
108
+ ast (~> 2.4.1)
109
+ rack (2.2.3)
112
110
  rack-test (1.1.0)
113
111
  rack (>= 1.0, < 3)
114
- rails (6.0.2.1)
115
- actioncable (= 6.0.2.1)
116
- actionmailbox (= 6.0.2.1)
117
- actionmailer (= 6.0.2.1)
118
- actionpack (= 6.0.2.1)
119
- actiontext (= 6.0.2.1)
120
- actionview (= 6.0.2.1)
121
- activejob (= 6.0.2.1)
122
- activemodel (= 6.0.2.1)
123
- activerecord (= 6.0.2.1)
124
- activestorage (= 6.0.2.1)
125
- activesupport (= 6.0.2.1)
112
+ rails (6.0.3.3)
113
+ actioncable (= 6.0.3.3)
114
+ actionmailbox (= 6.0.3.3)
115
+ actionmailer (= 6.0.3.3)
116
+ actionpack (= 6.0.3.3)
117
+ actiontext (= 6.0.3.3)
118
+ actionview (= 6.0.3.3)
119
+ activejob (= 6.0.3.3)
120
+ activemodel (= 6.0.3.3)
121
+ activerecord (= 6.0.3.3)
122
+ activestorage (= 6.0.3.3)
123
+ activesupport (= 6.0.3.3)
126
124
  bundler (>= 1.3.0)
127
- railties (= 6.0.2.1)
125
+ railties (= 6.0.3.3)
128
126
  sprockets-rails (>= 2.0.0)
129
127
  rails-dom-testing (2.0.3)
130
128
  activesupport (>= 4.2.0)
131
129
  nokogiri (>= 1.6)
132
130
  rails-html-sanitizer (1.3.0)
133
131
  loofah (~> 2.3)
134
- railties (6.0.2.1)
135
- actionpack (= 6.0.2.1)
136
- activesupport (= 6.0.2.1)
132
+ railties (6.0.3.3)
133
+ actionpack (= 6.0.3.3)
134
+ activesupport (= 6.0.3.3)
137
135
  method_source
138
136
  rake (>= 0.8.7)
139
137
  thor (>= 0.20.3, < 2.0)
140
138
  rainbow (3.0.0)
141
139
  rake (13.0.1)
140
+ regexp_parser (1.8.0)
141
+ rexml (3.2.4)
142
142
  rspec-collection_matchers (1.2.0)
143
143
  rspec-expectations (>= 2.99.0.beta1)
144
- rspec-core (3.9.1)
145
- rspec-support (~> 3.9.1)
146
- rspec-expectations (3.9.0)
144
+ rspec-core (3.9.2)
145
+ rspec-support (~> 3.9.3)
146
+ rspec-expectations (3.9.2)
147
147
  diff-lcs (>= 1.2.0, < 2.0)
148
148
  rspec-support (~> 3.9.0)
149
149
  rspec-mocks (3.9.1)
150
150
  diff-lcs (>= 1.2.0, < 2.0)
151
151
  rspec-support (~> 3.9.0)
152
- rspec-rails (3.9.0)
153
- actionpack (>= 3.0)
154
- activesupport (>= 3.0)
155
- railties (>= 3.0)
156
- rspec-core (~> 3.9.0)
157
- rspec-expectations (~> 3.9.0)
158
- rspec-mocks (~> 3.9.0)
159
- rspec-support (~> 3.9.0)
160
- rspec-support (3.9.2)
161
- rubocop (0.78.0)
162
- jaro_winkler (~> 1.5.1)
152
+ rspec-rails (4.0.1)
153
+ actionpack (>= 4.2)
154
+ activesupport (>= 4.2)
155
+ railties (>= 4.2)
156
+ rspec-core (~> 3.9)
157
+ rspec-expectations (~> 3.9)
158
+ rspec-mocks (~> 3.9)
159
+ rspec-support (~> 3.9)
160
+ rspec-support (3.9.3)
161
+ rubocop (0.92.0)
163
162
  parallel (~> 1.10)
164
- parser (>= 2.6)
163
+ parser (>= 2.7.1.5)
165
164
  rainbow (>= 2.2.2, < 4.0)
165
+ regexp_parser (>= 1.7)
166
+ rexml
167
+ rubocop-ast (>= 0.5.0)
166
168
  ruby-progressbar (~> 1.7)
167
- unicode-display_width (>= 1.4.0, < 1.7)
168
- rubocop-performance (1.5.2)
169
- rubocop (>= 0.71.0)
170
- rubocop-rails (2.4.1)
169
+ unicode-display_width (>= 1.4.0, < 2.0)
170
+ rubocop-ast (0.5.0)
171
+ parser (>= 2.7.1.5)
172
+ rubocop-performance (1.8.1)
173
+ rubocop (>= 0.87.0)
174
+ rubocop-ast (>= 0.4.0)
175
+ rubocop-rails (2.8.1)
176
+ activesupport (>= 4.2.0)
171
177
  rack (>= 1.1)
172
- rubocop (>= 0.72.0)
173
- rubocop-rails_config (0.9.0)
174
- railties (>= 3.0)
175
- rubocop (~> 0.77)
178
+ rubocop (>= 0.87.0)
179
+ rubocop-rails_config (0.12.6)
180
+ railties (>= 5.0)
181
+ rubocop (~> 0.82)
176
182
  rubocop-performance (~> 1.3)
177
183
  rubocop-rails (~> 2.0)
178
184
  ruby-progressbar (1.10.1)
179
- sprockets (4.0.0)
185
+ sprockets (4.0.2)
180
186
  concurrent-ruby (~> 1.0)
181
187
  rack (> 1, < 3)
182
- sprockets-rails (3.2.1)
188
+ sprockets-rails (3.2.2)
183
189
  actionpack (>= 4.0)
184
190
  activesupport (>= 4.0)
185
191
  sprockets (>= 3.0.0)
@@ -187,15 +193,15 @@ GEM
187
193
  thor (1.0.1)
188
194
  thread_safe (0.3.6)
189
195
  thread_safe (0.3.6-java)
190
- tzinfo (1.2.6)
196
+ tzinfo (1.2.7)
191
197
  thread_safe (~> 0.1)
192
- unicode-display_width (1.6.0)
193
- websocket-driver (0.7.1)
198
+ unicode-display_width (1.7.0)
199
+ websocket-driver (0.7.3)
194
200
  websocket-extensions (>= 0.1.0)
195
- websocket-driver (0.7.1-java)
201
+ websocket-driver (0.7.3-java)
196
202
  websocket-extensions (>= 0.1.0)
197
- websocket-extensions (0.1.4)
198
- zeitwerk (2.2.2)
203
+ websocket-extensions (0.1.5)
204
+ zeitwerk (2.4.0)
199
205
 
200
206
  PLATFORMS
201
207
  java
@@ -210,10 +216,10 @@ DEPENDENCIES
210
216
  rake (~> 13.0)
211
217
  rapporteur!
212
218
  rspec-collection_matchers (~> 1.0)
213
- rspec-rails (~> 3.2)
214
- rubocop (~> 0.78.0)
215
- rubocop-rails_config (~> 0.9.0)
219
+ rspec-rails (~> 4.0)
220
+ rubocop (~> 0.92.0)
221
+ rubocop-rails_config (~> 0.12.0)
216
222
  sqlite3
217
223
 
218
224
  BUNDLED WITH
219
- 2.1.3
225
+ 2.1.4
data/README.md CHANGED
@@ -48,22 +48,14 @@ $ bundle install
48
48
 
49
49
  ### Supported environments
50
50
 
51
- Supported Ruby versions:
52
-
53
- * MRI 2.7
54
- * MRI 2.6
55
- * MRI 2.5
56
- * MRI 2.4
57
-
58
- Supported frameworks:
59
-
60
- * Rails 6.0.
61
- * Rails 5.2.
62
- * Sinatra 2.x.
63
- * Sinatra 1.x.
64
-
65
- Older versions of Ruby and frameworks may also work with this library, however
66
- they are not officially supported.
51
+ This library follows the maintenance policy of
52
+ [Ruby](https://www.ruby-lang.org/en/downloads/branches/),
53
+ [Ruby on Rails](https://guides.rubyonrails.org/maintenance_policy.html), and
54
+ [Sinatra](https://github.com/sinatra/sinatra/blob/master/MAINTENANCE.md) for
55
+ testing and maintaining these environments.
56
+
57
+ Unsupported versions of Ruby, Ruby on Rails, or Sinatra may also work with this
58
+ library, however they are not officially supported or tested against.
67
59
 
68
60
  ## Usage
69
61
 
@@ -109,9 +109,7 @@ module Rapporteur
109
109
  private
110
110
 
111
111
  def generate_message(key, type, i18n_options)
112
- I18n.translate(type,
113
- i18n_options.merge(default: [type, type.to_s],
114
- scope: [:rapporteur, @list_type, key]))
112
+ I18n.translate(type, **i18n_options.merge(default: [type, type.to_s], scope: [:rapporteur, @list_type, key]))
115
113
  end
116
114
 
117
115
  def normalize_message(attribute, message, i18n_options)
@@ -14,12 +14,8 @@ shared_examples_for 'a successful status response' do
14
14
  expect(response.media_type).to(eq(Mime[:json]))
15
15
  end
16
16
 
17
- it 'does not contain an ETag header' do
18
- expect(response.headers).not_to have_key('ETag')
19
- end
20
-
21
17
  it 'contains a Cache-Control header which disables client caching' do
22
- expect(response.headers.fetch('Cache-Control')).to eq('no-cache')
18
+ expect(response.headers.fetch('Cache-Control')).to include('no-cache')
23
19
  end
24
20
  end
25
21
 
@@ -42,12 +38,8 @@ shared_examples_for 'an erred status response' do
42
38
  expect(response.media_type).to(eq(Mime[:json]))
43
39
  end
44
40
 
45
- it 'does not contain an ETag header' do
46
- expect(response.headers).not_to have_key('ETag')
47
- end
48
-
49
41
  it 'contains a Cache-Control header which disables client caching' do
50
- expect(response.headers.fetch('Cache-Control')).to eq('no-cache')
42
+ expect(response.headers.fetch('Cache-Control')).to include('no-cache')
51
43
  end
52
44
  end
53
45
 
@@ -14,12 +14,8 @@ shared_examples_for 'a successful status response' do
14
14
  expect(response.media_type).to(eq(Mime[:json]))
15
15
  end
16
16
 
17
- it 'does not contain an ETag header' do
18
- expect(response.headers).not_to have_key('ETag')
19
- end
20
-
21
17
  it 'contains a Cache-Control header which disables client caching' do
22
- expect(response.headers.fetch('Cache-Control')).to eq('no-cache')
18
+ expect(response.headers.fetch('Cache-Control')).to include('no-cache')
23
19
  end
24
20
  end
25
21
 
@@ -42,12 +38,8 @@ shared_examples_for 'an erred status response' do
42
38
  expect(response.media_type).to(eq(Mime[:json]))
43
39
  end
44
40
 
45
- it 'does not contain an ETag header' do
46
- expect(response.headers).not_to have_key('ETag')
47
- end
48
-
49
41
  it 'contains a Cache-Control header which disables client caching' do
50
- expect(response.headers.fetch('Cache-Control')).to eq('no-cache')
42
+ expect(response.headers.fetch('Cache-Control')).to include('no-cache')
51
43
  end
52
44
  end
53
45
 
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Rapporteur
4
- VERSION = '3.7.0'
4
+ VERSION = '3.7.1'
5
5
  end
@@ -31,7 +31,7 @@ Gem::Specification.new do |spec|
31
31
  spec.add_development_dependency 'rails', '>= 3.1', '< 7'
32
32
  spec.add_development_dependency 'rake', '~> 13.0'
33
33
  spec.add_development_dependency 'rspec-collection_matchers', '~> 1.0'
34
- spec.add_development_dependency 'rspec-rails', '~> 3.2'
35
- spec.add_development_dependency 'rubocop', '~> 0.78.0'
36
- spec.add_development_dependency 'rubocop-rails_config', '~> 0.9.0'
34
+ spec.add_development_dependency 'rspec-rails', '~> 4.0'
35
+ spec.add_development_dependency 'rubocop', '~> 0.92.0'
36
+ spec.add_development_dependency 'rubocop-rails_config', '~> 0.12.0'
37
37
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rapporteur
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.7.0
4
+ version: 3.7.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Envy Labs
8
- autorequire:
8
+ autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2020-01-02 00:00:00.000000000 Z
11
+ date: 2020-09-25 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: i18n
@@ -126,42 +126,42 @@ dependencies:
126
126
  requirements:
127
127
  - - "~>"
128
128
  - !ruby/object:Gem::Version
129
- version: '3.2'
129
+ version: '4.0'
130
130
  type: :development
131
131
  prerelease: false
132
132
  version_requirements: !ruby/object:Gem::Requirement
133
133
  requirements:
134
134
  - - "~>"
135
135
  - !ruby/object:Gem::Version
136
- version: '3.2'
136
+ version: '4.0'
137
137
  - !ruby/object:Gem::Dependency
138
138
  name: rubocop
139
139
  requirement: !ruby/object:Gem::Requirement
140
140
  requirements:
141
141
  - - "~>"
142
142
  - !ruby/object:Gem::Version
143
- version: 0.78.0
143
+ version: 0.92.0
144
144
  type: :development
145
145
  prerelease: false
146
146
  version_requirements: !ruby/object:Gem::Requirement
147
147
  requirements:
148
148
  - - "~>"
149
149
  - !ruby/object:Gem::Version
150
- version: 0.78.0
150
+ version: 0.92.0
151
151
  - !ruby/object:Gem::Dependency
152
152
  name: rubocop-rails_config
153
153
  requirement: !ruby/object:Gem::Requirement
154
154
  requirements:
155
155
  - - "~>"
156
156
  - !ruby/object:Gem::Version
157
- version: 0.9.0
157
+ version: 0.12.0
158
158
  type: :development
159
159
  prerelease: false
160
160
  version_requirements: !ruby/object:Gem::Requirement
161
161
  requirements:
162
162
  - - "~>"
163
163
  - !ruby/object:Gem::Version
164
- version: 0.9.0
164
+ version: 0.12.0
165
165
  description: An engine that provides common status polling endpoint.
166
166
  email:
167
167
  - ''
@@ -211,7 +211,7 @@ licenses:
211
211
  metadata:
212
212
  source_code_uri: https://github.com/envylabs/rapporteur
213
213
  changelog_uri: https://github.com/envylabs/rapporteur/blob/master/CHANGELOG.md
214
- post_install_message:
214
+ post_install_message:
215
215
  rdoc_options: []
216
216
  require_paths:
217
217
  - lib
@@ -226,8 +226,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
226
226
  - !ruby/object:Gem::Version
227
227
  version: '0'
228
228
  requirements: []
229
- rubygems_version: 3.1.2
230
- signing_key:
229
+ rubygems_version: 3.1.4
230
+ signing_key:
231
231
  specification_version: 4
232
232
  summary: An engine that provides common status polling endpoint.
233
233
  test_files: []