cukerail 0.4.2 → 0.4.3

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 97b9ba104a1fbce044ad23a71d148d58a6afc297
4
- data.tar.gz: 54771f9de8f19ddb51cf6a07b926075bce6d8076
3
+ metadata.gz: b10126a76ab95194da1d393adeabe0803eb9e979
4
+ data.tar.gz: a5ede326d548679cd57e4869218cc2a69eb7043d
5
5
  SHA512:
6
- metadata.gz: fccc7cd721b0ed8745d40ab000ce6857888af2ae450cffd38ea4b95cd7028e255e215ce79c1cda6f7bf7786a6809247187e52a7245bb76ceedb75494c48614dd
7
- data.tar.gz: 69c365d6b3268ba91053f8daac57fde48645016626bdd951e87bf0de1ec016577c3aa859bc9a1530306c45bd5522519e1319a4c1be2051fff274fe665428e945
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
@@ -1,3 +1,3 @@
1
1
  module Cukerail
2
- VERSION = "0.4.2"
2
+ VERSION = "0.4.3"
3
3
  end
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.2
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-03 00:00:00.000000000 Z
11
+ date: 2016-03-11 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: cucumber