danger-rcov 1.0.2 → 1.0.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: fc9bb768c8f89f33d294bd4bd1b83c025821494511866b9866842b805a7c28b2
4
- data.tar.gz: 041d9a40c9bfa642455924e2d2a4e45f335b783a7e747cbbdf49b5ae512ba424
3
+ metadata.gz: f61c224236077f6ceb4c84c5293b0f91fb8d1362137702e4a145eb2433448ea1
4
+ data.tar.gz: e45d2f1b43d841062d29310a319f7938fee4d715e004d0c8fefd43b6c1d9e00c
5
5
  SHA512:
6
- metadata.gz: f14f4276cfd30037c26eafcfd19aa04f3158914b685ed156847026e7777554d83e596f809fc61a3a5daa8851ec444d8b3036fed731f4800b5413793bbf6a8d47
7
- data.tar.gz: 9ef2e81f72588c3b60464a5d9fc894a2f749237e34b557da10a36069270270817cb22b8d039dd4c0978d0f614e043f6a5753f706e281fa28588fd70b49a6edc4
6
+ metadata.gz: ec7283f4190c8667b0d7a2a5f279207b9ee54900eddd0f6354127a0d11973046a4a086aeba0ebf1af6d636a2f121446a4042da11db38624e0a6a05f1459c08b9
7
+ data.tar.gz: f1f5f3e31f9bb0e1569f4e9c6623e75e9f88ad418c4aec7f5d9aac5036d627bd6dbefc51bc9b27254019166d1aac261e8cee2a5ca06b5f78de3ce5cf67582694
@@ -47,7 +47,20 @@ jobs:
47
47
  - run:
48
48
  name: Run Danger
49
49
  command: bundle exec danger
50
- # - run:
51
- # name: build and upload gem to rubygems
52
- # command: |-
53
- # gem build danger-rcov.gemspec
50
+ - run:
51
+ name: Execute Rspec Tests
52
+ command: |
53
+ git config --global user.email "guiferrpereira@gmail.com"
54
+ git config --global user.name "Guilherme Pereira"
55
+ - run:
56
+ name: Run gem build and push
57
+ command: |-
58
+ if [ "${CIRCLE_BRANCH}" == "feature/EDG-2903" ]; then
59
+ gem install gem-release --no-document
60
+ gem bump --skip-ci
61
+ git remote set-url --push origin https://guiferrpereira:${EDGE_GITHUB_API_TOKEN}@github.com/EdgePetrol/danger-rcov.git
62
+ git push --set-upstream origin ${CIRCLE_BRANCH}
63
+ GEM_VERSION=$(gem build | awk '/File/ {print $2}')
64
+ echo "Uploading gem version: $GEM_VERSION"
65
+ curl -X POST https://rubygems.org/api/v1/gems -H "Authorization:${RUBY_GEMS_API_TOKEN}" -H "Content-Type: application/gem" --data-binary "@${GEM_VERSION}"
66
+ fi
@@ -0,0 +1,2 @@
1
+ bump:
2
+ file: lib/rcov/gem_version.rb
data/.gitignore CHANGED
@@ -2,4 +2,6 @@
2
2
  pkg
3
3
  .idea/
4
4
  .yardoc
5
- coverage/
5
+ coverage/
6
+ vendor/
7
+ Gemfile.lock
@@ -13,6 +13,7 @@ Gem::Specification.new do |spec|
13
13
  spec.summary = %(Plugin that allows code coverage print)
14
14
  spec.homepage = 'https://github.com/EdgePetrol/danger-rcov'
15
15
  spec.license = 'MIT'
16
+ spec.required_ruby_version = '>= 2.4.0'
16
17
 
17
18
  spec.files = `git ls-files`.split($/)
18
19
  spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Rcov
4
- VERSION = '1.0.2'
4
+ VERSION = '1.0.3'
5
5
  end
metadata CHANGED
@@ -1,11 +1,11 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: danger-rcov
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.2
4
+ version: 1.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Guilherme Pereira
8
- autorequire:
8
+ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
11
  date: 2020-08-19 00:00:00.000000000 Z
@@ -186,12 +186,12 @@ extensions: []
186
186
  extra_rdoc_files: []
187
187
  files:
188
188
  - ".circleci/config.yml"
189
+ - ".gem_release.yml"
189
190
  - ".gitignore"
190
191
  - ".rubocop.yml"
191
192
  - ".travis.yml"
192
193
  - Dangerfile
193
194
  - Gemfile
194
- - Gemfile.lock
195
195
  - Guardfile
196
196
  - LICENSE.txt
197
197
  - README.md
@@ -211,7 +211,7 @@ homepage: https://github.com/EdgePetrol/danger-rcov
211
211
  licenses:
212
212
  - MIT
213
213
  metadata: {}
214
- post_install_message:
214
+ post_install_message:
215
215
  rdoc_options: []
216
216
  require_paths:
217
217
  - lib
@@ -219,7 +219,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
219
219
  requirements:
220
220
  - - ">="
221
221
  - !ruby/object:Gem::Version
222
- version: '0'
222
+ version: 2.4.0
223
223
  required_rubygems_version: !ruby/object:Gem::Requirement
224
224
  requirements:
225
225
  - - ">="
@@ -227,7 +227,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
227
227
  version: '0'
228
228
  requirements: []
229
229
  rubygems_version: 3.1.2
230
- signing_key:
230
+ signing_key:
231
231
  specification_version: 4
232
232
  summary: Plugin that allows code coverage print
233
233
  test_files:
@@ -1,157 +0,0 @@
1
- PATH
2
- remote: .
3
- specs:
4
- danger-rcov (1.0.1)
5
- danger-plugin-api (~> 1.0)
6
-
7
- GEM
8
- remote: https://rubygems.org/
9
- specs:
10
- addressable (2.7.0)
11
- public_suffix (>= 2.0.2, < 5.0)
12
- ast (2.4.0)
13
- claide (1.0.3)
14
- claide-plugins (0.9.2)
15
- cork
16
- nap
17
- open4 (~> 1.3)
18
- coderay (1.1.3)
19
- colored2 (3.1.2)
20
- cork (0.3.0)
21
- colored2 (~> 3.1)
22
- danger (8.0.4)
23
- claide (~> 1.0)
24
- claide-plugins (>= 0.9.2)
25
- colored2 (~> 3.1)
26
- cork (~> 0.1)
27
- faraday (>= 0.9.0, < 2.0)
28
- faraday-http-cache (~> 2.0)
29
- git (~> 1.7)
30
- kramdown (~> 2.0)
31
- kramdown-parser-gfm (~> 1.0)
32
- no_proxy_fix
33
- octokit (~> 4.7)
34
- terminal-table (~> 1)
35
- danger-plugin-api (1.0.0)
36
- danger (> 2.0)
37
- diff-lcs (1.3)
38
- docile (1.3.2)
39
- faraday (1.0.1)
40
- multipart-post (>= 1.2, < 3)
41
- faraday-http-cache (2.2.0)
42
- faraday (>= 0.8)
43
- ffi (1.13.0)
44
- formatador (0.2.5)
45
- git (1.7.0)
46
- rchardet (~> 1.8)
47
- guard (2.16.2)
48
- formatador (>= 0.2.4)
49
- listen (>= 2.7, < 4.0)
50
- lumberjack (>= 1.0.12, < 2.0)
51
- nenv (~> 0.1)
52
- notiffany (~> 0.0)
53
- pry (>= 0.9.12)
54
- shellany (~> 0.0)
55
- thor (>= 0.18.1)
56
- guard-compat (1.2.1)
57
- guard-rspec (4.7.3)
58
- guard (~> 2.1)
59
- guard-compat (~> 1.1)
60
- rspec (>= 2.99.0, < 4.0)
61
- json (2.3.1)
62
- kramdown (2.3.0)
63
- rexml
64
- kramdown-parser-gfm (1.1.0)
65
- kramdown (~> 2.0)
66
- listen (3.0.7)
67
- rb-fsevent (>= 0.9.3)
68
- rb-inotify (>= 0.9.7)
69
- lumberjack (1.2.5)
70
- method_source (1.0.0)
71
- multipart-post (2.1.1)
72
- nap (1.1.0)
73
- nenv (0.3.0)
74
- no_proxy_fix (0.1.2)
75
- notiffany (0.1.3)
76
- nenv (~> 0.1)
77
- shellany (~> 0.0)
78
- octokit (4.18.0)
79
- faraday (>= 0.9)
80
- sawyer (~> 0.8.0, >= 0.5.3)
81
- open4 (1.3.4)
82
- parallel (1.19.1)
83
- parser (2.7.1.3)
84
- ast (~> 2.4.0)
85
- pry (0.13.1)
86
- coderay (~> 1.1)
87
- method_source (~> 1.0)
88
- public_suffix (4.0.5)
89
- rainbow (3.0.0)
90
- rake (12.3.3)
91
- rb-fsevent (0.10.4)
92
- rb-inotify (0.10.1)
93
- ffi (~> 1.0)
94
- rchardet (1.8.0)
95
- regexp_parser (1.7.1)
96
- rexml (3.2.4)
97
- rspec (3.9.0)
98
- rspec-core (~> 3.9.0)
99
- rspec-expectations (~> 3.9.0)
100
- rspec-mocks (~> 3.9.0)
101
- rspec-core (3.9.2)
102
- rspec-support (~> 3.9.3)
103
- rspec-expectations (3.9.2)
104
- diff-lcs (>= 1.2.0, < 2.0)
105
- rspec-support (~> 3.9.0)
106
- rspec-mocks (3.9.1)
107
- diff-lcs (>= 1.2.0, < 2.0)
108
- rspec-support (~> 3.9.0)
109
- rspec-support (3.9.3)
110
- rubocop (0.85.1)
111
- parallel (~> 1.10)
112
- parser (>= 2.7.0.1)
113
- rainbow (>= 2.2.2, < 4.0)
114
- regexp_parser (>= 1.7)
115
- rexml
116
- rubocop-ast (>= 0.0.3)
117
- ruby-progressbar (~> 1.7)
118
- unicode-display_width (>= 1.4.0, < 2.0)
119
- rubocop-ast (0.0.3)
120
- parser (>= 2.7.0.1)
121
- ruby-progressbar (1.10.1)
122
- sawyer (0.8.2)
123
- addressable (>= 2.3.5)
124
- faraday (> 0.8, < 2.0)
125
- shellany (0.0.1)
126
- simplecov (0.19.0)
127
- docile (~> 1.1)
128
- simplecov-html (~> 0.11)
129
- simplecov-html (0.12.2)
130
- simplecov-json (0.2.1)
131
- json
132
- simplecov
133
- terminal-table (1.8.0)
134
- unicode-display_width (~> 1.1, >= 1.1.1)
135
- thor (1.0.1)
136
- unicode-display_width (1.7.0)
137
- yard (0.9.25)
138
-
139
- PLATFORMS
140
- ruby
141
-
142
- DEPENDENCIES
143
- bundler (~> 2.1)
144
- danger-rcov!
145
- guard (~> 2.14)
146
- guard-rspec (~> 4.7)
147
- listen (= 3.0.7)
148
- pry
149
- rake (~> 12.3)
150
- rspec (~> 3.4)
151
- rubocop
152
- simplecov
153
- simplecov-json
154
- yard
155
-
156
- BUNDLED WITH
157
- 2.1.4