danger-clorox 2.0.1 → 2.0.2
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 +4 -4
- data/Gemfile.lock +1 -1
- data/README.md +35 -0
- data/lib/danger_plugin.rb +1 -1
- data/lib/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: e2a4f3045fa0830b8097593ed963840657a9f704
|
|
4
|
+
data.tar.gz: 32da075663985f75c0b167e24391c117157fd022
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: f1b4af4d68f43ed7bf87fd7004ea6ae51cf6f7b50576fd514b9f449fa31c270033a9c837ef0202f522754ae7a57a6e61e458f8ee2afa78de3ab23501dc98fd21
|
|
7
|
+
data.tar.gz: 35c1e57dce385730d924ad36f6ad77e4df7c40e2faa98700f3a5f60ed16761dbc57300d7b2ef0c93eb1470aa721473a865798eff2eee4275ebed8775e7ea067f
|
data/Gemfile.lock
CHANGED
data/README.md
CHANGED
|
@@ -4,6 +4,20 @@
|
|
|
4
4
|
|
|
5
5
|
A [Danger](https://github.com/danger/danger) plugin for [Clorox](https://github.com/barbosa/clorox) that runs on macOS.
|
|
6
6
|
|
|
7
|
+
```diff
|
|
8
|
+
+//
|
|
9
|
+
+// DirtyFile.swift
|
|
10
|
+
+// MyApp
|
|
11
|
+
+//
|
|
12
|
+
+// Created by John Appleseed on 11/12/16.
|
|
13
|
+
+// Copyright © 2016 ACME. All rights reserved.
|
|
14
|
+
+//
|
|
15
|
+
+
|
|
16
|
+
+import Foundation
|
|
17
|
+
```
|
|
18
|
+
|
|
19
|
+
:scream:
|
|
20
|
+
|
|
7
21
|
## Installation
|
|
8
22
|
|
|
9
23
|
Add this line to your Gemfile:
|
|
@@ -34,6 +48,27 @@ clorox.level = "failure"
|
|
|
34
48
|
clorox.check ["YourProject", "YourProjectNotificationExtension"]
|
|
35
49
|
```
|
|
36
50
|
|
|
51
|
+
### Output
|
|
52
|
+
|
|
53
|
+
<table>
|
|
54
|
+
<thead>
|
|
55
|
+
<tr>
|
|
56
|
+
<th width="50"></th>
|
|
57
|
+
<th width="100%" data-danger-table="true" data-kind="Error">
|
|
58
|
+
1 Error
|
|
59
|
+
</th>
|
|
60
|
+
</tr>
|
|
61
|
+
</thead>
|
|
62
|
+
<tbody>
|
|
63
|
+
|
|
64
|
+
<tr>
|
|
65
|
+
<td>:no_entry_sign:</td>
|
|
66
|
+
<td data-sticky="false">MyApp/Source/DirtyFile.swift contains Xcode's file header</td>
|
|
67
|
+
</tr>
|
|
68
|
+
</tbody>
|
|
69
|
+
</table>
|
|
70
|
+
<table>
|
|
71
|
+
|
|
37
72
|
## Attribution
|
|
38
73
|
|
|
39
74
|
Original structure, sequence, and organization of repo taken from [danger-prose](https://github.com/dbgrandi/danger-prose) by [David Grandinetti](https://github.com/dbgrandi/) and [danger-swiftlint](https://github.com/ashfurrow/danger-swiftlint) by [Ash Furrow](https://github.com/ashfurrow/).
|
data/lib/danger_plugin.rb
CHANGED
|
@@ -39,7 +39,7 @@ module Danger
|
|
|
39
39
|
#
|
|
40
40
|
def check(directories=["."])
|
|
41
41
|
# Installs clorox if needed
|
|
42
|
-
system "pip install --target #{ROOT_DIR} clorox" unless clorox_installed?
|
|
42
|
+
system "pip install --target #{ROOT_DIR} clorox --upgrade" unless clorox_installed?
|
|
43
43
|
|
|
44
44
|
# Check that this is in the user's PATH after installing
|
|
45
45
|
unless clorox_installed?
|
data/lib/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: danger-clorox
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 2.0.
|
|
4
|
+
version: 2.0.2
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Gustavo Barbosa
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2016-11-
|
|
11
|
+
date: 2016-11-17 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: danger
|