gemsmith 14.1.2 → 14.5.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 +1 -1
- data.tar.gz.sig +0 -0
- data/README.adoc +11 -9
- data/lib/gemsmith.rb +1 -0
- data/lib/gemsmith/cli.rb +8 -5
- 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 +3 -3
- 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
- data/lib/gemsmith/templates/%gem_name%/bin/console.tt +1 -0
- data/lib/gemsmith/templates/%gem_name%/spec/spec_helper.rb.tt +1 -1
- metadata +13 -12
- 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: 8b7457300e915d5d07eba2cce6833fed4a167bcd107d2fc91373d31457c113c6
|
4
|
+
data.tar.gz: 9f08ed76e0fa3fbd8d02610a034ef820585691ebcb3a2dd116ae199957e501fd
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c18d96a5a586ef9017daaac65ce0f5f1ceecfa199c1c38c68d545e310b43a5e2a097cea4a4beb52d23f0b0b6bc53b92bfe490e42277ab28887d374cfbce8b28d
|
7
|
+
data.tar.gz: 1bd72ecbbdd888bd6997314ca6fbdcd0d1d27cd6406737f5a9cd82cfe33e2e0f12bb00f11038d014d1dfdac9d3dd6c2f460dffdbf7a5162d5e79d19feb898a3e
|
checksums.yaml.gz.sig
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{
|
1
|
+
�1z(Gz�y(�-���s�9�i��~�����i*`=���C:_)2�E�72� _D�{:M3>z���&��b�21�l� ������G B�h��a�n�[�s6E��J�n������F��8��C��������
|
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].
|
@@ -50,12 +50,12 @@ toc::[]
|
|
50
50
|
== Screencasts
|
51
51
|
|
52
52
|
[link=https://www.alchemists.io/screencasts/gemsmith]
|
53
|
-
image::https://www.alchemists.io/images/screencasts/gemsmith/cover
|
53
|
+
image::https://www.alchemists.io/images/screencasts/gemsmith/cover.svg[Screencast,600,240,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
|
@@ -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
|
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,
|
@@ -162,7 +167,6 @@ module Gemsmith
|
|
162
167
|
desc: "Add security support.",
|
163
168
|
type: :boolean,
|
164
169
|
default: configuration.to_h.dig(:generate, :security)
|
165
|
-
# rubocop:disable Metrics/AbcSize
|
166
170
|
# :reek:TooManyStatements
|
167
171
|
def generate name
|
168
172
|
print_cli_and_rails_engine_option_error && return if options.cli? && options.engine?
|
@@ -174,7 +178,6 @@ module Gemsmith
|
|
174
178
|
|
175
179
|
say_status :info, "Gem generation finished.", :green
|
176
180
|
end
|
177
|
-
# rubocop:enable Metrics/AbcSize
|
178
181
|
|
179
182
|
desc "-o, [--open=GEM]", "Open a gem in default editor."
|
180
183
|
map %w[-o --open] => :open
|
@@ -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.5.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,8 +33,8 @@ 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"
|
@@ -51,7 +51,7 @@ 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.89"
|
55
55
|
spec.add_development_dependency "rubocop-performance", "~> 1.5"
|
56
56
|
spec.add_development_dependency "rubocop-rake", "~> 0.5"
|
57
57
|
<%- end -%>
|
@@ -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.11.0/configurations/rubocop/ruby.yml
|
3
|
+
- https://raw.githubusercontent.com/bkuhlmann/code_quality/4.11.0/configurations/rubocop/rake.yml
|
4
|
+
- https://raw.githubusercontent.com/bkuhlmann/code_quality/4.11.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.11.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.11.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
|
@@ -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")].each(&method(:require))
|
16
|
+
Dir[File.join(__dir__, "support", "shared_contexts", "**/*.rb")].sort.each(&method(:require))
|
17
17
|
|
18
18
|
RSpec.configure do |config|
|
19
19
|
config.color = true
|
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.5.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-08-07 00:00:00.000000000 Z
|
32
32
|
dependencies:
|
33
33
|
- !ruby/object:Gem::Dependency
|
34
34
|
name: milestoner
|
@@ -78,14 +78,14 @@ dependencies:
|
|
78
78
|
requirements:
|
79
79
|
- - "~>"
|
80
80
|
- !ruby/object:Gem::Version
|
81
|
-
version: '0.
|
81
|
+
version: '0.89'
|
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.89'
|
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
|
@@ -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
|