rutema 2.0.0.pre8 → 2.0.0.pre9

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: c4621418099c86c6809c8ce11ccee8cfbe9cb30f
4
- data.tar.gz: ae8b4939bbe7db51583b123cb7671cc13aed8d07
3
+ metadata.gz: facdf20993574a69732e949a82c4ddfbb0c822a1
4
+ data.tar.gz: 15dcee68bb4fd63958512fcee9d2cc0f41d74fc6
5
5
  SHA512:
6
- metadata.gz: 7cea4f2dc935795d249ec9626f8c40d7451a6613b6b56aa9f47ca8179a669c9c44432181f853c7b7b62963aa77b60aebdc998ee9c257047d9281b338e2cfd737
7
- data.tar.gz: 4bc99694abccd81c7bcbd80eb6df0775c1efdeb4b20d3ce09629011a42da0dd1b0a97815b510a1c93321ee06d5eb4b50cc52ce5ca9f229c15d75c1abab09c8c3
6
+ metadata.gz: 909d1697ecb65b828b853016b20828b63aff7a64b1bac57a5d6167f0ae3677984d845afcdd719a8a74c3a3dae9a3b680c7b9c0246fb7049963745b963fdab8e6
7
+ data.tar.gz: 38255ba119a608a644997c473dad6c7c1b2104ea6345fce314c548a740b7462f4f043d2b135589692f5c132b2ba39adbf5d1ef98c07802e0bee7e493f8c18317
@@ -1,3 +1,5 @@
1
+ == 2.0.0.pre9 /2016-03-14
2
+ * Bugfix: JUnit reporter works again
1
3
  == 2.0.0.pre8 /2016-03-09
2
4
  * Bugfix: Fail a run if the check,setup or teardown specs fail to parse
3
5
  == 2.0.0.pre7 /2016-02-29
@@ -47,7 +47,7 @@ module Rutema
47
47
  "time"=>total_duration,
48
48
  "timestamp"=>@configuration.context[:start_time]
49
49
  }
50
- return junit_content(specs,attributes,errors)
50
+ return junit_content(tests,attributes,errors)
51
51
  end
52
52
  private
53
53
  def test_case name,state
@@ -62,14 +62,14 @@ module Rutema
62
62
  element_test.add_attributes("name"=>name,"time"=>state["duration"],"classname"=>@configuration.context[:config_name])
63
63
  if state['status']!=:success
64
64
  fail=REXML::Element.new("failure")
65
- fail.add_attribute("message","Step #{state["steps"].last["number"]} failed.")
66
- fail.text="Step #{state["steps"].last["number"]} failed."
65
+ fail.add_attribute("message","Step #{state["steps"].last.number} failed.")
66
+ fail.add_text "Step #{state["steps"].last.number} failed."
67
67
  element_test.add_element(fail)
68
68
  out=REXML::Element.new("system-out")
69
- out.text=state["steps"].last["out"]
69
+ out.add_text state["steps"].last.out
70
70
  element_test.add_element(out)
71
71
  err=REXML::Element.new("system-err")
72
- err.text=state["steps"].last["err"]
72
+ err.add_text state["steps"].last.err
73
73
  element_test.add_element(err)
74
74
  end
75
75
  return element_test
@@ -79,7 +79,7 @@ module Rutema
79
79
  failed.add_attributes("name"=>name,"classname"=>@configuration.context[:config_name],"time"=>0)
80
80
  msg=REXML::Element.new("error")
81
81
  msg.add_attribute("message",message)
82
- msg.text=message
82
+ msg.add_text=message
83
83
  failed.add_element(msg)
84
84
  return failed
85
85
  end
@@ -3,7 +3,7 @@ module Rutema
3
3
  module Version
4
4
  MAJOR=2
5
5
  MINOR=0
6
- TINY="0.pre8"
6
+ TINY="0.pre9"
7
7
  STRING=[ MAJOR, MINOR, TINY ].join( "." )
8
8
  end
9
9
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rutema
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.0.pre8
4
+ version: 2.0.0.pre9
5
5
  platform: ruby
6
6
  authors:
7
7
  - Vassilis Rizopoulos