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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: b3d85bedd39a9a80c259bfa7e38ea8a349ada87be932ed7656a3c7f6db72b323
4
- data.tar.gz: f44616a6581f3896d5d0c77e2f32f7fac295d05c82ae6b74a212b23f03711262
3
+ metadata.gz: f84be6bd77fdba862713a2f2acf4745523056a105d4e6b6a5e22071ddd7ce070
4
+ data.tar.gz: 653a551829a466e48e17b4c8f33af5f03fa3f0575b3ef89c6d140b0f9f622fc8
5
5
  SHA512:
6
- metadata.gz: 437f9217ea08393e87ac90ecfd60d340b144e3c32fbf604750c4913f41582f86c9398c0ca9a49b5c34ed7c5ea56edeebede20f5ecb04049cda202ea6c5f68242
7
- data.tar.gz: 57aae7749a49c20d5f6412141d3b5a95cc9665594ff70f3fcb3af443a9a8d2ecc6e32c8785709367e6d7b00709ba92dafeff8a748f9d32abfbb518f1fb0a54af
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: Bunder Audit
50
- command: gem install bundle-audit && bundle-audit check --update
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: Code Style Check
71
- command: rubocop lib --display-style-guide -c ./.rubocop.yml
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
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- evvnt (0.2.2)
4
+ evvnt (0.2.3)
5
5
  activesupport (>= 3.0)
6
6
  httparty (>= 0.16.0)
7
7
  oj
data/lib/evvnt/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Evvnt
2
- VERSION = "0.2.2".freeze
2
+ VERSION = "0.2.3".freeze
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: evvnt
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.2
4
+ version: 0.2.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Bodacious