gemsmith 12.1.0 → 12.2.0

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: 5c6357a9641d446b4fc0fc88fa0fffc1dfa92cbc82a8e7bcf4a3df5681bdb1c0
4
- data.tar.gz: d738d71b006ba6fcf56bb8ea557aa0f386237099575add6b6b66636aa1a69343
3
+ metadata.gz: 7210ffb8af55d03d19233544f238e17819044b59d084d74a57f3d0fd0474b222
4
+ data.tar.gz: 3c00b98ce8e5a2d723b10a75dc6daed6484cde6ff4bc49687147811cd7064ce0
5
5
  SHA512:
6
- metadata.gz: d9568940c5f9bad3246290c26737961a767ee835d1189bccec00467f573bd6a4a691d5db938ec421ec23d28ce7746f95882dedd7104fa8987b9eb57725041561
7
- data.tar.gz: a1ea52afd99fdccf641fe2eb62ad7c302105e15828cb39973327df3afefb48903c202202510e26a8712594401ddbb25eab8edf16f29a868bc003fdf0ea6d816c
6
+ metadata.gz: 1ae20202a729a6e6663cc93e004868f0784d65b43f4efa62f7cfbf51d51e8642928063970740060fbe47ce14fb3a9189e9d1fe4e5b1a87232e056552d8a4d07f
7
+ data.tar.gz: '0082225d8bc5c22e8d6b817519e29f976b63f80be200f08cb058a57de6e1e5541614ce25ec22ee218eb7a4f2673ce842f61ff429fc69739b3eb0d370ffc0e699'
Binary file
data.tar.gz.sig CHANGED
@@ -1,2 +1 @@
1
- �ޙ�$����9��Z��K �|C�ܽ�6 ��
2
- �ʆ8�]$��$�|֞Q2�I�j�bi;W)c������#�k��q��YOT���h
1
+ (��+V��˺��U9sI��Sb�F��2�q���QR������:RN��BA�-ܚ7�Nɡ�juSQ����fX��+�Ĕ;j��k4���{���w�Πwp��@A�ٜ#o˖Ƥ�`�KKk�� ��p�ܫ�%��ɣ�� ��h����CP5+<��e�^�?�Y�R٠Z����S3ۦ�lk�X:2y��8�w�Rh�-����0�j�/����~���!r��}>�ۃ���j����E��ͅf$1g�����¢\��Oh�[��
data/README.md CHANGED
@@ -351,7 +351,7 @@ proceeding.
351
351
 
352
352
  ## Versioning
353
353
 
354
- Read [Semantic Versioning](http://semver.org) for details. Briefly, it means:
354
+ Read [Semantic Versioning](https://semver.org) for details. Briefly, it means:
355
355
 
356
356
  - Major (X.y.z) - Incremented for any backwards incompatible public API changes.
357
357
  - Minor (x.Y.z) - Incremented for new, backwards compatible, public API enhancements/fixes.
@@ -38,7 +38,7 @@ module Gemsmith
38
38
 
39
39
  def authenticator
40
40
  selected = self.class.authenticators.find { |auth| auth.url.include? url }
41
- selected ? selected : Authenticators::Basic
41
+ selected || Authenticators::Basic
42
42
  end
43
43
 
44
44
  def value
@@ -6,14 +6,14 @@ module Gemsmith
6
6
  module Gem
7
7
  # Defines a gem requirement. This is a partial, cleaner implementation of the RubyGems
8
8
  # `Gem::Requirement` object.
9
- # :reek:PrimaDonnaMethod
9
+ # :reek:MissingSafeMethod
10
10
  class Requirement
11
11
  def self.operators
12
12
  [">", ">=", "=", "!=", "<", "<=", "~>"]
13
13
  end
14
14
 
15
15
  def self.version_segments version
16
- String(version).split(Versionaire::Version.delimiter).map(&:to_i)
16
+ String(version).split(Versionaire::Version::DELIMITER).map(&:to_i)
17
17
  end
18
18
 
19
19
  def self.for object
@@ -9,7 +9,7 @@ module Gemsmith
9
9
 
10
10
  cli.uncomment_lines "#{gem_name}/Rakefile", /require.+reek.+/
11
11
  cli.uncomment_lines "#{gem_name}/Rakefile", /Reek.+/
12
- template "%gem_name%/.reek.tt"
12
+ template "%gem_name%/.reek.yml.tt"
13
13
  end
14
14
  end
15
15
  end
@@ -12,7 +12,7 @@ module Gemsmith
12
12
  end
13
13
 
14
14
  def self.version
15
- "12.1.0"
15
+ "12.2.0"
16
16
  end
17
17
 
18
18
  def self.version_label
@@ -49,13 +49,13 @@ Gem::Specification.new do |spec|
49
49
  <%- end -%>
50
50
  spec.add_development_dependency "rake", "~> 12.3"
51
51
  <%- if config.dig(:generate, :reek) -%>
52
- spec.add_development_dependency "reek", "~> 4.8"
52
+ spec.add_development_dependency "reek", "~> 5.0"
53
53
  <%- end -%>
54
54
  <%- if config.dig(:generate, :rspec) -%>
55
55
  spec.add_development_dependency "<%= config.dig(:generate, :engine) ? "rspec-rails" : "rspec" %>", "~> 3.7"
56
56
  <%- end -%>
57
57
  <%- if config.dig(:generate, :rubocop) -%>
58
- spec.add_development_dependency "rubocop", "~> 0.54"
58
+ spec.add_development_dependency "rubocop", "~> 0.57"
59
59
  <%- end -%>
60
60
 
61
61
  <%- if config.dig(:generate, :engine) -%>
@@ -0,0 +1,6 @@
1
+ detectors:
2
+ IrresponsibleModule:
3
+ enabled: false
4
+ exclude_paths:
5
+ - tmp
6
+ - vendor
@@ -48,7 +48,7 @@ To test, run:
48
48
 
49
49
  ## Versioning
50
50
 
51
- Read [Semantic Versioning](http://semver.org) for details. Briefly, it means:
51
+ Read [Semantic Versioning](https://semver.org) for details. Briefly, it means:
52
52
 
53
53
  - Major (X.y.z) - Incremented for any backwards incompatible public API changes.
54
54
  - Minor (x.Y.z) - Incremented for new, backwards compatible, public API enhancements/fixes.
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: gemsmith
3
3
  version: !ruby/object:Gem::Version
4
- version: 12.1.0
4
+ version: 12.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Brooke Kuhlmann
@@ -29,7 +29,7 @@ cert_chain:
29
29
  4Zrsxi713z6sndd9JBAm4G7mJiV93MsuCM5N4ZDY7XaxIhvctNSNhX/Yn8LLdtGI
30
30
  b4jw5t40FKyNUvLPPXYAvQALBtk=
31
31
  -----END CERTIFICATE-----
32
- date: 2018-05-02 00:00:00.000000000 Z
32
+ date: 2018-07-01 00:00:00.000000000 Z
33
33
  dependencies:
34
34
  - !ruby/object:Gem::Dependency
35
35
  name: bundler
@@ -51,14 +51,14 @@ dependencies:
51
51
  requirements:
52
52
  - - "~>"
53
53
  - !ruby/object:Gem::Version
54
- version: '8.2'
54
+ version: '8.3'
55
55
  type: :runtime
56
56
  prerelease: false
57
57
  version_requirements: !ruby/object:Gem::Requirement
58
58
  requirements:
59
59
  - - "~>"
60
60
  - !ruby/object:Gem::Version
61
- version: '8.2'
61
+ version: '8.3'
62
62
  - !ruby/object:Gem::Dependency
63
63
  name: pragmater
64
64
  requirement: !ruby/object:Gem::Requirement
@@ -93,14 +93,14 @@ dependencies:
93
93
  requirements:
94
94
  - - "~>"
95
95
  - !ruby/object:Gem::Version
96
- version: '0.54'
96
+ version: '0.57'
97
97
  type: :runtime
98
98
  prerelease: false
99
99
  version_requirements: !ruby/object:Gem::Requirement
100
100
  requirements:
101
101
  - - "~>"
102
102
  - !ruby/object:Gem::Version
103
- version: '0.54'
103
+ version: '0.57'
104
104
  - !ruby/object:Gem::Dependency
105
105
  name: runcom
106
106
  requirement: !ruby/object:Gem::Requirement
@@ -149,14 +149,14 @@ dependencies:
149
149
  requirements:
150
150
  - - "~>"
151
151
  - !ruby/object:Gem::Version
152
- version: '5.2'
152
+ version: '6.0'
153
153
  type: :runtime
154
154
  prerelease: false
155
155
  version_requirements: !ruby/object:Gem::Requirement
156
156
  requirements:
157
157
  - - "~>"
158
158
  - !ruby/object:Gem::Version
159
- version: '5.2'
159
+ version: '6.0'
160
160
  - !ruby/object:Gem::Dependency
161
161
  name: awesome_print
162
162
  requirement: !ruby/object:Gem::Requirement
@@ -317,14 +317,14 @@ dependencies:
317
317
  requirements:
318
318
  - - "~>"
319
319
  - !ruby/object:Gem::Version
320
- version: '4.8'
320
+ version: '5.0'
321
321
  type: :development
322
322
  prerelease: false
323
323
  version_requirements: !ruby/object:Gem::Requirement
324
324
  requirements:
325
325
  - - "~>"
326
326
  - !ruby/object:Gem::Version
327
- version: '4.8'
327
+ version: '5.0'
328
328
  - !ruby/object:Gem::Dependency
329
329
  name: rspec
330
330
  requirement: !ruby/object:Gem::Requirement
@@ -411,7 +411,7 @@ files:
411
411
  - lib/gemsmith/templates/%gem_name%/.github/ISSUE_TEMPLATE.md.tt
412
412
  - lib/gemsmith/templates/%gem_name%/.github/PULL_REQUEST_TEMPLATE.md.tt
413
413
  - lib/gemsmith/templates/%gem_name%/.gitignore.tt
414
- - lib/gemsmith/templates/%gem_name%/.reek.tt
414
+ - lib/gemsmith/templates/%gem_name%/.reek.yml.tt
415
415
  - lib/gemsmith/templates/%gem_name%/.rubocop.yml.tt
416
416
  - lib/gemsmith/templates/%gem_name%/.ruby-version.tt
417
417
  - lib/gemsmith/templates/%gem_name%/CHANGES.md.tt
@@ -460,7 +460,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
460
460
  version: '0'
461
461
  requirements: []
462
462
  rubyforge_project:
463
- rubygems_version: 2.7.6
463
+ rubygems_version: 2.7.7
464
464
  signing_key:
465
465
  specification_version: 4
466
466
  summary: A command line interface for smithing new Ruby gems.
metadata.gz.sig CHANGED
Binary file
@@ -1,5 +0,0 @@
1
- exclude_paths:
2
- - tmp
3
- - vendor
4
- IrresponsibleModule:
5
- enabled: false