skellington 0.4.11 → 0.4.13

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: 2ad84cc35ff3599d275b6fb9dbc248ff737ee597
4
- data.tar.gz: a1b70773984a5014d8c16c0eed68b320266d50f1
3
+ metadata.gz: 469c2625bd8b862f50df1b49789a929c87d056e2
4
+ data.tar.gz: 881d2cc9db2542239d943fed706afa5f8725918f
5
5
  SHA512:
6
- metadata.gz: 5b9767cfd6f22a9076bced97c0f27f70e94b227f5da053743e766361e47aaa5da0b9144369f0c132ee369db4e8e17d63e75746392d9f49fa88e36a49d76097f3
7
- data.tar.gz: 91e606fcd6329a64c7b97b93965818159a7e0df93da8db87c27d414f9252fd553747645d5aec9a9559a75ab958cde94ce5e808e45ed70fa81e396f4a8193bd3a
6
+ metadata.gz: 17726ebe92000f1c75bcf0c3b406e095e62dba19ddcb3167268aa40a53386334b0ec3d374a5888683860f52b6ec1baa952ae6cf99a3205a85216a42d43c49e2d
7
+ data.tar.gz: 03410cb56482d90d3c12a35756e36f2e4c1ad047bac468d8472ba339bc41b93bf931b571aa29247dbbcc7826d8fe1dbecb4b23aa5c78cc93f14ff5236b1753da
@@ -21,9 +21,9 @@ module Skellington
21
21
  def write
22
22
  print "Generating #{Skellington.unslash outpath}..."
23
23
  FileUtils.mkdir_p File.dirname outpath
24
- f = File.open outpath, 'w'
25
- f.write self
26
- f.close
24
+ File.open outpath, 'w' do |f|
25
+ f.write self
26
+ end
27
27
  puts 'done'
28
28
  end
29
29
 
@@ -1,3 +1,3 @@
1
1
  module Skellington
2
- VERSION = '0.4.11'
2
+ VERSION = '0.4.13'
3
3
  end
@@ -1 +1 @@
1
- web: bundle exec ruby lib/<%= @gen.wormname %>.rb
1
+ web: bundle exec rackup -p $PORT
@@ -8,7 +8,7 @@ module Skellington
8
8
  subject.generate 'dummy_app'
9
9
  expect('dummy_app/Procfile').to have_content (
10
10
  """
11
- web: bundle exec ruby lib/dummy_app.rb
11
+ web: bundle exec rackup -p $PORT
12
12
  """
13
13
  )
14
14
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: skellington
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.11
4
+ version: 0.4.13
5
5
  platform: ruby
6
6
  authors:
7
7
  - pikesley
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-01-19 00:00:00.000000000 Z
11
+ date: 2016-01-20 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: thor