rsgem 0.3.0 → 0.4.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +6 -0
- data/lib/rsgem/support/github_actions.yml +21 -3
- data/lib/rsgem/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2ad88cbeee0dce25fc811974b5f22e451988013b120e8ff7bd070ebbc57d984d
|
4
|
+
data.tar.gz: 8b5af2dfea737d332e119abf472047a39357f33c604d57f4f731822d6f9bd77b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5cf866d216669b2cefd81efe24eb24801d776683ad49736bd8d377d924476eb8cf358232636a638a7acbc36ef498d978fd8e0333c21a56edc2244e9d6b88d1ad
|
7
|
+
data.tar.gz: ed0d4cd9c34b6ab9a85be7d4a81a260bc842b4ced79b3563c4c0c46c15a49721d0ab3b99ecf06442e47d7179bffdf72540457a9afd441b6b18ad253ebffa880d
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
name: ci
|
2
2
|
|
3
|
-
on: push
|
3
|
+
on: [push, pull_request]
|
4
4
|
|
5
5
|
jobs:
|
6
6
|
build:
|
@@ -15,6 +15,11 @@ jobs:
|
|
15
15
|
uses: actions/setup-ruby@v1
|
16
16
|
with:
|
17
17
|
ruby-version: ${{ matrix.ruby_version }}
|
18
|
+
- name: Calculate variable dynamic values
|
19
|
+
id: dynamic_values
|
20
|
+
run: |
|
21
|
+
echo "::set-output name=installed_ruby_version::$(ruby -e 'print RUBY_VERSION')"
|
22
|
+
echo "::set-output name=cacheTimeAnchor::$(ruby -e 'require %Q{date}; cacheExpirationSeconds = 60*60*24; print (Time.now.to_i / cacheExpirationSeconds)')"
|
18
23
|
- name: Download CodeClimate reporter
|
19
24
|
run: |
|
20
25
|
curl -L https://codeclimate.com/downloads/test-reporter/test-reporter-latest-linux-amd64 > ./cc-test-reporter
|
@@ -22,12 +27,25 @@ jobs:
|
|
22
27
|
./cc-test-reporter before-build
|
23
28
|
env:
|
24
29
|
CC_TEST_REPORTER_ID: get_a_test_reporter_id_from_code_climate
|
25
|
-
- name:
|
30
|
+
- name: Install and config bundler
|
26
31
|
run: |
|
27
32
|
gem install bundler:1.17.3
|
28
|
-
|
33
|
+
- name: Generate 'Gemfile.lock' before caching gems
|
34
|
+
run: |
|
35
|
+
bundle lock --update
|
36
|
+
- uses: actions/cache@v2
|
37
|
+
with:
|
38
|
+
path: vendor/bundle
|
39
|
+
key: ${{ runner.os }}-ruby_v${{ steps.dynamic_values.outputs.installed_ruby_version }}-time_${{steps.dynamic_values.outputs.cacheTimeAnchor}}-gems-${{ hashFiles('**/Gemfile.lock') }}
|
40
|
+
- name: Install dependencies
|
41
|
+
run: |
|
42
|
+
bundle config set path 'vendor/bundle'
|
29
43
|
bundle install --jobs 4 --retry 3
|
44
|
+
- name: Run code analysis
|
45
|
+
run: |
|
30
46
|
bundle exec rake code_analysis
|
47
|
+
- name: Run tests
|
48
|
+
run: |
|
31
49
|
bundle exec rspec
|
32
50
|
- name: Report to CodeClimate
|
33
51
|
run: |
|
data/lib/rsgem/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rsgem
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.4.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Juan Manuel Ramallo
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-
|
11
|
+
date: 2020-09-20 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: dry-cli
|