danger-simplecov_json 0.1.0 → 0.2.0

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: 1e6bc456eab94c34d595981022e381b93d1dd4b7
4
- data.tar.gz: 17262c3681fd74ef13285775ac5635a4ee9af172
3
+ metadata.gz: 860ab04cb6be91c84d6efc2682a41764d9524139
4
+ data.tar.gz: da4719799e6b24d17e5f0adf7fa319a3457c1c0a
5
5
  SHA512:
6
- metadata.gz: eba6f035519df2b6e674ceb6e684d0e142acc023a0ec49efc05de866301d29186061303888024f80aa8bbf6fda9c3c94a540c379d7ee18788a2936918226689f
7
- data.tar.gz: c969a7da112cd9f4db6766bf0ee017cabaf7503c3d067a31798b0fab98ad4cafa339c1d80fcc94566e21dbdc6eed7df71dbcc3ecebedf4a092babf3375463d39
6
+ metadata.gz: 365c646b9f62d310381aa55664c571759450c6d210641192512fa1a47b8bb7eef7b390c3a8fac6cd7a2b9a493f19904702c26f04fecd6648b5cb455f1f4cf13b
7
+ data.tar.gz: 93af78429229becaf74399628f628181b6a5236c687a3645154aa2d9bee96d1504b729b665db8f1d5320d5a4200dfb3b79972716ee3e99e66d7486807f91fc40
data/Gemfile.lock CHANGED
@@ -1,8 +1,8 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- danger-simplecov_json (0.1.0)
5
- danger (~> 2.0)
4
+ danger-simplecov_json (0.2.0)
5
+ danger-plugin-api (~> 1.0)
6
6
 
7
7
  GEM
8
8
  remote: https://rubygems.org/
@@ -18,17 +18,20 @@ GEM
18
18
  colored (1.2)
19
19
  cork (0.2.0)
20
20
  colored (~> 1.2)
21
- danger (2.1.6)
21
+ danger (3.2.1)
22
22
  claide (~> 1.0)
23
23
  claide-plugins (> 0.9.0)
24
24
  colored (~> 1.2)
25
25
  cork (~> 0.1)
26
- faraday (~> 0)
26
+ faraday (~> 0.9)
27
27
  faraday-http-cache (~> 1.0)
28
28
  git (~> 1)
29
+ gitlab (~> 3.7.0)
29
30
  kramdown (~> 1.5)
30
31
  octokit (~> 4.2)
31
32
  terminal-table (~> 1)
33
+ danger-plugin-api (1.0.0)
34
+ danger (> 2.0)
32
35
  diff-lcs (1.2.5)
33
36
  faraday (0.9.2)
34
37
  multipart-post (>= 1.2, < 3)
@@ -37,6 +40,9 @@ GEM
37
40
  ffi (1.9.14)
38
41
  formatador (0.2.5)
39
42
  git (1.3.0)
43
+ gitlab (3.7.0)
44
+ httparty (~> 0.13.0)
45
+ terminal-table
40
46
  guard (2.14.0)
41
47
  formatador (>= 0.2.4)
42
48
  listen (>= 2.7, < 4.0)
@@ -51,12 +57,17 @@ GEM
51
57
  guard (~> 2.1)
52
58
  guard-compat (~> 1.1)
53
59
  rspec (>= 2.99.0, < 4.0)
60
+ httparty (0.13.7)
61
+ json (~> 1.8)
62
+ multi_xml (>= 0.5.2)
63
+ json (1.8.3)
54
64
  kramdown (1.12.0)
55
65
  listen (3.0.7)
56
66
  rb-fsevent (>= 0.9.3)
57
67
  rb-inotify (>= 0.9.7)
58
68
  lumberjack (1.0.10)
59
69
  method_source (0.8.2)
70
+ multi_xml (0.5.5)
60
71
  multipart-post (2.0.0)
61
72
  nap (1.1.0)
62
73
  nenv (0.3.0)
data/README.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # danger-simplecov_json
2
2
 
3
+ [![License](http://img.shields.io/badge/license-MIT-green.svg?style=flat)](LICENSE.txt)
4
+ [![Gem](https://img.shields.io/gem/v/danger-simplecov_json.svg?style=flat)](http://rubygems.org/gems/danger-simplecov_json)
5
+ [![Build Status](https://travis-ci.org/marcelofabri/danger-simplecov_json.svg?branch=master)](https://travis-ci.org/marcelofabri/danger-simplecov_json)
6
+
3
7
  Report your Ruby app test suite code coverage in [Danger](https://github.com/danger/danger).
4
8
 
5
9
  Before using this plugin, you need to setup your project to use [SimpleCov](https://github.com/colszowka/simplecov)
@@ -18,7 +18,7 @@ Gem::Specification.new do |spec|
18
18
  spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
19
19
  spec.require_paths = ['lib']
20
20
 
21
- spec.add_runtime_dependency 'danger', '~> 2.0'
21
+ spec.add_runtime_dependency 'danger-plugin-api', '~> 1.0'
22
22
 
23
23
  # General ruby development
24
24
  spec.add_development_dependency 'bundler', '~> 1.3'
@@ -1,3 +1,3 @@
1
1
  module SimpleCovJson
2
- VERSION = '0.1.0'.freeze
2
+ VERSION = '0.2.0'.freeze
3
3
  end
@@ -12,13 +12,7 @@ module Danger
12
12
  @simplecov = @dangerfile.simplecov
13
13
  end
14
14
 
15
- # Some examples for writing tests
16
- # You should replace these with your own.
17
-
18
15
  it 'Shows code coverage report' do
19
- monday_date = Date.parse('2016-07-11')
20
- allow(Date).to receive(:today).and_return monday_date
21
-
22
16
  @simplecov.report('spec/fixtures/coverage.json')
23
17
 
24
18
  expect(@dangerfile.status_report[:messages]).to eq(['Code coverage is now at 99.15% (1512/1525 lines)'])
metadata CHANGED
@@ -1,29 +1,29 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: danger-simplecov_json
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Marcelo Fabri
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-08-23 00:00:00.000000000 Z
11
+ date: 2016-09-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
- name: danger
14
+ name: danger-plugin-api
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
17
  - - "~>"
18
18
  - !ruby/object:Gem::Version
19
- version: '2.0'
19
+ version: '1.0'
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
24
  - - "~>"
25
25
  - !ruby/object:Gem::Version
26
- version: '2.0'
26
+ version: '1.0'
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: bundler
29
29
  requirement: !ruby/object:Gem::Requirement
@@ -206,4 +206,3 @@ test_files:
206
206
  - spec/fixtures/coverage.json
207
207
  - spec/simplecov_json_spec.rb
208
208
  - spec/spec_helper.rb
209
- has_rdoc: