rubysmith 3.7.0 → 3.8.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: 699368358e8834f42f015b3e9bc7dc8c277324bf64cdd563b23033096f7d9dfb
4
- data.tar.gz: 853c6e4a912a44f6f296e473ca31866f485059671bc1c344dbe117cb0deefe6e
3
+ metadata.gz: 5fc770b95d663343d5e00259dab60ae73d3a066c2922ad2fd2d8b499d21daa58
4
+ data.tar.gz: e6dae16037a540ea594de321769fbb2e7fec16614a535207b6a9f047c9f645d1
5
5
  SHA512:
6
- metadata.gz: 40f29192eace34156acb6533cc652583c5c7c196e5179290a5aec781da22989642dac4f09934aa975089c49e10fb008101d1eb40ddb93413b458d2a03481dd6a
7
- data.tar.gz: 7a1b554e089ea574ec43d8c78dadad7d14743e7567d6984633843d9d8164e08d073080f895cce8d274c061c55f3e6033f83de64c27a47da7a8043a3016b196d6
6
+ metadata.gz: a41b8601b8a5b4db493b43f15d2360c89427430ab89d5fb90e9b8bee4a6906fae3fedfa1021a41841ad4fef28813f59331e59023994f2d284d2b06776e7d0e19
7
+ data.tar.gz: 363fd4598261c4cbf3df234b8b2f5f8bbd975fefd6c456cbabcb64f5eb2a651e12e2b565f699371b631706f930f7fa165337bd2df929157b1434be34b7def785
checksums.yaml.gz.sig CHANGED
Binary file
@@ -21,10 +21,7 @@ module Rubysmith
21
21
 
22
22
  builder.call(configuration.merge(template_path: "%project_name%/spec/spec_helper.rb.erb"))
23
23
  .render
24
- .replace(/\n{3,}/, "\n\n")
25
- .replace(/\n\s{2}(?=(require|Simple|using|Pathname|Dir))/, "\n")
26
- .replace(/\n\s{4}(?=(enable|add|min))/, "\n ")
27
- .replace("5\n end", "5\nend")
24
+ .replace("\n\n\n", "\n\n")
28
25
 
29
26
  configuration
30
27
  end
@@ -3,7 +3,7 @@ ruby File.read(".ruby-version").strip
3
3
  source "https://rubygems.org"
4
4
 
5
5
  <% if configuration.build_refinements %>
6
- gem "refinements", "~> 9.6"
6
+ gem "refinements", "~> 9.7"
7
7
  <% end %>
8
8
  <% if configuration.build_zeitwerk %>
9
9
  gem "zeitwerk", "~> 2.6"
@@ -14,7 +14,7 @@ group :code_quality do
14
14
  gem "bundler-leak", "~> 0.2"
15
15
  <% end %>
16
16
  <% if configuration.build_caliber %>
17
- gem "caliber", "~> 0.11"
17
+ gem "caliber", "~> 0.16"
18
18
  <% end %>
19
19
  <% if configuration.build_git && configuration.build_git_lint %>
20
20
  gem "git-lint", "~> 4.0"
@@ -23,7 +23,7 @@ group :code_quality do
23
23
  gem "reek", "~> 6.1"
24
24
  <% end %>
25
25
  <% if configuration.build_simple_cov %>
26
- gem "simplecov", "~> 0.21"
26
+ gem "simplecov", "~> 0.21", require: false
27
27
  <% end %>
28
28
  end
29
29
 
@@ -35,7 +35,7 @@ group :development do
35
35
  gem "rake", "~> 13.0"
36
36
  <% end %>
37
37
  <% if configuration.markdown? %>
38
- gem "tocer", "~> 14.2"
38
+ gem "tocer", "~> 14.5"
39
39
  <% end %>
40
40
  <% if configuration.build_yard %>
41
41
  gem "yard", "~> 0.9"
@@ -1,4 +1,4 @@
1
- guard :rspec, cmd: "bundle exec rspec --format documentation" do
1
+ guard :rspec, cmd: "NO_COVERAGE=true bundle exec rspec --format documentation" do
2
2
  watch %r(^spec/.+_spec\.rb$)
3
3
  watch(%r(^lib/(.+)\.rb$)) { |m| "spec/lib/#{m[1]}_spec.rb" }
4
4
  watch("spec/spec_helper.rb") { "spec" }
@@ -26,7 +26,7 @@ require "bundler/setup"
26
26
  Reek::Rake::Task.new
27
27
  <% end %>
28
28
  <% if configuration.build_rspec %>
29
- RSpec::Core::RakeTask.new :spec
29
+ RSpec::Core::RakeTask.new
30
30
  <% end %>
31
31
  <% if configuration.build_caliber %>
32
32
  RuboCop::RakeTask.new
@@ -2,27 +2,29 @@ require "bundler/setup"
2
2
  Bundler.require :tools
3
3
 
4
4
  <% if configuration.build_simple_cov %>
5
- require "simplecov"
5
+ require "simplecov"
6
6
 
7
+ unless ENV["NO_COVERAGE"]
7
8
  SimpleCov.start do
8
9
  enable_coverage :branch
9
10
  add_filter %r(^/spec/)
10
11
  minimum_coverage_by_file line: 95, branch: 95
11
12
  end
13
+ end
12
14
  <% end %>
13
15
 
14
16
  require "<%= configuration.project_path %>"
15
17
  <% if configuration.build_refinements %>
16
- require "refinements"
18
+ require "refinements"
17
19
  <% end %>
18
20
 
19
21
  <% if configuration.build_refinements %>
20
- using Refinements::Pathnames
22
+ using Refinements::Pathnames
21
23
 
22
- Pathname.require_tree __dir__, "support/shared_contexts/**/*.rb"
24
+ Pathname.require_tree __dir__, "support/shared_contexts/**/*.rb"
23
25
  <% else %>
24
26
 
25
- Dir[File.join(__dir__, "support", "shared_contexts", "**/*.rb")].sort.each { |path| require path }
27
+ Dir[File.join(__dir__, "support", "shared_contexts", "**/*.rb")].sort.each { |path| require path }
26
28
  <% end %>
27
29
 
28
30
  RSpec.configure do |config|
data/rubysmith.gemspec CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  Gem::Specification.new do |spec|
4
4
  spec.name = "rubysmith"
5
- spec.version = "3.7.0"
5
+ spec.version = "3.8.0"
6
6
  spec.authors = ["Brooke Kuhlmann"]
7
7
  spec.email = ["brooke@alchemists.io"]
8
8
  spec.homepage = "https://github.com/bkuhlmann/rubysmith"
@@ -23,18 +23,18 @@ Gem::Specification.new do |spec|
23
23
  spec.cert_chain = [Gem.default_cert_path]
24
24
 
25
25
  spec.required_ruby_version = "~> 3.1"
26
- spec.add_dependency "cogger", "~> 0.2"
26
+ spec.add_dependency "cogger", "~> 0.4"
27
27
  spec.add_dependency "dry-container", "~> 0.11"
28
- spec.add_dependency "git_plus", "~> 1.4"
29
- spec.add_dependency "infusible", "~> 0.0"
30
- spec.add_dependency "milestoner", "~> 14.2"
28
+ spec.add_dependency "git_plus", "~> 1.7"
29
+ spec.add_dependency "infusible", "~> 0.2"
30
+ spec.add_dependency "milestoner", "~> 14.5"
31
31
  spec.add_dependency "pastel", "~> 0.8"
32
- spec.add_dependency "pragmater", "~> 11.2"
33
- spec.add_dependency "refinements", "~> 9.6"
32
+ spec.add_dependency "pragmater", "~> 11.5"
33
+ spec.add_dependency "refinements", "~> 9.7"
34
34
  spec.add_dependency "rubocop", "~> 1.35"
35
- spec.add_dependency "runcom", "~> 8.5"
36
- spec.add_dependency "spek", "~> 0.5"
37
- spec.add_dependency "tocer", "~> 14.2"
35
+ spec.add_dependency "runcom", "~> 8.7"
36
+ spec.add_dependency "spek", "~> 0.6"
37
+ spec.add_dependency "tocer", "~> 14.5"
38
38
  spec.add_dependency "zeitwerk", "~> 2.6"
39
39
 
40
40
  spec.bindir = "exe"
data.tar.gz.sig CHANGED
@@ -1,4 +1,3 @@
1
- �l���bT���]��Pix]*��e5U��.���>qs��=R��
2
- V(H&�#H�o
3
- $(�
4
- ]���3�t� `���
1
+ �P��?�K$�����f��^m�qT�ǁl_����l,_DE����[7
2
+ ?G���_�ߘ���+�$U۔�g,�]��:���C����7֙��$�dQ
3
+ ��`����d+֠sx�qű�ߴ8�������
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rubysmith
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.7.0
4
+ version: 3.8.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Brooke Kuhlmann
@@ -28,7 +28,7 @@ cert_chain:
28
28
  CxDe2+VuChj4I1nvIHdu+E6XoEVlanUPKmSg6nddhkKn2gC45Kyzh6FZqnzH/CRp
29
29
  RFE=
30
30
  -----END CERTIFICATE-----
31
- date: 2022-09-16 00:00:00.000000000 Z
31
+ date: 2022-10-22 00:00:00.000000000 Z
32
32
  dependencies:
33
33
  - !ruby/object:Gem::Dependency
34
34
  name: cogger
@@ -36,14 +36,14 @@ dependencies:
36
36
  requirements:
37
37
  - - "~>"
38
38
  - !ruby/object:Gem::Version
39
- version: '0.2'
39
+ version: '0.4'
40
40
  type: :runtime
41
41
  prerelease: false
42
42
  version_requirements: !ruby/object:Gem::Requirement
43
43
  requirements:
44
44
  - - "~>"
45
45
  - !ruby/object:Gem::Version
46
- version: '0.2'
46
+ version: '0.4'
47
47
  - !ruby/object:Gem::Dependency
48
48
  name: dry-container
49
49
  requirement: !ruby/object:Gem::Requirement
@@ -64,42 +64,42 @@ dependencies:
64
64
  requirements:
65
65
  - - "~>"
66
66
  - !ruby/object:Gem::Version
67
- version: '1.4'
67
+ version: '1.7'
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: '1.4'
74
+ version: '1.7'
75
75
  - !ruby/object:Gem::Dependency
76
76
  name: infusible
77
77
  requirement: !ruby/object:Gem::Requirement
78
78
  requirements:
79
79
  - - "~>"
80
80
  - !ruby/object:Gem::Version
81
- version: '0.0'
81
+ version: '0.2'
82
82
  type: :runtime
83
83
  prerelease: false
84
84
  version_requirements: !ruby/object:Gem::Requirement
85
85
  requirements:
86
86
  - - "~>"
87
87
  - !ruby/object:Gem::Version
88
- version: '0.0'
88
+ version: '0.2'
89
89
  - !ruby/object:Gem::Dependency
90
90
  name: milestoner
91
91
  requirement: !ruby/object:Gem::Requirement
92
92
  requirements:
93
93
  - - "~>"
94
94
  - !ruby/object:Gem::Version
95
- version: '14.2'
95
+ version: '14.5'
96
96
  type: :runtime
97
97
  prerelease: false
98
98
  version_requirements: !ruby/object:Gem::Requirement
99
99
  requirements:
100
100
  - - "~>"
101
101
  - !ruby/object:Gem::Version
102
- version: '14.2'
102
+ version: '14.5'
103
103
  - !ruby/object:Gem::Dependency
104
104
  name: pastel
105
105
  requirement: !ruby/object:Gem::Requirement
@@ -120,28 +120,28 @@ dependencies:
120
120
  requirements:
121
121
  - - "~>"
122
122
  - !ruby/object:Gem::Version
123
- version: '11.2'
123
+ version: '11.5'
124
124
  type: :runtime
125
125
  prerelease: false
126
126
  version_requirements: !ruby/object:Gem::Requirement
127
127
  requirements:
128
128
  - - "~>"
129
129
  - !ruby/object:Gem::Version
130
- version: '11.2'
130
+ version: '11.5'
131
131
  - !ruby/object:Gem::Dependency
132
132
  name: refinements
133
133
  requirement: !ruby/object:Gem::Requirement
134
134
  requirements:
135
135
  - - "~>"
136
136
  - !ruby/object:Gem::Version
137
- version: '9.6'
137
+ version: '9.7'
138
138
  type: :runtime
139
139
  prerelease: false
140
140
  version_requirements: !ruby/object:Gem::Requirement
141
141
  requirements:
142
142
  - - "~>"
143
143
  - !ruby/object:Gem::Version
144
- version: '9.6'
144
+ version: '9.7'
145
145
  - !ruby/object:Gem::Dependency
146
146
  name: rubocop
147
147
  requirement: !ruby/object:Gem::Requirement
@@ -162,42 +162,42 @@ dependencies:
162
162
  requirements:
163
163
  - - "~>"
164
164
  - !ruby/object:Gem::Version
165
- version: '8.5'
165
+ version: '8.7'
166
166
  type: :runtime
167
167
  prerelease: false
168
168
  version_requirements: !ruby/object:Gem::Requirement
169
169
  requirements:
170
170
  - - "~>"
171
171
  - !ruby/object:Gem::Version
172
- version: '8.5'
172
+ version: '8.7'
173
173
  - !ruby/object:Gem::Dependency
174
174
  name: spek
175
175
  requirement: !ruby/object:Gem::Requirement
176
176
  requirements:
177
177
  - - "~>"
178
178
  - !ruby/object:Gem::Version
179
- version: '0.5'
179
+ version: '0.6'
180
180
  type: :runtime
181
181
  prerelease: false
182
182
  version_requirements: !ruby/object:Gem::Requirement
183
183
  requirements:
184
184
  - - "~>"
185
185
  - !ruby/object:Gem::Version
186
- version: '0.5'
186
+ version: '0.6'
187
187
  - !ruby/object:Gem::Dependency
188
188
  name: tocer
189
189
  requirement: !ruby/object:Gem::Requirement
190
190
  requirements:
191
191
  - - "~>"
192
192
  - !ruby/object:Gem::Version
193
- version: '14.2'
193
+ version: '14.5'
194
194
  type: :runtime
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: '14.2'
200
+ version: '14.5'
201
201
  - !ruby/object:Gem::Dependency
202
202
  name: zeitwerk
203
203
  requirement: !ruby/object:Gem::Requirement
@@ -330,7 +330,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
330
330
  - !ruby/object:Gem::Version
331
331
  version: '0'
332
332
  requirements: []
333
- rubygems_version: 3.3.22
333
+ rubygems_version: 3.3.24
334
334
  signing_key:
335
335
  specification_version: 4
336
336
  summary: A command line interface for smithing Ruby projects.
metadata.gz.sig CHANGED
Binary file