netsoft-danger 0.4.0 → 0.4.1

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
  SHA256:
3
- metadata.gz: 456103b5d2e1de2010b9b7872ad35e05dd9280ccf2895626362750a5024abaa6
4
- data.tar.gz: c57c9638ae3d747d64dfeb492ca75e68b6380d63b7f4bef38d2d90d6af9a37c8
3
+ metadata.gz: fcfd333d4519f53c80314f58b040775856c3627fa4a57c92acf1adbe238d5733
4
+ data.tar.gz: 53aa6366cd8561319ff2abbd1e5a43f52c44494970513218c29191781836b888
5
5
  SHA512:
6
- metadata.gz: 12e7f27cd942a9bb9d9c425fc1ecbdca8a443076dabdb51a9770577ff67441bd2612b16a16d700bfd6f3e18e7ff2273b7a7105af1b56a0356b67bf5374451c65
7
- data.tar.gz: 992cc446f38681c82f12b8d1191df42872717c84512c9185939f1ee5671d9099d0871592d936214e797e0e9f09cf6cc0f08eb2208b97946006ad20e2e78e8f1f
6
+ metadata.gz: 7ec62cf7496cacbc3300baf78b4290965aebf0e62416127e452f21d7defdd7a2980a0a99c8c75efe3af5d6ee7241352970bd53d5ece05cc6e8691e4e8a4e5000
7
+ data.tar.gz: 531ec01629606b9892557c82e5a50883cb6ad150ef62a174c2ced4e361834a80a041ab41e5b0730dfbcd72a6ad6b103d630bdbea9a5999987bea4234ffe41935
@@ -9,6 +9,11 @@ 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.1]
13
+ ### Changed
14
+ - exclude binary files in the grep calls
15
+ - make PR base ~= master a hard error
16
+
12
17
  ## [0.4.0]
13
18
  ### Fixed
14
19
  - correct simplecov merge on newer simplecov release
data/Dangerfile CHANGED
@@ -14,11 +14,11 @@ end
14
14
 
15
15
  # Don't let testing shortcuts get into master by accident
16
16
  if Dir.exist?('spec')
17
- fail('fdescribe left in tests') if `grep -r -e '\\bfdescribe\\b' spec/ |grep -v 'danger ok' `.length > 1
18
- fail('fcontext left in tests') if `grep -r -e '\\bfcontext\\b' spec/ |grep -v 'danger ok' `.length > 1
19
- fail('fit left in tests') if `grep -r -e '\\bfit\\b' spec/ | grep -v 'danger ok' `.length > 1
20
- fail('ap left in tests') if `grep -r -e '\\bap\\b' spec/ | grep -v 'danger ok' `.length > 1
21
- fail('puts left in tests') if `grep -r -e '\\bputs\\b' spec/ | grep -v 'danger ok' `.length > 1
17
+ fail('fdescribe left in tests') if `grep -r -I -e '\\bfdescribe\\b' spec/ |grep -v 'danger ok' `.length > 1
18
+ fail('fcontext left in tests') if `grep -r -I -e '\\bfcontext\\b' spec/ |grep -v 'danger ok' `.length > 1
19
+ fail('fit left in tests') if `grep -r -I -e '\\bfit\\b' spec/ | grep -v 'danger ok' `.length > 1
20
+ fail('ap left in tests') if `grep -r -I -e '\\bap\\b' spec/ | grep -v 'danger ok' `.length > 1
21
+ fail('puts left in tests') if `grep -r -I -e '\\bputs\\b' spec/ | grep -v 'danger ok' `.length > 1
22
22
  end
23
23
 
24
24
  if File.exist?('Gemfile')
@@ -28,7 +28,7 @@ if (!labels.includes('QA passed')) {
28
28
  }
29
29
 
30
30
  if (!danger.github.pr.base.ref.includes('master')) {
31
- warn("PR base is not set to master!");
31
+ fail("PR base is not set to master!");
32
32
  }
33
33
 
34
34
  // Warn when there is a big PR
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module NetsoftDanger
4
- VERSION = '0.4.0'
4
+ VERSION = '0.4.1'
5
5
  end
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.0
4
+ version: 0.4.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - urkle
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-08-18 00:00:00.000000000 Z
11
+ date: 2020-11-18 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: danger