creategem 0.2.3 → 0.2.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/.gitignore +1 -0
- data/README.md +3 -2
- data/lib/creategem/cli.rb +1 -1
- data/lib/creategem/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 77169bd6bb9cd4c9232cb3eb4a02ba03809d1052
|
|
4
|
+
data.tar.gz: 91b495fc542c5bf33732d9ea231c24256a8b9aca
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: ed5fc446b726cf44cbf1c6496ee9918cd3c5a14fefd2cd5203eb30838de53368ba04c82d64509ce69ab175e0055603a1ee6b1766c04653f980adff50de7c90a6
|
|
7
|
+
data.tar.gz: 8a8b1b07d35e6648b77ff24156cbcc11d793cfa2bda88806e509d7e53d78c3f28bf82229aec904e3bc0f08881c642e4904cf3deecf949771e1952243b635d677
|
data/.gitignore
CHANGED
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,
|
data/lib/creategem/version.rb
CHANGED
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.
|
|
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-
|
|
11
|
+
date: 2016-04-21 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: bundler
|