circleci-bundle-update-pr 1.3.4 → 1.3.5

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: 10a4c7002ac8cb0ade0e1bfff7312b1384bd5f53
4
- data.tar.gz: 8d95f3cfcec6bc5caaa8d63468234da8d487d7f8
3
+ metadata.gz: 9a3feb5f42b818eadf0b168280ecd1578c6afe99
4
+ data.tar.gz: 11523275b7da1cb19c5123d68cb0d9f833d21356
5
5
  SHA512:
6
- metadata.gz: 8713196583129b3ef35e72b2a58e7a075957b978d998ac7150d4c8b9397c0f96ec00d80aa0e9ed8c9ebdfa7f6e48d7490ce83f1086a031fb0d7f48d8efb582a6
7
- data.tar.gz: 8f753e8dc7579ab949a3b883a675b4522cf68f9c2eab7039661a2769bb38b56a1558a92be31c05a658a03d8e9e24c57a8e71c72e6c40b732c285863bc07c938e
6
+ metadata.gz: f47774bccb5f6d6beb7c9e8266aecbb03398526d9ce69aad8f02b885e99e8566a3305e7ca61ab53e1ceb20bfb0bc1efe86179f0940fbb31981dd6a6882a7a6ac
7
+ data.tar.gz: e93350a299f0217732cd18bde3831b87fd54536a031c5a187bfd7bdffeb8eded50fd88dd1ae6a4db7eea245dd3a77e29b477b926b5363dae404e8e3166d35385
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- circleci-bundle-update-pr (1.3.4)
4
+ circleci-bundle-update-pr (1.3.5)
5
5
  compare_linker
6
6
  octokit (~> 3.8)
7
7
 
@@ -25,7 +25,9 @@ module Circleci
25
25
 
26
26
  def self.need?(git_branches)
27
27
  return false unless git_branches.include?(ENV['CIRCLE_BRANCH'])
28
- system("bundle update")
28
+ unless system("bundle update")
29
+ raise "Unable to execute `bundle update`"
30
+ end
29
31
  `git status -sb 2> /dev/null`.include?("Gemfile.lock")
30
32
  end
31
33
  private_class_method :need?
@@ -2,7 +2,7 @@ module Circleci
2
2
  module Bundle
3
3
  module Update
4
4
  module Pr
5
- VERSION = "1.3.4"
5
+ VERSION = "1.3.5"
6
6
  end
7
7
  end
8
8
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: circleci-bundle-update-pr
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.3.4
4
+ version: 1.3.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Takashi Masuda
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-01-16 00:00:00.000000000 Z
11
+ date: 2016-01-18 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: octokit