junit_model 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: 7b7bf4f754ab21c30fc0557d1c32eefc872cbe31
4
+ data.tar.gz: b5c44f1bce90ccc586e827e5ed7a94fc8653f959
5
+ SHA512:
6
+ metadata.gz: 050f4db4c9449661f95545bccbf210f1322027c65d08d2f1765015685110b4ebd0baa56081d19c39a0587aab3f69ec225e894846ac07c54257ae5b565032cba8
7
+ data.tar.gz: c5e8ed9dc9d34b4ba76a1fffd1039dff776466b2e636fcdb8f728c3c27f44877f3bcb817928c0b061514636c3c11bdb931205fe264b5c8ac5d57e0817a095f22
data/.gitignore ADDED
@@ -0,0 +1,11 @@
1
+ /.bundle/
2
+ /.yardoc
3
+ /Gemfile.lock
4
+ /_yardoc/
5
+ /coverage/
6
+ /doc/
7
+ /pkg/
8
+ /spec/reports/
9
+ /tmp/
10
+ .vscode
11
+ .tags*
data/.rspec ADDED
@@ -0,0 +1,2 @@
1
+ --format documentation
2
+ --color
data/.rubocop.yml ADDED
@@ -0,0 +1,9 @@
1
+ AllCops:
2
+ Exclude:
3
+ - 'junit_model.gemspec'
4
+ - 'Guardfile'
5
+ - 'bin/console'
6
+ - 'bin/setup'
7
+ - 'Rakefile'
8
+ - 'lib/junit_model/xml.rb'
9
+ - 'lib/junit_model/version.rb'
data/.travis.yml ADDED
@@ -0,0 +1,4 @@
1
+ language: ruby
2
+ rvm:
3
+ - 2.2.0
4
+ before_install: gem install bundler -v 1.11.2
@@ -0,0 +1,49 @@
1
+ # Contributor Code of Conduct
2
+
3
+ As contributors and maintainers of this project, and in the interest of
4
+ fostering an open and welcoming community, we pledge to respect all people who
5
+ contribute through reporting issues, posting feature requests, updating
6
+ documentation, submitting pull requests or patches, and other activities.
7
+
8
+ We are committed to making participation in this project a harassment-free
9
+ experience for everyone, regardless of level of experience, gender, gender
10
+ identity and expression, sexual orientation, disability, personal appearance,
11
+ body size, race, ethnicity, age, religion, or nationality.
12
+
13
+ Examples of unacceptable behavior by participants include:
14
+
15
+ * The use of sexualized language or imagery
16
+ * Personal attacks
17
+ * Trolling or insulting/derogatory comments
18
+ * Public or private harassment
19
+ * Publishing other's private information, such as physical or electronic
20
+ addresses, without explicit permission
21
+ * Other unethical or unprofessional conduct
22
+
23
+ Project maintainers have the right and responsibility to remove, edit, or
24
+ reject comments, commits, code, wiki edits, issues, and other contributions
25
+ that are not aligned to this Code of Conduct, or to ban temporarily or
26
+ permanently any contributor for other behaviors that they deem inappropriate,
27
+ threatening, offensive, or harmful.
28
+
29
+ By adopting this Code of Conduct, project maintainers commit themselves to
30
+ fairly and consistently applying these principles to every aspect of managing
31
+ this project. Project maintainers who do not follow or enforce the Code of
32
+ Conduct may be permanently removed from the project team.
33
+
34
+ This code of conduct applies both within project spaces and in public spaces
35
+ when an individual is representing the project or its community.
36
+
37
+ Instances of abusive, harassing, or otherwise unacceptable behavior may be
38
+ reported by contacting a project maintainer at iain@mountain23.com. All
39
+ complaints will be reviewed and investigated and will result in a response that
40
+ is deemed necessary and appropriate to the circumstances. Maintainers are
41
+ obligated to maintain confidentiality with regard to the reporter of an
42
+ incident.
43
+
44
+ This Code of Conduct is adapted from the [Contributor Covenant][homepage],
45
+ version 1.3.0, available at
46
+ [http://contributor-covenant.org/version/1/3/0/][version]
47
+
48
+ [homepage]: http://contributor-covenant.org
49
+ [version]: http://contributor-covenant.org/version/1/3/0/
data/Gemfile ADDED
@@ -0,0 +1,4 @@
1
+ source 'https://rubygems.org'
2
+
3
+ # Specify your gem's dependencies in junit-model.gemspec
4
+ gemspec
data/Guardfile ADDED
@@ -0,0 +1,26 @@
1
+ # A sample Guardfile
2
+ # More info at https://github.com/guard/guard#readme
3
+
4
+ group :go, halt_on_fail: true do
5
+ guard :rspec, cmd: "bundle exec rspec", notification: true do
6
+ require "guard/rspec/dsl"
7
+ dsl = Guard::RSpec::Dsl.new(self)
8
+
9
+ # Feel free to open issues for suggestions and improvements
10
+
11
+ # RSpec files
12
+ rspec = dsl.rspec
13
+ watch(rspec.spec_helper) { rspec.spec_dir }
14
+ watch(rspec.spec_support) { rspec.spec_dir }
15
+ watch(rspec.spec_files)
16
+
17
+ # Ruby files
18
+ ruby = dsl.ruby
19
+ dsl.watch_spec_files_for(ruby.lib_files)
20
+ end
21
+
22
+ guard :rubocop do
23
+ watch(%r{.+\.rb$})
24
+ watch(%r{(?:.+/)?\.rubocop\.yml$}) { |m| File.dirname(m[0]) }
25
+ end
26
+ end
data/LICENSE.txt ADDED
@@ -0,0 +1,21 @@
1
+ The MIT License (MIT)
2
+
3
+ Copyright (c) 2016 Iain
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in
13
+ all copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
21
+ THE SOFTWARE.
data/README.md ADDED
@@ -0,0 +1,58 @@
1
+ # JunitModel
2
+
3
+ A nicer way to interact with JUnit xml files.
4
+
5
+ [![Build Status](https://travis-ci.org/iainsmith/junit_model.svg?branch=master)](https://travis-ci.org/iainsmith/junit_model)
6
+
7
+ # Features
8
+
9
+ * Merge multiple JUnit files.
10
+ * Convert back to XML
11
+ * A great interface to build other tools.
12
+
13
+ ## Installation
14
+
15
+ Add this line to your application's Gemfile:
16
+
17
+ ```ruby
18
+ gem 'junit_model'
19
+ ```
20
+
21
+ And then execute:
22
+
23
+ $ bundle
24
+
25
+ Or install it yourself as:
26
+
27
+ $ gem install junit_model
28
+
29
+ ## Usage
30
+
31
+ ``` ruby
32
+ file_path = './tests.xml'
33
+ test_group = JunitModel::Parser.read_path(file_path) => JunitModel::TestGroup
34
+ test_group.passed? => true
35
+ test_group.test_count => 34
36
+ test_group.failure_count => 0
37
+ test_group.test_suites => [JunitModel::TestSuite]
38
+
39
+ merged_test_group = JunitModel::Merger.merge(test_group, other_test_group) => JunitModel::TestGroup
40
+ merged_test_group.test_count => 50
41
+ merged_test_group.passed? = false
42
+ merged_test_group.to_xml => String
43
+ ```
44
+
45
+ ## Development
46
+
47
+ After checking out the repo, run `bin/setup` to install dependencies. Then, run `rake spec` to run the tests. You can also run `bin/console` for an interactive prompt that will allow you to experiment.
48
+
49
+ To install this gem onto your local machine, run `bundle exec rake install`. To release a new version, update the version number in `version.rb`, and then run `bundle exec rake release`, which will create a git tag for the version, push git commits and tags, and push the `.gem` file to [rubygems.org](https://rubygems.org).
50
+
51
+ ## Contributing
52
+
53
+ Bug reports and pull requests are welcome on GitHub at https://github.com/iainsmith/junit_model. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [Contributor Covenant](http://contributor-covenant.org) code of conduct.
54
+
55
+ ## License
56
+
57
+ The gem is available as open source under the terms of the [MIT License](http://opensource.org/licenses/MIT).
58
+
data/Rakefile ADDED
@@ -0,0 +1,6 @@
1
+ require "bundler/gem_tasks"
2
+ require "rspec/core/rake_task"
3
+
4
+ RSpec::Core::RakeTask.new(:spec)
5
+
6
+ task :default => :spec
data/bin/console ADDED
@@ -0,0 +1,14 @@
1
+ #!/usr/bin/env ruby
2
+
3
+ require "bundler/setup"
4
+ require "junit_model"
5
+
6
+ # You can add fixtures and/or initialization code here to make experimenting
7
+ # with your gem easier. You can also use a different console, if you like.
8
+
9
+ # (If you use this, don't forget to add pry to your Gemfile!)
10
+ # require "pry"
11
+ # Pry.start
12
+
13
+ require "irb"
14
+ IRB.start
data/bin/setup ADDED
@@ -0,0 +1,8 @@
1
+ #!/usr/bin/env bash
2
+ set -euo pipefail
3
+ IFS=$'\n\t'
4
+ set -vx
5
+
6
+ bundle install
7
+
8
+ # Do any other automated setup that you need to do here
@@ -0,0 +1,32 @@
1
+ # coding: utf-8
2
+ lib = File.expand_path('../lib', __FILE__)
3
+ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
4
+ require 'junit_model/version'
5
+
6
+ Gem::Specification.new do |spec|
7
+ spec.name = "junit_model"
8
+ spec.version = JunitModel::VERSION
9
+ spec.authors = ["Iain Smith"]
10
+ spec.email = ["iain@mountain23.com"]
11
+
12
+ spec.summary = "A nicer way to deal with JUnit style xml"
13
+ spec.homepage = "https://www.github.com/iainsmith/junit_model"
14
+ spec.license = "MIT"
15
+
16
+ spec.files = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
17
+ spec.bindir = "exe"
18
+ spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
19
+ spec.require_paths = ["lib"]
20
+
21
+ spec.add_dependency "xml-simple", "1.1.5"
22
+ spec.add_dependency "builder"
23
+
24
+ spec.add_development_dependency "bundler", "~> 1.11"
25
+ spec.add_development_dependency "rake", "~> 10.0"
26
+ spec.add_development_dependency "rspec", "~> 3.0"
27
+ spec.add_development_dependency "guard-rspec"
28
+ spec.add_development_dependency "terminal-notifier"
29
+ spec.add_development_dependency "terminal-notifier-guard"
30
+ spec.add_development_dependency "pry-remote"
31
+ spec.add_development_dependency "guard-rubocop"
32
+ end
@@ -0,0 +1,84 @@
1
+ require 'junit_model/parser'
2
+
3
+ module JunitModel
4
+ # Merges two Junit::TestGroup into a single TestGroup
5
+ class Merger
6
+ # Optermistically merge two test_groups into one.
7
+ #
8
+ # @param test_group_a [Junit::TestGroup] a test group to be merged
9
+ # @param test_group_b [Junit::TestGroup] a test group to be merged
10
+ # @return [Junit::TestGroup] the merge test group.
11
+ def self.merge(test_group_a, test_group_b)
12
+ final_suites = merge_suite_a_into_suite_b(test_group_a, test_group_b)
13
+ final_suites += merge_suite_a_into_suite_b(test_group_b, test_group_a)
14
+ result_from_array(final_suites)
15
+ end
16
+
17
+ def self.merge_suite_a_into_suite_b(suite_a, result_b)
18
+ merged_suites = []
19
+ suites_grouped_by_name = suites_keyed_by_name(result_b)
20
+ suite_a.test_suites.each do |test_suite_a|
21
+ suite = suites_grouped_by_name[test_suite_a.name]
22
+ if suite.nil?
23
+ merged_suites << test_suite_a
24
+ next
25
+ end
26
+
27
+ test_suite_b = suite.first
28
+ merged_suite = merge_suite(test_suite_a, test_suite_b)
29
+ merged_suites << merged_suite unless merged_suite.nil?
30
+ suites_grouped_by_name.delete test_suite_a.name
31
+ end
32
+ result_b.test_suites = suites_grouped_by_name.values.flatten
33
+ merged_suites
34
+ end
35
+
36
+ def self.suites_keyed_by_name(suite)
37
+ suite.test_suites.group_by(&:name)
38
+ end
39
+
40
+ def self.merge_suite(suite_a, suite_b)
41
+ return suite_a if suite_b.nil?
42
+ return suite_b if suite_a.nil?
43
+ merged_test_cases = merged_test_cases(suite_a, suite_b)
44
+ failed_count = merged_test_cases.reject(&:passed?).count
45
+ JunitModel::TestSuite.new(
46
+ classname: suite_a.name,
47
+ tests: merged_test_cases.count.to_s,
48
+ failures: failed_count.to_s,
49
+ test_cases: merged_test_cases
50
+ )
51
+ end
52
+
53
+ def self.merged_test_cases(suite_a, suite_b)
54
+ test_cases = []
55
+
56
+ suite_b_test_cases = suite_b.test_cases.group_by(&:name)
57
+ suite_a.test_cases.each do |test_case|
58
+ test_case_b = suite_b_test_cases[test_case.name].first
59
+ test_cases << merge_case(test_case, test_case_b)
60
+ end
61
+ test_cases
62
+ end
63
+
64
+ def self.merge_case(case_a, case_b)
65
+ return case_a if case_a.passed? || case_b.nil?
66
+ case_b
67
+ end
68
+
69
+ def self.result_from_array(merged_suites)
70
+ merged_suites.reject!(&:nil?)
71
+ test_count = merged_suites.inject(0) { |a, e| a + e.test_count }
72
+ failure_count = merged_suites.inject(0) { |a, e| a + e.failures_count }
73
+ JunitModel::TestGroup.new(
74
+ tests: test_count.to_s,
75
+ failures: failure_count.to_s,
76
+ test_suites: merged_suites
77
+ )
78
+ end
79
+
80
+ private_class_method :result_from_array, :merge_case, :merge_suite
81
+ private_class_method :merge_suite_a_into_suite_b, :suites_keyed_by_name
82
+ private_class_method :merged_test_cases
83
+ end
84
+ end
@@ -0,0 +1,66 @@
1
+ require 'ostruct'
2
+
3
+ module JunitModel
4
+ # A TestGroup is the top level object in a Junit tree.
5
+ class TestGroup < OpenStruct
6
+ def test_count
7
+ tests.to_i
8
+ end
9
+
10
+ def failures_count
11
+ failures.to_i
12
+ end
13
+
14
+ def passed?
15
+ failures_count == 0
16
+ end
17
+
18
+ def to_xml
19
+ XMLBuilder.xml_for_result(self)
20
+ end
21
+
22
+ alias failure_count failures_count
23
+ alias passed passed?
24
+ end
25
+ end
26
+
27
+ module JunitModel
28
+ # A TestSuite belongs to a TestGroup and has an array of TestCase
29
+ class TestSuite < OpenStruct
30
+ def test_count
31
+ tests.to_i
32
+ end
33
+
34
+ def failures_count
35
+ failures.to_i
36
+ end
37
+
38
+ def passed?
39
+ failures == '0'
40
+ end
41
+
42
+ def test_cases
43
+ testcase
44
+ end
45
+
46
+ def failed_test_cases
47
+ test_cases.reject(&:passed?)
48
+ end
49
+
50
+ def passed_test_cases
51
+ test_cases.select(&:passed?)
52
+ end
53
+
54
+ alias failure_count failures_count
55
+ alias passed passed?
56
+ end
57
+ end
58
+
59
+ module JunitModel
60
+ # A TestCase is the atomic unit of a Junit file
61
+ class TestCase < OpenStruct
62
+ def passed?
63
+ failure.nil?
64
+ end
65
+ end
66
+ end
@@ -0,0 +1,49 @@
1
+ require 'ostruct'
2
+ require 'junit_model/models'
3
+ require 'xmlsimple'
4
+
5
+ module JunitModel
6
+ # Parse a file path into a Junit::TestGroup
7
+ class Parser
8
+ def self.read_path(path)
9
+ Parser.new.read_path(path)
10
+ end
11
+
12
+ def self.read_string(string)
13
+ Parser.new.read_string(string)
14
+ end
15
+
16
+ def read_path(path)
17
+ test_file = File.read(path)
18
+ read_string(test_file)
19
+ end
20
+
21
+ def read_string(string)
22
+ test_output_hash = XmlSimple.xml_in string
23
+ test_group = build_test_group(test_output_hash)
24
+ test_group
25
+ end
26
+
27
+ private
28
+
29
+ def build_test_group(test_output_hash)
30
+ test_output_hash['test_suites'] = test_output_hash['testsuite']
31
+ test_output_hash.delete('testsuite')
32
+ group = JunitModel::TestGroup.new(test_output_hash)
33
+ group.test_suites = build_test_suites(group.test_suites)
34
+ group
35
+ end
36
+
37
+ def build_test_suites(test_suties_array)
38
+ test_suties_array.map do |suite_hash|
39
+ suite = JunitModel::TestSuite.new(suite_hash)
40
+ suite.testcase = build_test_cases(suite.testcase)
41
+ suite
42
+ end
43
+ end
44
+
45
+ def build_test_cases(test_cases_array)
46
+ test_cases_array.map { |test_hash| JunitModel::TestCase.new(test_hash) }
47
+ end
48
+ end
49
+ end
@@ -0,0 +1,3 @@
1
+ module JunitModel
2
+ VERSION = '0.1.0'
3
+ end
@@ -0,0 +1,20 @@
1
+ require 'builder'
2
+
3
+ module JunitModel
4
+ # Convert Junit::TestGroup to XML
5
+ class XMLBuilder
6
+ def self.xml_for_result(result)
7
+ builder = Builder::XmlMarkup.new indent: 2
8
+ builder.instruct! :xml, version: '1.0', encoding: 'UTF-8'
9
+ builder.testsuites(tests: result.test_count, failures: result.failures_count) do |suite_builder|
10
+ result.test_suites.each do |suite|
11
+ suite_builder.testsuite(name: suite.name, tests: suite.tests, failures: suite.failures) do |test_builder|
12
+ suite.test_cases.each do |test_case|
13
+ test_builder.testcase(classname: test_case.classname, name: test_case.name, time: test_case.time)
14
+ end
15
+ end
16
+ end
17
+ end
18
+ end
19
+ end
20
+ end
@@ -0,0 +1,9 @@
1
+ require 'junit_model/version'
2
+ require 'junit_model/parser'
3
+ require 'junit_model/xml'
4
+ require 'junit_model/merger'
5
+ require 'junit_model/models'
6
+
7
+ # Junit Model is here for good
8
+ module JunitModel
9
+ end
metadata ADDED
@@ -0,0 +1,204 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: junit_model
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.1.0
5
+ platform: ruby
6
+ authors:
7
+ - Iain Smith
8
+ autorequire:
9
+ bindir: exe
10
+ cert_chain: []
11
+ date: 2016-04-21 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: xml-simple
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - '='
18
+ - !ruby/object:Gem::Version
19
+ version: 1.1.5
20
+ type: :runtime
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - '='
25
+ - !ruby/object:Gem::Version
26
+ version: 1.1.5
27
+ - !ruby/object:Gem::Dependency
28
+ name: builder
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - ">="
32
+ - !ruby/object:Gem::Version
33
+ version: '0'
34
+ type: :runtime
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - ">="
39
+ - !ruby/object:Gem::Version
40
+ version: '0'
41
+ - !ruby/object:Gem::Dependency
42
+ name: bundler
43
+ requirement: !ruby/object:Gem::Requirement
44
+ requirements:
45
+ - - "~>"
46
+ - !ruby/object:Gem::Version
47
+ version: '1.11'
48
+ type: :development
49
+ prerelease: false
50
+ version_requirements: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - "~>"
53
+ - !ruby/object:Gem::Version
54
+ version: '1.11'
55
+ - !ruby/object:Gem::Dependency
56
+ name: rake
57
+ requirement: !ruby/object:Gem::Requirement
58
+ requirements:
59
+ - - "~>"
60
+ - !ruby/object:Gem::Version
61
+ version: '10.0'
62
+ type: :development
63
+ prerelease: false
64
+ version_requirements: !ruby/object:Gem::Requirement
65
+ requirements:
66
+ - - "~>"
67
+ - !ruby/object:Gem::Version
68
+ version: '10.0'
69
+ - !ruby/object:Gem::Dependency
70
+ name: rspec
71
+ requirement: !ruby/object:Gem::Requirement
72
+ requirements:
73
+ - - "~>"
74
+ - !ruby/object:Gem::Version
75
+ version: '3.0'
76
+ type: :development
77
+ prerelease: false
78
+ version_requirements: !ruby/object:Gem::Requirement
79
+ requirements:
80
+ - - "~>"
81
+ - !ruby/object:Gem::Version
82
+ version: '3.0'
83
+ - !ruby/object:Gem::Dependency
84
+ name: guard-rspec
85
+ requirement: !ruby/object:Gem::Requirement
86
+ requirements:
87
+ - - ">="
88
+ - !ruby/object:Gem::Version
89
+ version: '0'
90
+ type: :development
91
+ prerelease: false
92
+ version_requirements: !ruby/object:Gem::Requirement
93
+ requirements:
94
+ - - ">="
95
+ - !ruby/object:Gem::Version
96
+ version: '0'
97
+ - !ruby/object:Gem::Dependency
98
+ name: terminal-notifier
99
+ requirement: !ruby/object:Gem::Requirement
100
+ requirements:
101
+ - - ">="
102
+ - !ruby/object:Gem::Version
103
+ version: '0'
104
+ type: :development
105
+ prerelease: false
106
+ version_requirements: !ruby/object:Gem::Requirement
107
+ requirements:
108
+ - - ">="
109
+ - !ruby/object:Gem::Version
110
+ version: '0'
111
+ - !ruby/object:Gem::Dependency
112
+ name: terminal-notifier-guard
113
+ requirement: !ruby/object:Gem::Requirement
114
+ requirements:
115
+ - - ">="
116
+ - !ruby/object:Gem::Version
117
+ version: '0'
118
+ type: :development
119
+ prerelease: false
120
+ version_requirements: !ruby/object:Gem::Requirement
121
+ requirements:
122
+ - - ">="
123
+ - !ruby/object:Gem::Version
124
+ version: '0'
125
+ - !ruby/object:Gem::Dependency
126
+ name: pry-remote
127
+ requirement: !ruby/object:Gem::Requirement
128
+ requirements:
129
+ - - ">="
130
+ - !ruby/object:Gem::Version
131
+ version: '0'
132
+ type: :development
133
+ prerelease: false
134
+ version_requirements: !ruby/object:Gem::Requirement
135
+ requirements:
136
+ - - ">="
137
+ - !ruby/object:Gem::Version
138
+ version: '0'
139
+ - !ruby/object:Gem::Dependency
140
+ name: guard-rubocop
141
+ requirement: !ruby/object:Gem::Requirement
142
+ requirements:
143
+ - - ">="
144
+ - !ruby/object:Gem::Version
145
+ version: '0'
146
+ type: :development
147
+ prerelease: false
148
+ version_requirements: !ruby/object:Gem::Requirement
149
+ requirements:
150
+ - - ">="
151
+ - !ruby/object:Gem::Version
152
+ version: '0'
153
+ description:
154
+ email:
155
+ - iain@mountain23.com
156
+ executables: []
157
+ extensions: []
158
+ extra_rdoc_files: []
159
+ files:
160
+ - ".gitignore"
161
+ - ".rspec"
162
+ - ".rubocop.yml"
163
+ - ".travis.yml"
164
+ - CODE_OF_CONDUCT.md
165
+ - Gemfile
166
+ - Guardfile
167
+ - LICENSE.txt
168
+ - README.md
169
+ - Rakefile
170
+ - bin/console
171
+ - bin/setup
172
+ - junit_model.gemspec
173
+ - lib/junit_model.rb
174
+ - lib/junit_model/merger.rb
175
+ - lib/junit_model/models.rb
176
+ - lib/junit_model/parser.rb
177
+ - lib/junit_model/version.rb
178
+ - lib/junit_model/xml.rb
179
+ homepage: https://www.github.com/iainsmith/junit_model
180
+ licenses:
181
+ - MIT
182
+ metadata: {}
183
+ post_install_message:
184
+ rdoc_options: []
185
+ require_paths:
186
+ - lib
187
+ required_ruby_version: !ruby/object:Gem::Requirement
188
+ requirements:
189
+ - - ">="
190
+ - !ruby/object:Gem::Version
191
+ version: '0'
192
+ required_rubygems_version: !ruby/object:Gem::Requirement
193
+ requirements:
194
+ - - ">="
195
+ - !ruby/object:Gem::Version
196
+ version: '0'
197
+ requirements: []
198
+ rubyforge_project:
199
+ rubygems_version: 2.4.6
200
+ signing_key:
201
+ specification_version: 4
202
+ summary: A nicer way to deal with JUnit style xml
203
+ test_files: []
204
+ has_rdoc: