meta-tags 2.18.0 → 2.20.0

Sign up to get free protection for your applications and to get access to all the features.
data/lib/meta_tags.rb CHANGED
@@ -1,7 +1,7 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- require 'set'
4
- require 'active_support/core_ext/hash/indifferent_access'
3
+ require "set"
4
+ require "active_support/core_ext/hash/indifferent_access"
5
5
 
6
6
  # MetaTags gem namespace.
7
7
  module MetaTags
@@ -24,15 +24,15 @@ module MetaTags
24
24
  end
25
25
  end
26
26
 
27
- require 'meta_tags/version'
27
+ require "meta_tags/version"
28
28
 
29
- require 'meta_tags/configuration'
30
- require 'meta_tags/controller_helper'
31
- require 'meta_tags/meta_tags_collection'
32
- require 'meta_tags/renderer'
33
- require 'meta_tags/tag'
34
- require 'meta_tags/content_tag'
35
- require 'meta_tags/text_normalizer'
36
- require 'meta_tags/view_helper'
29
+ require "meta_tags/configuration"
30
+ require "meta_tags/controller_helper"
31
+ require "meta_tags/meta_tags_collection"
32
+ require "meta_tags/renderer"
33
+ require "meta_tags/tag"
34
+ require "meta_tags/content_tag"
35
+ require "meta_tags/text_normalizer"
36
+ require "meta_tags/view_helper"
37
37
 
38
- require 'meta_tags/railtie' if defined?(Rails)
38
+ require "meta_tags/railtie" if defined?(Rails)
data/meta-tags.gemspec CHANGED
@@ -1,43 +1,52 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- lib = File.expand_path('lib', __dir__)
3
+ lib = File.expand_path("lib", __dir__)
4
4
  $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
5
- require 'meta_tags/version'
5
+ require "meta_tags/version"
6
6
 
7
7
  Gem::Specification.new do |spec|
8
- spec.name = "meta-tags"
9
- spec.version = MetaTags::VERSION
10
- spec.authors = ["Dmytro Shteflyuk"]
11
- spec.email = ["kpumuk@kpumuk.info"]
12
-
13
- spec.summary = "Collection of SEO helpers for Ruby on Rails."
14
- spec.description = "Search Engine Optimization (SEO) plugin for Ruby on Rails applications."
15
- spec.homepage = "https://github.com/kpumuk/meta-tags"
16
- spec.license = "MIT"
17
- spec.platform = Gem::Platform::RUBY
18
- spec.required_ruby_version = '>= 2.6.0'
19
-
20
- spec.files = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(\.|(bin|test|spec|features)/)}) }
21
- spec.bindir = "exe"
22
- spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
8
+ spec.name = "meta-tags"
9
+ spec.version = MetaTags::VERSION
10
+ spec.authors = ["Dmytro Shteflyuk"]
11
+ spec.email = ["kpumuk@kpumuk.info"]
12
+
13
+ spec.summary = "Collection of SEO helpers for Ruby on Rails."
14
+ spec.description = "Search Engine Optimization (SEO) plugin for Ruby on Rails applications."
15
+ spec.homepage = "https://github.com/kpumuk/meta-tags"
16
+ spec.license = "MIT"
17
+ spec.platform = Gem::Platform::RUBY
18
+ spec.required_ruby_version = ">= 2.7.0"
19
+
20
+ spec.files = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(\.|Gemfile|Appraisals|Steepfile|(bin|spec|gemfiles)/)}) }
21
+ spec.bindir = "exe"
22
+ spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
23
23
  spec.require_paths = ["lib"]
24
24
 
25
- spec.add_dependency "actionpack", ">= 3.2.0", "< 7.1"
25
+ spec.add_runtime_dependency "actionpack", ">= 6.0.0", "< 7.2"
26
26
 
27
- spec.add_development_dependency "railties", ">= 3.2.0", "< 7.1"
27
+ spec.add_development_dependency "railties", ">= 3.2.0", "< 7.2"
28
28
  spec.add_development_dependency "rake", "~> 13.0"
29
- spec.add_development_dependency "rspec", "~> 3.11.0"
30
- spec.add_development_dependency "rspec-html-matchers", "~> 0.9.1"
31
-
32
- spec.cert_chain = ["certs/kpumuk.pem"]
33
- spec.signing_key = File.expand_path("~/.ssh/gem-kpumuk.pem") if $PROGRAM_NAME.end_with?('gem')
29
+ spec.add_development_dependency "rspec", "~> 3.12.0"
30
+ spec.add_development_dependency "rspec-html-matchers", "~> 0.10.0"
31
+ spec.add_development_dependency "appraisal", "~> 2.5.0"
32
+ spec.add_development_dependency "simplecov", "~> 0.22.0"
33
+ # Code style
34
+ spec.add_development_dependency "standard", "~> 1.31"
35
+ spec.add_development_dependency "rubocop-rails", "~> 2.23.0"
36
+ spec.add_development_dependency "rubocop-rake", "~> 0.6.0"
37
+ spec.add_development_dependency "rubocop-rspec", "~> 2.25.0"
38
+ # Format RSpec output for CircleCI
39
+ spec.add_development_dependency "rspec_junit_formatter", "~> 0.6.0"
40
+
41
+ spec.cert_chain = ["certs/kpumuk.pem"]
42
+ spec.signing_key = File.expand_path("~/.ssh/gem-kpumuk.pem") if $PROGRAM_NAME.end_with?("gem")
34
43
 
35
44
  spec.metadata = {
36
- "bug_tracker_uri" => "https://github.com/kpumuk/meta-tags/issues/",
37
- "changelog_uri" => "https://github.com/kpumuk/meta-tags/blob/main/CHANGELOG.md",
38
- "documentation_uri" => "https://rubydoc.info/github/kpumuk/meta-tags/",
39
- "homepage_uri" => "https://github.com/kpumuk/meta-tags/",
40
- "source_code_uri" => "https://github.com/kpumuk/meta-tags/",
41
- "rubygems_mfa_required" => "true",
45
+ "bug_tracker_uri" => "https://github.com/kpumuk/meta-tags/issues/",
46
+ "changelog_uri" => "https://github.com/kpumuk/meta-tags/blob/main/CHANGELOG.md",
47
+ "documentation_uri" => "https://rubydoc.info/github/kpumuk/meta-tags/",
48
+ "homepage_uri" => "https://github.com/kpumuk/meta-tags/",
49
+ "source_code_uri" => "https://github.com/kpumuk/meta-tags/",
50
+ "rubygems_mfa_required" => "true"
42
51
  }
43
52
  end
@@ -1,9 +1,12 @@
1
1
  class ::Hash[unchecked out K, unchecked out V]
2
2
  def with_indifferent_access: () -> ActiveSupport::HashWithIndifferentAccess[K, V]
3
3
  def deep_merge!: (instance | ActiveSupport::HashWithIndifferentAccess[K, V] other) -> self
4
+ def with_defaults: (instance | ActiveSupport::HashWithIndifferentAccess[K, V] other) -> self
4
5
  end
5
6
 
6
7
  class ::Object
8
+ $OFS: String
9
+
7
10
  def presence: () -> self?
8
11
  def blank?: () -> bool
9
12
  def present?: () -> bool
@@ -1,7 +1,14 @@
1
1
  module MetaTags
2
2
  class Configuration
3
+ type html_tag_key = String | Symbol
4
+ type html_tag_value = Hash[html_tag_key, html_tag_value] | html_tag_content
5
+ type html_tag_content = String? | Symbol | (_Stringish & Object)
6
+
7
+
3
8
  attr_accessor title_limit: Integer?
4
9
  attr_accessor truncate_site_title_first: bool
10
+ attr_accessor truncate_on_natural_separator: String?|Regexp
11
+ attr_accessor title_tag_attributes: Hash[html_tag_key, html_tag_value]?
5
12
  attr_accessor description_limit: Integer
6
13
  attr_accessor keywords_limit: Integer
7
14
  attr_accessor keywords_separator: String
@@ -1,5 +1,6 @@
1
1
  module MetaTags
2
2
  module ControllerHelper : _ActionControllerBase
3
+ @meta_tags: MetaTagsCollection?
3
4
  @page_title: String?
4
5
  @page_description: String?
5
6
  @page_keywords: String? | Array[String]
@@ -21,9 +21,9 @@ module MetaTags
21
21
 
22
22
  def cleanup_strings: (keywords? strings, ?strip: bool strip) -> Array[String]
23
23
 
24
- def truncate: (String string, ?Integer? limit, ?String natural_separator) -> String
24
+ def truncate: (String string, ?Integer? limit) -> String
25
25
 
26
- def truncate_array: (Array[String] string_array, ?Integer? limit, ?String separator, ?String natural_separator) -> Array[String]
26
+ def truncate_array: (Array[String] string_array, ?Integer? limit, ?String separator) -> Array[String]
27
27
 
28
28
  private
29
29
 
@@ -1,5 +1,7 @@
1
1
  module MetaTags
2
2
  module ViewHelper : Module, _ActionViewBase
3
+ @meta_tags: MetaTagsCollection?
4
+
3
5
  # type meta_tags = {
4
6
  # site: String?,
5
7
  # title: Array[String] | String?,
@@ -1,4 +1,6 @@
1
1
  module MetaTags
2
+ self.@config: Configuration
3
+
2
4
  def self.config: () -> Configuration
3
5
  def self.configure: () { (Configuration) -> void } -> void
4
6
 
data.tar.gz.sig CHANGED
Binary file
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: meta-tags
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.18.0
4
+ version: 2.20.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Dmytro Shteflyuk
@@ -10,26 +10,27 @@ bindir: exe
10
10
  cert_chain:
11
11
  - |
12
12
  -----BEGIN CERTIFICATE-----
13
- MIIDODCCAiCgAwIBAgIBATANBgkqhkiG9w0BAQsFADAjMSEwHwYDVQQDDBhrcHVt
14
- dWsvREM9a3B1bXVrL0RDPWluZm8wHhcNMjIwNzA1MjIyODU4WhcNMjMwNzA1MjIy
15
- ODU4WjAjMSEwHwYDVQQDDBhrcHVtdWsvREM9a3B1bXVrL0RDPWluZm8wggEiMA0G
16
- CSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQC8NmK6GXPiE/q7PDbj7nNdw3pa8a6Q
17
- IDxLtc7kW95e1mh0TVgOE8kvGegGtRtjvhXVGTTFtZ+yMD/0DCfTM2oUQYk5oYpO
18
- ZGrCfbNIdZauf4WYsnJtKOTrRoqFMwpL5PlBDKczB2y5lUmQs2HIsjQ0Q21wdKyy
19
- 7tXiZPoCoJ+kH+b4/d4dcNvAXVnWgO2HoLW5oqWfqY5swkAHzwHLU+rlxxuHUqOy
20
- 8/Y4hUSOXVIsxWxl3EapENm+QAfBRZn3L26hEb80CgSAp8m47Cj9DaSd7xoDtrIe
21
- RryRTj5NVZbq9p1/WRc5zxD9QhAEPjRa5ikbd+eWebIDpAKI0hpyC/9bAgMBAAGj
22
- dzB1MAkGA1UdEwQCMAAwCwYDVR0PBAQDAgSwMB0GA1UdDgQWBBT2uFRXNWDpVdbv
23
- +xBk8DAgJPGBPTAdBgNVHREEFjAUgRJrcHVtdWtAa3B1bXVrLmluZm8wHQYDVR0S
24
- BBYwFIESa3B1bXVrQGtwdW11ay5pbmZvMA0GCSqGSIb3DQEBCwUAA4IBAQBa5fMh
25
- JcbhWBoP3kA32g3yM238fyJlre/ZeE6WIFxcuETff8AgPmk550qpAF/WBtP23X8Q
26
- khIFv+bFiuBURvNbuFevs23to7NeNA7XMmEJqjB6fRzO/i/a3bkLG07u+o74MyXe
27
- 3/VAxl4Ce+C3aLwXccsbD+Fe3kQ6ku4ceIh2WebBSkpG3WRANReEAf7lcOt4aGEt
28
- nkYjyHgDz6/gYamK15XtOivglkTJDwAVGBzF9o6j5IQ9nXho8Vd2P+hiawx76CoT
29
- ANVO3I4ZwTKD12DMFqjalLwbSVVO4wpuMO3tcAgO4q7Fqh2tXTXom/YYl0SFvmx4
30
- evTPD0iY8lmGP3ZM
13
+ MIIDcDCCAligAwIBAgIBATANBgkqhkiG9w0BAQsFADA/MQ8wDQYDVQQDDAZrcHVt
14
+ dWsxFjAUBgoJkiaJk/IsZAEZFgZrcHVtdWsxFDASBgoJkiaJk/IsZAEZFgRpbmZv
15
+ MB4XDTIzMDcwNjEyMjY0MVoXDTI0MDcwNTEyMjY0MVowPzEPMA0GA1UEAwwGa3B1
16
+ bXVrMRYwFAYKCZImiZPyLGQBGRYGa3B1bXVrMRQwEgYKCZImiZPyLGQBGRYEaW5m
17
+ bzCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBALw2YroZc+IT+rs8NuPu
18
+ c13DelrxrpAgPEu1zuRb3l7WaHRNWA4TyS8Z6Aa1G2O+FdUZNMW1n7IwP/QMJ9Mz
19
+ ahRBiTmhik5kasJ9s0h1lq5/hZiycm0o5OtGioUzCkvk+UEMpzMHbLmVSZCzYciy
20
+ NDRDbXB0rLLu1eJk+gKgn6Qf5vj93h1w28BdWdaA7YegtbmipZ+pjmzCQAfPActT
21
+ 6uXHG4dSo7Lz9jiFRI5dUizFbGXcRqkQ2b5AB8FFmfcvbqERvzQKBICnybjsKP0N
22
+ pJ3vGgO2sh5GvJFOPk1Vlur2nX9ZFznPEP1CEAQ+NFrmKRt355Z5sgOkAojSGnIL
23
+ /1sCAwEAAaN3MHUwCQYDVR0TBAIwADALBgNVHQ8EBAMCBLAwHQYDVR0OBBYEFPa4
24
+ VFc1YOlV1u/7EGTwMCAk8YE9MB0GA1UdEQQWMBSBEmtwdW11a0BrcHVtdWsuaW5m
25
+ bzAdBgNVHRIEFjAUgRJrcHVtdWtAa3B1bXVrLmluZm8wDQYJKoZIhvcNAQELBQAD
26
+ ggEBALwivjTzGErFzBtgPEQe7uO6DMysgm/OIF5jLFkvRiuFbuueHM2cUZZBx2Rd
27
+ 2R5uQS4uiZ5KA+3SkgWQOFOzpFlo7ywS5264ULCcvfix6NQpb2aIDsZuzWGBIDbs
28
+ ixS+8wYslrzsOgUSn/RjF0sVB0dw4wv6G8YnVrR/Jf2SaO+Q2lYuKEOKfj52I+Yt
29
+ TdFiOjR+WwXSxs/XdSdFtqK2q/THbZdk+HkAe8guvXYtD/fzO2mBlk2AQ0hV1Pxu
30
+ ovz1LEphwrX/6v635mteXvl+OKWrNo1Q78sU364BgY5MvJMxFytmUrKMgO6RAiIM
31
+ N9+lhJiLa7+h0LrvPPDZRhV8ze0=
31
32
  -----END CERTIFICATE-----
32
- date: 2022-09-15 00:00:00.000000000 Z
33
+ date: 2023-12-26 00:00:00.000000000 Z
33
34
  dependencies:
34
35
  - !ruby/object:Gem::Dependency
35
36
  name: actionpack
@@ -37,20 +38,20 @@ dependencies:
37
38
  requirements:
38
39
  - - ">="
39
40
  - !ruby/object:Gem::Version
40
- version: 3.2.0
41
+ version: 6.0.0
41
42
  - - "<"
42
43
  - !ruby/object:Gem::Version
43
- version: '7.1'
44
+ version: '7.2'
44
45
  type: :runtime
45
46
  prerelease: false
46
47
  version_requirements: !ruby/object:Gem::Requirement
47
48
  requirements:
48
49
  - - ">="
49
50
  - !ruby/object:Gem::Version
50
- version: 3.2.0
51
+ version: 6.0.0
51
52
  - - "<"
52
53
  - !ruby/object:Gem::Version
53
- version: '7.1'
54
+ version: '7.2'
54
55
  - !ruby/object:Gem::Dependency
55
56
  name: railties
56
57
  requirement: !ruby/object:Gem::Requirement
@@ -60,7 +61,7 @@ dependencies:
60
61
  version: 3.2.0
61
62
  - - "<"
62
63
  - !ruby/object:Gem::Version
63
- version: '7.1'
64
+ version: '7.2'
64
65
  type: :development
65
66
  prerelease: false
66
67
  version_requirements: !ruby/object:Gem::Requirement
@@ -70,7 +71,7 @@ dependencies:
70
71
  version: 3.2.0
71
72
  - - "<"
72
73
  - !ruby/object:Gem::Version
73
- version: '7.1'
74
+ version: '7.2'
74
75
  - !ruby/object:Gem::Dependency
75
76
  name: rake
76
77
  requirement: !ruby/object:Gem::Requirement
@@ -91,28 +92,126 @@ dependencies:
91
92
  requirements:
92
93
  - - "~>"
93
94
  - !ruby/object:Gem::Version
94
- version: 3.11.0
95
+ version: 3.12.0
95
96
  type: :development
96
97
  prerelease: false
97
98
  version_requirements: !ruby/object:Gem::Requirement
98
99
  requirements:
99
100
  - - "~>"
100
101
  - !ruby/object:Gem::Version
101
- version: 3.11.0
102
+ version: 3.12.0
102
103
  - !ruby/object:Gem::Dependency
103
104
  name: rspec-html-matchers
104
105
  requirement: !ruby/object:Gem::Requirement
105
106
  requirements:
106
107
  - - "~>"
107
108
  - !ruby/object:Gem::Version
108
- version: 0.9.1
109
+ version: 0.10.0
110
+ type: :development
111
+ prerelease: false
112
+ version_requirements: !ruby/object:Gem::Requirement
113
+ requirements:
114
+ - - "~>"
115
+ - !ruby/object:Gem::Version
116
+ version: 0.10.0
117
+ - !ruby/object:Gem::Dependency
118
+ name: appraisal
119
+ requirement: !ruby/object:Gem::Requirement
120
+ requirements:
121
+ - - "~>"
122
+ - !ruby/object:Gem::Version
123
+ version: 2.5.0
124
+ type: :development
125
+ prerelease: false
126
+ version_requirements: !ruby/object:Gem::Requirement
127
+ requirements:
128
+ - - "~>"
129
+ - !ruby/object:Gem::Version
130
+ version: 2.5.0
131
+ - !ruby/object:Gem::Dependency
132
+ name: simplecov
133
+ requirement: !ruby/object:Gem::Requirement
134
+ requirements:
135
+ - - "~>"
136
+ - !ruby/object:Gem::Version
137
+ version: 0.22.0
138
+ type: :development
139
+ prerelease: false
140
+ version_requirements: !ruby/object:Gem::Requirement
141
+ requirements:
142
+ - - "~>"
143
+ - !ruby/object:Gem::Version
144
+ version: 0.22.0
145
+ - !ruby/object:Gem::Dependency
146
+ name: standard
147
+ requirement: !ruby/object:Gem::Requirement
148
+ requirements:
149
+ - - "~>"
150
+ - !ruby/object:Gem::Version
151
+ version: '1.31'
152
+ type: :development
153
+ prerelease: false
154
+ version_requirements: !ruby/object:Gem::Requirement
155
+ requirements:
156
+ - - "~>"
157
+ - !ruby/object:Gem::Version
158
+ version: '1.31'
159
+ - !ruby/object:Gem::Dependency
160
+ name: rubocop-rails
161
+ requirement: !ruby/object:Gem::Requirement
162
+ requirements:
163
+ - - "~>"
164
+ - !ruby/object:Gem::Version
165
+ version: 2.23.0
166
+ type: :development
167
+ prerelease: false
168
+ version_requirements: !ruby/object:Gem::Requirement
169
+ requirements:
170
+ - - "~>"
171
+ - !ruby/object:Gem::Version
172
+ version: 2.23.0
173
+ - !ruby/object:Gem::Dependency
174
+ name: rubocop-rake
175
+ requirement: !ruby/object:Gem::Requirement
176
+ requirements:
177
+ - - "~>"
178
+ - !ruby/object:Gem::Version
179
+ version: 0.6.0
180
+ type: :development
181
+ prerelease: false
182
+ version_requirements: !ruby/object:Gem::Requirement
183
+ requirements:
184
+ - - "~>"
185
+ - !ruby/object:Gem::Version
186
+ version: 0.6.0
187
+ - !ruby/object:Gem::Dependency
188
+ name: rubocop-rspec
189
+ requirement: !ruby/object:Gem::Requirement
190
+ requirements:
191
+ - - "~>"
192
+ - !ruby/object:Gem::Version
193
+ version: 2.25.0
194
+ type: :development
195
+ prerelease: false
196
+ version_requirements: !ruby/object:Gem::Requirement
197
+ requirements:
198
+ - - "~>"
199
+ - !ruby/object:Gem::Version
200
+ version: 2.25.0
201
+ - !ruby/object:Gem::Dependency
202
+ name: rspec_junit_formatter
203
+ requirement: !ruby/object:Gem::Requirement
204
+ requirements:
205
+ - - "~>"
206
+ - !ruby/object:Gem::Version
207
+ version: 0.6.0
109
208
  type: :development
110
209
  prerelease: false
111
210
  version_requirements: !ruby/object:Gem::Requirement
112
211
  requirements:
113
212
  - - "~>"
114
213
  - !ruby/object:Gem::Version
115
- version: 0.9.1
214
+ version: 0.6.0
116
215
  description: Search Engine Optimization (SEO) plugin for Ruby on Rails applications.
117
216
  email:
118
217
  - kpumuk@kpumuk.info
@@ -123,11 +222,9 @@ files:
123
222
  - CHANGELOG.md
124
223
  - CODE_OF_CONDUCT.md
125
224
  - CONTRIBUTING.md
126
- - Gemfile
127
225
  - MIT-LICENSE
128
226
  - README.md
129
227
  - Rakefile
130
- - Steepfile
131
228
  - certs/kpumuk.pem
132
229
  - lib/generators/meta_tags/install_generator.rb
133
230
  - lib/generators/meta_tags/templates/config/initializers/meta_tags.rb
@@ -173,14 +270,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
173
270
  requirements:
174
271
  - - ">="
175
272
  - !ruby/object:Gem::Version
176
- version: 2.6.0
273
+ version: 2.7.0
177
274
  required_rubygems_version: !ruby/object:Gem::Requirement
178
275
  requirements:
179
276
  - - ">="
180
277
  - !ruby/object:Gem::Version
181
278
  version: '0'
182
279
  requirements: []
183
- rubygems_version: 3.3.22
280
+ rubygems_version: 3.4.10
184
281
  signing_key:
185
282
  specification_version: 4
186
283
  summary: Collection of SEO helpers for Ruby on Rails.
metadata.gz.sig CHANGED
Binary file
data/Gemfile DELETED
@@ -1,30 +0,0 @@
1
- # frozen_string_literal: true
2
-
3
- source 'https://rubygems.org'
4
-
5
- # Specify your gem's dependencies in meta-tags.gemspec
6
- gemspec
7
-
8
- if ENV['RAILS_VERSION']
9
- # Install specified version of actionpack if requested
10
- gem 'railties', "~> #{ENV['RAILS_VERSION']}"
11
- end
12
-
13
- unless ENV["NO_STEEP"] == '1'
14
- # Ruby typings
15
- gem 'steep', '~> 1.0.1', platform: :mri
16
- end
17
-
18
- group :test do
19
- # Lock rubocop to a specific version we use on CI. If you update this,
20
- # don't forget to switch rubocop channel in the .codeclimate.yml
21
- gem 'rubocop', '= 1.31.0'
22
- # Cops for rails apps
23
- gem 'rubocop-rails'
24
- # Apply RSpec rubocop cops
25
- gem 'rubocop-rspec', require: false
26
- # We use this gem on CI to calculate code coverage.
27
- gem 'simplecov', '~> 0.21.2'
28
- # Format RSpec output for CircleCI
29
- gem 'rspec_junit_formatter'
30
- end
data/Steepfile DELETED
@@ -1,15 +0,0 @@
1
- # frozen_string_literal: true
2
-
3
- target :lib do
4
- signature "sig"
5
-
6
- check "lib"
7
- # check "Gemfile"
8
-
9
- # We don't want to type check Rails/RSpec related code
10
- # (because we don't have RBS files for it)
11
- ignore "lib/meta_tags/railtie.rb"
12
- ignore "lib/generators"
13
-
14
- library "set"
15
- end