simp-rake-helpers 2.3.1 → 2.3.2

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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 3aa87bfc9e827d94f28f0f4c0130d07edd2c8187
4
- data.tar.gz: 733521f3cca05055bdb03e0b8a0d5415ce77a952
3
+ metadata.gz: ce25412c6f102f127038c0ff8493905dfe4f1a54
4
+ data.tar.gz: 4396a2d08526f13478e4d51b2c7402fb82111753
5
5
  SHA512:
6
- metadata.gz: 553979795f031b44bf7aa9ad882a9bb70b291e3c550669ae18b58d528ae49e170f671b1260a2d4b1afea5a4751a3d46b6458897b96a045947878f55ec8bb58d8
7
- data.tar.gz: 86ccea8f6d77ac3a27548d55fab451d76739b4e02b0ebef1c718e294466654008c161792919182c993fb9fbcc98e521267c47c45dbd5a37d3701f70cdd5b0b5f
6
+ metadata.gz: 30be844d17330402b66b8f852d65113bbcbcd1d676667e869e65bdbc5b22ce00900ab96d81103fd5fe595e63acf28a5f0ca1d9285e49ad2b1a4d16a7f5cf514f
7
+ data.tar.gz: 9fb77e3056d3510bc5b1182735341f62a4e7ba07347f3c83eeb0e5c5a54d90ef4daee4a1c5dce85113284046fa26841ae2bbc63b9ef9bcda3580f6a7271b1247
@@ -1,3 +1,6 @@
1
+ ### 2.3.2 / 2016-06-29
2
+ * Force a useful failure on repoclosure issues
3
+
1
4
  ### 2.3.1 / 2016-06-27
2
5
  * Translate 'RedHat' into 'RHEL' to match the file artifacts on disk.
3
6
 
@@ -559,7 +559,13 @@ protect=1
559
559
  puts " in path '#{Dir.pwd}'"
560
560
  puts '-'*80
561
561
  end
562
- sh cmd
562
+ repoclosure_output = %x(#{cmd})
563
+
564
+ if !$?.success? || (repoclosure_output =~ /unresolved deps/)
565
+ errmsg = ['Error: REPOCLOSURE FAILED:']
566
+ errmsg << [repoclosure_output]
567
+ fail(errmsg.join("\n"))
568
+ end
563
569
  end
564
570
  ensure
565
571
  remove_entry_secure temp_pkg_dir
@@ -2,5 +2,5 @@ module Simp; end
2
2
  module Simp::Rake; end
3
3
 
4
4
  class Simp::Rake::Helpers
5
- VERSION = '2.3.1'
5
+ VERSION = '2.3.2'
6
6
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: simp-rake-helpers
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.3.1
4
+ version: 2.3.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Chris Tessmer
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2016-06-27 00:00:00.000000000 Z
12
+ date: 2016-06-29 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: bundler