gemsmith 14.1.0 → 14.3.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.tar.gz.sig +0 -0
- data/README.adoc +13 -11
- data/lib/gemsmith.rb +1 -0
- data/lib/gemsmith/cli.rb +8 -3
- data/lib/gemsmith/gem/specification.rb +2 -2
- data/lib/gemsmith/generators/bundler_audit.rb +3 -3
- data/lib/gemsmith/generators/git.rb +2 -1
- data/lib/gemsmith/generators/git_cop.rb +1 -1
- data/lib/gemsmith/generators/git_lint.rb +14 -0
- data/lib/gemsmith/generators/rake.rb +3 -3
- data/lib/gemsmith/generators/reek.rb +6 -5
- data/lib/gemsmith/generators/rspec.rb +8 -7
- data/lib/gemsmith/generators/rubocop.rb +7 -6
- data/lib/gemsmith/identity.rb +2 -2
- data/lib/gemsmith/templates/%gem_name%/%gem_name%.gemspec.tt +6 -6
- data/lib/gemsmith/templates/%gem_name%/.github/ISSUE_TEMPLATE.md.tt +8 -5
- data/lib/gemsmith/templates/%gem_name%/.github/PULL_REQUEST_TEMPLATE.md.tt +6 -6
- data/lib/gemsmith/templates/%gem_name%/.rubocop.yml.tt +5 -5
- data/lib/gemsmith/templates/%gem_name%/CHANGES.md.tt +1 -1
- data/lib/gemsmith/templates/%gem_name%/README.md.tt +3 -3
- data/lib/gemsmith/templates/%gem_name%/Rakefile.tt +10 -14
- metadata +21 -20
- metadata.gz.sig +0 -0
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 63a99c876b27c76be06e5e76071e06d2a1a27674b7c2fd421bf18b3696bcf828
|
4
|
+
data.tar.gz: 15ed85ed55c1b14a00605f3dd784bfe772dc96326f9542de4fb14e649ff974bb
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5e495f24f288d108a189ae8c324a2cfcfa9c1f7af6a980fcb62cea275c00939659e52d7cdb0ddcab5aa376689c265b5f3574f5b863c48027c01459d5b4888f7f
|
7
|
+
data.tar.gz: 85f06a3fccbc33c6e55024bae11dfa70ce0738ea6d729efd737c5a71a1c1f01b0d775447d9f6a1032a81b2f03431f89983615e8b9095cc7ae5d973abf0d1b78a
|
checksums.yaml.gz.sig
CHANGED
Binary file
|
data.tar.gz.sig
CHANGED
Binary file
|
data/README.adoc
CHANGED
@@ -24,7 +24,7 @@ toc::[]
|
|
24
24
|
* Uses link:https://www.alchemists.io/projects/tocer[Tocer] for README table of contents generation.
|
25
25
|
* Supports link:https://github.com/rubysec/bundler-audit[Bundler Audit].
|
26
26
|
* Supports link:https://circleci.com[Circle CI].
|
27
|
-
* Supports link:https://www.alchemists.io/projects/git-
|
27
|
+
* Supports link:https://www.alchemists.io/projects/git-lint[Git Lint].
|
28
28
|
* Supports link:https://github.com[GitHub].
|
29
29
|
* Supports link:https://github.com/guard/guard[Guard].
|
30
30
|
* Supports link:http://pryrepl.org[Pry].
|
@@ -32,7 +32,7 @@ toc::[]
|
|
32
32
|
* Supports link:https://rspec.info[RSpec].
|
33
33
|
* Supports link:https://github.com/rubocop-hq/rubocop[Rubocop].
|
34
34
|
* Supports link:https://github.com/rubocop-hq/rubocop-rspec[Rubocop RSpec].
|
35
|
-
* Supports link:
|
35
|
+
* Supports link:https://rubyonrails.org[Ruby on Rails].
|
36
36
|
* Supports link:https://guides.rubygems.org/security[RubyGems Security].
|
37
37
|
* Supports link:https://github.com/colszowka/simplecov[SimpleCov].
|
38
38
|
* Supports link:https://github.com/erikhuda/thor[Thor].
|
@@ -49,13 +49,13 @@ toc::[]
|
|
49
49
|
|
50
50
|
== Screencasts
|
51
51
|
|
52
|
-
[link=https://www.alchemists.io/screencasts/gemsmith
|
52
|
+
[link=https://www.alchemists.io/screencasts/gemsmith]
|
53
53
|
image::https://www.alchemists.io/images/screencasts/gemsmith/cover-original.png[Screencast,role=focal_point]
|
54
54
|
|
55
55
|
== Requirements
|
56
56
|
|
57
57
|
. A UNIX-based system.
|
58
|
-
. link:https://www.ruby-lang.org[Ruby
|
58
|
+
. link:https://www.ruby-lang.org[Ruby].
|
59
59
|
. link:https://rubygems.org[RubyGems].
|
60
60
|
. link:https://github.com/bundler/bundler[Bundler].
|
61
61
|
|
@@ -111,10 +111,10 @@ For more gem generation options, type: `gemsmith --help --generate`
|
|
111
111
|
[--circle-ci], [--no-circle-ci] # Add Circle CI support.
|
112
112
|
[--cli], [--no-cli] # Add CLI support.
|
113
113
|
[--engine], [--no-engine] # Add Rails Engine support.
|
114
|
-
[--git-cop], [--no-git-cop] # Add Git Cop support.
|
114
|
+
[--git-cop], [--no-git-cop] # Add Git Cop support. DEPRECATED: Use Git Lint instead.
|
115
|
+
[--git-lint], [--no-git-lint] # Add Git Lint support.
|
115
116
|
# Default: true
|
116
117
|
[--git-hub], [--no-git-hub] # Add GitHub support.
|
117
|
-
# Default: true
|
118
118
|
[--guard], [--no-guard] # Add Guard support.
|
119
119
|
# Default: true
|
120
120
|
[--pry], [--no-pry] # Add Pry support.
|
@@ -125,6 +125,8 @@ For more gem generation options, type: `gemsmith --help --generate`
|
|
125
125
|
# Default: true
|
126
126
|
[--rubocop], [--no-rubocop] # Add Rubocop support.
|
127
127
|
# Default: true
|
128
|
+
[--simple-cov], [--no-simple-cov] # Add SimpleCov support.
|
129
|
+
# Default: true
|
128
130
|
[--security], [--no-security] # Add security support.
|
129
131
|
....
|
130
132
|
|
@@ -138,14 +140,14 @@ rake build # Build example-0.1.0.gem package
|
|
138
140
|
rake bundle:audit # Updates the ruby-advisory-db then runs bundle-audit
|
139
141
|
rake clean # Clean gem artifacts
|
140
142
|
rake code_quality # Run code quality checks
|
141
|
-
rake
|
143
|
+
rake git_lint # Run Git Lint
|
142
144
|
rake install # Install example-0.1.0.gem package
|
143
145
|
rake publish # Build, tag as 0.1.0 (unsigned), and push example-0.1.0.gem to RubyGems
|
144
146
|
rake reek # Check for code smells
|
145
147
|
rake rubocop # Run RuboCop
|
146
148
|
rake rubocop:auto_correct # Auto-correct RuboCop offenses
|
147
149
|
rake spec # Run RSpec code examples
|
148
|
-
rake toc
|
150
|
+
rake toc[label,includes] # Add/Update Table of Contents (README)
|
149
151
|
....
|
150
152
|
|
151
153
|
_NOTE: Some tasks might differ depending on what options you enabled/disabled during gem
|
@@ -178,7 +180,7 @@ The default configuration is as follows:
|
|
178
180
|
[source,yaml]
|
179
181
|
----
|
180
182
|
:year: <current year>
|
181
|
-
:github_user: "<Git config GitHub user>"
|
183
|
+
:github_user: "<Git config GitHub user>"
|
182
184
|
:gem:
|
183
185
|
:label: "Undefined"
|
184
186
|
:name: "undefined"
|
@@ -202,7 +204,7 @@ The default configuration is as follows:
|
|
202
204
|
:circle_ci: false
|
203
205
|
:cli: false
|
204
206
|
:engine: false
|
205
|
-
:
|
207
|
+
:git_lint: true
|
206
208
|
:git_hub: true
|
207
209
|
:guard: true
|
208
210
|
:pry: true
|
@@ -412,4 +414,4 @@ Read link:CHANGES.adoc[CHANGES] for details.
|
|
412
414
|
|
413
415
|
== Credits
|
414
416
|
|
415
|
-
Engineered by link:https://www.alchemists.io/team/brooke_kuhlmann
|
417
|
+
Engineered by link:https://www.alchemists.io/team/brooke_kuhlmann[Brooke Kuhlmann].
|
data/lib/gemsmith.rb
CHANGED
@@ -20,6 +20,7 @@ require "gemsmith/generators/documentation"
|
|
20
20
|
require "gemsmith/generators/gem"
|
21
21
|
require "gemsmith/generators/git"
|
22
22
|
require "gemsmith/generators/git_cop"
|
23
|
+
require "gemsmith/generators/git_lint"
|
23
24
|
require "gemsmith/generators/git_hub"
|
24
25
|
require "gemsmith/generators/guard"
|
25
26
|
require "gemsmith/generators/pragma"
|
data/lib/gemsmith/cli.rb
CHANGED
@@ -58,7 +58,7 @@ module Gemsmith
|
|
58
58
|
bundler_audit: true,
|
59
59
|
circle_ci: false,
|
60
60
|
cli: false,
|
61
|
-
|
61
|
+
git_lint: true,
|
62
62
|
git_hub: false,
|
63
63
|
guard: true,
|
64
64
|
pry: true,
|
@@ -88,6 +88,7 @@ module Gemsmith
|
|
88
88
|
Generators::Rspec,
|
89
89
|
Generators::BundlerAudit,
|
90
90
|
Generators::GitCop,
|
91
|
+
Generators::GitLint,
|
91
92
|
Generators::Reek,
|
92
93
|
Generators::Guard,
|
93
94
|
Generators::CircleCI,
|
@@ -127,9 +128,13 @@ module Gemsmith
|
|
127
128
|
type: :boolean,
|
128
129
|
default: configuration.to_h.dig(:generate, :engine)
|
129
130
|
method_option :git_cop,
|
130
|
-
desc: "Add Git Cop support.",
|
131
|
+
desc: "Add Git Cop support. DEPRECATED: Use Git Lint instead.",
|
131
132
|
type: :boolean,
|
132
|
-
default:
|
133
|
+
default: false
|
134
|
+
method_option :git_lint,
|
135
|
+
desc: "Add Git Lint support.",
|
136
|
+
type: :boolean,
|
137
|
+
default: configuration.to_h.dig(:generate, :git_lint)
|
133
138
|
method_option :git_hub,
|
134
139
|
desc: "Add GitHub support.",
|
135
140
|
type: :boolean,
|
@@ -44,11 +44,11 @@ module Gemsmith
|
|
44
44
|
end
|
45
45
|
|
46
46
|
def allowed_push_key
|
47
|
-
spec.metadata.fetch
|
47
|
+
spec.metadata.fetch "allowed_push_key", "rubygems_api_key"
|
48
48
|
end
|
49
49
|
|
50
50
|
def allowed_push_host
|
51
|
-
spec.metadata.fetch
|
51
|
+
spec.metadata.fetch "allowed_push_host", self.class.default_gem_host
|
52
52
|
end
|
53
53
|
|
54
54
|
def package_file_name
|
@@ -5,10 +5,10 @@ module Gemsmith
|
|
5
5
|
# Generates Bundler Audit support.
|
6
6
|
class BundlerAudit < Base
|
7
7
|
def run
|
8
|
-
return
|
8
|
+
return if configuration.dig :generate, :bundler_audit
|
9
9
|
|
10
|
-
cli.
|
11
|
-
cli.
|
10
|
+
cli.gsub_file "#{gem_name}/Rakefile", %r(require.+bundler/audit.+\n), ""
|
11
|
+
cli.gsub_file "#{gem_name}/Rakefile", /Bundler::Audit.+\n/, ""
|
12
12
|
end
|
13
13
|
end
|
14
14
|
end
|
@@ -26,7 +26,8 @@ module Gemsmith
|
|
26
26
|
|
27
27
|
def create_repository
|
28
28
|
create_commit "Added gem skeleton",
|
29
|
-
"
|
29
|
+
"Generated with [#{Identity::LABEL}](#{Identity::URL})\n" \
|
30
|
+
"#{Identity::VERSION}."
|
30
31
|
end
|
31
32
|
|
32
33
|
def create_commit subject, body
|
@@ -0,0 +1,14 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
module Gemsmith
|
4
|
+
module Generators
|
5
|
+
# Generates Git Lint support.
|
6
|
+
class GitLint < Base
|
7
|
+
def run
|
8
|
+
return if configuration.dig :generate, :git_lint
|
9
|
+
|
10
|
+
cli.gsub_file "#{gem_name}/Rakefile", %r(require.+git/lint.+\n), ""
|
11
|
+
end
|
12
|
+
end
|
13
|
+
end
|
14
|
+
end
|
@@ -36,8 +36,8 @@ module Gemsmith
|
|
36
36
|
configuration.dig(:generate, :bundler_audit) ? "bundle:audit" : ""
|
37
37
|
end
|
38
38
|
|
39
|
-
def
|
40
|
-
configuration.dig(:generate, :
|
39
|
+
def git_lint_task
|
40
|
+
configuration.dig(:generate, :git_lint) ? "git_lint" : ""
|
41
41
|
end
|
42
42
|
|
43
43
|
def reek_task
|
@@ -51,7 +51,7 @@ module Gemsmith
|
|
51
51
|
def code_quality_tasks
|
52
52
|
[
|
53
53
|
bundler_audit_task,
|
54
|
-
|
54
|
+
git_lint_task,
|
55
55
|
reek_task,
|
56
56
|
rubocop_task
|
57
57
|
].compress.join " "
|
@@ -5,11 +5,12 @@ module Gemsmith
|
|
5
5
|
# Generates Reek support.
|
6
6
|
class Reek < Base
|
7
7
|
def run
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
8
|
+
if configuration.dig :generate, :reek
|
9
|
+
template "%gem_name%/.reek.yml.tt"
|
10
|
+
else
|
11
|
+
cli.gsub_file "#{gem_name}/Rakefile", /require.+reek.+\n/, ""
|
12
|
+
cli.gsub_file "#{gem_name}/Rakefile", /Reek.+\n/, ""
|
13
|
+
end
|
13
14
|
end
|
14
15
|
end
|
15
16
|
end
|
@@ -5,17 +5,18 @@ module Gemsmith
|
|
5
5
|
# Generates RSpec support.
|
6
6
|
class Rspec < Base
|
7
7
|
def run
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
8
|
+
if configuration.dig :generate, :rspec
|
9
|
+
install_templates
|
10
|
+
else
|
11
|
+
remove_rake_lines
|
12
|
+
end
|
12
13
|
end
|
13
14
|
|
14
15
|
private
|
15
16
|
|
16
|
-
def
|
17
|
-
cli.
|
18
|
-
cli.
|
17
|
+
def remove_rake_lines
|
18
|
+
cli.gsub_file "#{gem_name}/Rakefile", /require.+rspec.+\n/, ""
|
19
|
+
cli.gsub_file "#{gem_name}/Rakefile", /RSpec.+\n/, ""
|
19
20
|
end
|
20
21
|
|
21
22
|
def install_templates
|
@@ -5,12 +5,13 @@ module Gemsmith
|
|
5
5
|
# Generates Rubocop support.
|
6
6
|
class Rubocop < Base
|
7
7
|
def run
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
8
|
+
if configuration.dig :generate, :rubocop
|
9
|
+
template "%gem_name%/.rubocop.yml.tt"
|
10
|
+
cli.run "cd #{gem_name} && bundle exec rubocop --auto-correct > /dev/null"
|
11
|
+
else
|
12
|
+
cli.gsub_file "#{gem_name}/Rakefile", /require.+rubocop.+\n/, ""
|
13
|
+
cli.gsub_file "#{gem_name}/Rakefile", /RuboCop.+\n/, ""
|
14
|
+
end
|
14
15
|
end
|
15
16
|
end
|
16
17
|
end
|
data/lib/gemsmith/identity.rb
CHANGED
@@ -5,8 +5,8 @@ module Gemsmith
|
|
5
5
|
module Identity
|
6
6
|
NAME = "gemsmith"
|
7
7
|
LABEL = "Gemsmith"
|
8
|
-
VERSION = "14.
|
8
|
+
VERSION = "14.3.0"
|
9
9
|
VERSION_LABEL = "#{LABEL} #{VERSION}"
|
10
|
-
URL = "https://
|
10
|
+
URL = "https://www.alchemists.io/projects/gemsmith"
|
11
11
|
end
|
12
12
|
end
|
@@ -33,15 +33,15 @@ Gem::Specification.new do |spec|
|
|
33
33
|
spec.add_development_dependency "bundler-audit", "~> 0.6"
|
34
34
|
<%- end -%>
|
35
35
|
spec.add_development_dependency "gemsmith", "~> <%= Gemsmith::Identity::VERSION[/\d+\.\d+/] %>"
|
36
|
-
<%- if config.dig(:generate, :
|
37
|
-
spec.add_development_dependency "git-
|
36
|
+
<%- if config.dig(:generate, :git_lint) -%>
|
37
|
+
spec.add_development_dependency "git-lint", "~> 1.0"
|
38
38
|
<%- end -%>
|
39
39
|
<%- if config.dig(:generate, :guard) -%>
|
40
40
|
spec.add_development_dependency "guard-rspec", "~> 4.7"
|
41
41
|
<%- end -%>
|
42
42
|
<%- if config.dig(:generate, :pry) -%>
|
43
|
-
spec.add_development_dependency "pry", "~> 0.
|
44
|
-
spec.add_development_dependency "pry-byebug", "~> 3.
|
43
|
+
spec.add_development_dependency "pry", "~> 0.13"
|
44
|
+
spec.add_development_dependency "pry-byebug", "~> 3.9"
|
45
45
|
<%- end -%>
|
46
46
|
spec.add_development_dependency "rake", "~> 13.0"
|
47
47
|
<%- if config.dig(:generate, :reek) -%>
|
@@ -51,12 +51,12 @@ Gem::Specification.new do |spec|
|
|
51
51
|
spec.add_development_dependency "<%= config.dig(:generate, :engine) ? "rspec-rails" : "rspec" %>", "~> 3.9"
|
52
52
|
<%- end -%>
|
53
53
|
<%- if config.dig(:generate, :rubocop) -%>
|
54
|
-
spec.add_development_dependency "rubocop", "~> 0.
|
54
|
+
spec.add_development_dependency "rubocop", "~> 0.83"
|
55
55
|
spec.add_development_dependency "rubocop-performance", "~> 1.5"
|
56
56
|
spec.add_development_dependency "rubocop-rake", "~> 0.5"
|
57
57
|
<%- end -%>
|
58
58
|
<%- if config.dig(:generate, :rubocop) && config.dig(:generate, :rspec) -%>
|
59
|
-
spec.add_development_dependency "rubocop-rspec", "~> 1.
|
59
|
+
spec.add_development_dependency "rubocop-rspec", "~> 1.39"
|
60
60
|
<%- end -%>
|
61
61
|
<%- if config.dig(:generate, :simple_cov) -%>
|
62
62
|
spec.add_development_dependency "simplecov", "~> 0.18"
|
@@ -1,11 +1,14 @@
|
|
1
1
|
## Overview
|
2
|
-
<!-- Required. Describe,
|
2
|
+
<!-- Required. Describe, briefly, the behavior experienced. -->
|
3
|
+
|
4
|
+
## Screenshots/Screencasts
|
5
|
+
<!-- Optional. Attach screenshot(s) and/or screencast(s) that demo the behavior. -->
|
3
6
|
|
4
7
|
## Steps to Recreate
|
5
|
-
<!--
|
8
|
+
<!-- Required. List exact steps (numbered list) to reproduce errant behavior. -->
|
6
9
|
|
7
|
-
##
|
8
|
-
<!--
|
10
|
+
## Desired Behavior
|
11
|
+
<!-- Required. Describe the behavior you'd like to see or your idea of a proposed solution. -->
|
9
12
|
|
10
13
|
## Environment
|
11
|
-
<!--
|
14
|
+
<!-- Required. What is your operating system, software version(s), etc. -->
|
@@ -1,11 +1,11 @@
|
|
1
1
|
## Overview
|
2
|
-
<!-- Required. Why is this important/necessary
|
2
|
+
<!-- Required. Why is this important/necessary and what is the overarching architecture. -->
|
3
|
+
|
4
|
+
## Screenshots/Screencasts
|
5
|
+
<!-- Optional. Provide supporting image/video. -->
|
3
6
|
|
4
7
|
## Details
|
5
|
-
<!-- Optional. List the key features/highlights as bullet points.
|
8
|
+
<!-- Optional. List the key features/highlights as bullet points. -->
|
6
9
|
|
7
10
|
## Notes
|
8
|
-
<!-- Optional. List additional notes/references as bullet points.
|
9
|
-
|
10
|
-
## Screenshots/Screencasts
|
11
|
-
<!-- Optional. Provide supporting image/video. Delete if unused. -->
|
11
|
+
<!-- Optional. List additional notes/references as bullet points. -->
|
@@ -1,12 +1,12 @@
|
|
1
1
|
inherit_from:
|
2
|
-
- https://raw.githubusercontent.com/bkuhlmann/code_quality/4.
|
3
|
-
- https://raw.githubusercontent.com/bkuhlmann/code_quality/4.
|
4
|
-
- https://raw.githubusercontent.com/bkuhlmann/code_quality/4.
|
2
|
+
- https://raw.githubusercontent.com/bkuhlmann/code_quality/4.9.0/configurations/rubocop/ruby.yml
|
3
|
+
- https://raw.githubusercontent.com/bkuhlmann/code_quality/4.9.0/configurations/rubocop/rake.yml
|
4
|
+
- https://raw.githubusercontent.com/bkuhlmann/code_quality/4.9.0/configurations/rubocop/performance.yml
|
5
5
|
<%- if config.dig(:generate, :rspec) -%>
|
6
|
-
- https://raw.githubusercontent.com/bkuhlmann/code_quality/4.
|
6
|
+
- https://raw.githubusercontent.com/bkuhlmann/code_quality/4.9.0/configurations/rubocop/rspec.yml
|
7
7
|
<%- end -%>
|
8
8
|
<%- if config.dig(:generate, :engine) -%>
|
9
|
-
- https://raw.githubusercontent.com/bkuhlmann/code_quality/4.
|
9
|
+
- https://raw.githubusercontent.com/bkuhlmann/code_quality/4.9.0/configurations/rubocop/rails.yml
|
10
10
|
<%- end -%>
|
11
11
|
|
12
12
|
<%- if config.dig(:generate, :cli) -%>
|
@@ -18,9 +18,9 @@
|
|
18
18
|
|
19
19
|
## Requirements
|
20
20
|
|
21
|
-
1. [Ruby
|
21
|
+
1. [Ruby](https://www.ruby-lang.org)
|
22
22
|
<%- if config.dig(:generate, :engine) -%>
|
23
|
-
1. [Ruby on Rails](
|
23
|
+
1. [Ruby on Rails](https://rubyonrails.org)
|
24
24
|
<%- end -%>
|
25
25
|
|
26
26
|
## Setup
|
@@ -84,7 +84,7 @@ Read [LICENSE](LICENSE.md) for details.
|
|
84
84
|
## History
|
85
85
|
|
86
86
|
Read [CHANGES](CHANGES.md) for details.
|
87
|
-
Built with [Gemsmith](https://
|
87
|
+
Built with [Gemsmith](https://www.alchemists.io/projects/gemsmith).
|
88
88
|
|
89
89
|
## Credits
|
90
90
|
|
@@ -1,15 +1,11 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
# require "rubocop/rake_task"
|
1
|
+
require "gemsmith/rake/setup"
|
2
|
+
require "bundler/audit/task"
|
3
|
+
require "git/lint/rake/setup"
|
4
|
+
require "rspec/core/rake_task"
|
5
|
+
require "reek/rake/task"
|
6
|
+
require "rubocop/rake_task"
|
8
7
|
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
rescue LoadError => error
|
14
|
-
puts error.message
|
15
|
-
end
|
8
|
+
Bundler::Audit::Task.new
|
9
|
+
RSpec::Core::RakeTask.new :spec
|
10
|
+
Reek::Rake::Task.new
|
11
|
+
RuboCop::RakeTask.new
|
metadata
CHANGED
@@ -1,11 +1,11 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: gemsmith
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 14.
|
4
|
+
version: 14.3.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Brooke Kuhlmann
|
8
|
-
autorequire:
|
8
|
+
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain:
|
11
11
|
- |
|
@@ -28,7 +28,7 @@ cert_chain:
|
|
28
28
|
2XV8FRa7/JimI07sPLC13eLY3xd/aYTi85Z782KIA4j0G8XEEWAX0ouBhlXPocZv
|
29
29
|
QWc=
|
30
30
|
-----END CERTIFICATE-----
|
31
|
-
date: 2020-
|
31
|
+
date: 2020-06-28 00:00:00.000000000 Z
|
32
32
|
dependencies:
|
33
33
|
- !ruby/object:Gem::Dependency
|
34
34
|
name: milestoner
|
@@ -64,28 +64,28 @@ dependencies:
|
|
64
64
|
requirements:
|
65
65
|
- - "~>"
|
66
66
|
- !ruby/object:Gem::Version
|
67
|
-
version: '7.
|
67
|
+
version: '7.4'
|
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.
|
74
|
+
version: '7.4'
|
75
75
|
- !ruby/object:Gem::Dependency
|
76
76
|
name: rubocop
|
77
77
|
requirement: !ruby/object:Gem::Requirement
|
78
78
|
requirements:
|
79
79
|
- - "~>"
|
80
80
|
- !ruby/object:Gem::Version
|
81
|
-
version: '0.
|
81
|
+
version: '0.83'
|
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.
|
88
|
+
version: '0.83'
|
89
89
|
- !ruby/object:Gem::Dependency
|
90
90
|
name: runcom
|
91
91
|
requirement: !ruby/object:Gem::Requirement
|
@@ -171,19 +171,19 @@ dependencies:
|
|
171
171
|
- !ruby/object:Gem::Version
|
172
172
|
version: '0.2'
|
173
173
|
- !ruby/object:Gem::Dependency
|
174
|
-
name: git-
|
174
|
+
name: git-lint
|
175
175
|
requirement: !ruby/object:Gem::Requirement
|
176
176
|
requirements:
|
177
177
|
- - "~>"
|
178
178
|
- !ruby/object:Gem::Version
|
179
|
-
version: '
|
179
|
+
version: '1.0'
|
180
180
|
type: :development
|
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: '
|
186
|
+
version: '1.0'
|
187
187
|
- !ruby/object:Gem::Dependency
|
188
188
|
name: guard-rspec
|
189
189
|
requirement: !ruby/object:Gem::Requirement
|
@@ -204,28 +204,28 @@ dependencies:
|
|
204
204
|
requirements:
|
205
205
|
- - "~>"
|
206
206
|
- !ruby/object:Gem::Version
|
207
|
-
version: '0.
|
207
|
+
version: '0.13'
|
208
208
|
type: :development
|
209
209
|
prerelease: false
|
210
210
|
version_requirements: !ruby/object:Gem::Requirement
|
211
211
|
requirements:
|
212
212
|
- - "~>"
|
213
213
|
- !ruby/object:Gem::Version
|
214
|
-
version: '0.
|
214
|
+
version: '0.13'
|
215
215
|
- !ruby/object:Gem::Dependency
|
216
216
|
name: pry-byebug
|
217
217
|
requirement: !ruby/object:Gem::Requirement
|
218
218
|
requirements:
|
219
219
|
- - "~>"
|
220
220
|
- !ruby/object:Gem::Version
|
221
|
-
version: '3.
|
221
|
+
version: '3.9'
|
222
222
|
type: :development
|
223
223
|
prerelease: false
|
224
224
|
version_requirements: !ruby/object:Gem::Requirement
|
225
225
|
requirements:
|
226
226
|
- - "~>"
|
227
227
|
- !ruby/object:Gem::Version
|
228
|
-
version: '3.
|
228
|
+
version: '3.9'
|
229
229
|
- !ruby/object:Gem::Dependency
|
230
230
|
name: rake
|
231
231
|
requirement: !ruby/object:Gem::Requirement
|
@@ -302,14 +302,14 @@ dependencies:
|
|
302
302
|
requirements:
|
303
303
|
- - "~>"
|
304
304
|
- !ruby/object:Gem::Version
|
305
|
-
version: '1.
|
305
|
+
version: '1.39'
|
306
306
|
type: :development
|
307
307
|
prerelease: false
|
308
308
|
version_requirements: !ruby/object:Gem::Requirement
|
309
309
|
requirements:
|
310
310
|
- - "~>"
|
311
311
|
- !ruby/object:Gem::Version
|
312
|
-
version: '1.
|
312
|
+
version: '1.39'
|
313
313
|
- !ruby/object:Gem::Dependency
|
314
314
|
name: simplecov
|
315
315
|
requirement: !ruby/object:Gem::Requirement
|
@@ -324,7 +324,7 @@ dependencies:
|
|
324
324
|
- - "~>"
|
325
325
|
- !ruby/object:Gem::Version
|
326
326
|
version: '0.18'
|
327
|
-
description:
|
327
|
+
description:
|
328
328
|
email:
|
329
329
|
- brooke@alchemists.io
|
330
330
|
executables:
|
@@ -361,6 +361,7 @@ files:
|
|
361
361
|
- lib/gemsmith/generators/git.rb
|
362
362
|
- lib/gemsmith/generators/git_cop.rb
|
363
363
|
- lib/gemsmith/generators/git_hub.rb
|
364
|
+
- lib/gemsmith/generators/git_lint.rb
|
364
365
|
- lib/gemsmith/generators/guard.rb
|
365
366
|
- lib/gemsmith/generators/pragma.rb
|
366
367
|
- lib/gemsmith/generators/rake.rb
|
@@ -415,7 +416,7 @@ metadata:
|
|
415
416
|
changelog_uri: https://www.alchemists.io/projects/gemsmith/changes.html
|
416
417
|
documentation_uri: https://www.alchemists.io/projects/gemsmith
|
417
418
|
source_code_uri: https://github.com/bkuhlmann/gemsmith
|
418
|
-
post_install_message:
|
419
|
+
post_install_message:
|
419
420
|
rdoc_options: []
|
420
421
|
require_paths:
|
421
422
|
- lib
|
@@ -430,8 +431,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
430
431
|
- !ruby/object:Gem::Version
|
431
432
|
version: '0'
|
432
433
|
requirements: []
|
433
|
-
rubygems_version: 3.1.
|
434
|
-
signing_key:
|
434
|
+
rubygems_version: 3.1.4
|
435
|
+
signing_key:
|
435
436
|
specification_version: 4
|
436
437
|
summary: A command line interface for smithing new Ruby gems.
|
437
438
|
test_files: []
|
metadata.gz.sig
CHANGED
Binary file
|