rutabaga 0.0.3 → 0.0.4
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/rutabaga/feature.rb +5 -0
- data/lib/rutabaga/version.rb +1 -1
- data/rutabaga.gemspec +1 -1
- metadata +4 -4
data/lib/rutabaga/feature.rb
CHANGED
@@ -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
|
data/lib/rutabaga/version.rb
CHANGED
data/rutabaga.gemspec
CHANGED
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.
|
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-
|
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.
|
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.
|
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
|