codeclimate-test-reporter 0.0.2 → 0.0.3

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.
@@ -5,7 +5,7 @@ require "uri"
5
5
 
6
6
  module CodeClimate
7
7
  class TestReporter
8
- VERSION = "0.0.2"
8
+ VERSION = "0.0.3"
9
9
 
10
10
  class API
11
11
  def self.host
@@ -101,6 +101,7 @@ module CodeClimate
101
101
  if ENV['TRAVIS']
102
102
  {
103
103
  name: "travis-ci",
104
+ branch: ENV['TRAVIS_BRANCH'],
104
105
  build_identifier: ENV['TRAVIS_JOB_ID'],
105
106
  pull_request: ENV['TRAVIS_PULL_REQUEST']
106
107
  }
@@ -114,6 +115,7 @@ module CodeClimate
114
115
  elsif ENV['SEMAPHORE']
115
116
  {
116
117
  name: "semaphore",
118
+ branch: ENV['BRANCH_NAME'],
117
119
  build_identifier: ENV['SEMAPHORE_BUILD_NUMBER']
118
120
  }
119
121
  elsif ENV['JENKINS_URL']
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: codeclimate-test-reporter
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.2
4
+ version: 0.0.3
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: