rubysmith 6.6.0 → 6.8.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- checksums.yaml.gz.sig +0 -0
- data/README.adoc +18 -1
- data/lib/rubysmith/builders/abstract.rb +24 -0
- data/lib/rubysmith/builders/bundler.rb +1 -12
- data/lib/rubysmith/builders/caliber.rb +1 -12
- data/lib/rubysmith/builders/circle_ci.rb +1 -12
- data/lib/rubysmith/builders/console.rb +1 -12
- data/lib/rubysmith/builders/core.rb +1 -10
- data/lib/rubysmith/builders/documentation/citation.rb +1 -12
- data/lib/rubysmith/builders/documentation/license.rb +1 -10
- data/lib/rubysmith/builders/documentation/readme.rb +2 -11
- data/lib/rubysmith/builders/documentation/version.rb +1 -10
- data/lib/rubysmith/builders/git/commit.rb +2 -8
- data/lib/rubysmith/builders/git/ignore.rb +1 -12
- data/lib/rubysmith/builders/git/safe.rb +1 -12
- data/lib/rubysmith/builders/git/setup.rb +1 -12
- data/lib/rubysmith/builders/git_hub.rb +1 -10
- data/lib/rubysmith/builders/git_hub_ci.rb +1 -10
- data/lib/rubysmith/builders/guard.rb +1 -12
- data/lib/rubysmith/builders/init.rb +1 -12
- data/lib/rubysmith/builders/rake.rb +1 -10
- data/lib/rubysmith/builders/reek.rb +1 -12
- data/lib/rubysmith/builders/rspec/binstub.rb +1 -12
- data/lib/rubysmith/builders/rspec/context.rb +1 -12
- data/lib/rubysmith/builders/rspec/helper.rb +1 -12
- data/lib/rubysmith/builders/setup.rb +1 -12
- data/lib/rubysmith/builders/version.rb +1 -12
- data/lib/rubysmith/cli/actions/irb_kit.rb +22 -0
- data/lib/rubysmith/cli/actions/rtc.rb +22 -0
- data/lib/rubysmith/cli/commands/build.rb +2 -0
- data/lib/rubysmith/configuration/contract.rb +4 -1
- data/lib/rubysmith/configuration/defaults.yml +2 -0
- data/lib/rubysmith/configuration/model.rb +4 -1
- data/lib/rubysmith/configuration/transformers/git_email.rb +4 -4
- data/lib/rubysmith/configuration/transformers/git_hub_user.rb +4 -4
- data/lib/rubysmith/configuration/transformers/git_user.rb +10 -8
- data/lib/rubysmith/configuration/transformers/target_root.rb +4 -4
- data/lib/rubysmith/configuration/transformers/template_root.rb +4 -4
- data/lib/rubysmith/container.rb +1 -1
- data/lib/rubysmith/templates/%project_name%/CITATION.cff.erb +1 -1
- data/lib/rubysmith/templates/%project_name%/Gemfile.erb +6 -1
- data/lib/rubysmith/templates/%project_name%/LICENSE-apache.adoc.erb +1 -1
- data/lib/rubysmith/templates/%project_name%/LICENSE-apache.md.erb +1 -1
- data/lib/rubysmith/templates/%project_name%/LICENSE-mit.adoc.erb +1 -1
- data/lib/rubysmith/templates/%project_name%/LICENSE-mit.md.erb +1 -1
- data/lib/rubysmith/templates/%project_name%/README.adoc.erb +5 -36
- data/lib/rubysmith/templates/%project_name%/README.md.erb +6 -25
- data/lib/rubysmith/templates/%project_name%/VERSIONS.adoc.erb +1 -1
- data/lib/rubysmith/templates/%project_name%/VERSIONS.md.erb +1 -1
- data/lib/rubysmith/templates/%project_name%/spec/spec_helper.rb.erb +1 -0
- data/lib/rubysmith.rb +3 -1
- data/rubysmith.gemspec +3 -3
- data.tar.gz.sig +0 -0
- metadata +10 -8
- metadata.gz.sig +0 -0
- data/lib/rubysmith/configuration/transformers/current_time.rb +0 -18
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: 6.
|
4
|
+
version: 6.8.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Brooke Kuhlmann
|
@@ -35,7 +35,7 @@ cert_chain:
|
|
35
35
|
3n5C8/6Zh9DYTkpcwPSuIfAga6wf4nXc9m6JAw8AuMLaiWN/r/2s4zJsUHYERJEu
|
36
36
|
gZGm4JqtuSg8pYjPeIJxS960owq+SfuC+jxqmRA54BisFCv/0VOJi7tiJVY=
|
37
37
|
-----END CERTIFICATE-----
|
38
|
-
date: 2024-
|
38
|
+
date: 2024-05-25 00:00:00.000000000 Z
|
39
39
|
dependencies:
|
40
40
|
- !ruby/object:Gem::Dependency
|
41
41
|
name: cogger
|
@@ -99,14 +99,14 @@ dependencies:
|
|
99
99
|
requirements:
|
100
100
|
- - "~>"
|
101
101
|
- !ruby/object:Gem::Version
|
102
|
-
version: '1.
|
102
|
+
version: '1.5'
|
103
103
|
type: :runtime
|
104
104
|
prerelease: false
|
105
105
|
version_requirements: !ruby/object:Gem::Requirement
|
106
106
|
requirements:
|
107
107
|
- - "~>"
|
108
108
|
- !ruby/object:Gem::Version
|
109
|
-
version: '1.
|
109
|
+
version: '1.5'
|
110
110
|
- !ruby/object:Gem::Dependency
|
111
111
|
name: gitt
|
112
112
|
requirement: !ruby/object:Gem::Requirement
|
@@ -141,14 +141,14 @@ dependencies:
|
|
141
141
|
requirements:
|
142
142
|
- - "~>"
|
143
143
|
- !ruby/object:Gem::Version
|
144
|
-
version: '17.
|
144
|
+
version: '17.8'
|
145
145
|
type: :runtime
|
146
146
|
prerelease: false
|
147
147
|
version_requirements: !ruby/object:Gem::Requirement
|
148
148
|
requirements:
|
149
149
|
- - "~>"
|
150
150
|
- !ruby/object:Gem::Version
|
151
|
-
version: '17.
|
151
|
+
version: '17.8'
|
152
152
|
- !ruby/object:Gem::Dependency
|
153
153
|
name: pragmater
|
154
154
|
requirement: !ruby/object:Gem::Requirement
|
@@ -290,6 +290,7 @@ files:
|
|
290
290
|
- exe/rubysmith
|
291
291
|
- lib/rubysmith.rb
|
292
292
|
- lib/rubysmith/builder.rb
|
293
|
+
- lib/rubysmith/builders/abstract.rb
|
293
294
|
- lib/rubysmith/builders/bundler.rb
|
294
295
|
- lib/rubysmith/builders/caliber.rb
|
295
296
|
- lib/rubysmith/builders/circle_ci.rb
|
@@ -329,6 +330,7 @@ files:
|
|
329
330
|
- lib/rubysmith/cli/actions/git_hub_ci.rb
|
330
331
|
- lib/rubysmith/cli/actions/git_lint.rb
|
331
332
|
- lib/rubysmith/cli/actions/guard.rb
|
333
|
+
- lib/rubysmith/cli/actions/irb_kit.rb
|
332
334
|
- lib/rubysmith/cli/actions/license.rb
|
333
335
|
- lib/rubysmith/cli/actions/maximum.rb
|
334
336
|
- lib/rubysmith/cli/actions/minimum.rb
|
@@ -339,6 +341,7 @@ files:
|
|
339
341
|
- lib/rubysmith/cli/actions/reek.rb
|
340
342
|
- lib/rubysmith/cli/actions/refinements.rb
|
341
343
|
- lib/rubysmith/cli/actions/rspec.rb
|
344
|
+
- lib/rubysmith/cli/actions/rtc.rb
|
342
345
|
- lib/rubysmith/cli/actions/security.rb
|
343
346
|
- lib/rubysmith/cli/actions/setup.rb
|
344
347
|
- lib/rubysmith/cli/actions/simple_cov.rb
|
@@ -349,7 +352,6 @@ files:
|
|
349
352
|
- lib/rubysmith/configuration/contract.rb
|
350
353
|
- lib/rubysmith/configuration/defaults.yml
|
351
354
|
- lib/rubysmith/configuration/model.rb
|
352
|
-
- lib/rubysmith/configuration/transformers/current_time.rb
|
353
355
|
- lib/rubysmith/configuration/transformers/git_email.rb
|
354
356
|
- lib/rubysmith/configuration/transformers/git_hub_user.rb
|
355
357
|
- lib/rubysmith/configuration/transformers/git_user.rb
|
@@ -426,7 +428,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
426
428
|
- !ruby/object:Gem::Version
|
427
429
|
version: '0'
|
428
430
|
requirements: []
|
429
|
-
rubygems_version: 3.5.
|
431
|
+
rubygems_version: 3.5.10
|
430
432
|
signing_key:
|
431
433
|
specification_version: 4
|
432
434
|
summary: A command line interface for smithing Ruby projects.
|
metadata.gz.sig
CHANGED
Binary file
|
@@ -1,18 +0,0 @@
|
|
1
|
-
# frozen_string_literal: true
|
2
|
-
|
3
|
-
require "dry/monads"
|
4
|
-
|
5
|
-
module Rubysmith
|
6
|
-
module Configuration
|
7
|
-
# Adds current time to content.
|
8
|
-
module Transformers
|
9
|
-
include Dry::Monads[:result]
|
10
|
-
|
11
|
-
CurrentTime = lambda do |content, key = :now, at: Time.now|
|
12
|
-
content.fetch(key) { at }
|
13
|
-
.then { |value| content.merge! key => value }
|
14
|
-
.then { |updated_content| Dry::Monads::Success updated_content }
|
15
|
-
end
|
16
|
-
end
|
17
|
-
end
|
18
|
-
end
|