brew-gem 0.8.0 → 0.8.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: ff47bde472a2c913a8fd3db706664b2175077952
4
- data.tar.gz: 85fb227c6650b78ff73c3652b9ddd58c5f91b73d
3
+ metadata.gz: 1b8f72325e736c4ab477ff2f4d5babe2afd7a5dd
4
+ data.tar.gz: f359decb0092dff2285b465d9d8a450233f9e53b
5
5
  SHA512:
6
- metadata.gz: 6c010deb7ea8d23ccad502bbd57da4894e06bef318e3bb070033cb50d98986bcd634c2d11dbfc7c9629b33d9ed425df819c131f86ef0b0e3d3772c70ba0facf1
7
- data.tar.gz: 4c6aa78d44f6af619e6d1598ee9f111c4eca4e62a9008e49de90ce3d32272a2bb8ebcac1ed8cd7e517a6abc0a9d7f7ffb82ae4eb7f667e1a2a7d5158a851df93
6
+ metadata.gz: ae3308545dda066e6f1913f3b1bd82d89ccd5d4f6ce62ecc349d907c5ad62c4c33c25c2c2fb2e46da3b6fb5fa4ce96a69fb0e270148d00379dedaefa3a87eb29
7
+ data.tar.gz: c375ae5a78d6169c526d3f27513c03c99cb68849fc570bd6995c68a84840eb5e8b1ec849997ce0e6a4651a73f8c433a9247ce8dce8c5033850a2ccfcc16f1342
@@ -0,0 +1,6 @@
1
+ ### v0.8.1
2
+
3
+ * brew-gem exits non-zero if gem failed to build/install
4
+
5
+ > Nick Sieger: Brian Bergstrom: https://github.com/sportngin/brew-gem/pull/31
6
+
@@ -75,6 +75,7 @@ module Brew::Gem::CLI
75
75
 
76
76
  with_temp_formula(name, version, use_homebrew_ruby) do |filename|
77
77
  system "brew #{command} #{filename}"
78
+ exit $?.exitstatus unless $?.success?
78
79
  end
79
80
  end
80
81
  end
@@ -48,6 +48,8 @@ class <%= klass %> < Formula
48
48
  "--install-dir", prefix,
49
49
  "--bindir", bin
50
50
 
51
+ raise "gem install '<%= name %>' failed with status #{$?.exitstatus}" unless $?.success?
52
+
51
53
  bin.rmtree if bin.exist?
52
54
  bin.mkpath
53
55
 
@@ -1,5 +1,5 @@
1
1
  module Brew
2
2
  module Gem
3
- VERSION = "0.8.0"
3
+ VERSION = "0.8.1"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: brew-gem
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.8.0
4
+ version: 0.8.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Nick Sieger
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-08-23 00:00:00.000000000 Z
11
+ date: 2016-09-29 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -81,6 +81,7 @@ files:
81
81
  - ".ruby-gemset"
82
82
  - ".ruby-version"
83
83
  - ".travis.yml"
84
+ - CHANGELOG.markdown
84
85
  - Gemfile
85
86
  - LICENSE
86
87
  - README.md
@@ -111,7 +112,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
111
112
  version: '0'
112
113
  requirements: []
113
114
  rubyforge_project:
114
- rubygems_version: 2.5.1
115
+ rubygems_version: 2.6.6
115
116
  signing_key:
116
117
  specification_version: 4
117
118
  summary: Generate Homebrew formulas to install standalone ruby gems.