evvnt 0.2.2 → 0.2.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/.circleci/config.yml +56 -23
- data/Gemfile.lock +1 -1
- data/lib/evvnt/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: f84be6bd77fdba862713a2f2acf4745523056a105d4e6b6a5e22071ddd7ce070
|
|
4
|
+
data.tar.gz: 653a551829a466e48e17b4c8f33af5f03fa3f0575b3ef89c6d140b0f9f622fc8
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: fef09abc0b0a9be762253756e0eb8928e5404613ebbe0c6666e44f825d23c9f404264f4e31c201598be4b5fdde7de2333d535c1351819f3f24b5d339983a4d53
|
|
7
|
+
data.tar.gz: 833dac9233c10b563e57c2e8f024249cc5a5e96c0dbb6da19a1ba6d3f386cd20384169073c0ec064816189b8c0a9ba2060c552dac15595d4eca8842fee191142
|
data/.circleci/config.yml
CHANGED
|
@@ -2,27 +2,15 @@
|
|
|
2
2
|
#
|
|
3
3
|
# Check https://circleci.com/docs/2.0/language-ruby/ for more details
|
|
4
4
|
#
|
|
5
|
-
machine:
|
|
6
|
-
environment:
|
|
7
|
-
CC_TEST_REPORTER_ID: 63d9f072931b3c61d2ed935cc1d2244c7f9766d64a081e6aef1b974356effab7
|
|
8
|
-
|
|
9
|
-
dependencies:
|
|
10
|
-
post:
|
|
11
|
-
- curl -L https://codeclimate.com/downloads/test-reporter/test-reporter-latest-linux-amd64 > ./cc-test-reporter
|
|
12
|
-
- chmod +x ./cc-test-reporter
|
|
13
|
-
|
|
14
5
|
version: 2
|
|
15
6
|
jobs:
|
|
16
7
|
build:
|
|
8
|
+
environment:
|
|
9
|
+
CC_TEST_REPORTER_ID: 63d9f072931b3c61d2ed935cc1d2244c7f9766d64a081e6aef1b974356effab7
|
|
17
10
|
docker:
|
|
18
11
|
# specify the version you desire here
|
|
19
12
|
- image: circleci/ruby:2.5
|
|
20
13
|
|
|
21
|
-
# Specify service dependencies here if necessary
|
|
22
|
-
# CircleCI maintains a library of pre-built images
|
|
23
|
-
# documented at https://circleci.com/docs/2.0/circleci-images/
|
|
24
|
-
# - image: circleci/postgres:9.4
|
|
25
|
-
|
|
26
14
|
working_directory: ~/evvnt
|
|
27
15
|
|
|
28
16
|
steps:
|
|
@@ -40,21 +28,25 @@ jobs:
|
|
|
40
28
|
command: |
|
|
41
29
|
bundle install --jobs=4 --retry=3 --path vendor/bundle
|
|
42
30
|
|
|
31
|
+
- run:
|
|
32
|
+
name: Download CodeClimate
|
|
33
|
+
command: curl -L https://codeclimate.com/downloads/test-reporter/test-reporter-latest-linux-amd64 > ./cc-test-reporter
|
|
34
|
+
|
|
35
|
+
- run:
|
|
36
|
+
name: "Change Permissions on CodeClimate"
|
|
37
|
+
command: chmod +x ./cc-test-reporter
|
|
38
|
+
|
|
43
39
|
- save_cache:
|
|
44
40
|
paths:
|
|
45
41
|
- ./vendor/bundle
|
|
46
42
|
key: v1-dependencies-{{ checksum "Gemfile.lock" }}
|
|
47
43
|
|
|
48
44
|
- run:
|
|
49
|
-
name:
|
|
50
|
-
command:
|
|
45
|
+
name: "Prepare CC test reporter"
|
|
46
|
+
command: ./cc-test-reporter before-build
|
|
51
47
|
|
|
52
48
|
# run tests!
|
|
53
49
|
- run:
|
|
54
|
-
pre:
|
|
55
|
-
- ./cc-test-reporter before-build
|
|
56
|
-
post:
|
|
57
|
-
- ./cc-test-reporter after-build --exit-code $EXIT_CODE
|
|
58
50
|
name: Run Rspec
|
|
59
51
|
command: |
|
|
60
52
|
mkdir /tmp/test-results
|
|
@@ -67,12 +59,53 @@ jobs:
|
|
|
67
59
|
$TEST_FILES
|
|
68
60
|
|
|
69
61
|
- run:
|
|
70
|
-
name:
|
|
71
|
-
command:
|
|
62
|
+
name: "Report CodeClimate"
|
|
63
|
+
command: ./cc-test-reporter after-build --exit-code 0
|
|
72
64
|
|
|
73
65
|
# collect reports
|
|
74
66
|
- store_test_results:
|
|
75
67
|
path: /tmp/test-results
|
|
76
68
|
- store_artifacts:
|
|
77
69
|
path: /tmp/test-results
|
|
78
|
-
destination: test-results
|
|
70
|
+
destination: test-results
|
|
71
|
+
audit:
|
|
72
|
+
docker:
|
|
73
|
+
# specify the version you desire here
|
|
74
|
+
- image: circleci/ruby:2.5
|
|
75
|
+
|
|
76
|
+
working_directory: ~/evvnt
|
|
77
|
+
|
|
78
|
+
steps:
|
|
79
|
+
- checkout
|
|
80
|
+
|
|
81
|
+
# Download and cache dependencies
|
|
82
|
+
- restore_cache:
|
|
83
|
+
keys:
|
|
84
|
+
- v1-dependencies-{{ checksum "Gemfile.lock" }}
|
|
85
|
+
# fallback to using the latest cache if no exact match is found
|
|
86
|
+
- v1-dependencies-
|
|
87
|
+
|
|
88
|
+
- run:
|
|
89
|
+
name: install dependencies
|
|
90
|
+
command: |
|
|
91
|
+
bundle install --jobs=4 --retry=3 --path vendor/bundle
|
|
92
|
+
|
|
93
|
+
- save_cache:
|
|
94
|
+
paths:
|
|
95
|
+
- ./vendor/bundle
|
|
96
|
+
key: v1-dependencies-{{ checksum "Gemfile.lock" }}
|
|
97
|
+
|
|
98
|
+
- run:
|
|
99
|
+
name: Bunder Audit
|
|
100
|
+
command: gem install bundle-audit && bundle-audit check --update
|
|
101
|
+
|
|
102
|
+
- run:
|
|
103
|
+
name: Code Style Check
|
|
104
|
+
command: rubocop lib --display-style-guide -c ./.rubocop.yml
|
|
105
|
+
|
|
106
|
+
workflows:
|
|
107
|
+
version: 2
|
|
108
|
+
build_and_audit:
|
|
109
|
+
jobs:
|
|
110
|
+
- build
|
|
111
|
+
- audit
|
data/Gemfile.lock
CHANGED
data/lib/evvnt/version.rb
CHANGED