rubysmith 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (64) hide show
  1. checksums.yaml +7 -0
  2. checksums.yaml.gz.sig +0 -0
  3. data.tar.gz.sig +0 -0
  4. data/LICENSE.adoc +162 -0
  5. data/README.adoc +207 -0
  6. data/bin/rubysmith +11 -0
  7. data/lib/rubysmith.rb +30 -0
  8. data/lib/rubysmith/builder.rb +145 -0
  9. data/lib/rubysmith/builders/bundler.rb +34 -0
  10. data/lib/rubysmith/builders/console.rb +29 -0
  11. data/lib/rubysmith/builders/core.rb +29 -0
  12. data/lib/rubysmith/builders/documentation.rb +60 -0
  13. data/lib/rubysmith/builders/git/commit.rb +45 -0
  14. data/lib/rubysmith/builders/git/setup.rb +29 -0
  15. data/lib/rubysmith/builders/guard.rb +28 -0
  16. data/lib/rubysmith/builders/pragma.rb +37 -0
  17. data/lib/rubysmith/builders/rake.rb +32 -0
  18. data/lib/rubysmith/builders/reek.rb +27 -0
  19. data/lib/rubysmith/builders/rspec/context.rb +31 -0
  20. data/lib/rubysmith/builders/rspec/helper.rb +33 -0
  21. data/lib/rubysmith/builders/rubocop.rb +43 -0
  22. data/lib/rubysmith/builders/setup.rb +27 -0
  23. data/lib/rubysmith/cli/configuration.rb +29 -0
  24. data/lib/rubysmith/cli/defaults.yml +34 -0
  25. data/lib/rubysmith/cli/parsers/assembler.rb +39 -0
  26. data/lib/rubysmith/cli/parsers/build.rb +101 -0
  27. data/lib/rubysmith/cli/parsers/core.rb +59 -0
  28. data/lib/rubysmith/cli/processors/build.rb +44 -0
  29. data/lib/rubysmith/cli/processors/config.rb +35 -0
  30. data/lib/rubysmith/cli/shell.rb +61 -0
  31. data/lib/rubysmith/identity.rb +11 -0
  32. data/lib/rubysmith/pathway.rb +37 -0
  33. data/lib/rubysmith/realm.rb +69 -0
  34. data/lib/rubysmith/renderers/erb.rb +29 -0
  35. data/lib/rubysmith/renderers/namespace.rb +47 -0
  36. data/lib/rubysmith/templates/%project_name%/.reek.yml.erb +3 -0
  37. data/lib/rubysmith/templates/%project_name%/.rubocop.yml.erb +7 -0
  38. data/lib/rubysmith/templates/%project_name%/.ruby-version.erb +1 -0
  39. data/lib/rubysmith/templates/%project_name%/CHANGES.adoc.erb +5 -0
  40. data/lib/rubysmith/templates/%project_name%/CHANGES.md.erb +5 -0
  41. data/lib/rubysmith/templates/%project_name%/CODE_OF_CONDUCT.adoc.erb +114 -0
  42. data/lib/rubysmith/templates/%project_name%/CODE_OF_CONDUCT.md.erb +115 -0
  43. data/lib/rubysmith/templates/%project_name%/CONTRIBUTING.adoc.erb +22 -0
  44. data/lib/rubysmith/templates/%project_name%/CONTRIBUTING.md.erb +22 -0
  45. data/lib/rubysmith/templates/%project_name%/Gemfile.erb +33 -0
  46. data/lib/rubysmith/templates/%project_name%/Guardfile.erb +5 -0
  47. data/lib/rubysmith/templates/%project_name%/LICENSE-apache.adoc.erb +162 -0
  48. data/lib/rubysmith/templates/%project_name%/LICENSE-apache.md.erb +162 -0
  49. data/lib/rubysmith/templates/%project_name%/LICENSE-mit.adoc.erb +20 -0
  50. data/lib/rubysmith/templates/%project_name%/LICENSE-mit.md.erb +20 -0
  51. data/lib/rubysmith/templates/%project_name%/README.adoc.erb +78 -0
  52. data/lib/rubysmith/templates/%project_name%/README.md.erb +66 -0
  53. data/lib/rubysmith/templates/%project_name%/Rakefile.erb +33 -0
  54. data/lib/rubysmith/templates/%project_name%/bin/console.erb +11 -0
  55. data/lib/rubysmith/templates/%project_name%/bin/guard.erb +6 -0
  56. data/lib/rubysmith/templates/%project_name%/bin/rubocop.erb +7 -0
  57. data/lib/rubysmith/templates/%project_name%/bin/setup.erb +8 -0
  58. data/lib/rubysmith/templates/%project_name%/lib/%project_name%.rb.erb +1 -0
  59. data/lib/rubysmith/templates/%project_name%/lib/%project_name%/identity.rb.erb +8 -0
  60. data/lib/rubysmith/templates/%project_name%/spec/spec_helper.rb.erb +34 -0
  61. data/lib/rubysmith/templates/%project_name%/spec/support/shared_contexts/temp_dir.rb.erb +9 -0
  62. data/lib/rubysmith/text/inserter.rb +31 -0
  63. metadata +367 -0
  64. metadata.gz.sig +0 -0
@@ -0,0 +1,78 @@
1
+ :toc: macro
2
+ :toclevels: 5
3
+ :figure-caption!:
4
+
5
+ = <%= realm.project_label %>
6
+
7
+ toc::[]
8
+
9
+ == Features
10
+
11
+ == Screencasts
12
+
13
+ == Requirements
14
+
15
+ . link:https://www.ruby-lang.org[Ruby].
16
+
17
+ == Setup
18
+ <% if realm.build_setup %>
19
+
20
+ To set up the project, run:
21
+
22
+ [source,bash]
23
+ ----
24
+ bin/setup
25
+ ----
26
+ <% end %>
27
+
28
+ == Usage
29
+ <% if realm.build_console %>
30
+
31
+ === Console
32
+
33
+ To use the IRB console to invesitage and/or experiment with all project objects, run:
34
+
35
+ [source,bash]
36
+ ----
37
+ bin/console
38
+ ----
39
+ <% end %>
40
+
41
+ == Tests
42
+
43
+ To test, run:
44
+
45
+ [source,bash]
46
+ ----
47
+ bundle exec rake
48
+ ----
49
+
50
+ == Versioning
51
+
52
+ Read link:https://semver.org[Semantic Versioning] for details. Briefly, it means:
53
+
54
+ * Major (X.y.z) - Incremented for any backwards incompatible public API changes.
55
+ * Minor (x.Y.z) - Incremented for new, backwards compatible, public API enhancements/fixes.
56
+ * Patch (x.y.Z) - Incremented for small, backwards compatible, bug fixes.
57
+
58
+ == Code of Conduct
59
+
60
+ Please note that this project is released with a link:CODE_OF_CONDUCT.adoc[CODE OF CONDUCT]. By
61
+ participating in this project you agree to abide by its terms.
62
+
63
+ == Contributions
64
+
65
+ Read link:CONTRIBUTING.adoc[CONTRIBUTING] for details.
66
+
67
+ == License
68
+
69
+ Read link:LICENSE.adoc[LICENSE] for details.
70
+
71
+ == History
72
+
73
+ Read link:CHANGES.adoc[CHANGES] for details.
74
+ Built with link:https://www.alchemists.io/projects/rubysmith[Rubysmith].
75
+
76
+ == Credits
77
+
78
+ Engineered by link:<%= realm.author_url %>[<%= realm.author_name %>].
@@ -0,0 +1,66 @@
1
+ # <%= realm.project_label %>
2
+
3
+ <!-- Tocer[start]: Auto-generated, don't remove. -->
4
+ <!-- Tocer[finish]: Auto-generated, don't remove. -->
5
+
6
+ ## Features
7
+
8
+ ## Screencasts
9
+
10
+ ## Requirements
11
+
12
+ 1. [Ruby](https://www.ruby-lang.org)
13
+
14
+ ## Setup
15
+ <% if realm.build_setup %>
16
+
17
+ To set up the project, run:
18
+
19
+ bin/setup
20
+ <% end %>
21
+
22
+ ## Usage
23
+ <% if realm.build_console %>
24
+
25
+ ### Console
26
+
27
+ To use the IRB console to invesitage and/or experiment with all project objects, run:
28
+
29
+ bin/console
30
+ <% end %>
31
+
32
+ ## Tests
33
+
34
+ To test, run:
35
+
36
+ bundle exec rake
37
+
38
+ ## Versioning
39
+
40
+ Read [Semantic Versioning](https://semver.org) for details. Briefly, it means:
41
+
42
+ - Major (X.y.z) - Incremented for any backwards incompatible public API changes.
43
+ - Minor (x.Y.z) - Incremented for new, backwards compatible, public API enhancements/fixes.
44
+ - Patch (x.y.Z) - Incremented for small, backwards compatible, bug fixes.
45
+
46
+ ## Code of Conduct
47
+
48
+ Please note that this project is released with a [CODE OF CONDUCT](CODE_OF_CONDUCT.md). By
49
+ participating in this project you agree to abide by its terms.
50
+
51
+ ## Contributions
52
+
53
+ Read [CONTRIBUTING](CONTRIBUTING.md) for details.
54
+
55
+ ## License
56
+
57
+ Read [LICENSE](LICENSE.md) for details.
58
+
59
+ ## History
60
+
61
+ Read [CHANGES](CHANGES.md) for details.
62
+ Built with [Rubysmith](https://www.alchemists.io/projects/rubysmith).
63
+
64
+ ## Credits
65
+
66
+ Engineered by [<%= realm.author_name %>](<%= realm.author_url %>).
@@ -0,0 +1,33 @@
1
+ <% if realm.build_bundler_audit %>
2
+ require "bundler/audit/task"
3
+ <% end %>
4
+ <% if realm.build_git && realm.build_git_lint %>
5
+ require "git/lint/rake/setup"
6
+ <% end %>
7
+ <% if realm.build_reek %>
8
+ require "reek/rake/task"
9
+ <% end %>
10
+ <% if realm.build_rspec %>
11
+ require "rspec/core/rake_task"
12
+ <% end %>
13
+ <% if realm.build_rubocop %>
14
+ require "rubocop/rake_task"
15
+ <% end %>
16
+
17
+ <% if realm.build_bundler_audit %>
18
+ Bundler::Audit::Task.new
19
+ <% end %>
20
+ <% if realm.build_reek %>
21
+ Reek::Rake::Task.new
22
+ <% end %>
23
+ <% if realm.build_rspec %>
24
+ RSpec::Core::RakeTask.new :spec
25
+ <% end %>
26
+ <% if realm.build_rubocop %>
27
+ RuboCop::RakeTask.new
28
+ <% end %>
29
+
30
+ desc "Run code quality checks"
31
+ task code_quality: %i[<% if realm.build_bundler_audit %>bundle:audit<% end %> <% if realm.build_git && realm.build_git_lint %>git_lint<% end %> <% if realm.build_reek %>reek<% end %> <% if realm.build_rubocop %>rubocop<% end %>]
32
+
33
+ task default: %i[code_quality <% if realm.build_rspec %>spec<% end %>]
@@ -0,0 +1,11 @@
1
+ #! /usr/bin/env ruby
2
+
3
+ require "bundler/setup"
4
+ require "<%= realm.project_name %>"
5
+ <% if realm.build_pry %>
6
+ require "pry"
7
+ require "pry-byebug"
8
+ <% end %>
9
+ require "irb"
10
+
11
+ IRB.start __FILE__
@@ -0,0 +1,6 @@
1
+ #! /usr/bin/env ruby
2
+
3
+ require "rubygems"
4
+ require "bundler/setup"
5
+
6
+ load Gem.bin_path "guard", "guard"
@@ -0,0 +1,7 @@
1
+ #! /usr/bin/env ruby
2
+ # frozen_string_literal: true
3
+
4
+ require "rubygems"
5
+ require "bundler/setup"
6
+
7
+ load Gem.bin_path "rubocop", "rubocop"
@@ -0,0 +1,8 @@
1
+ #! /usr/bin/env bash
2
+
3
+ set -o nounset
4
+ set -o errexit
5
+ set -o pipefail
6
+ IFS=$'\n\t'
7
+
8
+ bundle install
@@ -0,0 +1 @@
1
+ require "<%= realm.project_name %>/identity"
@@ -0,0 +1,8 @@
1
+ <% namespace do %>
2
+ module Identity
3
+ NAME = "<%= realm.project_name %>"
4
+ LABEL = "<%= realm.project_label %>"
5
+ VERSION = "0.1.0"
6
+ VERSION_LABEL = "#{LABEL} #{VERSION}"
7
+ end
8
+ <% end %>
@@ -0,0 +1,34 @@
1
+ require "bundler/setup"
2
+
3
+ <% if realm.build_simple_cov %>
4
+ require "simplecov"
5
+ SimpleCov.start { enable_coverage :branch }
6
+ <% end %>
7
+
8
+ <% if realm.build_pry %>
9
+ require "pry"
10
+ require "pry-byebug"
11
+ <% end %>
12
+
13
+ Dir[File.join(__dir__, "support", "shared_contexts", "**/*.rb")].sort.each(&method(:require))
14
+
15
+ RSpec.configure do |config|
16
+ config.color = true
17
+ config.disable_monkey_patching!
18
+ config.example_status_persistence_file_path = "./tmp/rspec-examples.txt"
19
+ config.filter_run_when_matching :focus
20
+ config.formatter = ENV["CI"] == "true" ? :progress : :documentation
21
+ config.order = :random
22
+ config.shared_context_metadata_behavior = :apply_to_host_groups
23
+ config.warnings = true
24
+
25
+ config.expect_with :rspec do |expectations|
26
+ expectations.syntax = :expect
27
+ expectations.include_chain_clauses_in_custom_matcher_descriptions = true
28
+ end
29
+
30
+ config.mock_with :rspec do |mocks|
31
+ mocks.verify_doubled_constant_names = true
32
+ mocks.verify_partial_doubles = true
33
+ end
34
+ end
@@ -0,0 +1,9 @@
1
+ RSpec.shared_context "with temporary directory", :temp_dir do
2
+ let(:temp_dir) { Bundler.root.join "tmp", "rspec" }
3
+
4
+ around do |example|
5
+ FileUtils.mkdir_p temp_dir
6
+ example.run
7
+ FileUtils.rm_rf temp_dir
8
+ end
9
+ end
@@ -0,0 +1,31 @@
1
+ # frozen_string_literal: true
2
+
3
+ module Rubysmith
4
+ module Text
5
+ # Inserts content before or after a line for a given pattern in an array of lines.
6
+ class Inserter
7
+ def initialize lines, kind = :after
8
+ @lines = lines.dup
9
+ @kind = kind
10
+ end
11
+
12
+ def call content, pattern
13
+ lines.index { |line| line.match? pattern }
14
+ .then { |index| lines.insert index + offset, content if index }
15
+ lines
16
+ end
17
+
18
+ private
19
+
20
+ attr_reader :lines, :kind
21
+
22
+ def offset
23
+ case kind
24
+ when :before then 0
25
+ when :after then 1
26
+ else fail StandardError, "Unknown kind of insert: #{kind}."
27
+ end
28
+ end
29
+ end
30
+ end
31
+ end
metadata ADDED
@@ -0,0 +1,367 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: rubysmith
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.1.0
5
+ platform: ruby
6
+ authors:
7
+ - Brooke Kuhlmann
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain:
11
+ - |
12
+ -----BEGIN CERTIFICATE-----
13
+ MIIC/jCCAeagAwIBAgIBAzANBgkqhkiG9w0BAQsFADAlMSMwIQYDVQQDDBpicm9v
14
+ a2UvREM9YWxjaGVtaXN0cy9EQz1pbzAeFw0yMDAzMTUxNDQ1MzJaFw0yMTAzMTUx
15
+ NDQ1MzJaMCUxIzAhBgNVBAMMGmJyb29rZS9EQz1hbGNoZW1pc3RzL0RDPWlvMIIB
16
+ IjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEA6l1qpXTiomH1RfMRloyw7MiE
17
+ xyVx/x8Yc3EupdH7uhNaTXQGyORN6aOY//1QXXMHIZ9tW74nZLhesWMSUMYy0XhB
18
+ brs+KkurHnc9FnEJAbG7ebGvl/ncqZt72nQvaxpDxvuCBHgJAz+8i5wl6FhLw+oT
19
+ 9z0A8KcGhz67SdcoQiD7qiCjL/2NTeWHOzkpPrdGlt088+VerEEGf5I13QCvaftP
20
+ D5vkU0YlAm1r98BymuJlcQ1qdkVEI1d48ph4kcS0S0nv1RiuyVb6TCAR3Nu3VaVq
21
+ 3fPzZKJLZBx67UvXdbdicWPiUR75elI4PXpLIic3xytaF52ZJYyKZCNZJhNwfQID
22
+ AQABozkwNzAJBgNVHRMEAjAAMAsGA1UdDwQEAwIEsDAdBgNVHQ4EFgQU0nzow9vc
23
+ 2CdikiiE3fJhP/gY4ggwDQYJKoZIhvcNAQELBQADggEBAIHhAlD3po4sTYqacXaQ
24
+ XI9jIhrfMy//2PgbHWcETtlJPBeNUbbSNBABcllUHKqYsVDlSvSmss034KSWNR8F
25
+ bF1GcloicyvcCC4y6IoW4it0COAcdeaaxkxiBSgKdQFpff9REnDlIKK4uQ9lLxIo
26
+ Y2G5xubiziKZkyfWFuSr67PIjW3Bu673D1JVBArhA1qbgQmYQcy1CkGOjo+iO8Nf
27
+ 7u/QSfBHb+r/bXhKscDgPpnKwbUmvgO2+94zJG9KsrmIydlzYfsD09aXKx0t6Xy4
28
+ 2XV8FRa7/JimI07sPLC13eLY3xd/aYTi85Z782KIA4j0G8XEEWAX0ouBhlXPocZv
29
+ QWc=
30
+ -----END CERTIFICATE-----
31
+ date: 2020-09-27 00:00:00.000000000 Z
32
+ dependencies:
33
+ - !ruby/object:Gem::Dependency
34
+ name: pragmater
35
+ requirement: !ruby/object:Gem::Requirement
36
+ requirements:
37
+ - - "~>"
38
+ - !ruby/object:Gem::Version
39
+ version: '8.0'
40
+ type: :runtime
41
+ prerelease: false
42
+ version_requirements: !ruby/object:Gem::Requirement
43
+ requirements:
44
+ - - "~>"
45
+ - !ruby/object:Gem::Version
46
+ version: '8.0'
47
+ - !ruby/object:Gem::Dependency
48
+ name: refinements
49
+ requirement: !ruby/object:Gem::Requirement
50
+ requirements:
51
+ - - "~>"
52
+ - !ruby/object:Gem::Version
53
+ version: '7.10'
54
+ type: :runtime
55
+ prerelease: false
56
+ version_requirements: !ruby/object:Gem::Requirement
57
+ requirements:
58
+ - - "~>"
59
+ - !ruby/object:Gem::Version
60
+ version: '7.10'
61
+ - !ruby/object:Gem::Dependency
62
+ name: rubocop
63
+ requirement: !ruby/object:Gem::Requirement
64
+ requirements:
65
+ - - "~>"
66
+ - !ruby/object:Gem::Version
67
+ version: '0.92'
68
+ type: :runtime
69
+ prerelease: false
70
+ version_requirements: !ruby/object:Gem::Requirement
71
+ requirements:
72
+ - - "~>"
73
+ - !ruby/object:Gem::Version
74
+ version: '0.92'
75
+ - !ruby/object:Gem::Dependency
76
+ name: runcom
77
+ requirement: !ruby/object:Gem::Requirement
78
+ requirements:
79
+ - - "~>"
80
+ - !ruby/object:Gem::Version
81
+ version: '6.2'
82
+ type: :runtime
83
+ prerelease: false
84
+ version_requirements: !ruby/object:Gem::Requirement
85
+ requirements:
86
+ - - "~>"
87
+ - !ruby/object:Gem::Version
88
+ version: '6.2'
89
+ - !ruby/object:Gem::Dependency
90
+ name: bundler-audit
91
+ requirement: !ruby/object:Gem::Requirement
92
+ requirements:
93
+ - - "~>"
94
+ - !ruby/object:Gem::Version
95
+ version: '0.7'
96
+ type: :development
97
+ prerelease: false
98
+ version_requirements: !ruby/object:Gem::Requirement
99
+ requirements:
100
+ - - "~>"
101
+ - !ruby/object:Gem::Version
102
+ version: '0.7'
103
+ - !ruby/object:Gem::Dependency
104
+ name: gemsmith
105
+ requirement: !ruby/object:Gem::Requirement
106
+ requirements:
107
+ - - "~>"
108
+ - !ruby/object:Gem::Version
109
+ version: '14.6'
110
+ type: :development
111
+ prerelease: false
112
+ version_requirements: !ruby/object:Gem::Requirement
113
+ requirements:
114
+ - - "~>"
115
+ - !ruby/object:Gem::Version
116
+ version: '14.6'
117
+ - !ruby/object:Gem::Dependency
118
+ name: git-lint
119
+ requirement: !ruby/object:Gem::Requirement
120
+ requirements:
121
+ - - "~>"
122
+ - !ruby/object:Gem::Version
123
+ version: '1.0'
124
+ type: :development
125
+ prerelease: false
126
+ version_requirements: !ruby/object:Gem::Requirement
127
+ requirements:
128
+ - - "~>"
129
+ - !ruby/object:Gem::Version
130
+ version: '1.0'
131
+ - !ruby/object:Gem::Dependency
132
+ name: guard-rspec
133
+ requirement: !ruby/object:Gem::Requirement
134
+ requirements:
135
+ - - "~>"
136
+ - !ruby/object:Gem::Version
137
+ version: '4.7'
138
+ type: :development
139
+ prerelease: false
140
+ version_requirements: !ruby/object:Gem::Requirement
141
+ requirements:
142
+ - - "~>"
143
+ - !ruby/object:Gem::Version
144
+ version: '4.7'
145
+ - !ruby/object:Gem::Dependency
146
+ name: pry
147
+ requirement: !ruby/object:Gem::Requirement
148
+ requirements:
149
+ - - "~>"
150
+ - !ruby/object:Gem::Version
151
+ version: '0.13'
152
+ type: :development
153
+ prerelease: false
154
+ version_requirements: !ruby/object:Gem::Requirement
155
+ requirements:
156
+ - - "~>"
157
+ - !ruby/object:Gem::Version
158
+ version: '0.13'
159
+ - !ruby/object:Gem::Dependency
160
+ name: pry-byebug
161
+ requirement: !ruby/object:Gem::Requirement
162
+ requirements:
163
+ - - "~>"
164
+ - !ruby/object:Gem::Version
165
+ version: '3.9'
166
+ type: :development
167
+ prerelease: false
168
+ version_requirements: !ruby/object:Gem::Requirement
169
+ requirements:
170
+ - - "~>"
171
+ - !ruby/object:Gem::Version
172
+ version: '3.9'
173
+ - !ruby/object:Gem::Dependency
174
+ name: rake
175
+ requirement: !ruby/object:Gem::Requirement
176
+ requirements:
177
+ - - "~>"
178
+ - !ruby/object:Gem::Version
179
+ version: '13.0'
180
+ type: :development
181
+ prerelease: false
182
+ version_requirements: !ruby/object:Gem::Requirement
183
+ requirements:
184
+ - - "~>"
185
+ - !ruby/object:Gem::Version
186
+ version: '13.0'
187
+ - !ruby/object:Gem::Dependency
188
+ name: reek
189
+ requirement: !ruby/object:Gem::Requirement
190
+ requirements:
191
+ - - "~>"
192
+ - !ruby/object:Gem::Version
193
+ version: '6.0'
194
+ type: :development
195
+ prerelease: false
196
+ version_requirements: !ruby/object:Gem::Requirement
197
+ requirements:
198
+ - - "~>"
199
+ - !ruby/object:Gem::Version
200
+ version: '6.0'
201
+ - !ruby/object:Gem::Dependency
202
+ name: rspec
203
+ requirement: !ruby/object:Gem::Requirement
204
+ requirements:
205
+ - - "~>"
206
+ - !ruby/object:Gem::Version
207
+ version: '3.9'
208
+ type: :development
209
+ prerelease: false
210
+ version_requirements: !ruby/object:Gem::Requirement
211
+ requirements:
212
+ - - "~>"
213
+ - !ruby/object:Gem::Version
214
+ version: '3.9'
215
+ - !ruby/object:Gem::Dependency
216
+ name: rubocop-performance
217
+ requirement: !ruby/object:Gem::Requirement
218
+ requirements:
219
+ - - "~>"
220
+ - !ruby/object:Gem::Version
221
+ version: '1.8'
222
+ type: :development
223
+ prerelease: false
224
+ version_requirements: !ruby/object:Gem::Requirement
225
+ requirements:
226
+ - - "~>"
227
+ - !ruby/object:Gem::Version
228
+ version: '1.8'
229
+ - !ruby/object:Gem::Dependency
230
+ name: rubocop-rake
231
+ requirement: !ruby/object:Gem::Requirement
232
+ requirements:
233
+ - - "~>"
234
+ - !ruby/object:Gem::Version
235
+ version: '0.5'
236
+ type: :development
237
+ prerelease: false
238
+ version_requirements: !ruby/object:Gem::Requirement
239
+ requirements:
240
+ - - "~>"
241
+ - !ruby/object:Gem::Version
242
+ version: '0.5'
243
+ - !ruby/object:Gem::Dependency
244
+ name: rubocop-rspec
245
+ requirement: !ruby/object:Gem::Requirement
246
+ requirements:
247
+ - - "~>"
248
+ - !ruby/object:Gem::Version
249
+ version: '1.43'
250
+ type: :development
251
+ prerelease: false
252
+ version_requirements: !ruby/object:Gem::Requirement
253
+ requirements:
254
+ - - "~>"
255
+ - !ruby/object:Gem::Version
256
+ version: '1.43'
257
+ - !ruby/object:Gem::Dependency
258
+ name: simplecov
259
+ requirement: !ruby/object:Gem::Requirement
260
+ requirements:
261
+ - - "~>"
262
+ - !ruby/object:Gem::Version
263
+ version: '0.19'
264
+ type: :development
265
+ prerelease: false
266
+ version_requirements: !ruby/object:Gem::Requirement
267
+ requirements:
268
+ - - "~>"
269
+ - !ruby/object:Gem::Version
270
+ version: '0.19'
271
+ description:
272
+ email:
273
+ - brooke@alchemists.io
274
+ executables:
275
+ - rubysmith
276
+ extensions: []
277
+ extra_rdoc_files:
278
+ - README.adoc
279
+ - LICENSE.adoc
280
+ files:
281
+ - LICENSE.adoc
282
+ - README.adoc
283
+ - bin/rubysmith
284
+ - lib/rubysmith.rb
285
+ - lib/rubysmith/builder.rb
286
+ - lib/rubysmith/builders/bundler.rb
287
+ - lib/rubysmith/builders/console.rb
288
+ - lib/rubysmith/builders/core.rb
289
+ - lib/rubysmith/builders/documentation.rb
290
+ - lib/rubysmith/builders/git/commit.rb
291
+ - lib/rubysmith/builders/git/setup.rb
292
+ - lib/rubysmith/builders/guard.rb
293
+ - lib/rubysmith/builders/pragma.rb
294
+ - lib/rubysmith/builders/rake.rb
295
+ - lib/rubysmith/builders/reek.rb
296
+ - lib/rubysmith/builders/rspec/context.rb
297
+ - lib/rubysmith/builders/rspec/helper.rb
298
+ - lib/rubysmith/builders/rubocop.rb
299
+ - lib/rubysmith/builders/setup.rb
300
+ - lib/rubysmith/cli/configuration.rb
301
+ - lib/rubysmith/cli/defaults.yml
302
+ - lib/rubysmith/cli/parsers/assembler.rb
303
+ - lib/rubysmith/cli/parsers/build.rb
304
+ - lib/rubysmith/cli/parsers/core.rb
305
+ - lib/rubysmith/cli/processors/build.rb
306
+ - lib/rubysmith/cli/processors/config.rb
307
+ - lib/rubysmith/cli/shell.rb
308
+ - lib/rubysmith/identity.rb
309
+ - lib/rubysmith/pathway.rb
310
+ - lib/rubysmith/realm.rb
311
+ - lib/rubysmith/renderers/erb.rb
312
+ - lib/rubysmith/renderers/namespace.rb
313
+ - lib/rubysmith/templates/%project_name%/.reek.yml.erb
314
+ - lib/rubysmith/templates/%project_name%/.rubocop.yml.erb
315
+ - lib/rubysmith/templates/%project_name%/.ruby-version.erb
316
+ - lib/rubysmith/templates/%project_name%/CHANGES.adoc.erb
317
+ - lib/rubysmith/templates/%project_name%/CHANGES.md.erb
318
+ - lib/rubysmith/templates/%project_name%/CODE_OF_CONDUCT.adoc.erb
319
+ - lib/rubysmith/templates/%project_name%/CODE_OF_CONDUCT.md.erb
320
+ - lib/rubysmith/templates/%project_name%/CONTRIBUTING.adoc.erb
321
+ - lib/rubysmith/templates/%project_name%/CONTRIBUTING.md.erb
322
+ - lib/rubysmith/templates/%project_name%/Gemfile.erb
323
+ - lib/rubysmith/templates/%project_name%/Guardfile.erb
324
+ - lib/rubysmith/templates/%project_name%/LICENSE-apache.adoc.erb
325
+ - lib/rubysmith/templates/%project_name%/LICENSE-apache.md.erb
326
+ - lib/rubysmith/templates/%project_name%/LICENSE-mit.adoc.erb
327
+ - lib/rubysmith/templates/%project_name%/LICENSE-mit.md.erb
328
+ - lib/rubysmith/templates/%project_name%/README.adoc.erb
329
+ - lib/rubysmith/templates/%project_name%/README.md.erb
330
+ - lib/rubysmith/templates/%project_name%/Rakefile.erb
331
+ - lib/rubysmith/templates/%project_name%/bin/console.erb
332
+ - lib/rubysmith/templates/%project_name%/bin/guard.erb
333
+ - lib/rubysmith/templates/%project_name%/bin/rubocop.erb
334
+ - lib/rubysmith/templates/%project_name%/bin/setup.erb
335
+ - lib/rubysmith/templates/%project_name%/lib/%project_name%.rb.erb
336
+ - lib/rubysmith/templates/%project_name%/lib/%project_name%/identity.rb.erb
337
+ - lib/rubysmith/templates/%project_name%/spec/spec_helper.rb.erb
338
+ - lib/rubysmith/templates/%project_name%/spec/support/shared_contexts/temp_dir.rb.erb
339
+ - lib/rubysmith/text/inserter.rb
340
+ homepage: https://github.com/bkuhlmann/rubysmith
341
+ licenses:
342
+ - MIT
343
+ metadata:
344
+ bug_tracker_uri: https://github.com/bkuhlmann/rubysmith/issues
345
+ changelog_uri: https://www.alchemists.io/projects/rubysmith/changes.html
346
+ documentation_uri: https://www.alchemists.io/projects/rubysmith
347
+ source_code_uri: https://github.com/bkuhlmann/rubysmith
348
+ post_install_message:
349
+ rdoc_options: []
350
+ require_paths:
351
+ - lib
352
+ required_ruby_version: !ruby/object:Gem::Requirement
353
+ requirements:
354
+ - - "~>"
355
+ - !ruby/object:Gem::Version
356
+ version: '2.7'
357
+ required_rubygems_version: !ruby/object:Gem::Requirement
358
+ requirements:
359
+ - - ">="
360
+ - !ruby/object:Gem::Version
361
+ version: '0'
362
+ requirements: []
363
+ rubygems_version: 3.1.4
364
+ signing_key:
365
+ specification_version: 4
366
+ summary: A command line interface for smithing Ruby projects.
367
+ test_files: []