rutabaga 0.0.3 → 0.0.4

Sign up to get free protection for your applications and to get access to all the features.
@@ -6,6 +6,11 @@ module Rutabaga
6
6
  feature_file = find_feature
7
7
 
8
8
  rspec_class = self.class
9
+
10
+ # Hack turnip into the rspec only when needed
11
+ rspec_class.send(:include, Turnip::RSpec::Execute)
12
+ rspec_class.send(:include, Turnip::Steps)
13
+
9
14
  builder = Turnip::Builder.build(feature_file)
10
15
  builder.features.each do |feature|
11
16
  rspec_class.describe(feature.name, feature.metadata_hash) do
@@ -1,3 +1,3 @@
1
1
  module Rutabaga
2
- VERSION = '0.0.3'
2
+ VERSION = '0.0.4'
3
3
  end
@@ -16,5 +16,5 @@ Gem::Specification.new do |gem|
16
16
  gem.version = Rutabaga::VERSION
17
17
  gem.license = 'MIT'
18
18
 
19
- gem.add_runtime_dependency 'turnip', '>= 1.0.0'
19
+ gem.add_runtime_dependency 'turnip', '>= 1.1.0'
20
20
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rutabaga
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.3
4
+ version: 0.0.4
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2012-08-28 00:00:00.000000000 Z
12
+ date: 2012-12-09 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: turnip
@@ -18,7 +18,7 @@ dependencies:
18
18
  requirements:
19
19
  - - ! '>='
20
20
  - !ruby/object:Gem::Version
21
- version: 1.0.0
21
+ version: 1.1.0
22
22
  type: :runtime
23
23
  prerelease: false
24
24
  version_requirements: !ruby/object:Gem::Requirement
@@ -26,7 +26,7 @@ dependencies:
26
26
  requirements:
27
27
  - - ! '>='
28
28
  - !ruby/object:Gem::Version
29
- version: 1.0.0
29
+ version: 1.1.0
30
30
  description: Allows using feature from within RSpec and is built on top of Turnip
31
31
  email:
32
32
  - lukas.oberhuber@simplybusiness.co.uk