circleci-bundle-update-pr 1.6.0 → 1.6.1

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: 3aa7059f82f00c21bc6821ad6296caf127e62c45
4
- data.tar.gz: 4cd9648ded02350932d2aa906f12061386d5042c
3
+ metadata.gz: ccc9d01ef8074c3f6a6b5308af17a751d86a538a
4
+ data.tar.gz: ca2cc1175ad63ad4f3059a9a59555364cdaabacc
5
5
  SHA512:
6
- metadata.gz: 2363dbe680a38acd166949516622a711a0907788f6027663e63c773b49e5a39e39c645324ff0626707f1a57eb7380da9b439531346f83398b7c283240b5c4707
7
- data.tar.gz: cb18451b840d206f0c704c2fb749c3ee5ef9dab983fd13883d5d74044160d8fbe67cfdf074359bc072e3fdeb4eb96dd73e35f3d30586d1b4ed774eeac7474335
6
+ metadata.gz: 9b7232cfc34333390e0b9a316c5ab1f32870356e3c3e14af61de6f8ff1a37892cb5a6a24d84c25d5aa4ababcd26d85372ce1e6ddb20c299e6c2712391b5dcfad
7
+ data.tar.gz: 1c71cc82ecfa43b861ca96b47c90724bbb91b7bc028aac5ca7d27e9b403cd2f854940303397e8ec9fb9f90e1ba73f6e762107a74c56edb6657c93e32913370fd
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- circleci-bundle-update-pr (1.6.0)
4
+ circleci-bundle-update-pr (1.6.1)
5
5
  compare_linker
6
6
  octokit (~> 3.8)
7
7
 
data/README.md CHANGED
@@ -1,4 +1,12 @@
1
- # Circleci::Bundle::Update::Pr [![Gem Version][gem-badge]][gem-link]
1
+ # Circleci::Bundle::Update::Pr
2
+
3
+ [![Build Status](https://img.shields.io/circleci/project/masutaka/circleci-bundle-update-pr/master.svg?style=flat-square)][circleci]
4
+ [![License](https://img.shields.io/github/license/masutaka/circleci-bundle-update-pr.svg?style=flat-square)][license]
5
+ [![Gem](https://img.shields.io/gem/v/circleci-bundle-update-pr.svg?style=flat-square)][gem-link]
6
+
7
+ [circleci]: https://circleci.com/gh/masutaka/circleci-bundle-update-pr
8
+ [license]: https://github.com/masutaka/circleci-bundle-update-pr/blob/master/LICENSE.txt
9
+ [gem-link]: http://badge.fury.io/rb/circleci-bundle-update-pr
2
10
 
3
11
  circleci-bundle-update-pr is an automation script for continuous bundle update and for sending a pull request via CircleCI [Nightly builds](https://circleci.com/docs/nightly-builds/).
4
12
 
@@ -73,9 +81,9 @@ curl \
73
81
  NOTE: Please do not forget to replace `<username>/<reponame>/<circleci api token>` with yours.
74
82
 
75
83
 
76
- ### Trigger nightly build via ci-bundle-update (recommended)
84
+ ### Trigger nightly build via ci-build-trigger (recommended)
77
85
 
78
- While you can trigger nightly builds by using whatever you want for sending requests to API, the most recommended way is to use "ci-bundle-update". Please see https://github.com/masutaka/ci-bundle-update for details.
86
+ While you can trigger nightly builds by using whatever you want for sending requests to API, the most recommended way is to use "ci-build-trigger". Please see https://github.com/masutaka/ci-build-trigger for details.
79
87
 
80
88
  ## CLI command references
81
89
 
@@ -0,0 +1,18 @@
1
+ machine:
2
+ timezone:
3
+ Asia/Tokyo
4
+
5
+ test:
6
+ override:
7
+ - /bin/true
8
+
9
+ deployment:
10
+ production:
11
+ branch: master
12
+ commands:
13
+ - |
14
+ if [ -n "${BUNDLE_UPDATE}" ] ; then
15
+ gem update -N bundler
16
+ gem install -N circleci-bundle-update-pr
17
+ circleci-bundle-update-pr CircleCI circleci@example.com
18
+ fi
@@ -40,7 +40,7 @@ module Circleci
40
40
  system("git add Gemfile.lock")
41
41
  system("git commit -m '$ bundle update && bundle update --ruby'")
42
42
  system("git branch -M #{branch}")
43
- system("git push github-url-with-token #{branch}")
43
+ system("git push -q github-url-with-token #{branch}")
44
44
  end
45
45
  private_class_method :create_branch
46
46
 
@@ -2,7 +2,7 @@ module Circleci
2
2
  module Bundle
3
3
  module Update
4
4
  module Pr
5
- VERSION = "1.6.0"
5
+ VERSION = "1.6.1"
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.6.0
4
+ version: 1.6.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Takashi Masuda
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-04-02 00:00:00.000000000 Z
11
+ date: 2017-05-22 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: octokit
@@ -81,6 +81,7 @@ files:
81
81
  - README.md
82
82
  - Rakefile
83
83
  - bin/circleci-bundle-update-pr
84
+ - circle.yml
84
85
  - circleci-bundle-update-pr.gemspec
85
86
  - lib/circleci/bundle/update/pr.rb
86
87
  - lib/circleci/bundle/update/pr/version.rb