danger 2.0.0 → 2.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +4 -4
- data/lib/assets/DangerfileTemplate +3 -3
- data/lib/danger/version.rb +1 -1
- metadata +3 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2462871258d80d80ee0a85ef7c159dbf42e2b665
|
4
|
+
data.tar.gz: 36396f398f136931f0e02b56c035ad01f40ccfa1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8018e4545d0bb82cb32c81d711f893d5dc8f03107e8f4f8cc82b59f8985791211e088e3fce61528ee4838afc133b0a24e96db2af604fed1640cb8c98683cf6b7
|
7
|
+
data.tar.gz: e943625c0c8d6215f0cc282f2a5f7b80900e6dd36c416e9c060ec524fa87a5eae71aaebf84fe2f538f3312e43f203e78a1ee50a934de0ff5d53de3f25087cb66
|
data/README.md
CHANGED
@@ -10,7 +10,7 @@ Formalize your Pull Request etiquette.
|
|
10
10
|
<p align="center">
|
11
11
|
<a href="#what-is-danger">What is Danger?</a> •
|
12
12
|
<a href="#im-here-to-help-out">Helping Out</a> •
|
13
|
-
<a href="#tell-me-of-these-plugins">Plugin Development</a>
|
13
|
+
<a href="#tell-me-of-these-plugins">Plugin Development</a>
|
14
14
|
</p>
|
15
15
|
|
16
16
|
-------
|
@@ -74,13 +74,13 @@ I'd strongly recommend using `bundle exec guard` to run your tests as you work.
|
|
74
74
|
Ruby is super dynamic, one of the best ways to debug is by using [pry](http://pryrepl.org/). We include pry for developers, when you have a problem copy these two lines just before your problem and follow the instructions from "[I Want To Be A Danger Wizard](http://danger.systems/guides/troubleshooting.html#i-want-to-be-a-danger-wizard)."
|
75
75
|
|
76
76
|
```ruby
|
77
|
-
|
78
|
-
|
77
|
+
require 'pry'
|
78
|
+
binding.pry
|
79
79
|
```
|
80
80
|
|
81
81
|
## Tell me of these Plugins
|
82
82
|
|
83
|
-
*
|
83
|
+
* Follow the [Creating your first plugin](http://danger.systems/guides/creating_your_first_plugin.html) guide
|
84
84
|
* Talk through the tech specs here
|
85
85
|
|
86
86
|
## License, Contributor's Guidelines and Code of Conduct
|
@@ -1,12 +1,12 @@
|
|
1
1
|
# Sometimes it's a README fix, or something like that - which isn't relevant for
|
2
2
|
# including in a project's CHANGELOG for example
|
3
|
-
declared_trivial = pr_title.include? "#trivial"
|
3
|
+
declared_trivial = github.pr_title.include? "#trivial"
|
4
4
|
|
5
5
|
# Make it more obvious that a PR is a work in progress and shouldn't be merged yet
|
6
|
-
warn("PR is classed as Work in Progress") if pr_title.include? "[WIP]"
|
6
|
+
warn("PR is classed as Work in Progress") if github.pr_title.include? "[WIP]"
|
7
7
|
|
8
8
|
# Warn when there is a big PR
|
9
|
-
warn("Big PR") if lines_of_code > 500
|
9
|
+
warn("Big PR") if git.lines_of_code > 500
|
10
10
|
|
11
11
|
# Don't let testing shortcuts get into master by accident
|
12
12
|
fail("fdescribe left in tests") if `grep -r fdescribe specs/`.length > 1
|
data/lib/danger/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: danger
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.0.
|
4
|
+
version: 2.0.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Orta Therox
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2016-07-
|
12
|
+
date: 2016-07-26 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: claide
|
@@ -305,8 +305,7 @@ dependencies:
|
|
305
305
|
- - "~>"
|
306
306
|
- !ruby/object:Gem::Version
|
307
307
|
version: '1.2'
|
308
|
-
description:
|
309
|
-
to enforce social conventions like changelogs and tests.
|
308
|
+
description: Stop Saying 'You Forgot To…' in Code Review
|
310
309
|
email:
|
311
310
|
- orta.therox@gmail.com
|
312
311
|
- danger@krausefx.com
|