circleci-bundle-update-pr 1.3.5 → 1.4.0
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 +4 -4
- data/Gemfile.lock +2 -2
- data/circleci-bundle-update-pr.gemspec +0 -1
- data/lib/circleci/bundle/update/pr.rb +3 -3
- data/lib/circleci/bundle/update/pr/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 2b17fc21726a6f08a46ee8b2ba9fe1dbb7300e89
|
|
4
|
+
data.tar.gz: c18fb17e6b0cdef978b26f86df546df11470a02b
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 739732231816ab278a7423b01552b837e103d5fbb2f644389c0d6b9682cf8aa7ce5d60891679d4898ae0e0b6bc4881461eeb6592a04dc915c7c03e6d6783067d
|
|
7
|
+
data.tar.gz: 1b1ff33a379e207620b9b3082d473bab23726a69692d74809ea1044ce6c135e054e1327fc02ea3e0a45fc6f048467bd0595ba0210277d5a1846a3de7b26add63
|
data/Gemfile.lock
CHANGED
|
@@ -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
|
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.
|
|
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-
|
|
11
|
+
date: 2016-06-07 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: octokit
|