handsome_fencer-crypto 0.1.8 → 0.1.9
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 +4 -11
- data/docker-compose.yml +6 -1
- data/lib/handsome_fencer/crypto/version.rb +1 -1
- data/roro/containers/ruby_image/Dockerfile +8 -7
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 715d759993b293188759ed8d49db0ad7e847aec3
|
4
|
+
data.tar.gz: 9a9c6cc6a829810ac56095bcf8c9a29d33a40e19
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a470ac2dd5f0121d61b6582910c0cc16fcd010a4033fe37ef72bdb315167cf3b0030bdc41dfd42c537d30eee7909ddd6f034d4ac053bd9092bbc66bb21900eb5
|
7
|
+
data.tar.gz: bdf28a5d1d08d23193c5ab47ef70011089ab015de905c91721c7b8b73afbcb64c24311b9d38a72273efa07ccd0ce9e9a3f1eeaf6856c6363406d2c8c2a5925c1
|
data/.circleci/config.yml
CHANGED
@@ -11,15 +11,9 @@ jobs:
|
|
11
11
|
machine: true
|
12
12
|
steps:
|
13
13
|
- checkout
|
14
|
-
- run:
|
15
|
-
- run:
|
16
|
-
- run:
|
17
|
-
- run: RUBY_IMAGE=ruby:2.6-alpine docker-compose build ruby_gem
|
18
|
-
- run: RUBY_IMAGE=ruby:2.6-alpine docker-compose run ruby_gem ruby -v
|
19
|
-
- run: RUBY_IMAGE=ruby:2.6-alpine docker-compose run ruby_gem rake test
|
20
|
-
- run: RUBY_IMAGE=ruby:2.7-alpine docker-compose build ruby_gem
|
21
|
-
- run: RUBY_IMAGE=ruby:2.7-alpine docker-compose run ruby_gem ruby -v
|
22
|
-
- run: RUBY_IMAGE=ruby:2.7-alpine docker-compose run ruby_gem rake test
|
14
|
+
- run: RUBY_VERSION=2.5 docker-compose up --build ruby_gem
|
15
|
+
- run: RUBY_VERSION=2.6 docker-compose up --build ruby_gem
|
16
|
+
- run: RUBY_VERSION=2.7 docker-compose up --build ruby_gem
|
23
17
|
|
24
18
|
release:
|
25
19
|
machine: true
|
@@ -28,13 +22,12 @@ jobs:
|
|
28
22
|
- run: gem install roro
|
29
23
|
- run: roro generate::exposed ci
|
30
24
|
- run: echo 'source roro/containers/ruby_image/ci.env' >> $BASH_ENV
|
31
|
-
- run: printenv RUBYGEMS_API_KEY
|
32
25
|
- run: chmod +x ./.circleci/setup-gem-credentials.sh
|
33
26
|
- run: ./.circleci/setup-gem-credentials.sh
|
34
27
|
- run: cat ~/.gem/credentials
|
35
28
|
- run: git checkout .
|
36
29
|
- run: gem release
|
37
|
-
|
30
|
+
|
38
31
|
workflows:
|
39
32
|
version: 2
|
40
33
|
|
data/docker-compose.yml
CHANGED
@@ -1,16 +1,17 @@
|
|
1
|
-
ARG
|
1
|
+
ARG RUBY_VERSION=2.7
|
2
|
+
ARG RUBY_IMAGE=ruby:${RUBY_VERSION}-alpine
|
2
3
|
FROM $RUBY_IMAGE
|
3
4
|
|
4
5
|
RUN apk add --no-cache --update build-base linux-headers git
|
5
6
|
|
6
7
|
ENV APP_HOME /usr/src/app/
|
8
|
+
ENV BUNDLE_PATH /gems
|
9
|
+
ENV GEM_PATH ${BUNDLE_PATH}
|
10
|
+
ENV GEM_HOME ${BUNDLE_PATH}
|
7
11
|
|
8
|
-
RUN mkdir ${
|
9
|
-
|
12
|
+
RUN mkdir ${BUNDLE_PATH}
|
10
13
|
|
11
14
|
WORKDIR ${APP_HOME}
|
12
|
-
|
13
|
-
|
14
15
|
COPY . ${APP_HOME}
|
15
|
-
RUN
|
16
|
-
|
16
|
+
RUN bundle install
|
17
|
+
COPY . ${APP_HOME}
|