skellington 0.0.5 → 0.0.6

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: d60b25ce051b5638e5272d30b970e98924ebc1ce
4
- data.tar.gz: 9d560ba3e6d7db361b5f029a395fa3036533c2a6
3
+ metadata.gz: 80e4fe78c132018ec8c5a09de0d8c66a831d2454
4
+ data.tar.gz: 961f21c1ee47d0aaf8fc7d9ee8e231b6005ec78b
5
5
  SHA512:
6
- metadata.gz: 12a529cfb96b1b6759264e6576f3d517289c554a5206c25d223053199710d8aec127d6165ee32e4781b49893d702d9d140c2e47ac189b4c54ecfaafebd2681b9
7
- data.tar.gz: 5827847399355591e202506660e6c5fa1349b71f279d4cff28657564d8d5307f6a0181a60f20de4e7e2166281e83874e1f37bc945342536784758f44a7b5e197
6
+ metadata.gz: a11f53c78d316e61daef3573891a02269f20f624a074c59ac55b8e73232ef3e444ff0704f41571db95044dbb08d43c7e85ac2efcd4e39456e58bb7fa509d58c0
7
+ data.tar.gz: 8becb095af637029d4a93011328e11d0663fd3646116e267812b75111583dc26d5032b2789dde1f619ce405c58777ce161aa570f6353540f739d0514d87a4acb
data/README.md CHANGED
@@ -7,8 +7,9 @@
7
7
 
8
8
  # Skellington
9
9
 
10
- Generate tedious Cucumber and Sinatra boilerplate like a boss
10
+ Generate tedious [Cucumber](http://cukes.info/) and [Sinatra](http://www.sinatrarb.com/) boilerplate like a boss. Should work fine for both RVM- and rbenv-based setups
11
11
 
12
+ $ gem install skellington
12
13
  $ skellington generate naming_things_is_hard
13
14
 
14
15
  Generating naming_things_is_hard/Gemfile...done
@@ -29,7 +30,6 @@ Generate tedious Cucumber and Sinatra boilerplate like a boss
29
30
 
30
31
  And presuming that passes OK
31
32
 
32
- badger > README.md
33
33
  git add .
34
34
  git commit -m 'First commit'
35
35
 
@@ -37,6 +37,8 @@ Generate tedious Cucumber and Sinatra boilerplate like a boss
37
37
 
38
38
  rackup
39
39
 
40
- This assumes a bunch of things about your system, you'll need at least
40
+ This assumes a bunch of things, at least:
41
41
 
42
- * A reasonable git installation
42
+ * That you have a reasonable git installation
43
+
44
+ Also, it will set up the new project using whatever version of ruby is cromulent when you run it
@@ -0,0 +1,6 @@
1
+ Feature: Generate skellington
2
+
3
+ Scenario: generate .ruby-version
4
+ When I successfully run `skellington generate dummy_gem`
5
+ Then a file named "dummy_gem/.ruby-version" should exist
6
+ And the file "dummy_gem/.ruby-version" should match /[0-9].[0-9].[0-9]/
@@ -29,7 +29,6 @@ module Skellington
29
29
  }
30
30
  },
31
31
  'features/first.feature' => {
32
- params: {},
33
32
  outpath: "features/#{@path}.feature"
34
33
  },
35
34
  'features/support/env.rb' => {
@@ -43,7 +42,8 @@ module Skellington
43
42
  camel_name: Skellington.camelise(@path)
44
43
  },
45
44
  outpath: "lib/#{@path}.rb"
46
- }
45
+ },
46
+ '.ruby-version' => {}
47
47
  }
48
48
  end
49
49
 
@@ -1,3 +1,3 @@
1
1
  module Skellington
2
- VERSION = "0.0.5"
2
+ VERSION = "0.0.6"
3
3
  end
@@ -0,0 +1 @@
1
+ <%= RUBY_VERSION %>
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: skellington
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.5
4
+ version: 0.0.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - pikesley
@@ -191,6 +191,7 @@ files:
191
191
  - features/git.feature
192
192
  - features/procfile.feature
193
193
  - features/rakefile.feature
194
+ - features/rbenv.feature
194
195
  - features/support/app.feature
195
196
  - features/support/env.rb
196
197
  - lib/skellington.rb
@@ -199,6 +200,7 @@ files:
199
200
  - lib/skellington/helpers.rb
200
201
  - lib/skellington/template.rb
201
202
  - lib/skellington/version.rb
203
+ - lib/templates/.ruby-version.eruby
202
204
  - lib/templates/Gemfile.eruby
203
205
  - lib/templates/Procfile.eruby
204
206
  - lib/templates/Rakefile.eruby
@@ -244,6 +246,7 @@ test_files:
244
246
  - features/git.feature
245
247
  - features/procfile.feature
246
248
  - features/rakefile.feature
249
+ - features/rbenv.feature
247
250
  - features/support/app.feature
248
251
  - features/support/env.rb
249
252
  - spec/skellington_spec.rb