danger-clorox 2.0.1 → 2.0.2

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: c73556e7dc166a4c3a0dfa69360daa6d79949541
4
- data.tar.gz: 170f1afb4921b018920a902714c6b782f527f0a9
3
+ metadata.gz: e2a4f3045fa0830b8097593ed963840657a9f704
4
+ data.tar.gz: 32da075663985f75c0b167e24391c117157fd022
5
5
  SHA512:
6
- metadata.gz: b48aefe6f435fd6f12a81a49c57b8f3f0f8d7e5312fba02d679e7aed8ea7b615a6f539ccc4686f32bdb04f1e45da96a108e145049c70494a37b145612051ff60
7
- data.tar.gz: 1d370f0d17c4f7d92184e8e2e9f8ef6e7c784e3f854024db13b43b7f4899d49037393e65d7fc2b62ddf32dff056bdb3594576d421a5903dc174efac2ff1b382c
6
+ metadata.gz: f1b4af4d68f43ed7bf87fd7004ea6ae51cf6f7b50576fd514b9f449fa31c270033a9c837ef0202f522754ae7a57a6e61e458f8ee2afa78de3ab23501dc98fd21
7
+ data.tar.gz: 35c1e57dce385730d924ad36f6ad77e4df7c40e2faa98700f3a5f60ed16761dbc57300d7b2ef0c93eb1470aa721473a865798eff2eee4275ebed8775e7ea067f
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- danger-clorox (2.0.0)
4
+ danger-clorox (2.0.2)
5
5
  danger
6
6
 
7
7
  GEM
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/).
@@ -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?
@@ -1,3 +1,3 @@
1
1
  module DangerClorox
2
- VERSION = "2.0.1".freeze
2
+ VERSION = "2.0.2".freeze
3
3
  end
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.1
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-12 00:00:00.000000000 Z
11
+ date: 2016-11-17 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: danger