thefuntasty_danger 0.1.6 → 0.2.0

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.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/Dangerfile +4 -3
  3. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: d665d8d7e90433c6e02e84a19135081dfc84811d4fe79cb6d60f95ddaed85dd3
4
- data.tar.gz: 83d3c7c4880909caa81d1f69d74e353e3a9c508894724d867719428e449aa8c6
3
+ metadata.gz: 59cdac319667f1bc7861ed4623e6cfb91bdced41e6ddd8216f9b94394a9a8e55
4
+ data.tar.gz: adf97e7d462e62ec21704a95122c551f37bdfac49215dff47a4bccbe7fd2b8e0
5
5
  SHA512:
6
- metadata.gz: 8911450b25fbfd75c0970f7be77f8fbd01b1bd7100777be6035f4b39d66633448a110a0def571eb35002d3e0c43e174b0e62ec90b08eee9a43d4c8b94010fbf4
7
- data.tar.gz: 35e0ed8e36c3a467c226374d02abfb21a94ec601bd0f9f9fc0337336632371798486ca14da6deeaeff46f6580bcbac3c57179949698de9a77e2a3ef818c9d3a2
6
+ metadata.gz: 9e351decf32749f00108dd8bd25b9bb586e9be96a815748a83fa1510f0ebd58d2537157a598264095f61b28043057799e206940160359e02a5b7464f56d097ba
7
+ data.tar.gz: 64e95fe5f9aa778104dd629409c357df4be8983b606d95d45656c15aa1360f63537c985f8b227cd27805b12d2c25474a91e89f373786e2df5722d8a0c9b2ced0
data/Dangerfile CHANGED
@@ -46,9 +46,10 @@ end
46
46
  # Check commit messages
47
47
  commit_lint.check warn: :all, disable: [:subject_length]
48
48
 
49
- # Lint Swift files if possible
50
- if File.file?(swiftlint_binary_path) then
51
- swiftlint.binary_path = './Pods/SwiftLint/swiftlint'
49
+ # Run Swiftlint if possible.
50
+ # There is no easier way to check, if danger-swiftlint is installed
51
+ if `gem list -i danger-swiftlint`.strip == "true" then
52
+ swiftlint.binary_path = swiftlint_binary_path if File.file?(swiftlint_binary_path)
52
53
  swiftlint.max_num_violations = 20
53
54
  swiftlint.lint_files inline_mode: true
54
55
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: thefuntasty_danger
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.6
4
+ version: 0.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Matěj Kašpar Jirásek
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-07-11 00:00:00.000000000 Z
11
+ date: 2019-10-18 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: danger