circleci-coverage_reporter 0.1.1 → 0.1.2

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: 7fb5a6abc13d97a46e341b9807d964e8ea094c44
4
- data.tar.gz: e68b4785ecb56228fc62bfaaf6b77357cb572399
3
+ metadata.gz: 27d4c9b0082fd4b0d64fe44a189c3de5264df6d9
4
+ data.tar.gz: 9913f567b1631f239340409dd5dafc6b120c6892
5
5
  SHA512:
6
- metadata.gz: 1adb6f7230ed915507682a553cea56ecf46d4576a0d26e7ffd52d2c13edb851126d8184b359064baba1d9e9c2af631529129fc984e0b13876ac77e8078212794
7
- data.tar.gz: a601f52a201d5776c5e0a9c650d8a4670983d9e148cc9decbef29dfa653be49ddb4d5be6ea03b783f1cd033b62221e2e6000e38592bc58f538d302dbc40f1c8f
6
+ metadata.gz: 8eb86412bcf79cdb7582697158b9866492ab895cfd11ceb09380eb323583273b16cc4114160e6e28043bc54d4537478532bb7f383e1b94e7e8cb4633854873f6
7
+ data.tar.gz: 0123ffcd0dbaa933b133e9d5c38acd0abdf55be4bb5512184184d56f858a33583b33ca9a8af5f759e18c67477faba227984a8d9c6165dbd98c6c0e42ae8c16b8
data/CHANGELOG.md CHANGED
@@ -4,6 +4,11 @@ All notable changes to this project will be documented in this file.
4
4
  The format is based on [Keep a Changelog](http://keepachangelog.com/)
5
5
  and this project adheres to [Semantic Versioning](http://semver.org/).
6
6
 
7
+ ## [0.1.2] - 2017-03-12
8
+ ### Fixed
9
+
10
+ - Set `nil` to previous_build_number if CIRCLE_PREVIOUS_BUILD_NUM environment variable is empty
11
+
7
12
  ## [0.1.1] - 2017-03-12
8
13
  ### Fixed
9
14
 
@@ -14,4 +19,5 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
14
19
 
15
20
  - Initial release
16
21
 
22
+ [0.1.2]: https://github.com/increments/circleci-coverage_reporter/compare/v0.1.1...v0.1.2
17
23
  [0.1.1]: https://github.com/increments/circleci-coverage_reporter/compare/v0.1.0...v0.1.1
@@ -45,9 +45,9 @@ module CircleCI
45
45
  @current_revision ||= ENV['CIRCLE_SHA1']
46
46
  end
47
47
 
48
- # @return [Integer]
48
+ # @return [Integer, nil]
49
49
  def previous_build_number
50
- @previous_build_number ||= ENV['CIRCLE_PREVIOUS_BUILD_NUM'].to_i
50
+ @previous_build_number ||= ENV['CIRCLE_PREVIOUS_BUILD_NUM'] && ENV['CIRCLE_PREVIOUS_BUILD_NUM'].to_i
51
51
  end
52
52
 
53
53
  # @return [String]
@@ -3,7 +3,7 @@ module CircleCI
3
3
  module Version
4
4
  MAJOR = 0
5
5
  MINOR = 1
6
- PATCH = 1
6
+ PATCH = 2
7
7
 
8
8
  def self.to_s
9
9
  [MAJOR, MINOR, PATCH].join('.')
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: circleci-coverage_reporter
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1
4
+ version: 0.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Yuku Takahashi