jenkins_junit_builder 0.0.2 → 0.0.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: 52f0b5d3750566586df7332d4d936465600d9901
4
- data.tar.gz: 39cde8563ffa7b6f0f1e7a717b8d4d0845c23d7b
3
+ metadata.gz: fb2ec8ff654e6de5a7969a4d48e8b093957767c9
4
+ data.tar.gz: 5de8e42a4660a53b2a1cf87adebc7a3c141c39f5
5
5
  SHA512:
6
- metadata.gz: e4d3ab2495c655da12e4ccd3c5f76e14ef68c6fb632236bf7513ca3f7711a9a4a6234b7218e4d2a343ee43c42acfc0dd13239f0132f76e8d7a614b53b547c245
7
- data.tar.gz: 17e08a59a4af86dec9ab8c9e4949aa8382da84f3ddc1885c020921704279fd2721cc1bb69c64557068644d5374366a8cf64d36d779ff4e9228c0748d51c3906d
6
+ metadata.gz: d2f7e83b5d92a9f92ae8d8e2fa207403ae6eb39ba4d1b0e574ed0e385963ab6560ad32f0c84cc40b75090ca4fc70691192db7992bacecfcea33b834b523efa9f
7
+ data.tar.gz: a4bef00272a20b058c2316bfef284beef92b7bc0d0876bce7bc872a86021651ea4ef8278bddbfdde026b2a6a7b21443b187e40241c7e01843eb32baf3041c938
@@ -1,6 +1,5 @@
1
1
  # coding: utf-8
2
- require 'pathname'
3
- require Pathname.new(__dir__) + 'lib/jenkins_junit_builder/version'
2
+ require_relative './lib/jenkins_junit_builder/version'
4
3
 
5
4
  Gem::Specification.new do |spec|
6
5
  spec.name = 'jenkins_junit_builder'
@@ -1,5 +1,4 @@
1
- require 'pathname'
2
- require Pathname.new(__dir__) + 'system_message'
1
+ require_relative './system_message'
3
2
 
4
3
  module JenkinsJunitBuilder
5
4
  class Case
@@ -1,8 +1,6 @@
1
1
  require 'active_support/core_ext/object/blank'
2
2
  require 'nokogiri'
3
- require 'pathname'
4
- require Pathname.new(__dir__) + 'file_not_found_exception'
5
- require 'pry'
3
+ require_relative './file_not_found_exception'
6
4
 
7
5
  module JenkinsJunitBuilder
8
6
  class Suite
@@ -1,3 +1,3 @@
1
1
  module JenkinsJunitBuilder
2
- VERSION = '0.0.2'
2
+ VERSION = '0.0.3'
3
3
  end
@@ -1,14 +1,14 @@
1
- require 'pathname'
2
- require Pathname.new(__dir__).parent + 'lib/jenkins_junit_builder/system_message'
3
- require Pathname.new(__dir__).parent + 'lib/jenkins_junit_builder/case'
4
- require Pathname.new(__dir__).parent + 'lib/jenkins_junit_builder/suite'
5
- require Pathname.new(__dir__).parent + 'lib/jenkins_junit_builder/file_not_found_exception'
1
+ require_relative '../lib/jenkins_junit_builder/version'
2
+ require_relative '../lib/jenkins_junit_builder/system_message'
3
+ require_relative '../lib/jenkins_junit_builder/case'
4
+ require_relative '../lib/jenkins_junit_builder/suite'
5
+ require_relative '../lib/jenkins_junit_builder/file_not_found_exception'
6
6
 
7
7
  require 'minitest/autorun'
8
8
  require 'minitest/reporters'
9
9
 
10
10
  if ENV['MINITEST_REPORTER'] == 'RUBYMINE'
11
11
  Minitest::Reporters.use! Minitest::Reporters::RubyMineReporter.new
12
- else
12
+ elsif RUBY_ENGINE != 'jruby'
13
13
  Minitest::Reporters.use! Minitest::Reporters::ProgressReporter.new
14
14
  end
@@ -1,5 +1,4 @@
1
- require 'pathname'
2
- require Pathname.new(__dir__) + 'minitest_helper'
1
+ require_relative './minitest_helper'
3
2
 
4
3
  class TestJenkinsJunitBuilder < MiniTest::Test
5
4
  def test_that_it_has_a_version_number
@@ -23,10 +22,10 @@ TXT
23
22
  def test_system_message_return_value
24
23
  stack_trace = <<TXT
25
24
  Minitest::Skip: Skipped, no message given
26
- /home/ikon/src/rocksteady/git/jenkins_junit_builder/test/test_jenkins_junit_builder.rb:39:in `test_building_new_report'
25
+ /home/ikon/src/git/jenkins_junit_builder/test/test_jenkins_junit_builder.rb:39:in `test_building_new_report'
27
26
 
28
27
  Minitest::Skip: Skipped, no message given
29
- /home/ikon/src/rocksteady/git/jenkins_junit_builder/test/test_jenkins_junit_builder.rb:54:in `test_appending_to_existing_report'
28
+ /home/ikon/src/git/jenkins_junit_builder/test/test_jenkins_junit_builder.rb:54:in `test_appending_to_existing_report'
30
29
  Finished in 0.00272s
31
30
  4 tests, 2 assertions, 0 failures, 0 errors, 2 skips
32
31
  TXT
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jenkins_junit_builder
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.2
4
+ version: 0.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Viktor Vad
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-03-30 00:00:00.000000000 Z
11
+ date: 2015-03-31 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: nokogiri