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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 221e250648cb82d31cc7cfa8741d898c59a6d59d
4
- data.tar.gz: 17708ce27104165da758a6add24c1bdc93ac8986
3
+ metadata.gz: 0702f51ac71ddea596342366a53124810efba7da
4
+ data.tar.gz: 1f2205f5e730bf4ef2583e8c5dee0806257d794c
5
5
  SHA512:
6
- metadata.gz: b536e0b5cf595d3c64908ee7b2cc7d56f1f9e2cee7daec203072cec3a819380af65ea9e6cad5b80257582eae28c6dee4ce56471b485319410b5dc7b825446de3
7
- data.tar.gz: 43f8f2dd27431ec8d0e5091867d606ac9b9dc3b393c7dffeb64fe2bb0270319f03130d9c2a0bbf7ae7d439d0688f1c506ff6dfb3f1508518ed928a4e48f553e6
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, you will be shown the key parameters of the gem creation and given
27
- a go/no go (y/n) choice.
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
@@ -120,7 +120,7 @@ module MakeGem
120
120
  evaluator)
121
121
 
122
122
  %x{git add .}
123
- %x{git commit -m "Fix phase 6"}
123
+ %x{git commit -m "Fix phase 7"}
124
124
 
125
125
  puts
126
126
  puts "To connect to github, use:"
@@ -1,5 +1,5 @@
1
1
  module MakeGem
2
- VERSION = "0.1.0".freeze
2
+ VERSION = "0.1.1".freeze
3
3
 
4
4
  DESCRIPTION = "make_gem: Create a gem frame work ready to begin useful work.".freeze
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: make_gem
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - PeterCamilleri