rubysmith 0.1.0 → 0.1.1
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 +14 -21
- data/lib/rubysmith/cli/parsers/build.rb +3 -3
- data/lib/rubysmith/identity.rb +1 -1
- metadata +3 -3
- 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: 380101c84537fa203d854153516c427b08b601d2e74c6e368a0efc04d614dc27
|
4
|
+
data.tar.gz: 45e762503cd4fab3363c770db57cb90817af1bb60016c127ec846e2470fe6cca
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4a9909ac824ad0aa4a7ca4a8a161d1e32e6f49121cccc2f25f03fd3ca5ec79381818d72a9c65730bdeca971b70299cefc79b5b07c2c3b50289eebdf46cf112bb
|
7
|
+
data.tar.gz: 28ae633b10861b7d94b401580829ca9af4b0f60927e34734bc48699b22dddbcd5603768d6f8f8bab617a29519105a92602454e0a850fa52a898c79d991d45342
|
checksums.yaml.gz.sig
CHANGED
Binary file
|
data.tar.gz.sig
CHANGED
Binary file
|
data/README.adoc
CHANGED
@@ -9,7 +9,9 @@ image::https://badge.fury.io/rb/rubysmith.svg[Gem Version]
|
|
9
9
|
[link=https://circleci.com/gh/bkuhlmann/rubysmith]
|
10
10
|
image::https://circleci.com/gh/bkuhlmann/rubysmith.svg?style=svg[Circle CI Status]
|
11
11
|
|
12
|
-
A command line interface for smithing Ruby projects.
|
12
|
+
A command line interface for smithing Ruby projects. Handy for situations in which you need
|
13
|
+
something more sophisticated than a Bundler Inline script but less complicated than a Ruby Gem as
|
14
|
+
provided by link:https://www.alchemists.io/projects/gemsmith[Gemsmith].
|
13
15
|
|
14
16
|
toc::[]
|
15
17
|
|
@@ -20,7 +22,7 @@ toc::[]
|
|
20
22
|
* Uses link:https://www.alchemists.io/projects/runcom[Runcom] for resource configuration management.
|
21
23
|
* Uses link:https://www.alchemists.io/projects/pragmater[Pragmater] for Ruby source pragma directives.
|
22
24
|
* Supports link:https://github.com/rubysec/bundler-audit[Bundler Audit].
|
23
|
-
* Supports link:https://git-scm.com[Git]
|
25
|
+
* Supports link:https://git-scm.com[Git].
|
24
26
|
* Supports link:https://www.alchemists.io/projects/git-lint[Git Lint].
|
25
27
|
* Supports link:https://github.com/guard/guard[Guard].
|
26
28
|
* Supports link:http://pryrepl.org[Pry].
|
@@ -37,10 +39,10 @@ toc::[]
|
|
37
39
|
** CODE OF CONDUCT
|
38
40
|
** LICENSE
|
39
41
|
|
40
|
-
== Screencasts
|
42
|
+
// == Screencasts
|
41
43
|
|
42
|
-
[link=https://www.alchemists.io/screencasts/rubysmith]
|
43
|
-
image::https://www.alchemists.io/images/screencasts/rubysmith/cover.svg[Screencast,600,240,role=focal_point]
|
44
|
+
// [link=https://www.alchemists.io/screencasts/rubysmith]
|
45
|
+
// image::https://www.alchemists.io/images/screencasts/rubysmith/cover.svg[Screencast,600,240,role=focal_point]
|
44
46
|
|
45
47
|
== Requirements
|
46
48
|
|
@@ -86,24 +88,24 @@ From the command line, type: `rubysmith --help`
|
|
86
88
|
|
87
89
|
....
|
88
90
|
USAGE:
|
89
|
-
-v, --version Show gem version.
|
90
|
-
-h, --help Show this message.
|
91
91
|
-c, --config ACTION Manage gem configuration: edit or view.
|
92
92
|
-b, --build NAME [options] Build new gem.
|
93
|
+
-v, --version Show gem version.
|
94
|
+
-h, --help Show this message.
|
93
95
|
|
94
96
|
BUILD OPTIONS:
|
95
97
|
--[no-]bundler-audit Add Bundler Audit.
|
96
|
-
--[no-]console Add console
|
97
|
-
--[no-]documentation Add
|
98
|
+
--[no-]console Add console script.
|
99
|
+
--[no-]documentation Add documentation.
|
98
100
|
--[no-]git Add Git.
|
99
101
|
--[no-]git-lint Add Git Lint.
|
100
102
|
--[no-]guard Add Guard.
|
101
|
-
--[no-]reek Add Reek.
|
102
103
|
--[no-]pry Add Pry.
|
103
|
-
--[no-]
|
104
|
+
--[no-]reek Add Reek.
|
104
105
|
--[no-]rspec Add RSpec.
|
106
|
+
--[no-]rubocop Add Rubocop.
|
107
|
+
--[no-]setup Add setup script.
|
105
108
|
--[no-]simple_cov Add SimpleCov.
|
106
|
-
--[no-]setup Add setup support.
|
107
109
|
....
|
108
110
|
|
109
111
|
=== Configuration
|
@@ -158,15 +160,6 @@ The default configuration is as follows:
|
|
158
160
|
Feel free to take this default configuration, modify, and save as your own custom
|
159
161
|
`configuration.yml`.
|
160
162
|
|
161
|
-
=== Console
|
162
|
-
|
163
|
-
To use the IRB console to invesitage and/or experiment with all project objects, run:
|
164
|
-
|
165
|
-
[source,bash]
|
166
|
-
----
|
167
|
-
bin/console
|
168
|
-
----
|
169
|
-
|
170
163
|
== Tests
|
171
164
|
|
172
165
|
To test, run:
|
@@ -31,13 +31,13 @@ module Rubysmith
|
|
31
31
|
end
|
32
32
|
|
33
33
|
def add_console
|
34
|
-
client.on "--[no-]console", "Add console
|
34
|
+
client.on "--[no-]console", "Add console script." do |value|
|
35
35
|
options[:build_console] = value
|
36
36
|
end
|
37
37
|
end
|
38
38
|
|
39
39
|
def add_documentation
|
40
|
-
client.on "--[no-]documentation", "Add
|
40
|
+
client.on "--[no-]documentation", "Add documentation." do |value|
|
41
41
|
options[:build_documentation] = value
|
42
42
|
end
|
43
43
|
end
|
@@ -85,7 +85,7 @@ module Rubysmith
|
|
85
85
|
end
|
86
86
|
|
87
87
|
def add_setup
|
88
|
-
client.on "--[no-]setup", "Add setup
|
88
|
+
client.on "--[no-]setup", "Add setup script." do |value|
|
89
89
|
options[:build_setup] = value
|
90
90
|
end
|
91
91
|
end
|
data/lib/rubysmith/identity.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rubysmith
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Brooke Kuhlmann
|
@@ -28,7 +28,7 @@ cert_chain:
|
|
28
28
|
2XV8FRa7/JimI07sPLC13eLY3xd/aYTi85Z782KIA4j0G8XEEWAX0ouBhlXPocZv
|
29
29
|
QWc=
|
30
30
|
-----END CERTIFICATE-----
|
31
|
-
date: 2020-09-
|
31
|
+
date: 2020-09-29 00:00:00.000000000 Z
|
32
32
|
dependencies:
|
33
33
|
- !ruby/object:Gem::Dependency
|
34
34
|
name: pragmater
|
@@ -339,7 +339,7 @@ files:
|
|
339
339
|
- lib/rubysmith/text/inserter.rb
|
340
340
|
homepage: https://github.com/bkuhlmann/rubysmith
|
341
341
|
licenses:
|
342
|
-
-
|
342
|
+
- Apache-2.0
|
343
343
|
metadata:
|
344
344
|
bug_tracker_uri: https://github.com/bkuhlmann/rubysmith/issues
|
345
345
|
changelog_uri: https://www.alchemists.io/projects/rubysmith/changes.html
|
metadata.gz.sig
CHANGED
Binary file
|