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 +4 -4
- data/.circleci/config.yml +27 -5
- data/.dockerignore +20 -0
- data/Gemfile.lock +3 -3
- data/bucky-core.gemspec +1 -1
- data/lib/bucky/version.rb +1 -1
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: bca8a0967c97a1d90498658e1938b77c212f90a0
|
4
|
+
data.tar.gz: 32df7ea6a60f33f021b47c40e0984d4869d8693c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8647095a8756ea18fab07d25ed0e5de97433d0acbc4ac1f0758f33a7b15d945140ebf5eeab381fe2cdf52c51baf2c6ebc6c7bf80ca23394bd6b923e9025bc19a
|
7
|
+
data.tar.gz: 57b0f73032bde5688287810532e09edaf373accf2fabfff09c298e8f5e2a6db1b9fa049627cf3395049f62e3942de69c55a9df874bb64a3636102d573d37203e
|
data/.circleci/config.yml
CHANGED
@@ -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
|
-
|
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
|
-
-
|
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}$/
|
data/.dockerignore
CHANGED
@@ -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/
|
data/Gemfile.lock
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
bucky-core (0.9.
|
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.
|
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.
|
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)
|
data/bucky-core.gemspec
CHANGED
@@ -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.
|
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
|
data/lib/bucky/version.rb
CHANGED
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.
|
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-
|
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.
|
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.
|
269
|
+
version: '3.142'
|
270
270
|
- !ruby/object:Gem::Dependency
|
271
271
|
name: sequel
|
272
272
|
requirement: !ruby/object:Gem::Requirement
|