circleci-bundle-update-pr 1.3.5 → 1.4.0

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: 9a3feb5f42b818eadf0b168280ecd1578c6afe99
4
- data.tar.gz: 11523275b7da1cb19c5123d68cb0d9f833d21356
3
+ metadata.gz: 2b17fc21726a6f08a46ee8b2ba9fe1dbb7300e89
4
+ data.tar.gz: c18fb17e6b0cdef978b26f86df546df11470a02b
5
5
  SHA512:
6
- metadata.gz: f47774bccb5f6d6beb7c9e8266aecbb03398526d9ce69aad8f02b885e99e8566a3305e7ca61ab53e1ceb20bfb0bc1efe86179f0940fbb31981dd6a6882a7a6ac
7
- data.tar.gz: e93350a299f0217732cd18bde3831b87fd54536a031c5a187bfd7bdffeb8eded50fd88dd1ae6a4db7eea245dd3a77e29b477b926b5363dae404e8e3166d35385
6
+ metadata.gz: 739732231816ab278a7423b01552b837e103d5fbb2f644389c0d6b9682cf8aa7ce5d60891679d4898ae0e0b6bc4881461eeb6592a04dc915c7c03e6d6783067d
7
+ data.tar.gz: 1b1ff33a379e207620b9b3082d473bab23726a69692d74809ea1044ce6c135e054e1327fc02ea3e0a45fc6f048467bd0595ba0210277d5a1846a3de7b26add63
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- circleci-bundle-update-pr (1.3.5)
4
+ circleci-bundle-update-pr (1.4.0)
5
5
  compare_linker
6
6
  octokit (~> 3.8)
7
7
 
@@ -32,4 +32,4 @@ DEPENDENCIES
32
32
  rake (~> 10.0)
33
33
 
34
34
  BUNDLED WITH
35
- 1.11.2
35
+ 1.12.5
@@ -1,4 +1,3 @@
1
- # coding: utf-8
2
1
  lib = File.expand_path('../lib', __FILE__)
3
2
  $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
4
3
  require 'circleci/bundle/update/pr/version'
@@ -25,8 +25,8 @@ module Circleci
25
25
 
26
26
  def self.need?(git_branches)
27
27
  return false unless git_branches.include?(ENV['CIRCLE_BRANCH'])
28
- unless system("bundle update")
29
- raise "Unable to execute `bundle update`"
28
+ unless system("bundle update && bundle update --ruby")
29
+ raise "Unable to execute `bundle update && bundle update --ruby`"
30
30
  end
31
31
  `git status -sb 2> /dev/null`.include?("Gemfile.lock")
32
32
  end
@@ -36,7 +36,7 @@ module Circleci
36
36
  system("git config user.name #{git_username}")
37
37
  system("git config user.email #{git_email}")
38
38
  system("git add Gemfile.lock")
39
- system("git commit -m '$ bundle update'")
39
+ system("git commit -m '$ bundle update && bundle update --ruby'")
40
40
  system("git branch -M #{branch}")
41
41
  system("git push origin #{branch}")
42
42
  end
@@ -2,7 +2,7 @@ module Circleci
2
2
  module Bundle
3
3
  module Update
4
4
  module Pr
5
- VERSION = "1.3.5"
5
+ VERSION = "1.4.0"
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.5
4
+ version: 1.4.0
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-18 00:00:00.000000000 Z
11
+ date: 2016-06-07 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: octokit