circleci-bundle-update-pr 1.6.1 → 1.6.2

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: ccc9d01ef8074c3f6a6b5308af17a751d86a538a
4
- data.tar.gz: ca2cc1175ad63ad4f3059a9a59555364cdaabacc
3
+ metadata.gz: 6dfe3f101026c852737b54606c23f5a921d064bc
4
+ data.tar.gz: 02b76bf74592608da3eed52eb825e9f205b57d6f
5
5
  SHA512:
6
- metadata.gz: 9b7232cfc34333390e0b9a316c5ab1f32870356e3c3e14af61de6f8ff1a37892cb5a6a24d84c25d5aa4ababcd26d85372ce1e6ddb20c299e6c2712391b5dcfad
7
- data.tar.gz: 1c71cc82ecfa43b861ca96b47c90724bbb91b7bc028aac5ca7d27e9b403cd2f854940303397e8ec9fb9f90e1ba73f6e762107a74c56edb6657c93e32913370fd
6
+ metadata.gz: 8cfdcd669c37e982c166520243385f5fd798f71494773ce494f23a9726572acb7f025a89e6e45e602a719dad7692fb371f1383097fac2b40372d23e8aa58a54d
7
+ data.tar.gz: 6080b5f37ccee81b1f409e0d61469ce37310ccbd8d200eb0e17332582b64860a93514eb6082030bce8f02fbf2eb73d704427b5c6d9ec4632aebe6ff74d0c3b3f
@@ -0,0 +1,53 @@
1
+ version: 2
2
+ jobs:
3
+ build:
4
+ docker: &docker
5
+ - image: ruby:2.4.1-alpine
6
+ working_directory: /work
7
+ branches:
8
+ only:
9
+ - master
10
+ steps:
11
+ - run: &setup_requirements
12
+ name: Install System Dependencies
13
+ command: |
14
+ # See also https://circleci.com/docs/2.0/custom-images/#adding-required-and-custom-tools-or-files
15
+ apk add --update --no-cache git openssh-client tar gzip ca-certificates \
16
+ tzdata
17
+ gem install -N bundler
18
+ - run: &set_timezone
19
+ name: Set timezone to Asia/Tokyo
20
+ command: cp /usr/share/zoneinfo/Asia/Tokyo /etc/localtime
21
+ - checkout
22
+ - restore_cache: &restore_gems_cache
23
+ name: Restore bundler cache
24
+ keys:
25
+ - gems-{{ .Environment.COMMON_CACHE_KEY }}-{{ checksum "Gemfile.lock" }}
26
+ - gems-{{ .Environment.COMMON_CACHE_KEY }}-
27
+ - run:
28
+ name: Install Ruby Dependencies
29
+ command: |
30
+ bundle check || bundle install --jobs=4 --retry=3
31
+ bundle clean
32
+ - save_cache: &save_gems_cache
33
+ name: Save bundler cache
34
+ key: gems-{{ .Environment.COMMON_CACHE_KEY }}-{{ checksum "Gemfile.lock" }}
35
+ paths:
36
+ - /usr/local/bundle
37
+ continuous_bundle_update:
38
+ docker: *docker
39
+ working_directory: /work
40
+ branches:
41
+ only:
42
+ - master
43
+ steps:
44
+ - run: *setup_requirements
45
+ - run: *set_timezone
46
+ - checkout
47
+ - restore_cache: *restore_gems_cache
48
+ - run:
49
+ name: Setup requirements for continuous bundle update
50
+ command: gem install -N circleci-bundle-update-pr
51
+ - deploy:
52
+ name: Continuous bundle update
53
+ command: circleci-bundle-update-pr CircleCI circleci@example.com $CIRCLE_BRANCH
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- circleci-bundle-update-pr (1.6.1)
4
+ circleci-bundle-update-pr (1.6.2)
5
5
  compare_linker
6
6
  octokit (~> 3.8)
7
7
 
@@ -9,7 +9,7 @@ GEM
9
9
  remote: https://rubygems.org/
10
10
  specs:
11
11
  addressable (2.3.8)
12
- compare_linker (1.3.6)
12
+ compare_linker (1.3.7)
13
13
  httpclient
14
14
  octokit
15
15
  faraday (0.9.2)
@@ -32,4 +32,4 @@ DEPENDENCIES
32
32
  rake (~> 10.0)
33
33
 
34
34
  BUNDLED WITH
35
- 1.14.6
35
+ 1.15.3
@@ -2,7 +2,7 @@ module Circleci
2
2
  module Bundle
3
3
  module Update
4
4
  module Pr
5
- VERSION = "1.6.1"
5
+ VERSION = "1.6.2"
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.1
4
+ version: 1.6.2
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-05-22 00:00:00.000000000 Z
11
+ date: 2017-08-01 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: octokit
@@ -74,6 +74,7 @@ executables:
74
74
  extensions: []
75
75
  extra_rdoc_files: []
76
76
  files:
77
+ - ".circleci/config.yml"
77
78
  - ".gitignore"
78
79
  - Gemfile
79
80
  - Gemfile.lock
@@ -81,7 +82,6 @@ files:
81
82
  - README.md
82
83
  - Rakefile
83
84
  - bin/circleci-bundle-update-pr
84
- - circle.yml
85
85
  - circleci-bundle-update-pr.gemspec
86
86
  - lib/circleci/bundle/update/pr.rb
87
87
  - lib/circleci/bundle/update/pr/version.rb
data/circle.yml DELETED
@@ -1,18 +0,0 @@
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