skellington 0.1.2 → 0.1.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: 6d5b8d2d79bd1de0108ded0f4b1f49e77b8876cd
4
- data.tar.gz: acd500a16c1109dcbba2e8d75ba6b5520e0b3097
3
+ metadata.gz: 22c2fe6f47f008f1236144f8530f04bd5d688a34
4
+ data.tar.gz: e9879bb33aca212bd00c3165f697ea646b814f10
5
5
  SHA512:
6
- metadata.gz: be92366b49a738c6be65066555af160d9fe438d69fd181f187fdd729cce54118ab4625f8a97917e33e0537432cde1573e95c85513c3f3048970d7c7d97073535
7
- data.tar.gz: aca0de4eedf8366bef74910792a004ae581d57c5a1ff25eb07c6b93b0c9c2734e803a647db023e6d506b946297f703c73d10ca5bcfde7bfc39c69bbcd97fec2e
6
+ metadata.gz: 93c97bb9de3f67378aa600423da51d8e0bf194b94c7a5ce3dbd9e8807dafbcf9878e3f3ac6ee60efd3c5aea2e330483b17270106f08845410dfc7c929c9e3106
7
+ data.tar.gz: 399ae0d91028c49bb31fea5635893e4cff9fab1fe87531bf23c5a82cd02dd9cf5c3844036bc8063c196064f9d4aaf54ea4d4dea55f3debf67767f77162a04cbb
data/features/app.feature CHANGED
@@ -1,16 +1,16 @@
1
1
  Feature: Generate skellington
2
2
 
3
3
  Scenario: generate app file
4
- When I successfully run `skellington generate dummy_gem`
5
- Then a directory named "dummy_gem/lib/" should exist
6
- And a file named "dummy_gem/lib/dummy_gem.rb" should exist
7
- And the file "dummy_gem/lib/dummy_gem.rb" should contain:
4
+ When I successfully run `skellington generate dummy_app`
5
+ Then a directory named "dummy_app/lib/" should exist
6
+ And a file named "dummy_app/lib/dummy_app.rb" should exist
7
+ And the file "dummy_app/lib/dummy_app.rb" should contain:
8
8
  """
9
9
  require 'sinatra/base'
10
10
 
11
- class DummyGem < Sinatra::Base
11
+ class DummyApp < Sinatra::Base
12
12
  get '/' do
13
- 'Hello from DummyGem'
13
+ 'Hello from DummyApp'
14
14
  end
15
15
 
16
16
  # start the server if ruby file executed directly
data/features/cli.feature CHANGED
@@ -1,8 +1,8 @@
1
1
  Feature: Generate skellington
2
2
 
3
3
  Scenario: get some feedback
4
- When I successfully run `skellington generate dummy_gem`
5
- Then the output should contain "Generating dummy_gem/Gemfile"
4
+ When I successfully run `skellington generate dummy_app`
5
+ Then the output should contain "Generating dummy_app/Gemfile"
6
6
  And the output should contain "bundle"
7
7
  And the output should contain "rake"
8
8
 
@@ -1,12 +1,12 @@
1
1
  Feature: Generate skellington
2
2
 
3
3
  Scenario: generate config.ru
4
- When I successfully run `skellington generate dummy_gem`
5
- Then a file named "dummy_gem/config.ru" should exist
6
- And the file "dummy_gem/config.ru" should contain:
4
+ When I successfully run `skellington generate dummy_app`
5
+ Then a file named "dummy_app/config.ru" should exist
6
+ And the file "dummy_app/config.ru" should contain:
7
7
  """
8
8
  require 'rubygems'
9
- require File.join(File.dirname(__FILE__), 'lib/dummy_gem.rb')
9
+ require File.join(File.dirname(__FILE__), 'lib/dummy_app.rb')
10
10
 
11
- run DummyGem
11
+ run DummyApp
12
12
  """
@@ -1,10 +1,10 @@
1
1
  Feature: Generate skellington
2
2
 
3
3
  Scenario: generate feature
4
- When I successfully run `skellington generate dummy_gem`
5
- Then a directory named "dummy_gem/features" should exist
6
- And a file named "dummy_gem/features/dummy_gem.feature" should exist
7
- And the file "dummy_gem/features/dummy_gem.feature" should contain:
4
+ When I successfully run `skellington generate dummy_app`
5
+ Then a directory named "dummy_app/features" should exist
6
+ And a file named "dummy_app/features/dummy_app.feature" should exist
7
+ And the file "dummy_app/features/dummy_app.feature" should contain:
8
8
  """
9
9
  Feature: Make sure it's plumbed in correctly
10
10
 
@@ -14,9 +14,9 @@ Feature: Generate skellington
14
14
  """
15
15
 
16
16
  Scenario: generate env.rb
17
- When I successfully run `skellington generate dummy_gem`
18
- And a file named "dummy_gem/features/support/env.rb" should exist
19
- And the file "dummy_gem/features/support/env.rb" should contain:
17
+ When I successfully run `skellington generate dummy_app`
18
+ And a file named "dummy_app/features/support/env.rb" should exist
19
+ And the file "dummy_app/features/support/env.rb" should contain:
20
20
  """
21
- DummyGem
21
+ DummyApp
22
22
  """
@@ -1,16 +1,16 @@
1
1
  Feature: Generate skellington
2
2
 
3
3
  Scenario: generate Gemfile
4
- When I successfully run `skellington generate dummy_gem`
5
- Then a file named "dummy_gem/Gemfile" should exist
6
- And the file "dummy_gem/Gemfile" should contain:
4
+ When I successfully run `skellington generate dummy_app`
5
+ Then a file named "dummy_app/Gemfile" should exist
6
+ And the file "dummy_app/Gemfile" should contain:
7
7
  """
8
8
  source 'https://rubygems.org'
9
9
 
10
10
  ruby '
11
11
  """
12
12
 
13
- And the file "dummy_gem/Gemfile" should contain:
13
+ And the file "dummy_app/Gemfile" should contain:
14
14
  """
15
15
  gem 'sinatra'
16
16
  gem 'thin'
data/features/git.feature CHANGED
@@ -1,5 +1,5 @@
1
1
  Feature: Generate skellington
2
2
 
3
3
  Scenario: git init the repo
4
- When I successfully run `skellington generate dummy_gem`
5
- Then a directory named "dummy_gem/.git/" should exist
4
+ When I successfully run `skellington generate dummy_app`
5
+ Then a directory named "dummy_app/.git/" should exist
@@ -1,9 +1,9 @@
1
1
  Feature: Generate skellington
2
2
 
3
3
  Scenario: generate Procfile
4
- When I successfully run `skellington generate dummy_gem`
5
- Then a file named "dummy_gem/Procfile" should exist
6
- And the file "dummy_gem/Procfile" should contain:
4
+ When I successfully run `skellington generate dummy_app`
5
+ Then a file named "dummy_app/Procfile" should exist
6
+ And the file "dummy_app/Procfile" should contain:
7
7
  """
8
- web: bundle exec ruby lib/dummy_gem.rb
8
+ web: bundle exec ruby lib/dummy_app.rb
9
9
  """
@@ -1,11 +1,11 @@
1
1
  Feature: Generate skellington
2
2
 
3
3
  Scenario: generate Rakefile
4
- When I successfully run `skellington generate dummy_gem`
5
- Then a file named "dummy_gem/Rakefile" should exist
6
- And the file "dummy_gem/Rakefile" should contain:
4
+ When I successfully run `skellington generate dummy_app`
5
+ Then a file named "dummy_app/Rakefile" should exist
6
+ And the file "dummy_app/Rakefile" should contain:
7
7
  """
8
- require File.join(File.dirname(__FILE__), 'lib/dummy_gem.rb')
8
+ require File.join(File.dirname(__FILE__), 'lib/dummy_app.rb')
9
9
 
10
10
  unless ENV['RACK_ENV'] == 'production'
11
11
  require 'rspec/core/rake_task'
@@ -1,6 +1,6 @@
1
1
  Feature: Generate skellington
2
2
 
3
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]/
4
+ When I successfully run `skellington generate dummy_app`
5
+ Then a file named "dummy_app/.ruby-version" should exist
6
+ And the file "dummy_app/.ruby-version" should match /[0-9].[0-9].[0-9]/
@@ -1,3 +1,3 @@
1
1
  module Skellington
2
- VERSION = "0.1.2"
2
+ VERSION = "0.1.3"
3
3
  end
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.1.2
4
+ version: 0.1.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - pikesley