viewcumber 0.2.1 → 0.2.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/VERSION +1 -1
- data/lib/viewcumber.rb +4 -2
- data/viewcumber.gemspec +2 -2
- metadata +6 -6
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.2.
|
1
|
+
0.2.2
|
data/lib/viewcumber.rb
CHANGED
@@ -43,8 +43,10 @@ class Viewcumber < Cucumber::Formatter::Json
|
|
43
43
|
# The JSON formatter adds the background as a feature element,
|
44
44
|
# we only want full scenarios so lets delete all with type 'background'
|
45
45
|
def after_feature(feature)
|
46
|
-
@gf.gherkin_object['elements']
|
47
|
-
|
46
|
+
if @gf.gherkin_object['elements']
|
47
|
+
@gf.gherkin_object['elements'].delete_if do |element|
|
48
|
+
element['type'] == 'background'
|
49
|
+
end
|
48
50
|
end
|
49
51
|
super(feature)
|
50
52
|
end
|
data/viewcumber.gemspec
CHANGED
@@ -5,10 +5,10 @@
|
|
5
5
|
|
6
6
|
Gem::Specification.new do |s|
|
7
7
|
s.name = "viewcumber"
|
8
|
-
s.version = "0.2.
|
8
|
+
s.version = "0.2.2"
|
9
9
|
|
10
10
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
11
|
-
s.authors = ["
|
11
|
+
s.authors = ["Greg Bell", "Philippe Creux", "Samuel Reh"]
|
12
12
|
s.date = "2011-12-01"
|
13
13
|
s.executables = ["viewcumber"]
|
14
14
|
s.extra_rdoc_files = [
|
metadata
CHANGED
@@ -1,18 +1,18 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: viewcumber
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 19
|
5
5
|
prerelease:
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 2
|
9
|
-
-
|
10
|
-
version: 0.2.
|
9
|
+
- 2
|
10
|
+
version: 0.2.2
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
|
-
-
|
14
|
-
-
|
15
|
-
-
|
13
|
+
- Greg Bell
|
14
|
+
- Philippe Creux
|
15
|
+
- Samuel Reh
|
16
16
|
autorequire:
|
17
17
|
bindir: bin
|
18
18
|
cert_chain: []
|