slather 2.4.1 → 2.4.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: f16b2538dcd029639010c327e4ee5c98ee8c8d5e
4
- data.tar.gz: 9f50f7cc111bbdd690d812490673ab71ebcf6d9c
3
+ metadata.gz: 468a58d0b18f5ae7633a796c72205f80d4db2eb8
4
+ data.tar.gz: 4f4ee9f3346d2849a29e7a654be2e42354209320
5
5
  SHA512:
6
- metadata.gz: 5a31043e931bd04938a32e4c0a78375f764a7bf9275425b2d7c5a9f943382434542eb0c3bb4fe858836b87fba69795f2af87992c0d491a6d9777fd2ad8bf1ace
7
- data.tar.gz: 173b017b6e51a8f61506278abc7a44a3acb11d7896aaa779dd18f3c3182346b980f1029ff9fb9a34789a98f72a4ede6bd2e884086021803c5a7f22548be79522
6
+ metadata.gz: 67a07567cfcd9b80606b67b2e40ce3c0f96679f556bf8919bbbbd6d6ccd099d33ad1bab5d624307ee55c4cf3cc80fd9006fef1227998e7d04d9ed593c5b79b90
7
+ data.tar.gz: 1bd3e902f18d8bee77087615a9806da2359ea235a86fcae23e70c5900ee1ae0ed47ed72789756e9ebd78286589abb5be0f25a26eac1557b083054218799587d8
@@ -2,6 +2,16 @@
2
2
 
3
3
  ## master
4
4
 
5
+ ## v2.4.2
6
+
7
+ * Restored support for Xcode 7
8
+ [ButkiewiczP](https://github.com/ButkiewiczP)
9
+ [#304](https://github.com/slatherOrg/slather/pull/308)
10
+
11
+ * Added Jenkins Pipeline support for Coveralls
12
+ [daneov](https://github.com/daneov)
13
+ [#304](https://github.com/slatherOrg/slather/pull/304)
14
+
5
15
  ## v2.4.1
6
16
 
7
17
  * Add `--configuration` option
@@ -37,7 +37,7 @@ module Slather
37
37
  private :jenkins_job_id
38
38
 
39
39
  def jenkins_branch_name
40
- branch_name = ENV['GIT_BRANCH']
40
+ branch_name = ENV['GIT_BRANCH'] || ENV['BRANCH_NAME']
41
41
  if branch_name.include? 'origin/'
42
42
  branch_name[7...branch_name.length]
43
43
  else
@@ -56,7 +56,7 @@ module Slather
56
56
  end
57
57
 
58
58
  def failure_help_string
59
- "\n\tAre you sure your project is generating coverage? Make sure you enable code coverage in the Test section of your Xcode scheme.\n\tDid you specify your Xcode scheme? (--scheme or 'scheme' in .slather.yml)\n\tIf you're using a workspace, did you specify it? (--workspace or 'workspace' in .slather.yml)"
59
+ "\n\tAre you sure your project is generating coverage? Make sure you enable code coverage in the Test section of your Xcode scheme.\n\tDid you specify your Xcode scheme? (--scheme or 'scheme' in .slather.yml)\n\tIf you're using a workspace, did you specify it? (--workspace or 'workspace' in .slather.yml)\n\tIf you use a different Xcode configuration, did you specify it? (--configuration or 'configuration' in .slather.yml)"
60
60
  end
61
61
 
62
62
  def derived_data_path
@@ -236,7 +236,7 @@ module Slather
236
236
  configure_binary_file
237
237
  configure_decimals
238
238
 
239
- self.llvm_version = `xcrun llvm-cov --version`.match(/Apple LLVM version ([\d\.]+)/).captures[0]
239
+ self.llvm_version = `xcrun llvm-cov --version`.match(/LLVM version ([\d\.]+)/).captures[0]
240
240
  rescue => e
241
241
  puts e.message
242
242
  puts failure_help_string
@@ -1,3 +1,3 @@
1
1
  module Slather
2
- VERSION = '2.4.1' unless defined?(Slather::VERSION)
2
+ VERSION = '2.4.2' unless defined?(Slather::VERSION)
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: slather
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.4.1
4
+ version: 2.4.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Mark Larsen
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-04-08 00:00:00.000000000 Z
11
+ date: 2017-05-16 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler