netsoft-danger 0.3.9 → 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 +4 -0
- data/Dangerfile +1 -1
- data/bin/netsoft-circle +1 -1
- data/lib/netsoft-danger/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: 456103b5d2e1de2010b9b7872ad35e05dd9280ccf2895626362750a5024abaa6
|
4
|
+
data.tar.gz: c57c9638ae3d747d64dfeb492ca75e68b6380d63b7f4bef38d2d90d6af9a37c8
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 12e7f27cd942a9bb9d9c425fc1ecbdca8a443076dabdb51a9770577ff67441bd2612b16a16d700bfd6f3e18e7ff2273b7a7105af1b56a0356b67bf5374451c65
|
7
|
+
data.tar.gz: 992cc446f38681c82f12b8d1191df42872717c84512c9185939f1ee5671d9099d0871592d936214e797e0e9f09cf6cc0f08eb2208b97946006ad20e2e78e8f1f
|
data/CHANGELOG.md
CHANGED
@@ -9,6 +9,10 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
|
|
9
9
|
### Changed
|
10
10
|
### Fixed
|
11
11
|
|
12
|
+
## [0.4.0]
|
13
|
+
### Fixed
|
14
|
+
- correct simplecov merge on newer simplecov release
|
15
|
+
|
12
16
|
## [0.3.9]
|
13
17
|
### Fixed
|
14
18
|
- correct API call to github for adding labels and fix logic in determining if we should or should not add the label
|
data/Dangerfile
CHANGED
@@ -4,7 +4,7 @@ def toggle_label(github, label, should_set)
|
|
4
4
|
repo_name = github.pr_json['head']['repo']['full_name']
|
5
5
|
pr_number = github.pr_json['number']
|
6
6
|
has_label = github.pr_labels.include?(label)
|
7
|
-
|
7
|
+
|
8
8
|
if should_set && !has_label
|
9
9
|
github.api.add_labels_to_an_issue(repo_name, pr_number, [label])
|
10
10
|
elsif !should_set && has_label
|
data/bin/netsoft-circle
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: netsoft-danger
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.4.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- urkle
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-
|
11
|
+
date: 2020-08-18 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: danger
|