gemsmith 7.7.0 → 8.0.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.md +114 -118
- data/bin/gemsmith +2 -1
- data/lib/gemsmith/cli.rb +195 -99
- data/lib/gemsmith/cli_helpers.rb +8 -19
- data/lib/gemsmith/credentials.rb +2 -2
- data/lib/gemsmith/gem/inspector.rb +30 -0
- data/lib/gemsmith/gem/module_formatter.rb +51 -0
- data/lib/gemsmith/gem/requirement.rb +2 -0
- data/lib/gemsmith/{aids/gem_spec.rb → gem/specification.rb} +19 -26
- data/lib/gemsmith/generators/base.rb +33 -0
- data/lib/gemsmith/generators/bundler.rb +15 -0
- data/lib/gemsmith/generators/cli.rb +17 -0
- data/lib/gemsmith/generators/code_climate.rb +14 -0
- data/lib/gemsmith/generators/documentation.rb +28 -0
- data/lib/gemsmith/generators/gem.rb +17 -0
- data/lib/gemsmith/{skeletons/git_skeleton.rb → generators/git.rb} +13 -7
- data/lib/gemsmith/generators/git_hub.rb +14 -0
- data/lib/gemsmith/generators/guard.rb +13 -0
- data/lib/gemsmith/generators/pragma.rb +40 -0
- data/lib/gemsmith/generators/rails.rb +85 -0
- data/lib/gemsmith/generators/rake.rb +40 -0
- data/lib/gemsmith/generators/reek.rb +13 -0
- data/lib/gemsmith/generators/rspec.rb +23 -0
- data/lib/gemsmith/generators/rubocop.rb +16 -0
- data/lib/gemsmith/{skeletons/ruby_skeleton.rb → generators/ruby.rb} +5 -5
- data/lib/gemsmith/generators/scss_lint.rb +13 -0
- data/lib/gemsmith/generators/travis.rb +13 -0
- data/lib/gemsmith/git.rb +19 -0
- data/lib/gemsmith/identity.rb +1 -1
- data/lib/gemsmith/rake/builder.rb +65 -0
- data/lib/gemsmith/rake/{release.rb → publisher.rb} +14 -5
- data/lib/gemsmith/rake/tasks.rb +32 -20
- data/lib/gemsmith/template_helper.rb +28 -0
- data/lib/gemsmith/templates/%gem_name%/%gem_name%.gemspec.tt +30 -28
- data/lib/gemsmith/templates/%gem_name%/.codeclimate.yml.tt +36 -0
- data/lib/gemsmith/templates/%gem_name%/.rubocop.yml.tt +9 -1
- data/lib/gemsmith/templates/%gem_name%/.travis.yml.tt +4 -1
- data/lib/gemsmith/templates/%gem_name%/{CHANGELOG.md.tt → CHANGES.md.tt} +0 -0
- data/lib/gemsmith/templates/%gem_name%/Guardfile.tt +1 -1
- data/lib/gemsmith/templates/%gem_name%/README.md.tt +20 -18
- data/lib/gemsmith/templates/%gem_name%/Rakefile.tt +6 -1
- data/lib/gemsmith/templates/%gem_name%/bin/%gem_name%.tt +4 -4
- data/lib/gemsmith/templates/%gem_name%/bin/setup.tt +1 -1
- data/lib/gemsmith/templates/%gem_name%/lib/%gem_path%.rb.tt +4 -0
- data/lib/gemsmith/templates/%gem_name%/lib/%gem_path%/cli.rb.tt +54 -0
- data/lib/gemsmith/templates/%gem_name%/lib/{%gem_name% → %gem_path%}/engine.rb.tt +2 -4
- data/lib/gemsmith/templates/%gem_name%/lib/{%gem_name% → %gem_path%}/identity.rb.tt +3 -5
- data/lib/gemsmith/templates/%gem_name%/lib/generators/{%gem_name% → %gem_path%}/install/USAGE.tt +0 -0
- data/lib/gemsmith/templates/%gem_name%/lib/generators/{%gem_name% → %gem_path%}/install/install_generator.rb.tt +2 -5
- data/lib/gemsmith/templates/%gem_name%/lib/generators/{%gem_name% → %gem_path%}/upgrade/USAGE.tt +0 -0
- data/lib/gemsmith/templates/%gem_name%/lib/generators/{%gem_name% → %gem_path%}/upgrade/upgrade_generator.rb.tt +2 -5
- data/lib/gemsmith/templates/%gem_name%/lib/tasks/reek.rake.tt +6 -0
- data/lib/gemsmith/templates/%gem_name%/lib/tasks/scss_lint.rake.tt +6 -0
- data/lib/gemsmith/templates/%gem_name%/spec/lib/%gem_path%/cli_spec.rb.tt +83 -0
- data/lib/gemsmith/templates/%gem_name%/spec/rails_helper.rb.tt +14 -0
- data/lib/gemsmith/templates/%gem_name%/spec/spec_helper.rb.tt +29 -16
- data/lib/gemsmith/templates/%gem_name%/spec/support/shared_contexts/temp_dir.rb.tt +9 -0
- data/lib/tasks/reek.rake +8 -0
- data/lib/tasks/rspec.rake +2 -0
- data/lib/tasks/rubocop.rake +2 -0
- metadata +138 -149
- metadata.gz.sig +0 -0
- data/lib/gemsmith/aids/git.rb +0 -12
- data/lib/gemsmith/aids/spec.rb +0 -46
- data/lib/gemsmith/configuration.rb +0 -200
- data/lib/gemsmith/rake/build.rb +0 -38
- data/lib/gemsmith/skeletons/base_skeleton.rb +0 -29
- data/lib/gemsmith/skeletons/bundler_skeleton.rb +0 -15
- data/lib/gemsmith/skeletons/cli_skeleton.rb +0 -16
- data/lib/gemsmith/skeletons/documentation_skeleton.rb +0 -28
- data/lib/gemsmith/skeletons/gem_skeleton.rb +0 -17
- data/lib/gemsmith/skeletons/git_hub_skeleton.rb +0 -14
- data/lib/gemsmith/skeletons/guard_skeleton.rb +0 -13
- data/lib/gemsmith/skeletons/pry_skeleton.rb +0 -13
- data/lib/gemsmith/skeletons/rails_skeleton.rb +0 -61
- data/lib/gemsmith/skeletons/rake_skeleton.rb +0 -37
- data/lib/gemsmith/skeletons/rspec_skeleton.rb +0 -26
- data/lib/gemsmith/skeletons/rubocop_skeleton.rb +0 -15
- data/lib/gemsmith/skeletons/travis_skeleton.rb +0 -13
- data/lib/gemsmith/templates/%gem_name%/lib/%gem_name%.rb.tt +0 -6
- data/lib/gemsmith/templates/%gem_name%/lib/%gem_name%/cli.rb.tt +0 -40
- data/lib/gemsmith/templates/%gem_name%/lib/tasks/console.rake.tt +0 -7
- data/lib/gemsmith/templates/%gem_name%/spec/lib/%gem_name%/%gem_name%_spec.rb.tt +0 -7
- data/lib/gemsmith/templates/%gem_name%/spec/support/extensions/pry.rb.tt +0 -5
- data/lib/gemsmith/templates/%gem_name%/spec/support/kit/default_config.rb.tt +0 -18
- data/lib/gemsmith/templates/%gem_name%/spec/support/kit/stderr.rb.tt +0 -9
- data/lib/gemsmith/templates/%gem_name%/spec/support/kit/stdout.rb.tt +0 -9
- data/lib/gemsmith/templates/%gem_name%/spec/support/kit/temp_dir.rb.tt +0 -25
- data/lib/tasks/console.rake +0 -7
data/lib/gemsmith/templates/%gem_name%/lib/generators/{%gem_name% → %gem_path%}/upgrade/USAGE.tt
RENAMED
File without changes
|
@@ -1,13 +1,10 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
module <%= config.dig(:gem, :class) %>
|
1
|
+
<% render_namespace do %>
|
4
2
|
# Generator for updating existing files.
|
5
3
|
class UpgradeGenerator < Rails::Generators::Base
|
6
4
|
source_root File.join(File.dirname(__FILE__), "..", "templates")
|
7
5
|
|
8
6
|
desc "Upgrades previously installed <%= config.dig(:gem, :class) %> resources."
|
9
7
|
def upgrade
|
10
|
-
# TODO: Add upgrade code.
|
11
8
|
end
|
12
9
|
end
|
13
|
-
end
|
10
|
+
<% end %>
|
@@ -0,0 +1,83 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
require "spec_helper"
|
4
|
+
require "<%= config.dig(:gem, :path) %>/cli"
|
5
|
+
|
6
|
+
RSpec.describe <%= config.dig(:gem, :class) %>::CLI do
|
7
|
+
let(:options) { [] }
|
8
|
+
let(:command_line) { Array(command).concat options }
|
9
|
+
let :cli do
|
10
|
+
lambda do
|
11
|
+
load "<%= config.dig(:gem, :path) %>/cli.rb" # Ensures clean Thor `.method_option` evaluation per spec.
|
12
|
+
described_class.start command_line
|
13
|
+
end
|
14
|
+
end
|
15
|
+
|
16
|
+
shared_examples_for "a config command", :temp_dir do
|
17
|
+
let(:configuration_path) { File.join temp_dir, <%= config.dig(:gem, :class) %>::Identity.file_name }
|
18
|
+
before { FileUtils.touch configuration_path }
|
19
|
+
|
20
|
+
context "with info option" do
|
21
|
+
let(:options) { %w[-i] }
|
22
|
+
|
23
|
+
it "prints configuration path" do
|
24
|
+
Dir.chdir(temp_dir) do
|
25
|
+
expect(&cli).to output("#{configuration_path}\n").to_stdout
|
26
|
+
end
|
27
|
+
end
|
28
|
+
end
|
29
|
+
|
30
|
+
context "with no options" do
|
31
|
+
it "prints help text" do
|
32
|
+
expect(&cli).to output(/Manage gem configuration./).to_stdout
|
33
|
+
end
|
34
|
+
end
|
35
|
+
end
|
36
|
+
|
37
|
+
shared_examples_for "a version command" do
|
38
|
+
it "prints version" do
|
39
|
+
expect(&cli).to output(/<%= config.dig(:gem, :class) %>\s#{<%= config.dig(:gem, :class) %>::Identity.version}\n/).to_stdout
|
40
|
+
end
|
41
|
+
end
|
42
|
+
|
43
|
+
shared_examples_for "a help command" do
|
44
|
+
it "prints usage" do
|
45
|
+
expect(&cli).to output(/<%= config.dig(:gem, :class) %>\s#{<%= config.dig(:gem, :class) %>::Identity.version}\scommands:\n/).to_stdout
|
46
|
+
end
|
47
|
+
end
|
48
|
+
|
49
|
+
describe "--config" do
|
50
|
+
let(:command) { "--config" }
|
51
|
+
it_behaves_like "a config command"
|
52
|
+
end
|
53
|
+
|
54
|
+
describe "-c" do
|
55
|
+
let(:command) { "-c" }
|
56
|
+
it_behaves_like "a config command"
|
57
|
+
end
|
58
|
+
|
59
|
+
describe "--version" do
|
60
|
+
let(:command) { "--version" }
|
61
|
+
it_behaves_like "a version command"
|
62
|
+
end
|
63
|
+
|
64
|
+
describe "-v" do
|
65
|
+
let(:command) { "-v" }
|
66
|
+
it_behaves_like "a version command"
|
67
|
+
end
|
68
|
+
|
69
|
+
describe "--help" do
|
70
|
+
let(:command) { "--help" }
|
71
|
+
it_behaves_like "a help command"
|
72
|
+
end
|
73
|
+
|
74
|
+
describe "-h" do
|
75
|
+
let(:command) { "-h" }
|
76
|
+
it_behaves_like "a help command"
|
77
|
+
end
|
78
|
+
|
79
|
+
context "with no command" do
|
80
|
+
let(:command) { nil }
|
81
|
+
it_behaves_like "a help command"
|
82
|
+
end
|
83
|
+
end
|
@@ -0,0 +1,14 @@
|
|
1
|
+
ENV["RAILS_ENV"] ||= "test"
|
2
|
+
require File.expand_path "../dummy/config/environment", __FILE__
|
3
|
+
ENV["RAILS_ROOT"] ||= File.dirname(__FILE__) + "/dummy"
|
4
|
+
|
5
|
+
require "spec_helper"
|
6
|
+
require "rspec/rails"
|
7
|
+
require "<%= config.dig(:gem, :path) %>"
|
8
|
+
|
9
|
+
RSpec.configure do |config|
|
10
|
+
config.include AbstractController::Translation
|
11
|
+
config.include ActiveSupport::Testing::TimeHelpers
|
12
|
+
config.include ActiveJob::TestHelper, type: :job
|
13
|
+
config.infer_spec_type_from_file_location!
|
14
|
+
end
|
@@ -1,21 +1,34 @@
|
|
1
|
-
# frozen_string_literal: true
|
2
|
-
|
3
1
|
require "bundler/setup"
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
require "codeclimate-test-reporter"
|
8
|
-
CodeClimate::TestReporter.start
|
9
|
-
end
|
2
|
+
<%- if config.dig(:generate, :code_climate) -%>
|
3
|
+
require "simplecov"
|
4
|
+
SimpleCov.start
|
10
5
|
|
11
6
|
<%- end -%>
|
12
|
-
<%- if config.dig(:
|
13
|
-
|
14
|
-
require
|
15
|
-
|
16
|
-
|
7
|
+
<%- if config.dig(:generate, :pry) -%>
|
8
|
+
require "pry"
|
9
|
+
require "pry-byebug"
|
10
|
+
require "pry-state"
|
17
11
|
<%- end -%>
|
18
|
-
require "<%= config.dig(:gem, :
|
12
|
+
<%- unless config.dig(:generate, :rails) -%>require "<%= config.dig(:gem, :path) %>"<%- end -%>
|
13
|
+
|
14
|
+
Dir[File.join(File.dirname(__FILE__), "support/shared_contexts/**/*.rb")].each { |file| require file }
|
19
15
|
|
20
|
-
|
21
|
-
|
16
|
+
RSpec.configure do |config|
|
17
|
+
config.order = "random"
|
18
|
+
config.disable_monkey_patching!
|
19
|
+
config.filter_run_when_matching :focus
|
20
|
+
config.example_status_persistence_file_path = "./tmp/rspec-status.txt"
|
21
|
+
config.shared_context_metadata_behavior = :apply_to_host_groups
|
22
|
+
|
23
|
+
config.mock_with :rspec do |mocks|
|
24
|
+
mocks.verify_partial_doubles = true
|
25
|
+
end
|
26
|
+
|
27
|
+
config.expect_with :rspec do |expectations|
|
28
|
+
expectations.syntax = :expect
|
29
|
+
expectations.include_chain_clauses_in_custom_matcher_descriptions = true
|
30
|
+
end
|
31
|
+
|
32
|
+
$stdout = File.new("/dev/null", "w") if ENV["SUPPRESS_STDOUT"] == "enabled"
|
33
|
+
$stderr = File.new("/dev/null", "w") if ENV["SUPPRESS_STDERR"] == "enabled"
|
34
|
+
end
|
data/lib/tasks/reek.rake
ADDED
data/lib/tasks/rspec.rake
CHANGED
data/lib/tasks/rubocop.rake
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: gemsmith
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version:
|
4
|
+
version: 8.0.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Brooke Kuhlmann
|
@@ -12,25 +12,25 @@ cert_chain:
|
|
12
12
|
-----BEGIN CERTIFICATE-----
|
13
13
|
MIIDeDCCAmCgAwIBAgIBATANBgkqhkiG9w0BAQUFADBBMQ8wDQYDVQQDDAZicm9v
|
14
14
|
a2UxGjAYBgoJkiaJk/IsZAEZFgphbGNoZW1pc3RzMRIwEAYKCZImiZPyLGQBGRYC
|
15
|
-
|
15
|
+
aW8wHhcNMTYxMDE5MTY0NDEzWhcNMTcxMDE5MTY0NDEzWjBBMQ8wDQYDVQQDDAZi
|
16
16
|
cm9va2UxGjAYBgoJkiaJk/IsZAEZFgphbGNoZW1pc3RzMRIwEAYKCZImiZPyLGQB
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
17
|
+
GRYCaW8wggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQCgryPL4/IbWDcL
|
18
|
+
fnqpnoJALqj+ega7hSsvvD8sac57HPNLeKcOmSafFiQLAnTmmE132ZlFc8kyZRVn
|
19
|
+
zmqSESowO5jd+ggFuy1ySqQJXhwgik04KedKRUjpIDZePrjw+M5UJT1qzKCKL2xI
|
20
|
+
nx5cOKP1fSWJ1RRu8JhaDeSloGtYMdw2c28wnKPNIsWDood4xhbLcY9IqeISft2e
|
21
|
+
oTAHTHandHbvt24X3/n67ceNjLBbsVZPXCC1C8C8ccjHjA4Tm2uiFoDwThMcPggg
|
22
|
+
90H6fh0vLFcNAobdPEchbge8tWtfmMPz2+C4yklANn81GA+ANsBS1uwx6mxJoMQU
|
23
|
+
BNVp0aLvAgMBAAGjezB5MAkGA1UdEwQCMAAwCwYDVR0PBAQDAgSwMB0GA1UdDgQW
|
24
|
+
BBRS85Rn1BaqeIONByw4t46DMDMzHDAfBgNVHREEGDAWgRRicm9va2VAYWxjaGVt
|
25
25
|
aXN0cy5pbzAfBgNVHRIEGDAWgRRicm9va2VAYWxjaGVtaXN0cy5pbzANBgkqhkiG
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
26
|
+
9w0BAQUFAAOCAQEAZMb57Y4wdpbX8XxTukEO7VC1pndccUsxdbziGsAOiuHET3Aq
|
27
|
+
ygLvrfdYrN88/w+qxncW5bxbO3a6UGkuhIFUPM8zRSE/rh6bCcJljTJrExVt42eV
|
28
|
+
aYCb7WJNsx3eNXHn3uQodq3tD+lmNJzz2bFeT3smGSKEnALBjqorO/2mpDh4FJ3S
|
29
|
+
4CcDYsJ1ywep8LDJDBBGdKz9moL+axryzpeTpgTT/fFYFzRzWrURPyDvPOikh9TX
|
30
|
+
n/LUZ1dKhIHzfKx1B4+TEIefArObGfkLIDM8+Dq1RX7TF1k81Men7iu4MgE9bYBn
|
31
|
+
3dE+xI3FdB5gWcdWxdtgRCmWjtXeYYyb4z6NQQ==
|
32
32
|
-----END CERTIFICATE-----
|
33
|
-
date: 2016-
|
33
|
+
date: 2016-11-12 00:00:00.000000000 Z
|
34
34
|
dependencies:
|
35
35
|
- !ruby/object:Gem::Dependency
|
36
36
|
name: thor
|
@@ -48,6 +48,20 @@ dependencies:
|
|
48
48
|
version: '0.19'
|
49
49
|
- !ruby/object:Gem::Dependency
|
50
50
|
name: thor_plus
|
51
|
+
requirement: !ruby/object:Gem::Requirement
|
52
|
+
requirements:
|
53
|
+
- - "~>"
|
54
|
+
- !ruby/object:Gem::Version
|
55
|
+
version: '4.0'
|
56
|
+
type: :runtime
|
57
|
+
prerelease: false
|
58
|
+
version_requirements: !ruby/object:Gem::Requirement
|
59
|
+
requirements:
|
60
|
+
- - "~>"
|
61
|
+
- !ruby/object:Gem::Version
|
62
|
+
version: '4.0'
|
63
|
+
- !ruby/object:Gem::Dependency
|
64
|
+
name: refinements
|
51
65
|
requirement: !ruby/object:Gem::Requirement
|
52
66
|
requirements:
|
53
67
|
- - "~>"
|
@@ -66,70 +80,70 @@ dependencies:
|
|
66
80
|
requirements:
|
67
81
|
- - "~>"
|
68
82
|
- !ruby/object:Gem::Version
|
69
|
-
version: '
|
83
|
+
version: '2.0'
|
70
84
|
type: :runtime
|
71
85
|
prerelease: false
|
72
86
|
version_requirements: !ruby/object:Gem::Requirement
|
73
87
|
requirements:
|
74
88
|
- - "~>"
|
75
89
|
- !ruby/object:Gem::Version
|
76
|
-
version: '
|
90
|
+
version: '2.0'
|
77
91
|
- !ruby/object:Gem::Dependency
|
78
|
-
name:
|
92
|
+
name: runcom
|
79
93
|
requirement: !ruby/object:Gem::Requirement
|
80
94
|
requirements:
|
81
95
|
- - "~>"
|
82
96
|
- !ruby/object:Gem::Version
|
83
|
-
version: '
|
97
|
+
version: '0.2'
|
84
98
|
type: :runtime
|
85
99
|
prerelease: false
|
86
100
|
version_requirements: !ruby/object:Gem::Requirement
|
87
101
|
requirements:
|
88
102
|
- - "~>"
|
89
103
|
- !ruby/object:Gem::Version
|
90
|
-
version: '
|
104
|
+
version: '0.2'
|
91
105
|
- !ruby/object:Gem::Dependency
|
92
|
-
name:
|
106
|
+
name: milestoner
|
93
107
|
requirement: !ruby/object:Gem::Requirement
|
94
108
|
requirements:
|
95
109
|
- - "~>"
|
96
110
|
- !ruby/object:Gem::Version
|
97
|
-
version: '
|
111
|
+
version: '4.0'
|
98
112
|
type: :runtime
|
99
113
|
prerelease: false
|
100
114
|
version_requirements: !ruby/object:Gem::Requirement
|
101
115
|
requirements:
|
102
116
|
- - "~>"
|
103
117
|
- !ruby/object:Gem::Version
|
104
|
-
version: '
|
118
|
+
version: '4.0'
|
105
119
|
- !ruby/object:Gem::Dependency
|
106
|
-
name:
|
120
|
+
name: pragmater
|
107
121
|
requirement: !ruby/object:Gem::Requirement
|
108
122
|
requirements:
|
109
123
|
- - "~>"
|
110
124
|
- !ruby/object:Gem::Version
|
111
|
-
version: '
|
125
|
+
version: '2.0'
|
112
126
|
type: :runtime
|
113
127
|
prerelease: false
|
114
128
|
version_requirements: !ruby/object:Gem::Requirement
|
115
129
|
requirements:
|
116
130
|
- - "~>"
|
117
131
|
- !ruby/object:Gem::Version
|
118
|
-
version: '
|
132
|
+
version: '2.0'
|
119
133
|
- !ruby/object:Gem::Dependency
|
120
|
-
name:
|
134
|
+
name: tocer
|
121
135
|
requirement: !ruby/object:Gem::Requirement
|
122
136
|
requirements:
|
123
137
|
- - "~>"
|
124
138
|
- !ruby/object:Gem::Version
|
125
|
-
version: '
|
126
|
-
type: :
|
139
|
+
version: '3.0'
|
140
|
+
type: :runtime
|
127
141
|
prerelease: false
|
128
142
|
version_requirements: !ruby/object:Gem::Requirement
|
129
143
|
requirements:
|
130
144
|
- - "~>"
|
131
145
|
- !ruby/object:Gem::Version
|
132
|
-
version: '
|
146
|
+
version: '3.0'
|
133
147
|
- !ruby/object:Gem::Dependency
|
134
148
|
name: rake
|
135
149
|
requirement: !ruby/object:Gem::Requirement
|
@@ -148,213 +162,185 @@ dependencies:
|
|
148
162
|
name: pry
|
149
163
|
requirement: !ruby/object:Gem::Requirement
|
150
164
|
requirements:
|
151
|
-
- - "
|
165
|
+
- - "~>"
|
152
166
|
- !ruby/object:Gem::Version
|
153
|
-
version: '0'
|
167
|
+
version: '0.10'
|
154
168
|
type: :development
|
155
169
|
prerelease: false
|
156
170
|
version_requirements: !ruby/object:Gem::Requirement
|
157
171
|
requirements:
|
158
|
-
- - "
|
172
|
+
- - "~>"
|
159
173
|
- !ruby/object:Gem::Version
|
160
|
-
version: '0'
|
174
|
+
version: '0.10'
|
161
175
|
- !ruby/object:Gem::Dependency
|
162
176
|
name: pry-byebug
|
163
177
|
requirement: !ruby/object:Gem::Requirement
|
164
178
|
requirements:
|
165
|
-
- - "
|
179
|
+
- - "~>"
|
166
180
|
- !ruby/object:Gem::Version
|
167
|
-
version: '
|
181
|
+
version: '3.4'
|
168
182
|
type: :development
|
169
183
|
prerelease: false
|
170
184
|
version_requirements: !ruby/object:Gem::Requirement
|
171
185
|
requirements:
|
172
|
-
- - "
|
186
|
+
- - "~>"
|
173
187
|
- !ruby/object:Gem::Version
|
174
|
-
version: '
|
188
|
+
version: '3.4'
|
175
189
|
- !ruby/object:Gem::Dependency
|
176
190
|
name: pry-state
|
177
191
|
requirement: !ruby/object:Gem::Requirement
|
178
192
|
requirements:
|
179
|
-
- - "
|
193
|
+
- - "~>"
|
180
194
|
- !ruby/object:Gem::Version
|
181
|
-
version: '0'
|
195
|
+
version: '0.1'
|
182
196
|
type: :development
|
183
197
|
prerelease: false
|
184
198
|
version_requirements: !ruby/object:Gem::Requirement
|
185
199
|
requirements:
|
186
|
-
- - "
|
200
|
+
- - "~>"
|
187
201
|
- !ruby/object:Gem::Version
|
188
|
-
version: '0'
|
202
|
+
version: '0.1'
|
189
203
|
- !ruby/object:Gem::Dependency
|
190
204
|
name: bond
|
191
205
|
requirement: !ruby/object:Gem::Requirement
|
192
206
|
requirements:
|
193
|
-
- - "
|
207
|
+
- - "~>"
|
194
208
|
- !ruby/object:Gem::Version
|
195
|
-
version: '0'
|
209
|
+
version: '0.5'
|
196
210
|
type: :development
|
197
211
|
prerelease: false
|
198
212
|
version_requirements: !ruby/object:Gem::Requirement
|
199
213
|
requirements:
|
200
|
-
- - "
|
214
|
+
- - "~>"
|
201
215
|
- !ruby/object:Gem::Version
|
202
|
-
version: '0'
|
216
|
+
version: '0.5'
|
203
217
|
- !ruby/object:Gem::Dependency
|
204
218
|
name: wirb
|
205
219
|
requirement: !ruby/object:Gem::Requirement
|
206
220
|
requirements:
|
207
|
-
- - "
|
221
|
+
- - "~>"
|
208
222
|
- !ruby/object:Gem::Version
|
209
|
-
version: '0'
|
223
|
+
version: '2.0'
|
210
224
|
type: :development
|
211
225
|
prerelease: false
|
212
226
|
version_requirements: !ruby/object:Gem::Requirement
|
213
227
|
requirements:
|
214
|
-
- - "
|
228
|
+
- - "~>"
|
215
229
|
- !ruby/object:Gem::Version
|
216
|
-
version: '0'
|
230
|
+
version: '2.0'
|
217
231
|
- !ruby/object:Gem::Dependency
|
218
232
|
name: hirb
|
219
233
|
requirement: !ruby/object:Gem::Requirement
|
220
234
|
requirements:
|
221
|
-
- - "
|
235
|
+
- - "~>"
|
222
236
|
- !ruby/object:Gem::Version
|
223
|
-
version: '0'
|
237
|
+
version: '0.7'
|
224
238
|
type: :development
|
225
239
|
prerelease: false
|
226
240
|
version_requirements: !ruby/object:Gem::Requirement
|
227
241
|
requirements:
|
228
|
-
- - "
|
242
|
+
- - "~>"
|
229
243
|
- !ruby/object:Gem::Version
|
230
|
-
version: '0'
|
244
|
+
version: '0.7'
|
231
245
|
- !ruby/object:Gem::Dependency
|
232
246
|
name: awesome_print
|
233
247
|
requirement: !ruby/object:Gem::Requirement
|
234
248
|
requirements:
|
235
|
-
- - "
|
249
|
+
- - "~>"
|
236
250
|
- !ruby/object:Gem::Version
|
237
|
-
version: '
|
251
|
+
version: '1.7'
|
238
252
|
type: :development
|
239
253
|
prerelease: false
|
240
254
|
version_requirements: !ruby/object:Gem::Requirement
|
241
255
|
requirements:
|
242
|
-
- - "
|
256
|
+
- - "~>"
|
243
257
|
- !ruby/object:Gem::Version
|
244
|
-
version: '
|
258
|
+
version: '1.7'
|
245
259
|
- !ruby/object:Gem::Dependency
|
246
260
|
name: rspec
|
247
261
|
requirement: !ruby/object:Gem::Requirement
|
248
262
|
requirements:
|
249
263
|
- - "~>"
|
250
264
|
- !ruby/object:Gem::Version
|
251
|
-
version: '3.
|
265
|
+
version: '3.5'
|
252
266
|
type: :development
|
253
267
|
prerelease: false
|
254
268
|
version_requirements: !ruby/object:Gem::Requirement
|
255
269
|
requirements:
|
256
270
|
- - "~>"
|
257
271
|
- !ruby/object:Gem::Version
|
258
|
-
version: '3.
|
272
|
+
version: '3.5'
|
259
273
|
- !ruby/object:Gem::Dependency
|
260
274
|
name: climate_control
|
261
275
|
requirement: !ruby/object:Gem::Requirement
|
262
276
|
requirements:
|
263
|
-
- - "
|
264
|
-
- !ruby/object:Gem::Version
|
265
|
-
version: '0'
|
266
|
-
type: :development
|
267
|
-
prerelease: false
|
268
|
-
version_requirements: !ruby/object:Gem::Requirement
|
269
|
-
requirements:
|
270
|
-
- - ">="
|
271
|
-
- !ruby/object:Gem::Version
|
272
|
-
version: '0'
|
273
|
-
- !ruby/object:Gem::Dependency
|
274
|
-
name: rb-fsevent
|
275
|
-
requirement: !ruby/object:Gem::Requirement
|
276
|
-
requirements:
|
277
|
-
- - ">="
|
277
|
+
- - "~>"
|
278
278
|
- !ruby/object:Gem::Version
|
279
|
-
version: '0'
|
279
|
+
version: '0.0'
|
280
280
|
type: :development
|
281
281
|
prerelease: false
|
282
282
|
version_requirements: !ruby/object:Gem::Requirement
|
283
283
|
requirements:
|
284
|
-
- - "
|
284
|
+
- - "~>"
|
285
285
|
- !ruby/object:Gem::Version
|
286
|
-
version: '0'
|
286
|
+
version: '0.0'
|
287
287
|
- !ruby/object:Gem::Dependency
|
288
288
|
name: guard-rspec
|
289
289
|
requirement: !ruby/object:Gem::Requirement
|
290
290
|
requirements:
|
291
|
-
- - "
|
292
|
-
- !ruby/object:Gem::Version
|
293
|
-
version: '0'
|
294
|
-
type: :development
|
295
|
-
prerelease: false
|
296
|
-
version_requirements: !ruby/object:Gem::Requirement
|
297
|
-
requirements:
|
298
|
-
- - ">="
|
299
|
-
- !ruby/object:Gem::Version
|
300
|
-
version: '0'
|
301
|
-
- !ruby/object:Gem::Dependency
|
302
|
-
name: terminal-notifier
|
303
|
-
requirement: !ruby/object:Gem::Requirement
|
304
|
-
requirements:
|
305
|
-
- - ">="
|
291
|
+
- - "~>"
|
306
292
|
- !ruby/object:Gem::Version
|
307
|
-
version: '
|
293
|
+
version: '4.7'
|
308
294
|
type: :development
|
309
295
|
prerelease: false
|
310
296
|
version_requirements: !ruby/object:Gem::Requirement
|
311
297
|
requirements:
|
312
|
-
- - "
|
298
|
+
- - "~>"
|
313
299
|
- !ruby/object:Gem::Version
|
314
|
-
version: '
|
300
|
+
version: '4.7'
|
315
301
|
- !ruby/object:Gem::Dependency
|
316
|
-
name:
|
302
|
+
name: reek
|
317
303
|
requirement: !ruby/object:Gem::Requirement
|
318
304
|
requirements:
|
319
|
-
- - "
|
305
|
+
- - "~>"
|
320
306
|
- !ruby/object:Gem::Version
|
321
|
-
version: '
|
307
|
+
version: '4.5'
|
322
308
|
type: :development
|
323
309
|
prerelease: false
|
324
310
|
version_requirements: !ruby/object:Gem::Requirement
|
325
311
|
requirements:
|
326
|
-
- - "
|
312
|
+
- - "~>"
|
327
313
|
- !ruby/object:Gem::Version
|
328
|
-
version: '
|
314
|
+
version: '4.5'
|
329
315
|
- !ruby/object:Gem::Dependency
|
330
316
|
name: rubocop
|
331
317
|
requirement: !ruby/object:Gem::Requirement
|
332
318
|
requirements:
|
333
319
|
- - "~>"
|
334
320
|
- !ruby/object:Gem::Version
|
335
|
-
version: '0.
|
321
|
+
version: '0.45'
|
336
322
|
type: :development
|
337
323
|
prerelease: false
|
338
324
|
version_requirements: !ruby/object:Gem::Requirement
|
339
325
|
requirements:
|
340
326
|
- - "~>"
|
341
327
|
- !ruby/object:Gem::Version
|
342
|
-
version: '0.
|
328
|
+
version: '0.45'
|
343
329
|
- !ruby/object:Gem::Dependency
|
344
330
|
name: codeclimate-test-reporter
|
345
331
|
requirement: !ruby/object:Gem::Requirement
|
346
332
|
requirements:
|
347
|
-
- - "
|
333
|
+
- - "~>"
|
348
334
|
- !ruby/object:Gem::Version
|
349
|
-
version: '0'
|
335
|
+
version: '1.0'
|
350
336
|
type: :development
|
351
337
|
prerelease: false
|
352
338
|
version_requirements: !ruby/object:Gem::Requirement
|
353
339
|
requirements:
|
354
|
-
- - "
|
340
|
+
- - "~>"
|
355
341
|
- !ruby/object:Gem::Version
|
356
|
-
version: '0'
|
357
|
-
description:
|
342
|
+
version: '1.0'
|
343
|
+
description:
|
358
344
|
email:
|
359
345
|
- brooke@alchemists.io
|
360
346
|
executables:
|
@@ -368,48 +354,53 @@ files:
|
|
368
354
|
- README.md
|
369
355
|
- bin/gemsmith
|
370
356
|
- lib/gemsmith.rb
|
371
|
-
- lib/gemsmith/aids/gem_spec.rb
|
372
|
-
- lib/gemsmith/aids/git.rb
|
373
|
-
- lib/gemsmith/aids/spec.rb
|
374
357
|
- lib/gemsmith/authenticators/basic.rb
|
375
358
|
- lib/gemsmith/authenticators/ruby_gems.rb
|
376
359
|
- lib/gemsmith/cli.rb
|
377
360
|
- lib/gemsmith/cli_helpers.rb
|
378
|
-
- lib/gemsmith/configuration.rb
|
379
361
|
- lib/gemsmith/credentials.rb
|
380
362
|
- lib/gemsmith/errors/base.rb
|
381
363
|
- lib/gemsmith/errors/requirement_conversion.rb
|
382
364
|
- lib/gemsmith/errors/requirement_operator.rb
|
383
365
|
- lib/gemsmith/errors/specification.rb
|
366
|
+
- lib/gemsmith/gem/inspector.rb
|
367
|
+
- lib/gemsmith/gem/module_formatter.rb
|
384
368
|
- lib/gemsmith/gem/requirement.rb
|
369
|
+
- lib/gemsmith/gem/specification.rb
|
370
|
+
- lib/gemsmith/generators/base.rb
|
371
|
+
- lib/gemsmith/generators/bundler.rb
|
372
|
+
- lib/gemsmith/generators/cli.rb
|
373
|
+
- lib/gemsmith/generators/code_climate.rb
|
374
|
+
- lib/gemsmith/generators/documentation.rb
|
375
|
+
- lib/gemsmith/generators/gem.rb
|
376
|
+
- lib/gemsmith/generators/git.rb
|
377
|
+
- lib/gemsmith/generators/git_hub.rb
|
378
|
+
- lib/gemsmith/generators/guard.rb
|
379
|
+
- lib/gemsmith/generators/pragma.rb
|
380
|
+
- lib/gemsmith/generators/rails.rb
|
381
|
+
- lib/gemsmith/generators/rake.rb
|
382
|
+
- lib/gemsmith/generators/reek.rb
|
383
|
+
- lib/gemsmith/generators/rspec.rb
|
384
|
+
- lib/gemsmith/generators/rubocop.rb
|
385
|
+
- lib/gemsmith/generators/ruby.rb
|
386
|
+
- lib/gemsmith/generators/scss_lint.rb
|
387
|
+
- lib/gemsmith/generators/travis.rb
|
388
|
+
- lib/gemsmith/git.rb
|
385
389
|
- lib/gemsmith/identity.rb
|
386
|
-
- lib/gemsmith/rake/
|
387
|
-
- lib/gemsmith/rake/
|
390
|
+
- lib/gemsmith/rake/builder.rb
|
391
|
+
- lib/gemsmith/rake/publisher.rb
|
388
392
|
- lib/gemsmith/rake/setup.rb
|
389
393
|
- lib/gemsmith/rake/tasks.rb
|
390
|
-
- lib/gemsmith/
|
391
|
-
- lib/gemsmith/skeletons/bundler_skeleton.rb
|
392
|
-
- lib/gemsmith/skeletons/cli_skeleton.rb
|
393
|
-
- lib/gemsmith/skeletons/documentation_skeleton.rb
|
394
|
-
- lib/gemsmith/skeletons/gem_skeleton.rb
|
395
|
-
- lib/gemsmith/skeletons/git_hub_skeleton.rb
|
396
|
-
- lib/gemsmith/skeletons/git_skeleton.rb
|
397
|
-
- lib/gemsmith/skeletons/guard_skeleton.rb
|
398
|
-
- lib/gemsmith/skeletons/pry_skeleton.rb
|
399
|
-
- lib/gemsmith/skeletons/rails_skeleton.rb
|
400
|
-
- lib/gemsmith/skeletons/rake_skeleton.rb
|
401
|
-
- lib/gemsmith/skeletons/rspec_skeleton.rb
|
402
|
-
- lib/gemsmith/skeletons/rubocop_skeleton.rb
|
403
|
-
- lib/gemsmith/skeletons/ruby_skeleton.rb
|
404
|
-
- lib/gemsmith/skeletons/travis_skeleton.rb
|
394
|
+
- lib/gemsmith/template_helper.rb
|
405
395
|
- lib/gemsmith/templates/%gem_name%/%gem_name%.gemspec.tt
|
396
|
+
- lib/gemsmith/templates/%gem_name%/.codeclimate.yml.tt
|
406
397
|
- lib/gemsmith/templates/%gem_name%/.github/ISSUE_TEMPLATE.md.tt
|
407
398
|
- lib/gemsmith/templates/%gem_name%/.github/PULL_REQUEST_TEMPLATE.md.tt
|
408
399
|
- lib/gemsmith/templates/%gem_name%/.gitignore.tt
|
409
400
|
- lib/gemsmith/templates/%gem_name%/.rubocop.yml.tt
|
410
401
|
- lib/gemsmith/templates/%gem_name%/.ruby-version.tt
|
411
402
|
- lib/gemsmith/templates/%gem_name%/.travis.yml.tt
|
412
|
-
- lib/gemsmith/templates/%gem_name%/
|
403
|
+
- lib/gemsmith/templates/%gem_name%/CHANGES.md.tt
|
413
404
|
- lib/gemsmith/templates/%gem_name%/CODE_OF_CONDUCT.md.tt
|
414
405
|
- lib/gemsmith/templates/%gem_name%/CONTRIBUTING.md.tt
|
415
406
|
- lib/gemsmith/templates/%gem_name%/Gemfile.tt
|
@@ -420,25 +411,23 @@ files:
|
|
420
411
|
- lib/gemsmith/templates/%gem_name%/bin/%gem_name%.tt
|
421
412
|
- lib/gemsmith/templates/%gem_name%/bin/setup.tt
|
422
413
|
- lib/gemsmith/templates/%gem_name%/gemfiles/rails-%rails_version%.x.gemfile.tt
|
423
|
-
- lib/gemsmith/templates/%gem_name%/lib/%
|
424
|
-
- lib/gemsmith/templates/%gem_name%/lib/%
|
425
|
-
- lib/gemsmith/templates/%gem_name%/lib/%
|
426
|
-
- lib/gemsmith/templates/%gem_name%/lib/%
|
427
|
-
- lib/gemsmith/templates/%gem_name%/lib/generators/%
|
428
|
-
- lib/gemsmith/templates/%gem_name%/lib/generators/%
|
429
|
-
- lib/gemsmith/templates/%gem_name%/lib/generators/%
|
430
|
-
- lib/gemsmith/templates/%gem_name%/lib/generators/%
|
431
|
-
- lib/gemsmith/templates/%gem_name%/lib/tasks/
|
414
|
+
- lib/gemsmith/templates/%gem_name%/lib/%gem_path%.rb.tt
|
415
|
+
- lib/gemsmith/templates/%gem_name%/lib/%gem_path%/cli.rb.tt
|
416
|
+
- lib/gemsmith/templates/%gem_name%/lib/%gem_path%/engine.rb.tt
|
417
|
+
- lib/gemsmith/templates/%gem_name%/lib/%gem_path%/identity.rb.tt
|
418
|
+
- lib/gemsmith/templates/%gem_name%/lib/generators/%gem_path%/install/USAGE.tt
|
419
|
+
- lib/gemsmith/templates/%gem_name%/lib/generators/%gem_path%/install/install_generator.rb.tt
|
420
|
+
- lib/gemsmith/templates/%gem_name%/lib/generators/%gem_path%/upgrade/USAGE.tt
|
421
|
+
- lib/gemsmith/templates/%gem_name%/lib/generators/%gem_path%/upgrade/upgrade_generator.rb.tt
|
422
|
+
- lib/gemsmith/templates/%gem_name%/lib/tasks/reek.rake.tt
|
432
423
|
- lib/gemsmith/templates/%gem_name%/lib/tasks/rspec.rake.tt
|
433
424
|
- lib/gemsmith/templates/%gem_name%/lib/tasks/rubocop.rake.tt
|
434
|
-
- lib/gemsmith/templates/%gem_name%/
|
425
|
+
- lib/gemsmith/templates/%gem_name%/lib/tasks/scss_lint.rake.tt
|
426
|
+
- lib/gemsmith/templates/%gem_name%/spec/lib/%gem_path%/cli_spec.rb.tt
|
427
|
+
- lib/gemsmith/templates/%gem_name%/spec/rails_helper.rb.tt
|
435
428
|
- lib/gemsmith/templates/%gem_name%/spec/spec_helper.rb.tt
|
436
|
-
- lib/gemsmith/templates/%gem_name%/spec/support/
|
437
|
-
- lib/
|
438
|
-
- lib/gemsmith/templates/%gem_name%/spec/support/kit/stderr.rb.tt
|
439
|
-
- lib/gemsmith/templates/%gem_name%/spec/support/kit/stdout.rb.tt
|
440
|
-
- lib/gemsmith/templates/%gem_name%/spec/support/kit/temp_dir.rb.tt
|
441
|
-
- lib/tasks/console.rake
|
429
|
+
- lib/gemsmith/templates/%gem_name%/spec/support/shared_contexts/temp_dir.rb.tt
|
430
|
+
- lib/tasks/reek.rake
|
442
431
|
- lib/tasks/rspec.rake
|
443
432
|
- lib/tasks/rubocop.rake
|
444
433
|
homepage: https://github.com/bkuhlmann/gemsmith
|
@@ -461,7 +450,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
461
450
|
version: '0'
|
462
451
|
requirements: []
|
463
452
|
rubyforge_project:
|
464
|
-
rubygems_version: 2.6.
|
453
|
+
rubygems_version: 2.6.8
|
465
454
|
signing_key:
|
466
455
|
specification_version: 4
|
467
456
|
summary: A command line interface for smithing new Ruby gems.
|