codeclimate-services 1.5.0 → 1.5.1

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: 82a8384d2bd2085ebf3baeb02d768ab73b2a3cf0
4
- data.tar.gz: f511465926feb0bc868dd15b8e8f83524112f7ae
3
+ metadata.gz: a95deee0afb6285d6e0811c518ddc6086c14600a
4
+ data.tar.gz: fc970f741ac75eae66ba98ffe54b4c704554f881
5
5
  SHA512:
6
- metadata.gz: bacfd0ed0c84d297d83bc7b8e294310ff2a36a1f8bb9866d2c263a357bc2db49aeeccf3d9d2b0030689a3b2cc7ec449da103dd39052940fa715f0ed0013943c3
7
- data.tar.gz: e7847a25fc20c03bb5543d259fdfba706a151eece343396393f88990b9aebe36b9523af64cef0258bb2ea1e2f2e732e86e4522f2ca3a9d078afe92a9e92f40db
6
+ metadata.gz: 4e50322f24fe873ab0c400344544f25f7eab98ec7b0963300bb35b6d1ad4d3dbd5e4817d59de67c42f6c9636a771058e5aa753c3911b97fbbb4761aa049c0ef1
7
+ data.tar.gz: 49a28094cc3ddc1d1797ac5c16c28e3ef5e7ba52556dab00ef3fe2f7ed0bbe2f5034d4a7bc4040e718ca88a51d5015f4058a95524f9fe049196ebf7513c1c772
@@ -30,9 +30,9 @@ module CC
30
30
  def coverage_message
31
31
  message = "#{formatted_percent(@covered_percent)}% test coverage"
32
32
 
33
- if @covered_percent_delta.positive?
33
+ if @covered_percent_delta > 0
34
34
  message += " (+#{formatted_percent(@covered_percent_delta)}%)"
35
- elsif @covered_percent_delta.negative?
35
+ elsif @covered_percent_delta < 0
36
36
  message += " (#{formatted_percent(@covered_percent_delta)}%)"
37
37
  end
38
38
 
@@ -1,5 +1,5 @@
1
1
  module CC
2
2
  module Services
3
- VERSION = "1.5.0"
3
+ VERSION = "1.5.1"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: codeclimate-services
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.5.0
4
+ version: 1.5.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Bryan Helmkamp
@@ -240,7 +240,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
240
240
  version: '0'
241
241
  requirements: []
242
242
  rubyforge_project:
243
- rubygems_version: 2.4.5
243
+ rubygems_version: 2.5.1
244
244
  signing_key:
245
245
  specification_version: 4
246
246
  summary: Service classes for Code Climate