creategem 0.2.3 → 0.2.4

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: 48373e9f1ea3ccb88b0efdd6abe44e948116e418
4
- data.tar.gz: b8aa17c763cd0aa8cba950401c5ef89a2d65a3b9
3
+ metadata.gz: 77169bd6bb9cd4c9232cb3eb4a02ba03809d1052
4
+ data.tar.gz: 91b495fc542c5bf33732d9ea231c24256a8b9aca
5
5
  SHA512:
6
- metadata.gz: b687390d6c0b5ad350dfee038b1121f24afe91f854727b8ac894b7395b73d97ca972218666e833fd69cbc44b5415a0766927ea503299be8f450e3b0626ea0ba9
7
- data.tar.gz: 67a12314556d2e842a776e0cd6430f3d05d651ce085fb7673f6ba50b36046838f618bdcbe081217e416efc01ccfd5b7b6438ba60d76032b96ceae9e2ce14ce25
6
+ metadata.gz: ed5fc446b726cf44cbf1c6496ee9918cd3c5a14fefd2cd5203eb30838de53368ba04c82d64509ce69ab175e0055603a1ee6b1766c04653f980adff50de7c90a6
7
+ data.tar.gz: 8a8b1b07d35e6648b77ff24156cbcc11d793cfa2bda88806e509d7e53d78c3f28bf82229aec904e3bc0f08881c642e4904cf3deecf949771e1952243b635d677
data/.gitignore CHANGED
@@ -3,6 +3,7 @@
3
3
  /Gemfile.lock
4
4
  /_yardoc/
5
5
  /coverage/
6
+ /test/coverage/
6
7
  /doc/
7
8
  /pkg/
8
9
  /spec/reports/
data/README.md CHANGED
@@ -14,7 +14,7 @@
14
14
 
15
15
  Creategem creates a scaffold project for a new gem together with remote repository (Github or Bitbucket) and is ready to be released in a public or private gem server.
16
16
 
17
- This project is inspired by the [Bundler](http://bundler.io)'s `bundle gem GEM command and by the great article [Deveoping a RubyGem using Bundler](https://github.com/radar/guides/blob/master/gem-development.md).
17
+ This project is inspired by the [Bundler](http://bundler.io)'s `bundle gem GEM` command and by the great article [Deveoping a RubyGem using Bundler](https://github.com/radar/guides/blob/master/gem-development.md).
18
18
 
19
19
  Similar to what Bundler's bundle gem command does, this gem generates a scaffold with all files you need to start, but it also has some additional features.
20
20
 
@@ -22,8 +22,9 @@ Features:
22
22
  - automatically creates local and remote git repository (github or bitbucket) for your gem
23
23
  - automatically release patches, minor and major versions without having to manually increase versions (thanks to [gem-release](https://github.com/svenfuchs/gem-release))
24
24
  - executable based on [Thor](http://whatisthor.com) (can be omited with --no-executable)
25
- - test infrastructure based on minitest
25
+ - test infrastructure based on minitest and minitest-reporters
26
26
  - release to rubygems.org or to private geminabox gem server
27
+ - readme with badges for travis, codeclimate, coveralls, etc. for public projects
27
28
 
28
29
 
29
30
  ## Installation
data/lib/creategem/cli.rb CHANGED
@@ -22,7 +22,7 @@ module Creategem
22
22
  def gem(gem_name)
23
23
  say "Create a gem scaffold for gem named: #{gem_name}", :green
24
24
  @gem_name = gem_name
25
- @class_name = Thor::Util.camel_case(gem_name)
25
+ @class_name = Thor::Util.camel_case(gem_name.gsub("-", "_"))
26
26
  @executable = options[:executable]
27
27
  vendor = options[:private] ? :bitbucket : :github
28
28
  @repository = Creategem::Repository.new(vendor: vendor,
@@ -1,3 +1,3 @@
1
1
  module Creategem
2
- VERSION = '0.2.3'
2
+ VERSION = '0.2.4'
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: creategem
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.3
4
+ version: 0.2.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Igor Jancev
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2016-04-16 00:00:00.000000000 Z
11
+ date: 2016-04-21 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler