creategem 0.4.2 → 0.4.3

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: 3abcd2758531d8a7e9f7f97fdede5399dbb02da1
4
- data.tar.gz: 9c62af0e5e26523df1dc608179bc47c552379a00
3
+ metadata.gz: 9ae18d8ccde333b70e3acb42b450bec1cdf2dd53
4
+ data.tar.gz: 55854004497fa8b2b7fa87ccdab74514091713ea
5
5
  SHA512:
6
- metadata.gz: 3208c3165d3bce4de0043a65718750d107d2200722154a4756f81e36a6324f5d6aea396d784d9b8071479139db7682f47ac634091e367bde3bde4732ed1403af
7
- data.tar.gz: 370a2acc2de9a669574ab2d41429f451780c862c3258a79121d5183dba6f749d55f0ca5665a93f371b07ea355bf4feb02f858ac093f74d4246ee874247972b3b
6
+ metadata.gz: 902dfab09356123b8da4dc78cfa97acd30e2dea46d37753ecb9ec363b787f11a797705ddebd30123b2501c5918313b6a0863aae7a47618a35fb5a34f74d8a038
7
+ data.tar.gz: 4310dd6bbf9db41776a70ff5b5beaafb40105a1a911d4406de9dd5711644d1b38a8ffccdba0d63fd4c7099bf64d52c59be44df4ffaa93ea542ce2e125547fc76
data/README.md CHANGED
@@ -24,7 +24,7 @@ Features:
24
24
  - executable based on [Thor](http://whatisthor.com) (can be omited with --no-executable)
25
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
+ - readme with badges for travis, codeclimate, coveralls, etc. for public projects (like the badges you see above)
28
28
 
29
29
 
30
30
  ## Installation
@@ -49,6 +49,11 @@ Per default a gem is created with an executable based on Thor, but you can omit
49
49
  After you create the gem, edit your gemspec and change the summary and the description, commit the changes to git and invoke `rake release_patch` and your gem is being released.
50
50
 
51
51
 
52
+ $ creategem plugin GEM_NAME [--engine] [--mountable] [--private] [--executable]
53
+
54
+ `creategem plugin` creates a rails plugin. You can also specify if the plugin should be an engine (`--engine`) or a mountable engine (`--mountable`).
55
+
56
+
52
57
  ## Development
53
58
 
54
59
  After checking out the repo, run `bin/setup` to install dependencies. Then, run `rake test` to run the tests. You can also run `bin/console` for an interactive prompt that will allow you to experiment.
data/lib/creategem/cli.rb CHANGED
@@ -64,6 +64,9 @@ module Creategem
64
64
  def create_plugin_scaffold(gem_name)
65
65
  say "Create a rails plugin scaffold for gem named: #{gem_name}", :green
66
66
  directory "plugin_scaffold", gem_name
67
+ Dir.chdir gem_name do
68
+ run "chmod +x test/dummy/bin/*"
69
+ end
67
70
  end
68
71
 
69
72
  def create_engine_scaffold(gem_name)
@@ -1,3 +1,3 @@
1
1
  module Creategem
2
- VERSION = '0.4.2'
2
+ VERSION = '0.4.3'
3
3
  end
@@ -0,0 +1 @@
1
+ PATH_add bin
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.4.2
4
+ version: 0.4.3
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-05-10 00:00:00.000000000 Z
11
+ date: 2016-05-23 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -201,6 +201,7 @@ files:
201
201
  - templates/mountable_scaffold/app/helpers/%gem_name%/application_helper.rb.tt
202
202
  - templates/mountable_scaffold/app/views/layouts/%gem_name%/application.html.erb.tt
203
203
  - templates/plugin_scaffold/lib/tasks/%gem_name%_tasks.rake.tt
204
+ - templates/plugin_scaffold/test/dummy/.envrc
204
205
  - templates/plugin_scaffold/test/dummy/README.rdoc
205
206
  - templates/plugin_scaffold/test/dummy/Rakefile
206
207
  - templates/plugin_scaffold/test/dummy/app/assets/images/.keep