rubocop-itamae 0.1.4 → 0.1.5

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: c0545cb256f4f5641e6587cf42e66b4a86593ee93309b6427d82aae32144d5ff
4
- data.tar.gz: 05addbf3baaac6c8c6746a2357754533daddec4e4bb01db38208abd8fbc377a9
3
+ metadata.gz: 7ebcf4807f37ebc43aef7405761450c8b2782e7450ffcdb720ba80bce11a581b
4
+ data.tar.gz: b5d1010a2bb6f997a591fae1dcee7970e4d0e8667217b1ac4d509ce1184851a5
5
5
  SHA512:
6
- metadata.gz: a573df0167945879e173318f7c6e305bc31864a36fa269bf98792e09f29add35cb24bfe73ebc1d766db0436e0b148c6cb6f3a0819ddac984967f414cd65c17a2
7
- data.tar.gz: a643297e792c09258e0855686c7ed071492c2a1e51a8730ae68fc9cb2f1ff2c29483c192f4879baeb05d6f4a5b27f5d164a2cd4dd695f7c040eec144148c47b1
6
+ metadata.gz: 55ec446d819b90560e5512360f4434c06eddce9efd3e7a7ceec9b10c6192c170b94546d5fa2718311a676a6ad1f661612807f7ee9b22663672902e6b963083e1
7
+ data.tar.gz: 031f8e878476470e21f75925a57eeb56588038d3280032c3cd817f1940767a0e13f8d4ff40622566386aab61cb76f9e80950de04e0641dafa91ab99dd10d2158
data/.rubocop.yml CHANGED
@@ -12,6 +12,7 @@ Layout/LineLength:
12
12
  Metrics/BlockLength:
13
13
  Exclude:
14
14
  - "spec/**/*.rb"
15
+ - "rubocop-itamae.gemspec"
15
16
 
16
17
  Naming/FileName:
17
18
  Exclude:
data/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  ## master
2
- [full changelog](http://github.com/sue445/rubocop-itamae/compare/v0.1.4...master)
2
+ [full changelog](http://github.com/sue445/rubocop-itamae/compare/v0.1.5...master)
3
+
4
+ ## v0.1.5
5
+ [full changelog](http://github.com/sue445/rubocop-itamae/compare/v0.1.4...v0.1.5)
6
+
7
+ * Enable MFA requirement for gem releasing
8
+ * https://github.com/sue445/rubocop-itamae/pull/52
3
9
 
4
10
  ## v0.1.4
5
11
  [full changelog](http://github.com/sue445/rubocop-itamae/compare/v0.1.3...v0.1.4)
@@ -2,6 +2,6 @@
2
2
 
3
3
  module RuboCop
4
4
  module Itamae
5
- VERSION = '0.1.4'
5
+ VERSION = '0.1.5'
6
6
  end
7
7
  end
@@ -15,7 +15,19 @@ Gem::Specification.new do |spec|
15
15
  spec.homepage = 'https://github.com/sue445/rubocop-itamae'
16
16
  spec.license = 'MIT'
17
17
 
18
- spec.files = `git ls-files -z`.split("\x0").reject do |f|
18
+ # Prevent pushing this gem to RubyGems.org. To allow pushes either set the 'allowed_push_host'
19
+ # to allow pushing to a single host or delete this section to allow pushing to any host.
20
+ if spec.respond_to?(:metadata)
21
+ spec.metadata['homepage_uri'] = spec.homepage
22
+ spec.metadata['source_code_uri'] = spec.homepage
23
+ spec.metadata['changelog_uri'] = "#{spec.homepage}/blob/master/CHANGELOG.md"
24
+ spec.metadata['rubygems_mfa_required'] = 'true'
25
+ else
26
+ raise 'RubyGems 2.0 or newer is required to protect against ' \
27
+ 'public gem pushes.'
28
+ end
29
+
30
+ spec.files = `git ls-files -z`.split("\x0").reject do |f|
19
31
  f.match(%r{^(test|spec|features)/})
20
32
  end
21
33
  spec.bindir = 'exe'
@@ -30,6 +42,7 @@ Gem::Specification.new do |spec|
30
42
  spec.add_development_dependency 'coveralls'
31
43
  spec.add_development_dependency 'rake', '>= 11.0'
32
44
  spec.add_development_dependency 'rspec', '~> 3.0'
45
+ spec.add_development_dependency 'rubocop', '>= 1.23.0'
33
46
  spec.add_development_dependency 'rubocop_auto_corrector'
34
47
  spec.add_development_dependency 'simplecov', '< 0.18.0'
35
48
  spec.add_development_dependency 'yard'
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rubocop-itamae
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.4
4
+ version: 0.1.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - sue445
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2021-04-23 00:00:00.000000000 Z
11
+ date: 2021-11-18 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rubocop
@@ -80,6 +80,20 @@ dependencies:
80
80
  - - "~>"
81
81
  - !ruby/object:Gem::Version
82
82
  version: '3.0'
83
+ - !ruby/object:Gem::Dependency
84
+ name: rubocop
85
+ requirement: !ruby/object:Gem::Requirement
86
+ requirements:
87
+ - - ">="
88
+ - !ruby/object:Gem::Version
89
+ version: 1.23.0
90
+ type: :development
91
+ prerelease: false
92
+ version_requirements: !ruby/object:Gem::Requirement
93
+ requirements:
94
+ - - ">="
95
+ - !ruby/object:Gem::Version
96
+ version: 1.23.0
83
97
  - !ruby/object:Gem::Dependency
84
98
  name: rubocop_auto_corrector
85
99
  requirement: !ruby/object:Gem::Requirement
@@ -156,7 +170,11 @@ files:
156
170
  homepage: https://github.com/sue445/rubocop-itamae
157
171
  licenses:
158
172
  - MIT
159
- metadata: {}
173
+ metadata:
174
+ homepage_uri: https://github.com/sue445/rubocop-itamae
175
+ source_code_uri: https://github.com/sue445/rubocop-itamae
176
+ changelog_uri: https://github.com/sue445/rubocop-itamae/blob/master/CHANGELOG.md
177
+ rubygems_mfa_required: 'true'
160
178
  post_install_message:
161
179
  rdoc_options: []
162
180
  require_paths:
@@ -172,7 +190,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
172
190
  - !ruby/object:Gem::Version
173
191
  version: '0'
174
192
  requirements: []
175
- rubygems_version: 3.2.3
193
+ rubygems_version: 3.2.22
176
194
  signing_key:
177
195
  specification_version: 4
178
196
  summary: Code style checking for itamae recipes