gemsmith 14.8.0 → 14.9.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: 397efe531a69a9150f480648852be52e1c69d843e33f421881ac81ca487ca251
4
- data.tar.gz: cf890006f3f55b26e0e238fcbe2115fb12e3a129c28d80dc85f9ad64009e47de
3
+ metadata.gz: 72a6951abdd81a9acab4dffbedb9c927dbae2b1e29e5f10e20270490d93ba433
4
+ data.tar.gz: 9252720b8cab46469734560191e82e0c81506ebd1d502dd5352d9763bc76666e
5
5
  SHA512:
6
- metadata.gz: 2c5780aa9915f219aa495d092b418eeff1c821e5a437efc9e9f2f8390f936b8cd9e70f8ef504cd3bc6c0657a328749e2a4621416c690429953933440e5146021
7
- data.tar.gz: bb89f21fb86f7e6304626b98175e63c70e958cce5e47de2b6c83f757636ed340718c62ce16781c0e9118bd862ba50c41f2cc2234f82e93e406902dc24f1cfdb8
6
+ metadata.gz: b81ccadb170bfd7e036ec406846e7aa69b3c36d8993f0202ec3af131dec03de9f5e96426dc69ab62d60efb343216f81806cb166b235ce5980e8c2c5ea38c90d4
7
+ data.tar.gz: 8a93cc11e0790faa62a718e28a43c5979ef412965d91d8968273a727aaf3def25c6548d6ebff450329d8a7649b790a2947dbd2a3e769cd447599b7a75e1af77f
Binary file
data.tar.gz.sig CHANGED
Binary file
@@ -22,7 +22,7 @@ module Gemsmith
22
22
  end
23
23
 
24
24
  def render_namespace &block
25
- body = capture(&block) if block_given?
25
+ body = capture(&block) if block
26
26
  concat Gem::ModuleFormatter.new(gem_class).render(body)
27
27
  end
28
28
  end
@@ -5,7 +5,7 @@ module Gemsmith
5
5
  module Identity
6
6
  NAME = "gemsmith"
7
7
  LABEL = "Gemsmith"
8
- VERSION = "14.8.0"
8
+ VERSION = "14.9.0"
9
9
  VERSION_LABEL = "#{LABEL} #{VERSION}"
10
10
  URL = "https://www.alchemists.io/projects/gemsmith"
11
11
  end
@@ -34,7 +34,7 @@ Gem::Specification.new do |spec|
34
34
  <%- end -%>
35
35
  spec.add_development_dependency "gemsmith", "~> <%= Gemsmith::Identity::VERSION[/\d+\.\d+/] %>"
36
36
  <%- if config.dig(:generate, :git_lint) -%>
37
- spec.add_development_dependency "git-lint", "~> 1.0"
37
+ spec.add_development_dependency "git-lint", "~> 1.3"
38
38
  <%- end -%>
39
39
  <%- if config.dig(:generate, :guard) -%>
40
40
  spec.add_development_dependency "guard-rspec", "~> 4.7"
@@ -19,7 +19,7 @@ RSpec.describe <%= config.dig(:gem, :class) %>::CLI do
19
19
  shared_examples_for "a version command" do
20
20
  it "prints version" do
21
21
  result = -> { cli }
22
- pattern = /#{Regexp.escape <%= config.dig(:gem, :class) %>::Identity::VERSION_LABEL}\n/
22
+ pattern = /#{Regexp.escape <%= config.dig(:gem, :class) %>::Identity::VERSION_LABEL}\n/o
23
23
 
24
24
  expect(result).to output(pattern).to_stdout
25
25
  end
@@ -28,7 +28,7 @@ RSpec.describe <%= config.dig(:gem, :class) %>::CLI do
28
28
  shared_examples_for "a help command" do
29
29
  it "prints usage" do
30
30
  result = -> { cli }
31
- pattern = /#{Regexp.escape <%= config.dig(:gem, :class) %>::Identity::VERSION_LABEL}\scommands:\n/
31
+ pattern = /#{Regexp.escape <%= config.dig(:gem, :class) %>::Identity::VERSION_LABEL}\scommands:\n/o
32
32
 
33
33
  expect(result).to output(pattern).to_stdout
34
34
  end
@@ -13,7 +13,7 @@ require "pry-byebug"
13
13
  require "<%= config.dig(:gem, :path) %>"
14
14
  <%- end -%>
15
15
 
16
- Dir[File.join(__dir__, "support", "shared_contexts", "**/*.rb")].sort.each(&method(:require))
16
+ Dir[File.join(__dir__, "support", "shared_contexts", "**/*.rb")].sort.each { |path| require path }
17
17
 
18
18
  RSpec.configure do |config|
19
19
  config.color = true
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: 14.8.0
4
+ version: 14.9.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Brooke Kuhlmann
@@ -28,7 +28,7 @@ cert_chain:
28
28
  2XV8FRa7/JimI07sPLC13eLY3xd/aYTi85Z782KIA4j0G8XEEWAX0ouBhlXPocZv
29
29
  QWc=
30
30
  -----END CERTIFICATE-----
31
- date: 2020-11-14 00:00:00.000000000 Z
31
+ date: 2020-11-21 00:00:00.000000000 Z
32
32
  dependencies:
33
33
  - !ruby/object:Gem::Dependency
34
34
  name: milestoner
@@ -64,14 +64,14 @@ dependencies:
64
64
  requirements:
65
65
  - - "~>"
66
66
  - !ruby/object:Gem::Version
67
- version: '7.14'
67
+ version: '7.15'
68
68
  type: :runtime
69
69
  prerelease: false
70
70
  version_requirements: !ruby/object:Gem::Requirement
71
71
  requirements:
72
72
  - - "~>"
73
73
  - !ruby/object:Gem::Version
74
- version: '7.14'
74
+ version: '7.15'
75
75
  - !ruby/object:Gem::Dependency
76
76
  name: rubocop
77
77
  requirement: !ruby/object:Gem::Requirement
@@ -190,14 +190,14 @@ dependencies:
190
190
  requirements:
191
191
  - - "~>"
192
192
  - !ruby/object:Gem::Version
193
- version: '1.0'
193
+ version: '1.3'
194
194
  type: :development
195
195
  prerelease: false
196
196
  version_requirements: !ruby/object:Gem::Requirement
197
197
  requirements:
198
198
  - - "~>"
199
199
  - !ruby/object:Gem::Version
200
- version: '1.0'
200
+ version: '1.3'
201
201
  - !ruby/object:Gem::Dependency
202
202
  name: guard-rspec
203
203
  requirement: !ruby/object:Gem::Requirement
metadata.gz.sig CHANGED
Binary file