bucky-core 0.9.20 → 0.9.21

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: 6d3bc4a5b7a6ffe7f93e104556b095df39f748e0
4
- data.tar.gz: f6e6fb25681fa02314e54236e578d3dc01b7389b
3
+ metadata.gz: bca8a0967c97a1d90498658e1938b77c212f90a0
4
+ data.tar.gz: 32df7ea6a60f33f021b47c40e0984d4869d8693c
5
5
  SHA512:
6
- metadata.gz: a27052d232e21ab23eff4fd2ee10ca7a8ec57aa9b045fc1e1e285393e35580ed47d9dbb3bdb560ff45c38c797c784cd921b797f2a90696b9cd5fdb568131199f
7
- data.tar.gz: 6cd4d55fd31fe323e25ff1ab212c2a75bcbad55f26a59abae97b2501970437834cbd9d83fd58cbedbaa6e1d7d226d3a502247a57b58b431ed052fd67c7af9d0a
6
+ metadata.gz: 8647095a8756ea18fab07d25ed0e5de97433d0acbc4ac1f0758f33a7b15d945140ebf5eeab381fe2cdf52c51baf2c6ebc6c7bf80ca23394bd6b923e9025bc19a
7
+ data.tar.gz: 57b0f73032bde5688287810532e09edaf373accf2fabfff09c298e8f5e2a6db1b9fa049627cf3395049f62e3942de69c55a9df874bb64a3636102d573d37203e
@@ -5,7 +5,7 @@ jobs:
5
5
  steps:
6
6
  - checkout
7
7
  - restore_cache:
8
- key: docker-{{ checksum ".circleci/config.yml" }}-{{ checksum "docker-compose.system-test.yml" }}-{{ checksum "Dockerfile.system-test" }}-{{ checksum "bucky-core.gemspec" }}
8
+ key: docker-{{ checksum ".circleci/config.yml" }}-{{ checksum "docker-compose.system-test.yml" }}-{{ checksum "Dockerfile.system-test" }}-{{ checksum "bucky-core.gemspec" }}-{{ checksum ".dockerignore" }}
9
9
  - run:
10
10
  command: |
11
11
  if [ ! -f ~/caches/images.tar ]; then
@@ -14,7 +14,7 @@ jobs:
14
14
  docker save $(docker images | awk 'NR>=2 && ! /^<none>/{print $1}') -o ~/caches/images.tar
15
15
  fi
16
16
  - save_cache:
17
- key: docker-{{ checksum ".circleci/config.yml" }}-{{ checksum "docker-compose.system-test.yml" }}-{{ checksum "Dockerfile.system-test" }}-{{ checksum "bucky-core.gemspec" }}
17
+ key: docker-{{ checksum ".circleci/config.yml" }}-{{ checksum "docker-compose.system-test.yml" }}-{{ checksum "Dockerfile.system-test" }}-{{ checksum "bucky-core.gemspec" }}-{{ checksum ".dockerignore" }}
18
18
  paths: ~/caches/images.tar
19
19
  system_test:
20
20
  machine: true
@@ -22,7 +22,7 @@ jobs:
22
22
  steps:
23
23
  - checkout
24
24
  - restore_cache:
25
- key: docker-{{ checksum ".circleci/config.yml" }}-{{ checksum "docker-compose.system-test.yml" }}-{{ checksum "Dockerfile.system-test" }}-{{ checksum "bucky-core.gemspec" }}
25
+ key: docker-{{ checksum ".circleci/config.yml" }}-{{ checksum "docker-compose.system-test.yml" }}-{{ checksum "Dockerfile.system-test" }}-{{ checksum "bucky-core.gemspec" }}-{{ checksum ".dockerignore" }}
26
26
  - run:
27
27
  command: docker load -q -i ~/caches/images.tar
28
28
  - run:
@@ -75,7 +75,7 @@ jobs:
75
75
  - run: bundle exec rubocop -f html --out report.html
76
76
  - store_artifacts:
77
77
  path: report.html
78
- publish:
78
+ publish_to_rubygems:
79
79
  docker:
80
80
  - image: circleci/ruby:2.4.1
81
81
  steps:
@@ -89,6 +89,22 @@ jobs:
89
89
  - run:
90
90
  name: Update vresion.rb and publish on RubyGems
91
91
  command: bash .circleci/deploy_to_rubygems.sh
92
+ publish_to_docker_hub:
93
+ machine: true
94
+ environment:
95
+ DOCKER_REPO: lifullsetg/bucky-core
96
+ steps:
97
+ - checkout
98
+ - run:
99
+ name: Build image
100
+ command: |
101
+ docker build -t "$DOCKER_REPO":"${CIRCLE_TAG/v/}" .
102
+ - run:
103
+ name: Login and push image
104
+ command: |
105
+ docker login -u "$DOCKER_HUB_USER" -p "$DOCKER_HUB_TOKEN"
106
+ docker push "$DOCKER_REPO":"${CIRCLE_TAG/v/}"
107
+ docker logout
92
108
  workflows:
93
109
  version: 2
94
110
  test:
@@ -101,7 +117,13 @@ workflows:
101
117
  - generate_cache_for_system_test
102
118
  deploy:
103
119
  jobs:
104
- - publish:
120
+ - publish_to_rubygems:
121
+ filters:
122
+ tags:
123
+ only: /^v[0-9]{1,}(\.[0-9]{1,}){2}$/
124
+ branches:
125
+ ignore: /.*/
126
+ - publish_to_docker_hub:
105
127
  filters:
106
128
  tags:
107
129
  only: /^v[0-9]{1,}(\.[0-9]{1,}){2}$/
@@ -1,5 +1,23 @@
1
+ # Git
2
+ .gitignore
1
3
 
4
+ # CI
5
+ .codeclimate.yml
6
+ .circleci
7
+ .rubocop*
8
+
9
+ # Docker
10
+ # docker-compose*
11
+
12
+ # Test
13
+ spec/
14
+ .rspec
15
+ system-testing/
16
+
17
+ # Log
2
18
  *.log
19
+
20
+ # Others
3
21
  .DS_Store
4
22
  .bundle
5
23
  .vscode
@@ -9,3 +27,5 @@ coverage/
9
27
  doc
10
28
  tags
11
29
  tmp
30
+ template/
31
+ .sample/
@@ -1,14 +1,14 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- bucky-core (0.9.19)
4
+ bucky-core (0.9.20)
5
5
  addressable (~> 2.5)
6
6
  color_echo (~> 3.1)
7
7
  json (~> 2.1)
8
8
  nokogiri (~> 1.10.4)
9
9
  parallel (~> 1.11)
10
10
  ruby-mysql (~> 2.9)
11
- selenium-webdriver (~> 3.4)
11
+ selenium-webdriver (~> 3.142)
12
12
  sequel (~> 4.48)
13
13
  test-unit (~> 3.2)
14
14
 
@@ -34,7 +34,7 @@ GEM
34
34
  json (2.1.0)
35
35
  method_source (0.9.0)
36
36
  mini_portile2 (2.4.0)
37
- nokogiri (1.10.5)
37
+ nokogiri (1.10.7)
38
38
  mini_portile2 (~> 2.4.0)
39
39
  parallel (1.12.1)
40
40
  parser (2.6.3.0)
@@ -45,7 +45,7 @@ Gem::Specification.new do |spec|
45
45
  spec.add_runtime_dependency 'nokogiri', '~> 1.10.4'
46
46
  spec.add_runtime_dependency 'parallel', '~> 1.11'
47
47
  spec.add_runtime_dependency 'ruby-mysql', '~> 2.9'
48
- spec.add_runtime_dependency 'selenium-webdriver', '~> 3.4'
48
+ spec.add_runtime_dependency 'selenium-webdriver', '~> 3.142'
49
49
  spec.add_runtime_dependency 'sequel', '~> 4.48'
50
50
  spec.add_runtime_dependency 'test-unit', '~> 3.2'
51
51
  end
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Bucky
4
4
  module Version
5
- VERSION = '0.9.20'
5
+ VERSION = '0.9.21'
6
6
  end
7
7
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: bucky-core
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.9.20
4
+ version: 0.9.21
5
5
  platform: ruby
6
6
  authors:
7
7
  - NaotoKishino
@@ -13,7 +13,7 @@ authors:
13
13
  autorequire:
14
14
  bindir: exe
15
15
  cert_chain: []
16
- date: 2019-11-15 00:00:00.000000000 Z
16
+ date: 2019-12-09 00:00:00.000000000 Z
17
17
  dependencies:
18
18
  - !ruby/object:Gem::Dependency
19
19
  name: awesome_print
@@ -259,14 +259,14 @@ dependencies:
259
259
  requirements:
260
260
  - - "~>"
261
261
  - !ruby/object:Gem::Version
262
- version: '3.4'
262
+ version: '3.142'
263
263
  type: :runtime
264
264
  prerelease: false
265
265
  version_requirements: !ruby/object:Gem::Requirement
266
266
  requirements:
267
267
  - - "~>"
268
268
  - !ruby/object:Gem::Version
269
- version: '3.4'
269
+ version: '3.142'
270
270
  - !ruby/object:Gem::Dependency
271
271
  name: sequel
272
272
  requirement: !ruby/object:Gem::Requirement