rubysmith 0.10.0 → 0.11.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: c99851111508a1453340fd292981281260eb2b197e1c3685fd40207078cfeee5
4
- data.tar.gz: e5781a5bf2f57c8129b1049ac817abdb60a2a2548f7a52fcbd29596587f4701c
3
+ metadata.gz: ae1f7e375e5e5d37e378cb82620d52dead76d846f2ea22cbbd32b76f714fc076
4
+ data.tar.gz: c2fb2727fd8af69b4cbbc35e55b9ff3dc1cdc96f0d05609d505ffaf10ba2e444
5
5
  SHA512:
6
- metadata.gz: 9dcbcf78f012f5fc4eb2409bd7d69ecb42e6033df93a227c510226621d56f8d291458c5528c33bf89673bf81f9849017a003fb8a8fdab649f706c725af862ffe
7
- data.tar.gz: f6f050ce4b479505bbdff25a34a880e8ce72afc48524c283692f34d255686dd4eab037b365019b4fbd83fce9dccce9e1394ea1b47295908b0c29d7d27db56c55
6
+ metadata.gz: 8ee1ad6e82cac22883971e4cf1ff46c606173385f507908be37cc2839fe9c4b9fd8104c1354a74fb7784c592f2cf0bcae44ae5feee71f4db12892c4a971b9fef
7
+ data.tar.gz: e29e0e144ca76fe0819bfceb8ca936171b0267c67c144acfd6c5aebc6cca8d84f3ecb165cd9f7f69f142a6c28685d2be20c45b68f605d741dfaec25e782eb459
checksums.yaml.gz.sig CHANGED
Binary file
data.tar.gz.sig CHANGED
Binary file
data/README.adoc CHANGED
@@ -26,7 +26,6 @@ toc::[]
26
26
  * Uses link:https://www.alchemists.io/projects/runcom[Runcom] for resource configuration management.
27
27
  * Uses link:https://www.alchemists.io/projects/pragmater[Pragmater] for Ruby source pragma directives.
28
28
  * Supports link:https://github.com/amazing-print/amazing_print[Amazing Print].
29
- * Supports link:https://github.com/rubysec/bundler-audit[Bundler Audit].
30
29
  * Supports link:https://github.com/rubymem/bundler-leak[Bundler Leak].
31
30
  * Supports link:https://git-scm.com[Git].
32
31
  * Supports link:https://www.alchemists.io/projects/git-lint[Git Lint].
@@ -79,13 +78,12 @@ From the command line, type: `rubysmith --help`
79
78
  ....
80
79
  USAGE:
81
80
  -b, --build NAME [options] Build new project.
82
- -v, --version Show gem version.
83
- -h, --help Show this message.
84
81
  -c, --config ACTION Manage gem configuration: edit or view.
82
+ -h, --help Show this message.
83
+ -v, --version Show gem version.
85
84
 
86
85
  BUILD OPTIONS:
87
86
  --[no-]amazing_print Add Amazing Print.
88
- --[no-]bundler-audit Add Bundler Audit.
89
87
  --[no-]bundler-leak Add Bundler Leak.
90
88
  --[no-]console Add console script.
91
89
  --[no-]documentation Add documentation.
@@ -161,7 +159,6 @@ The default configuration is as follows:
161
159
  :license: "mit"
162
160
  :build:
163
161
  :amazing_print: true
164
- :bundler_audit: true
165
162
  :bundler_leak: true
166
163
  :console: true
167
164
  :documentation: true
@@ -19,9 +19,7 @@ module Rubysmith
19
19
  logger: LOGGER
20
20
  }.freeze
21
21
 
22
- def self.call configuration, helpers: HELPERS
23
- new configuration, helpers: helpers
24
- end
22
+ def self.call(configuration, helpers: HELPERS) = new(configuration, helpers: helpers)
25
23
 
26
24
  def initialize configuration, helpers: HELPERS
27
25
  @configuration = configuration
@@ -21,7 +21,6 @@ module Rubysmith
21
21
  :documentation_license,
22
22
  :build_minimum,
23
23
  :build_amazing_print,
24
- :build_bundler_audit,
25
24
  :build_bundler_leak,
26
25
  :build_console,
27
26
  :build_documentation,
@@ -9,7 +9,6 @@
9
9
  :license: "mit"
10
10
  :build:
11
11
  :amazing_print: true
12
- :bundler_audit: true
13
12
  :bundler_leak: true
14
13
  :console: true
15
14
  :documentation: true
@@ -35,12 +35,6 @@ module Rubysmith
35
35
  end
36
36
  end
37
37
 
38
- def add_bundler_audit
39
- client.on "--[no-]bundler-audit", "Add Bundler Audit." do |value|
40
- options[:build_bundler_audit] = value
41
- end
42
- end
43
-
44
38
  def add_bundler_leak
45
39
  client.on "--[no-]bundler-leak", "Add Bundler Leak." do |value|
46
40
  options[:build_bundler_leak] = value
@@ -37,9 +37,7 @@ module Rubysmith
37
37
  Builders::Git::Commit
38
38
  ].freeze
39
39
 
40
- def self.with_minimum
41
- new builders: MINIMUM
42
- end
40
+ def self.with_minimum = new(builders: MINIMUM)
43
41
 
44
42
  def initialize configuration: Configuration::Loader.call, builders: MAXIMUM
45
43
  @configuration = configuration
@@ -27,7 +27,6 @@ module Rubysmith
27
27
  in build_minimum: true then process_build :build_minimum, options
28
28
  in build: then process_build :build_maximum, options
29
29
  in version: String => version then puts version
30
- in help: then usage
31
30
  else usage
32
31
  end
33
32
  end
@@ -4,7 +4,7 @@ module Rubysmith
4
4
  module Identity
5
5
  NAME = "rubysmith"
6
6
  LABEL = "Rubysmith"
7
- VERSION = "0.10.0"
7
+ VERSION = "0.11.0"
8
8
  VERSION_LABEL = "#{LABEL} #{VERSION}"
9
9
  SUMMARY = "A command line interface for smithing Ruby projects."
10
10
  end
@@ -8,9 +8,6 @@ source "https://rubygems.org"
8
8
  <% end %>
9
9
 
10
10
  group :code_quality do
11
- <% if configuration.build_bundler_audit %>
12
- gem "bundler-audit", "~> 0.7"
13
- <% end %>
14
11
  <% if configuration.build_bundler_leak %>
15
12
  gem "bundler-leak", "~> 0.2"
16
13
  <% end %>
@@ -21,7 +18,7 @@ source "https://rubygems.org"
21
18
  gem "reek", "~> 6.0"
22
19
  <% end %>
23
20
  <% if configuration.build_rubocop %>
24
- gem "rubocop", "~> 1.10"
21
+ gem "rubocop", "~> 1.14"
25
22
  gem "rubocop-performance", "~> 1.9"
26
23
  gem "rubocop-rake", "~> 0.5"
27
24
  <% end %>
@@ -1,8 +1,5 @@
1
1
  require "bundler/setup"
2
2
 
3
- <% if configuration.build_bundler_audit %>
4
- require "bundler/audit/task"
5
- <% end %>
6
3
  <% if configuration.build_bundler_leak %>
7
4
  require "bundler/plumber/task"
8
5
  <% end %>
@@ -22,9 +19,6 @@ require "bundler/setup"
22
19
  require "rubycritic/rake_task"
23
20
  <% end %>
24
21
 
25
- <% if configuration.build_bundler_audit %>
26
- Bundler::Audit::Task.new
27
- <% end %>
28
22
  <% if configuration.build_bundler_leak %>
29
23
  Bundler::Plumber::Task.new
30
24
  <% end %>
@@ -42,6 +36,6 @@ require "bundler/setup"
42
36
  <% end %>
43
37
 
44
38
  desc "Run code quality checks"
45
- task code_quality: %i[<% if configuration.build_bundler_audit %>bundle:audit<% end %> <% if configuration.build_bundler_leak %>bundle:leak<% end %> <% if configuration.build_git && configuration.build_git_lint %>git_lint<% end %> <% if configuration.build_reek %>reek<% end %> <% if configuration.build_rubocop %>rubocop<% end %> <% if configuration.build_ruby_critic %>rubycritic<% end %>]
39
+ task code_quality: %i[<% if configuration.build_bundler_leak %>bundle:leak<% end %> <% if configuration.build_git && configuration.build_git_lint %>git_lint<% end %> <% if configuration.build_reek %>reek<% end %> <% if configuration.build_rubocop %>rubocop<% end %> <% if configuration.build_ruby_critic %>rubycritic<% end %>]
46
40
 
47
41
  task default: %i[code_quality <% if configuration.build_rspec %>spec<% end %>]
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: 0.10.0
4
+ version: 0.11.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Brooke Kuhlmann
@@ -28,7 +28,7 @@ cert_chain:
28
28
  lkHilIrX69jq8wMPpBhlaw2mRmeSL50Wv5u6xVBvOHhXFSP1crXM95vfLhLyRYod
29
29
  W2A=
30
30
  -----END CERTIFICATE-----
31
- date: 2021-04-18 00:00:00.000000000 Z
31
+ date: 2021-08-08 00:00:00.000000000 Z
32
32
  dependencies:
33
33
  - !ruby/object:Gem::Dependency
34
34
  name: pragmater
@@ -64,14 +64,14 @@ dependencies:
64
64
  requirements:
65
65
  - - "~>"
66
66
  - !ruby/object:Gem::Version
67
- version: '1.10'
67
+ version: '1.14'
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.10'
74
+ version: '1.14'
75
75
  - !ruby/object:Gem::Dependency
76
76
  name: runcom
77
77
  requirement: !ruby/object:Gem::Requirement
@@ -181,7 +181,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
181
181
  - !ruby/object:Gem::Version
182
182
  version: '0'
183
183
  requirements: []
184
- rubygems_version: 3.2.16
184
+ rubygems_version: 3.2.25
185
185
  signing_key:
186
186
  specification_version: 4
187
187
  summary: A command line interface for smithing Ruby projects.
metadata.gz.sig CHANGED
Binary file