jasmine_junitxml_formatter 0.2.1 → 0.3.0

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: 3728b3e75be044651a8ae1b6c92b57c83b978cdb
4
- data.tar.gz: 2a16ee01848ba47a16a67fc2a391d6a62db5cd20
3
+ metadata.gz: 8c4e7e17241b1f88441887ea352b5c41ac715a0b
4
+ data.tar.gz: e3eff5baf42ec5d62eac7e61b3d4b17a08c167ca
5
5
  SHA512:
6
- metadata.gz: 8ac3d410ed1a03989b54f7e86b48df524fd094c8ba0015abab000af7edaf8b662fa77cd77542ffb7a1c6769be68d58d8b14c138c4ccd7f3abd883f3b59e6d75a
7
- data.tar.gz: 9506f03cbd5f120d5b969cf4dec45f262df15b2ff83647360822feb424f8c89b62bca329e0a0e0f2e7c7c2e7966135a861a7eb59bd9fd52d3db0167afd42e44f
6
+ metadata.gz: 1a4c162c3e996c64ed3c9d76afcc4a2d41fa7a2f2f5d9a5149684590226b3c2e431e89ee96bcaf06f3fec4be983c389225afb451960139a74c4c2351dbfe811b
7
+ data.tar.gz: 3371edc7e0e3fb6e86dd08474e0d0d4e3d2b816838f3a398d6a260463c20241a6344c8be9b39bf3581836099244f4b71abec4d5b13230b8366d1301c010eb2aa
@@ -36,7 +36,7 @@ module Jasmine
36
36
  end
37
37
  end
38
38
 
39
- def done
39
+ def done(run_details={})
40
40
  FileUtils.mkdir_p(output_dir)
41
41
  File.open(File.join(output_dir, 'junit_results.xml'), 'w') do |file|
42
42
  file.puts doc.to_xml(indent: 2)
@@ -1,3 +1,3 @@
1
1
  module JasmineJunitxmlFormatter
2
- VERSION = "0.2.1"
2
+ VERSION = "0.3.0"
3
3
  end
@@ -0,0 +1,11 @@
1
+ # Jasmine JUnix XML Reporter 0.3.0 Release Notes
2
+
3
+ ## Changes
4
+
5
+ * Don't blow up when we're passed information about randomization
6
+ - Fixes [#2](https://github.com/jasmine/jasmine_junitxml_formatter/issues/2)
7
+
8
+
9
+ ------
10
+
11
+ _Release Notes generated with _[Anchorman](http://github.com/infews/anchorman)_
@@ -72,6 +72,15 @@ describe Jasmine::Formatters::JunitXml do
72
72
  expect(xml.xpath('//testcase/failure').first.content).to eq 'a stack trace'
73
73
  end
74
74
  end
75
+
76
+ describe 'with randomization information' do
77
+ it 'still works' do
78
+ subject.format([])
79
+ expect {
80
+ subject.done({'order' => {'random' => true, 'seed' => '4321'}})
81
+ }.not_to raise_error
82
+ end
83
+ end
75
84
  end
76
85
 
77
86
  describe 'when the output directory has been customized' do
metadata CHANGED
@@ -1,83 +1,83 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jasmine_junitxml_formatter
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.1
4
+ version: 0.3.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Gregg Van Hove
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-11-29 00:00:00.000000000 Z
11
+ date: 2015-12-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - ~>
17
+ - - "~>"
18
18
  - !ruby/object:Gem::Version
19
19
  version: '1.3'
20
20
  type: :development
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
- - - ~>
24
+ - - "~>"
25
25
  - !ruby/object:Gem::Version
26
26
  version: '1.3'
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: rspec
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
- - - '>='
31
+ - - ">="
32
32
  - !ruby/object:Gem::Version
33
33
  version: '0'
34
34
  type: :development
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
- - - '>='
38
+ - - ">="
39
39
  - !ruby/object:Gem::Version
40
40
  version: '0'
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: rake
43
43
  requirement: !ruby/object:Gem::Requirement
44
44
  requirements:
45
- - - '>='
45
+ - - ">="
46
46
  - !ruby/object:Gem::Version
47
47
  version: '0'
48
48
  type: :development
49
49
  prerelease: false
50
50
  version_requirements: !ruby/object:Gem::Requirement
51
51
  requirements:
52
- - - '>='
52
+ - - ">="
53
53
  - !ruby/object:Gem::Version
54
54
  version: '0'
55
55
  - !ruby/object:Gem::Dependency
56
56
  name: jasmine
57
57
  requirement: !ruby/object:Gem::Requirement
58
58
  requirements:
59
- - - ~>
59
+ - - "~>"
60
60
  - !ruby/object:Gem::Version
61
61
  version: '2.0'
62
62
  type: :runtime
63
63
  prerelease: false
64
64
  version_requirements: !ruby/object:Gem::Requirement
65
65
  requirements:
66
- - - ~>
66
+ - - "~>"
67
67
  - !ruby/object:Gem::Version
68
68
  version: '2.0'
69
69
  - !ruby/object:Gem::Dependency
70
70
  name: nokogiri
71
71
  requirement: !ruby/object:Gem::Requirement
72
72
  requirements:
73
- - - '>='
73
+ - - ">="
74
74
  - !ruby/object:Gem::Version
75
75
  version: '0'
76
76
  type: :runtime
77
77
  prerelease: false
78
78
  version_requirements: !ruby/object:Gem::Requirement
79
79
  requirements:
80
- - - '>='
80
+ - - ">="
81
81
  - !ruby/object:Gem::Version
82
82
  version: '0'
83
83
  description: Format jasmine results as junit compatible XML so CI servers, like Hudson/Jenkins
@@ -88,7 +88,7 @@ executables: []
88
88
  extensions: []
89
89
  extra_rdoc_files: []
90
90
  files:
91
- - .gitignore
91
+ - ".gitignore"
92
92
  - Gemfile
93
93
  - LICENSE
94
94
  - README.md
@@ -100,6 +100,7 @@ files:
100
100
  - lib/jasmine_junitxml_formatter/railtie.rb
101
101
  - lib/jasmine_junitxml_formatter/tasks/jasmine_junitxml_formatter.rake
102
102
  - lib/jasmine_junitxml_formatter/version.rb
103
+ - release_notes/0.3.0.md
103
104
  - spec/lib/jasmine/formatters/junit_xml_spec.rb
104
105
  - spec/spec_helper.rb
105
106
  homepage: https://github.com/jasmine/jasmine_junitxml_formatter
@@ -112,17 +113,17 @@ require_paths:
112
113
  - lib
113
114
  required_ruby_version: !ruby/object:Gem::Requirement
114
115
  requirements:
115
- - - '>='
116
+ - - ">="
116
117
  - !ruby/object:Gem::Version
117
118
  version: '0'
118
119
  required_rubygems_version: !ruby/object:Gem::Requirement
119
120
  requirements:
120
- - - '>='
121
+ - - ">="
121
122
  - !ruby/object:Gem::Version
122
123
  version: '0'
123
124
  requirements: []
124
125
  rubyforge_project:
125
- rubygems_version: 2.0.3
126
+ rubygems_version: 2.4.5.1
126
127
  signing_key:
127
128
  specification_version: 4
128
129
  summary: Format jasmine results as junit compatible XML so CI servers, like Hudson/Jenkins