cucumber-sinatra 0.4.0 → 0.5.0

Sign up to get free protection for your applications and to get access to all the features.
data/CHANGES.md CHANGED
@@ -1,6 +1,9 @@
1
1
  ChangeLog
2
2
  =========
3
3
 
4
+ # 0.5.0
5
+ * Run the application if $0 is the app file. (strand)
6
+
4
7
  # 0.4.0
5
8
  * Silence a deprecation warning with capybara 1.0.0. (HeroicEric)
6
9
 
@@ -7,8 +7,8 @@ Gem::Specification.new do |s|
7
7
  ## If your rubyforge_project name is different, then edit it and comment out
8
8
  ## the sub! line in the Rakefile
9
9
  s.name = 'cucumber-sinatra'
10
- s.version = '0.4.0'
11
- s.date = '2011-06-23'
10
+ s.version = '0.5.0'
11
+ s.date = '2012-04-01'
12
12
  s.rubyforge_project = 'cucumber-sinatra'
13
13
 
14
14
  s.summary = "Initialize a cucumber environment for sinatra"
@@ -1,5 +1,5 @@
1
1
  module Cucumber
2
2
  module Sinatra
3
- VERSION = '0.4.0'
3
+ VERSION = '0.5.0'
4
4
  end
5
5
  end
@@ -4,4 +4,7 @@ class <%= app_class -%> < Sinatra::Base
4
4
  get '/' do
5
5
  'Hello <%= app_class -%>!'
6
6
  end
7
+
8
+ # start the server if ruby file executed directly
9
+ run! if app_file == $0
7
10
  end
metadata CHANGED
@@ -1,48 +1,42 @@
1
- --- !ruby/object:Gem::Specification
1
+ --- !ruby/object:Gem::Specification
2
2
  name: cucumber-sinatra
3
- version: !ruby/object:Gem::Version
4
- hash: 15
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.5.0
5
5
  prerelease:
6
- segments:
7
- - 0
8
- - 4
9
- - 0
10
- version: 0.4.0
11
6
  platform: ruby
12
- authors:
7
+ authors:
13
8
  - Bernd Ahlers
14
9
  autorequire:
15
10
  bindir: bin
16
11
  cert_chain: []
17
-
18
- date: 2011-06-23 00:00:00 Z
19
- dependencies:
20
- - !ruby/object:Gem::Dependency
12
+ date: 2012-04-01 00:00:00.000000000 Z
13
+ dependencies:
14
+ - !ruby/object:Gem::Dependency
21
15
  name: templater
22
- prerelease: false
23
- requirement: &id001 !ruby/object:Gem::Requirement
16
+ requirement: !ruby/object:Gem::Requirement
24
17
  none: false
25
- requirements:
26
- - - ">="
27
- - !ruby/object:Gem::Version
28
- hash: 23
29
- segments:
30
- - 1
31
- - 0
32
- - 0
18
+ requirements:
19
+ - - ! '>='
20
+ - !ruby/object:Gem::Version
33
21
  version: 1.0.0
34
22
  type: :runtime
35
- version_requirements: *id001
36
- description: This little gem will help you to initialize a cucumber environment for a sinatra application. It will generate the required files from templates.
23
+ prerelease: false
24
+ version_requirements: !ruby/object:Gem::Requirement
25
+ none: false
26
+ requirements:
27
+ - - ! '>='
28
+ - !ruby/object:Gem::Version
29
+ version: 1.0.0
30
+ description: This little gem will help you to initialize a cucumber environment for
31
+ a sinatra application. It will generate the required files from templates.
37
32
  email: bernd@tuneafish.de
38
- executables:
33
+ executables:
39
34
  - cucumber-sinatra
40
35
  extensions: []
41
-
42
- extra_rdoc_files:
36
+ extra_rdoc_files:
43
37
  - README.md
44
38
  - LICENSE
45
- files:
39
+ files:
46
40
  - CHANGES.md
47
41
  - LICENSE
48
42
  - README.md
@@ -58,36 +52,27 @@ files:
58
52
  - lib/cucumber/sinatra/templates/features/support/paths.rbt
59
53
  homepage: http://github.com/bernd/cucumber-sinatra
60
54
  licenses: []
61
-
62
55
  post_install_message:
63
- rdoc_options:
56
+ rdoc_options:
64
57
  - --charset=UTF-8
65
- require_paths:
58
+ require_paths:
66
59
  - lib
67
- required_ruby_version: !ruby/object:Gem::Requirement
60
+ required_ruby_version: !ruby/object:Gem::Requirement
68
61
  none: false
69
- requirements:
70
- - - ">="
71
- - !ruby/object:Gem::Version
72
- hash: 3
73
- segments:
74
- - 0
75
- version: "0"
76
- required_rubygems_version: !ruby/object:Gem::Requirement
62
+ requirements:
63
+ - - ! '>='
64
+ - !ruby/object:Gem::Version
65
+ version: '0'
66
+ required_rubygems_version: !ruby/object:Gem::Requirement
77
67
  none: false
78
- requirements:
79
- - - ">="
80
- - !ruby/object:Gem::Version
81
- hash: 3
82
- segments:
83
- - 0
84
- version: "0"
68
+ requirements:
69
+ - - ! '>='
70
+ - !ruby/object:Gem::Version
71
+ version: '0'
85
72
  requirements: []
86
-
87
73
  rubyforge_project: cucumber-sinatra
88
- rubygems_version: 1.8.5
74
+ rubygems_version: 1.8.21
89
75
  signing_key:
90
76
  specification_version: 2
91
77
  summary: Initialize a cucumber environment for sinatra
92
78
  test_files: []
93
-