cukerail 0.4.2 → 0.4.3
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.
- checksums.yaml +4 -4
- data/lib/cukerail/json.rb +2 -2
- data/lib/cukerail/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: b10126a76ab95194da1d393adeabe0803eb9e979
|
|
4
|
+
data.tar.gz: a5ede326d548679cd57e4869218cc2a69eb7043d
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 1dc01b30314fe0c89fb6240ebd2f51f1d49f11eba95501d191b4a538450ea1c07ae412d1744949cab16912bf2273c220bfcc4f3101bb0d7f55e61623e7154d81
|
|
7
|
+
data.tar.gz: 1d12abb50726857c350d27153dd30d097341f7dc1e56d1ee62541fdb17676387018d14f8d8db23b98ac591480e439459c557f331ea97c04a647a49d6426e3693
|
data/lib/cukerail/json.rb
CHANGED
|
@@ -17,7 +17,7 @@ module Cukerail
|
|
|
17
17
|
tags += @examples_table_tags if @examples_table_tags
|
|
18
18
|
@test_case_hash[:tags] = tags unless tags.empty?
|
|
19
19
|
comments = []
|
|
20
|
-
comments += Formatter.create_comments_array(scenario.comments) unless scenario.comments.empty?
|
|
20
|
+
comments += ::Cucumber::Formatter.create_comments_array(scenario.comments) unless scenario.comments.empty?
|
|
21
21
|
comments += @examples_table_comments if @examples_table_comments
|
|
22
22
|
comments += @row_comments if @row_comments
|
|
23
23
|
@test_case_hash[:comments] = comments unless comments.empty?
|
|
@@ -28,7 +28,7 @@ module Cukerail
|
|
|
28
28
|
# We want the row data to be used in making the full scenario name
|
|
29
29
|
@example_id = @row.send(:data).map{|k,v| "#{k}=#{v}"}.join(", ")
|
|
30
30
|
@examples_table_tags = create_tags_array(examples_table.tags) unless examples_table.tags.empty?
|
|
31
|
-
@examples_table_comments = Formatter.create_comments_array(examples_table.comments) unless examples_table.comments.empty?
|
|
31
|
+
@examples_table_comments = ::Cucumber::Formatter.create_comments_array(examples_table.comments) unless examples_table.comments.empty?
|
|
32
32
|
end
|
|
33
33
|
end
|
|
34
34
|
end
|
data/lib/cukerail/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: cukerail
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.4.
|
|
4
|
+
version: 0.4.3
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- John Small
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2016-03-
|
|
11
|
+
date: 2016-03-11 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: cucumber
|