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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 2f089b4a1d6ba18086f1577144858e72b2e31bcd
4
- data.tar.gz: 69a8a0e3e65ed8dedf5418b57e66aae6b9d3d489
3
+ metadata.gz: 715d759993b293188759ed8d49db0ad7e847aec3
4
+ data.tar.gz: 9a9c6cc6a829810ac56095bcf8c9a29d33a40e19
5
5
  SHA512:
6
- metadata.gz: 910d19357dc3a320edb85097342659e46334236b53de08fd2e9fe2806d47bd12889dd53d27bafa5424e5dd98a95bd4c97979498c160cc4ec112a275c1369d1ca
7
- data.tar.gz: 68a55c0da4f3829bc203853354e40097605be214ed3ecce266f69bcb456cfcbc062c3281e44a359aa464d648494d4aebab3bda9e6db0d962dd6dfa2ff682a0a6
6
+ metadata.gz: a470ac2dd5f0121d61b6582910c0cc16fcd010a4033fe37ef72bdb315167cf3b0030bdc41dfd42c537d30eee7909ddd6f034d4ac053bd9092bbc66bb21900eb5
7
+ data.tar.gz: bdf28a5d1d08d23193c5ab47ef70011089ab015de905c91721c7b8b73afbcb64c24311b9d38a72273efa07ccd0ce9e9a3f1eeaf6856c6363406d2c8c2a5925c1
@@ -11,15 +11,9 @@ jobs:
11
11
  machine: true
12
12
  steps:
13
13
  - checkout
14
- - run: RUBY_IMAGE=ruby:2.5-alpine docker-compose build ruby_gem
15
- - run: RUBY_IMAGE=ruby:2.5-alpine docker-compose run ruby_gem ruby -v
16
- - run: RUBY_IMAGE=ruby:2.5-alpine docker-compose run ruby_gem rake test
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
 
@@ -7,5 +7,10 @@ services:
7
7
  context: .
8
8
  dockerfile: roro/containers/ruby_image/Dockerfile
9
9
  environment:
10
- - RUBY_IMAGE=${RUBY_IMAGE}
10
+ - RUBY_VERSION=${RUBY_VERSION}
11
11
  command: bundle exec rake test
12
+ volumes:
13
+ - gem_cache:/gems
14
+
15
+ volumes:
16
+ gem_cache:
@@ -1,5 +1,5 @@
1
1
  module HandsomeFencer
2
2
  module Crypto
3
- VERSION = "0.1.8"
3
+ VERSION = "0.1.9"
4
4
  end
5
5
  end
@@ -1,16 +1,17 @@
1
- ARG RUBY_IMAGE=ruby:2.7-alpine
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 ${APP_HOME}
9
-
12
+ RUN mkdir ${BUNDLE_PATH}
10
13
 
11
14
  WORKDIR ${APP_HOME}
12
-
13
-
14
15
  COPY . ${APP_HOME}
15
- RUN gem update bundler
16
- RUN bundle
16
+ RUN bundle install
17
+ COPY . ${APP_HOME}
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: handsome_fencer-crypto
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.8
4
+ version: 0.1.9
5
5
  platform: ruby
6
6
  authors:
7
7
  - schadenfred