make_gem 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
- data/README.md +25 -2
- data/lib/make_gem.rb +1 -1
- data/lib/make_gem/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 0702f51ac71ddea596342366a53124810efba7da
|
4
|
+
data.tar.gz: 1f2205f5e730bf4ef2583e8c5dee0806257d794c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 98c48de385b9bffe0a387c26743092f46af0a5aeb978b7d07318d3f266effc9ecd309cce747dbeca9fcb182c56d5b2af3df899ae33bfbcd192bf43246e4820fa
|
7
|
+
data.tar.gz: a036813a7b79182a779341693647420b80218e9cf5b29e74b7e12890d6fb3634b3bdf35c07d26a0ce1283a448b8b6680bc640374a9ddaa6d6897cc868774f7b5
|
data/README.md
CHANGED
@@ -23,8 +23,31 @@ Where
|
|
23
23
|
The command to be executed in the parent of the folder you want the gem to be
|
24
24
|
created in.
|
25
25
|
|
26
|
-
For safety,
|
27
|
-
|
26
|
+
For safety, the program will not proceed if the target folder exists. This
|
27
|
+
prevents accidental "clobbering" an existing gem. Furthermore you will be shown
|
28
|
+
the key parameters of the gem creation and given a go/no go (y/n) choice.
|
29
|
+
|
30
|
+
### Changes from Bundler convention:
|
31
|
+
|
32
|
+
The make_gem starts out with the standard gem skeleton created by bundler and
|
33
|
+
makes the following changes:
|
34
|
+
|
35
|
+
1. Removes .travis.yml, bin/console, and bin/setup. I don't use these.
|
36
|
+
2. Renames the rakefile from Rakefile to rakefile.rb. I prefer Ruby code to have
|
37
|
+
a dot rb file suffix whenever possible.
|
38
|
+
3. Replace the gem's main file. I prefer the use of require_relative for files
|
39
|
+
inside of the gem.
|
40
|
+
4. Replace the gem's version file. The new version creates frozen strings and
|
41
|
+
add the DESCRIPTION constant.
|
42
|
+
5. Update test files to remove the test helper, use require_relative and add
|
43
|
+
my own test embellishment minitest_visible.
|
44
|
+
6. Update the readme to avoid super long lines, and put in sensible
|
45
|
+
Contributing License and Code of Conduct sections. A link to the github issues
|
46
|
+
page is provided to make it easier to access.
|
47
|
+
7. Update the gemspec to use the description field of the version file, add
|
48
|
+
a reference to additional development gems, and remove extraneous code.
|
49
|
+
8. Update the rake file adding the vers task.
|
50
|
+
9. Display command lines needed to connect to the gem's github repository.
|
28
51
|
|
29
52
|
## Contributing
|
30
53
|
1. Fork it
|
data/lib/make_gem.rb
CHANGED
data/lib/make_gem/version.rb
CHANGED