meta-tags 2.12.0 → 2.16.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- checksums.yaml.gz.sig +0 -0
- data/CHANGELOG.md +140 -77
- data/CONTRIBUTING.md +6 -6
- data/Gemfile +6 -3
- data/README.md +86 -58
- data/Rakefile +31 -0
- data/Steepfile +13 -0
- data/certs/kpumuk.pem +9 -9
- data/lib/meta_tags/configuration.rb +7 -0
- data/lib/meta_tags/controller_helper.rb +3 -3
- data/lib/meta_tags/meta_tags_collection.rb +10 -3
- data/lib/meta_tags/railtie.rb +17 -0
- data/lib/meta_tags/renderer.rb +37 -10
- data/lib/meta_tags/tag.rb +1 -1
- data/lib/meta_tags/text_normalizer.rb +28 -23
- data/lib/meta_tags/version.rb +1 -1
- data/lib/meta_tags/view_helper.rb +4 -6
- data/lib/meta_tags.rb +1 -6
- data/meta-tags.gemspec +14 -4
- data/sig/lib/_rails.rbs +26 -0
- data/sig/lib/meta_tags/configuration.rbs +19 -0
- data/sig/lib/meta_tags/content_tag.rbs +5 -0
- data/sig/lib/meta_tags/controller_helper.rbs +13 -0
- data/sig/lib/meta_tags/meta_tags_collection.rbs +41 -0
- data/sig/lib/meta_tags/renderer.rbs +50 -0
- data/sig/lib/meta_tags/tag.rbs +12 -0
- data/sig/lib/meta_tags/text_normalizer.rbs +36 -0
- data/sig/lib/meta_tags/version.rbs +4 -0
- data/sig/lib/meta_tags/view_helper.rbs +55 -0
- data/sig/lib/meta_tags.rbs +16 -0
- data.tar.gz.sig +0 -0
- metadata +62 -24
- metadata.gz.sig +0 -0
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 49694826540a1943557eb3ae5fa74f5405ad2649c300806ec1064e48842e99f4
|
4
|
+
data.tar.gz: 7687408b49c8791b2386152a50d8760f7f9b533ed4e222fa1c8588cb49f7c7d4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1bef5f94ed23181efe26b22f498e6162059c6454676f20244cf8f0f62664fe87e10d5aa00a0e16e69ee8e3326f4f368ac008ad6c3d3a4d81b4f19f7fa9925c44
|
7
|
+
data.tar.gz: 3474171a2614d3064d90a10e4760e20b837f3c57acf253e907de990165e141a9cd0eb3f2b0baa0f1ffb04454e86abc3f713cca0f564e004b030825277f6cf161
|
checksums.yaml.gz.sig
CHANGED
Binary file
|
data/CHANGELOG.md
CHANGED
@@ -1,252 +1,315 @@
|
|
1
|
+
# Changelog
|
2
|
+
|
3
|
+
## 2.16.0 (September 24, 2021) [☰](https://github.com/kpumuk/meta-tags/compare/v2.15.0...v2.16.0)
|
4
|
+
|
5
|
+
Changes:
|
6
|
+
|
7
|
+
- Updated maximum dependency specified in gemspec (Getting Ready for Rails 7)
|
8
|
+
- Added RBS type definitions.
|
9
|
+
|
10
|
+
## 2.15.0 (August 2, 2021) [☰](https://github.com/kpumuk/meta-tags/compare/v2.14.0...v2.15.0)
|
11
|
+
|
12
|
+
Changes:
|
13
|
+
|
14
|
+
- Added Ruby 3.0 to supported versions
|
15
|
+
- Ruby 2.5 is now a required minimum version (we dropped official support for Ruby versions older than 2.5 about 8 months ago)
|
16
|
+
- Added `skip_canonical_links_on_noindex` configuration variable that allows to disable canonical links of the pages that are excluded from indexing ([214](https://github.com/kpumuk/meta-tags/pull/214))
|
17
|
+
- Added support for `itemprop` in `_` tag for custom tags ([203](https://github.com/kpumuk/meta-tags/pull/203))
|
18
|
+
|
19
|
+
Bugfixes:
|
20
|
+
|
21
|
+
- Fixed error "can't modify frozen String" in `strip_tags`.
|
22
|
+
- Fixed Ruby warning about an instance variable that is not initialized.
|
23
|
+
|
24
|
+
## 2.14.0 (December 10, 2020) [☰](https://github.com/kpumuk/meta-tags/compare/v2.13.0...v2.14.0)
|
25
|
+
|
26
|
+
Changes:
|
27
|
+
|
28
|
+
- Dropped official support for Rails older than 5.1 and Ruby older than 2.5 (both reached their End of Life)
|
29
|
+
- Added support for Rails 6.1
|
30
|
+
|
31
|
+
Bugfixes:
|
32
|
+
|
33
|
+
- Fixed Rails 6 deprecation warning.
|
34
|
+
|
35
|
+
## 2.13.0 (October 10, 2019) [☰](https://github.com/kpumuk/meta-tags/compare/v2.12.0...v2.13.0)
|
36
|
+
|
37
|
+
Bugfixes:
|
38
|
+
|
39
|
+
- Fixed Rails 6 deprecation warning.
|
40
|
+
|
1
41
|
## 2.12.0 (September 10, 2019) [☰](https://github.com/kpumuk/meta-tags/compare/v2.11.1...v2.12.0)
|
2
42
|
|
3
43
|
Features:
|
4
|
-
|
5
|
-
|
44
|
+
|
45
|
+
- Indexing directives (`noindex`, `nofollow`, etc. now support an array of robot names as a value).
|
46
|
+
- Added support for `link[rel='manifest']` ([199](https://github.com/kpumuk/meta-tags/pull/199))
|
6
47
|
|
7
48
|
Bugfixes:
|
8
|
-
|
49
|
+
|
50
|
+
- When `noindex` uses "robots" as a value, `nofollow` ignores a custom robot name, and switches to "robots" as well
|
9
51
|
|
10
52
|
## 2.11.1 (January 19, 2019) [☰](https://github.com/kpumuk/meta-tags/compare/v2.11.0...v2.11.1)
|
11
53
|
|
12
54
|
Features:
|
13
|
-
|
55
|
+
|
56
|
+
- Rails 6 is officially supported.
|
14
57
|
|
15
58
|
## 2.11.0 (November 16, 2018) [☰](https://github.com/kpumuk/meta-tags/compare/v2.10.0...v2.11.0)
|
16
59
|
|
17
60
|
Features:
|
18
|
-
|
19
|
-
|
61
|
+
|
62
|
+
- Added a configuration option `minify_output` to remove new line characters between meta tags ([182](https://github.com/kpumuk/meta-tags/pull/182))
|
63
|
+
- Title, description, and keywords can be an object responding to `#to_str` ([183](https://github.com/kpumuk/meta-tags/pull/183))
|
20
64
|
|
21
65
|
Bugfixes:
|
22
|
-
|
66
|
+
|
67
|
+
- Truncate title before escaping HTML characters ([180](https://github.com/kpumuk/meta-tags/pull/180))
|
23
68
|
|
24
69
|
## 2.10.0 (June 8, 2018) [☰](https://github.com/kpumuk/meta-tags/compare/v2.9.0...v2.10.0)
|
25
70
|
|
26
71
|
Features:
|
27
|
-
|
72
|
+
|
73
|
+
- Allow `MetaTagsCollection#update` to receive an object ([169](https://github.com/kpumuk/meta-tags/pull/169))
|
28
74
|
|
29
75
|
## 2.9.0 (March 29, 2018) [☰](https://github.com/kpumuk/meta-tags/compare/v2.8.0...v2.9.0)
|
30
76
|
|
31
77
|
Features:
|
32
|
-
|
78
|
+
|
79
|
+
- Added ability to add `index` robots meta tag (thanks to @rafallo)
|
33
80
|
|
34
81
|
## 2.8.0 (February 28, 2018) [☰](https://github.com/kpumuk/meta-tags/compare/v2.7.1...v2.8.0)
|
35
82
|
|
36
83
|
Features:
|
37
|
-
|
84
|
+
|
85
|
+
- Added noarchive support.
|
38
86
|
|
39
87
|
Changes:
|
40
|
-
|
88
|
+
|
89
|
+
- Updated default description size to 300 as a new recommended truncation limit.
|
41
90
|
|
42
91
|
## 2.7.1 (February 1, 2018) [☰](https://github.com/kpumuk/meta-tags/compare/v2.7.0...v2.7.1)
|
43
92
|
|
44
93
|
Changes:
|
45
|
-
|
94
|
+
|
95
|
+
- Properly generate Open Graph meta tags for object types that fail to provide a proper scope (e.g. `restaurant:contact_info` metadata for `restaurant:restaurant` object type).
|
46
96
|
|
47
97
|
Bugfixes:
|
48
|
-
|
98
|
+
|
99
|
+
- Description truncated to empty string and removed from meta tags when limit is set to `0` (while documentation suggests we should remove limits in this case).
|
49
100
|
|
50
101
|
## 2.7.0 (November 22, 2017) [☰](https://github.com/kpumuk/meta-tags/compare/v2.6.0...v2.7.0)
|
51
102
|
|
52
103
|
Changes:
|
53
|
-
|
104
|
+
|
105
|
+
- Generate open meta tags (`<meta ... >`) instead of closed meta tags (`<meta ... />`) by default, which is . Added a new option to switch back to self-closing meta tags, which are valid in HTML5, but unnecessary.
|
54
106
|
|
55
107
|
## 2.6.0 (August 24, 2017) [☰](https://github.com/kpumuk/meta-tags/compare/v2.5.0...v2.6.0)
|
56
108
|
|
57
109
|
Features:
|
58
|
-
|
59
|
-
|
60
|
-
|
61
|
-
|
110
|
+
|
111
|
+
- Optionally avoid downcasing keywords
|
112
|
+
- Added Rails generator to create an initializer with the default settings.
|
113
|
+
- Added a configuration option `truncate_site_title_first` which enables site title truncation when title limit is reached.
|
114
|
+
- When `Time`, `Date`, or `DateTime` passed as a meta tag value, it will be formatted according to ISO 8601.
|
62
115
|
|
63
116
|
Bugfixes:
|
64
|
-
|
65
|
-
|
117
|
+
|
118
|
+
- When title limit reached with `reverse` set to `true`, properly truncate the last item of the title array instead of the first one.
|
119
|
+
- Do not merge title and site title for OpenGraph, site title is available for reference as `:site`, and full title as `:full_title`.
|
66
120
|
|
67
121
|
Changes:
|
68
|
-
|
122
|
+
|
123
|
+
- Removed Google "author" and "publisher" links, as Google deprecated these options (https://support.google.com/webmasters/answer/6083347?hl=en)
|
69
124
|
|
70
125
|
## 2.5.0 (August 23, 2017) [☰](https://github.com/kpumuk/meta-tags/compare/v2.4.1...v2.5.0)
|
71
126
|
|
72
127
|
Features:
|
73
|
-
|
128
|
+
|
129
|
+
- Fully support [Open Graph objects](https://developers.facebook.com/docs/reference/opengraph) meta tags.
|
74
130
|
|
75
131
|
Changes:
|
76
|
-
|
132
|
+
|
133
|
+
- Dropped official support for Rails older than 4.2 and Ruby older than 2.2 (both reached their End of Life)
|
77
134
|
|
78
135
|
## 2.4.1 (May 15, 2017) [☰](https://github.com/kpumuk/meta-tags/compare/v2.4.0...v2.4.1)
|
79
136
|
|
80
137
|
Features:
|
81
|
-
|
138
|
+
|
139
|
+
- Rails 5.1 support added
|
82
140
|
|
83
141
|
## 2.4.0 (December 8, 2016) [☰](https://github.com/kpumuk/meta-tags/compare/v2.3.1...v2.4.0)
|
84
142
|
|
85
143
|
Features:
|
86
|
-
|
144
|
+
|
145
|
+
- Added amphtml links support
|
87
146
|
|
88
147
|
Bugfixes:
|
89
|
-
|
148
|
+
|
149
|
+
- Fixed `place` attribute meta tag generation
|
90
150
|
|
91
151
|
## 2.3.1 (September 13, 2016) [☰](https://github.com/kpumuk/meta-tags/compare/v2.2.0...v2.3.1)
|
92
152
|
|
93
153
|
Changes:
|
94
|
-
|
154
|
+
|
155
|
+
- Added follow meta tag support
|
95
156
|
|
96
157
|
Features:
|
97
|
-
|
158
|
+
|
159
|
+
- Added support for article meta tags
|
98
160
|
|
99
161
|
## 2.2.0 (August 24, 2016) [☰](https://github.com/kpumuk/meta-tags/compare/v2.1.0...v2.2.0)
|
100
162
|
|
101
163
|
Changes:
|
102
164
|
|
103
|
-
|
165
|
+
- Rails < 3.2 is not longer supported
|
104
166
|
|
105
167
|
Features:
|
106
168
|
|
107
|
-
|
108
|
-
|
109
|
-
|
169
|
+
- Added support for `<link rel="image_src" href="...">` tag
|
170
|
+
- Added support for App Links
|
171
|
+
- Added support for `follow` meta tag
|
110
172
|
|
111
173
|
Bugfixes:
|
112
174
|
|
113
|
-
|
114
|
-
|
115
|
-
|
116
|
-
|
175
|
+
- Fixed double escaping for ampersands (thanks to @srecnig)
|
176
|
+
- Removed usage of `alias_method_chain` to fix deprecation warnings with Rails 5
|
177
|
+
- Fixed the issue when title was truncated in some cases, when site_title was blank
|
178
|
+
- Fixed meta tag attributes for `fb:` meta tags
|
117
179
|
|
118
180
|
## 2.1.0 (October 6, 2015) [☰](https://github.com/kpumuk/meta-tags/compare/v2.0.0...v2.1.0)
|
119
181
|
|
120
182
|
Changes:
|
121
183
|
|
122
|
-
|
184
|
+
- Ruby < 2.0 is not longer supported
|
123
185
|
|
124
186
|
Features:
|
125
187
|
|
126
|
-
|
127
|
-
|
128
|
-
|
129
|
-
|
130
|
-
|
188
|
+
- Added charset meta tag
|
189
|
+
- Added ability to configure limits for title, description, keywords
|
190
|
+
- Added OpenSearch links support
|
191
|
+
- Added icon links support
|
192
|
+
- Alternate links can now be generated for RSS or mobile versions
|
131
193
|
|
132
194
|
Bugfixes
|
133
|
-
|
134
|
-
|
195
|
+
|
196
|
+
- Generate `<meta name=""/>` instead of `<meta property=""/>` for custom meta tags
|
197
|
+
- Double HTML escaping in meta tags
|
135
198
|
|
136
199
|
## 2.0.0 (April 15, 2014) [☰](https://github.com/kpumuk/meta-tags/compare/v1.6.0...v2.0.0)
|
137
200
|
|
138
201
|
Features:
|
139
202
|
|
140
|
-
|
203
|
+
- Fully refactored code base.
|
141
204
|
|
142
205
|
Bugfixes:
|
143
206
|
|
144
|
-
|
207
|
+
- Symlink references in nested hashes include use normalized meta tag values.
|
145
208
|
|
146
209
|
## 1.6.0 (April 14, 2014) [☰](https://github.com/kpumuk/meta-tags/compare/v1.5.0...v1.6.0)
|
147
210
|
|
148
211
|
Features:
|
149
212
|
|
150
|
-
|
151
|
-
|
152
|
-
|
213
|
+
- Added "alternate" links support
|
214
|
+
- Added Google "author" and "publisher" links
|
215
|
+
- Implemented mirrored values inside namespaces declared as hashes
|
153
216
|
|
154
217
|
Breaking changes:
|
155
218
|
|
156
|
-
|
219
|
+
- Removed support of Rails older than 3.0.0 due to the bug in `Hash#deep_merge` (does not support `HashWithIndifferentAccess`)
|
157
220
|
|
158
221
|
## 1.5.0 (May 7, 2013) [☰](https://github.com/kpumuk/meta-tags/compare/v1.4.1...v1.5.0)
|
159
222
|
|
160
223
|
Features:
|
161
224
|
|
162
|
-
|
163
|
-
|
225
|
+
- Added "prev" and "next" links support
|
226
|
+
- Added refresh meta tag support
|
164
227
|
|
165
228
|
## 1.4.1 (March 14, 2013) [☰](https://github.com/kpumuk/meta-tags/compare/v1.4.0...v1.4.1)
|
166
229
|
|
167
230
|
Bugfixes:
|
168
231
|
|
169
|
-
|
232
|
+
- Added support for Hash inside of an Array
|
170
233
|
|
171
234
|
## 1.4.0 (March 14, 2013) [☰](https://github.com/kpumuk/meta-tags/compare/v1.3.0...v1.4.0)
|
172
235
|
|
173
236
|
Features:
|
174
237
|
|
175
|
-
|
238
|
+
- Added support of custom meta tags
|
176
239
|
|
177
240
|
## 1.3.0 (February 13, 2013) [☰](https://github.com/kpumuk/meta-tags/compare/v1.2.6...v1.3.0)
|
178
241
|
|
179
242
|
Features:
|
180
243
|
|
181
|
-
|
182
|
-
|
183
|
-
|
244
|
+
- Added Hash and Array as possible contents for the meta tags. Check README for details
|
245
|
+
- Added support of string meta tag names
|
246
|
+
- Allow to disable noindex and nofollow using `false` as a value
|
184
247
|
|
185
248
|
Bugfixes:
|
186
249
|
|
187
|
-
|
188
|
-
|
250
|
+
- Do not display title HTML tag when title is blank
|
251
|
+
- Do not display OpenGraph tags when content is empty
|
189
252
|
|
190
253
|
## 1.2.6 (March 4, 2012) [☰](https://github.com/kpumuk/meta-tags/compare/v1.2.5...v1.2.6)
|
191
254
|
|
192
255
|
Features:
|
193
256
|
|
194
|
-
|
257
|
+
- jQuery.pjax support via `display_title` method. Check README for details
|
195
258
|
|
196
259
|
## 1.2.5 (March 3, 2012) [☰](https://github.com/kpumuk/meta-tags/compare/v1.2.4...v1.2.5)
|
197
260
|
|
198
261
|
Bugfixes:
|
199
262
|
|
200
|
-
|
201
|
-
|
202
|
-
|
263
|
+
- Fixed bug with overriding open graph attributes
|
264
|
+
- Fixed incorrect page title when `:site` is is blank
|
265
|
+
- Normalize `:og` attribute to `:open_graph`
|
203
266
|
|
204
267
|
## 1.2.4 (April 26, 2011) [☰](https://github.com/kpumuk/meta-tags/compare/v1.2.3...v1.2.4)
|
205
268
|
|
206
269
|
Features:
|
207
270
|
|
208
|
-
|
271
|
+
- Added support for Open Graph meta tags
|
209
272
|
|
210
273
|
Bugfixes:
|
211
274
|
|
212
|
-
|
213
|
-
|
275
|
+
- Fixed bug with double HTML escaping in title separator
|
276
|
+
- Allow to set meta title without a separator
|
214
277
|
|
215
278
|
## 1.2.2, 1.2.3 (June 10, 2010) [☰](https://github.com/kpumuk/meta-tags/compare/v1.2.1...v1.2.3)
|
216
279
|
|
217
280
|
Bugfixes:
|
218
281
|
|
219
|
-
|
220
|
-
|
282
|
+
- Fixed action_pack integration (welcome back `alias_method_chain`)
|
283
|
+
- Fixed bug when `@page_*` variables did not work
|
221
284
|
|
222
285
|
## 1.2.1 (June 2, 2010) [☰](https://github.com/kpumuk/meta-tags/compare/v1.2.0...v1.2.1)
|
223
286
|
|
224
287
|
Bugfixes:
|
225
288
|
|
226
|
-
|
289
|
+
- Fixed deprecation warning about `html_safe!`
|
227
290
|
|
228
291
|
## 1.2.0 (May 31, 2010) [☰](https://github.com/kpumuk/meta-tags/compare/v1.1.1...v1.2.0)
|
229
292
|
|
230
293
|
Bugfixes:
|
231
294
|
|
232
|
-
|
233
|
-
|
295
|
+
- Fixed bug when title is set through Array, and `:lowercase` is true
|
296
|
+
- Updated `display_meta_tags` to be compatible with rails_xss
|
234
297
|
|
235
298
|
## 1.1.1 (November 21, 2009) [☰](https://github.com/kpumuk/meta-tags/compare/v1.1.0...v1.1.1)
|
236
299
|
|
237
300
|
Features:
|
238
301
|
|
239
|
-
|
240
|
-
|
302
|
+
- Added support for canonical link element
|
303
|
+
- Added YARD documentation
|
241
304
|
|
242
305
|
## 1.1.0 (November 5, 2009) [☰](https://github.com/kpumuk/meta-tags/commits/v1.1.0)
|
243
306
|
|
244
307
|
Features:
|
245
308
|
|
246
|
-
|
247
|
-
|
248
|
-
|
309
|
+
- Added ability to specify title as an Array of parts
|
310
|
+
- Added helper for `noindex`
|
311
|
+
- Added `nofollow` meta tag support
|
249
312
|
|
250
313
|
Bugfixes:
|
251
314
|
|
252
|
-
|
315
|
+
- Fixed Rails 2.3 deprecation warnings
|
data/CONTRIBUTING.md
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
# Contributing
|
2
2
|
|
3
3
|
We love pull requests from everyone. By participating in this project, you
|
4
|
-
agree to abide by the [code of conduct](https://github.com/kpumuk/meta-tags/blob/
|
4
|
+
agree to abide by the [code of conduct](https://github.com/kpumuk/meta-tags/blob/main/CODE_OF_CONDUCT.md).
|
5
5
|
|
6
6
|
## Configuring Development Environment
|
7
7
|
|
@@ -29,13 +29,13 @@ Make your change. Add tests for your change. Make the tests pass:
|
|
29
29
|
argument for the meta tag name should be `name`:
|
30
30
|
|
31
31
|
```html
|
32
|
-
<meta name="keywords" content="HTML,CSS,XML,JavaScript"
|
32
|
+
<meta name="keywords" content="HTML,CSS,XML,JavaScript" />
|
33
33
|
```
|
34
34
|
|
35
35
|
Some social networks require to use `property` argument instead (Facebook Open Graph).
|
36
36
|
MetaTags supports the most popular meta tags, but there will be tags that are not covered
|
37
37
|
by default. If you found one, and you feel like the community would benefit from
|
38
|
-
MetaTags supporting it out of the box, feel free to add it to [the list](https://github.com/kpumuk/meta-tags/blob/
|
38
|
+
MetaTags supporting it out of the box, feel free to add it to [the list](https://github.com/kpumuk/meta-tags/blob/main/lib/meta_tags/configuration.rb#L23-L57)
|
39
39
|
and submit a pull request.
|
40
40
|
|
41
41
|
## Raising a Pull Request
|
@@ -47,6 +47,6 @@ within couple days. We may suggest some changes or improvements or alternatives.
|
|
47
47
|
|
48
48
|
Some things that will increase the chance that your pull request is accepted:
|
49
49
|
|
50
|
-
|
51
|
-
|
52
|
-
|
50
|
+
- Write tests.
|
51
|
+
- Make sure [CodeClimate](https://codeclimate.com/github/kpumuk/meta-tags/builds) build is clean.
|
52
|
+
- Write a [good commit message](http://tbaggery.com/2008/04/19/a-note-about-git-commit-messages.html).
|
data/Gemfile
CHANGED
@@ -7,19 +7,22 @@ gemspec
|
|
7
7
|
|
8
8
|
if ENV['RAILS_VERSION']
|
9
9
|
# Install specified version of actionpack if requested
|
10
|
-
gem '
|
10
|
+
gem 'railties', "~> #{ENV['RAILS_VERSION']}"
|
11
11
|
end
|
12
12
|
|
13
|
+
# Ruby typings
|
14
|
+
gem 'steep', platform: :mri unless ENV["NO_STEEP"] == '1'
|
15
|
+
|
13
16
|
group :test do
|
14
17
|
# Lock rubocop to a specific version we use on CI. If you update this,
|
15
18
|
# don't forget to switch rubocop channel in the .codeclimate.yml
|
16
|
-
gem 'rubocop', '~>
|
19
|
+
gem 'rubocop', '~> 1.18.0'
|
17
20
|
# Cops for rails apps
|
18
21
|
gem 'rubocop-rails'
|
19
22
|
# Apply RSpec rubocop cops
|
20
23
|
gem 'rubocop-rspec', require: false
|
21
24
|
# We use this gem on CI to calculate code coverage.
|
22
|
-
gem 'simplecov'
|
25
|
+
gem 'simplecov', '>= 0.17.0', '< 0.18'
|
23
26
|
# Format RSpec output for CircleCI
|
24
27
|
gem 'rspec_junit_formatter'
|
25
28
|
end
|