danger-clorox 2.0.0 → 2.0.1
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/lib/danger_plugin.rb +6 -7
- 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: c73556e7dc166a4c3a0dfa69360daa6d79949541
|
|
4
|
+
data.tar.gz: 170f1afb4921b018920a902714c6b782f527f0a9
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: b48aefe6f435fd6f12a81a49c57b8f3f0f8d7e5312fba02d679e7aed8ea7b615a6f539ccc4686f32bdb04f1e45da96a108e145049c70494a37b145612051ff60
|
|
7
|
+
data.tar.gz: 1d370f0d17c4f7d92184e8e2e9f8ef6e7c784e3f854024db13b43b7f4899d49037393e65d7fc2b62ddf32dff056bdb3594576d421a5903dc174efac2ff1b382c
|
data/lib/danger_plugin.rb
CHANGED
|
@@ -7,12 +7,11 @@ module Danger
|
|
|
7
7
|
#
|
|
8
8
|
# @example Running clorox from current directory
|
|
9
9
|
#
|
|
10
|
-
#
|
|
10
|
+
# clorox.check
|
|
11
11
|
#
|
|
12
12
|
# @example Running clorox from specific directories
|
|
13
13
|
#
|
|
14
|
-
# clorox.
|
|
15
|
-
# clorox.check_files
|
|
14
|
+
# clorox.check ["MyApp", "MyAppTests", "MyAppExtension"]
|
|
16
15
|
#
|
|
17
16
|
# @see barbosa/danger-clorox
|
|
18
17
|
# @tags xcode, clorox, comments
|
|
@@ -25,15 +24,15 @@ module Danger
|
|
|
25
24
|
LEVEL_WARNING = "warning"
|
|
26
25
|
LEVEL_FAILURE = "failure"
|
|
27
26
|
|
|
28
|
-
# Allows you to set a level to the checker
|
|
29
|
-
# Possible values are "warning" and "failure"
|
|
30
|
-
#
|
|
27
|
+
# Allows you to set a level to the checker.
|
|
28
|
+
# Possible values are "warning" and "failure".
|
|
29
|
+
# Defaults to "warning".
|
|
31
30
|
#
|
|
32
31
|
# @return [String]
|
|
33
32
|
attr_accessor :level
|
|
34
33
|
|
|
35
34
|
# Checks presence of file header comments. Will fail if `clorox` cannot be installed correctly.
|
|
36
|
-
# Generates a
|
|
35
|
+
# Generates a list of warnings/failures of your Objective-C and Swift files.
|
|
37
36
|
#
|
|
38
37
|
# @param directories [Array<String>] Directories from where clorox will be run. Defaults to current dir.
|
|
39
38
|
# @return [void]
|
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.1
|
|
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-12 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: danger
|