thefuntasty_danger 0.7.0 → 0.8.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.
- checksums.yaml +4 -4
- data/Dangerfile +15 -4
- metadata +5 -5
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 1f4aef1bc2430be38698790856dc000f9e22ec8682f9dfc06c92cf984d89f023
|
|
4
|
+
data.tar.gz: bd505eccaddac24140385c5dabacde9740c289b07a647aea33e4735061441611
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 4a4b8ee3612db2664d76f5a91ec30cc68b84107e6178e76d814f0632a3cedfeafb3dd3bd37f8cd3a2123cead19614bc59cc2e1a8e642c30c36b646a8d3480673
|
|
7
|
+
data.tar.gz: a9962a259dd38bef903ebcf05da3869b17cbc742b1c190cd9cb907eb04e98312533d222e0d0d2d52c6f5c159339973f3f4ae6c7865f5ff48bf1ee813354b0c6b
|
data/Dangerfile
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
jira_link = "https://thefuntasty.atlassian.net/browse/"
|
|
3
3
|
max_pr_length = 500
|
|
4
4
|
swiftlint_binary_path = './Pods/SwiftLint/swiftlint'
|
|
5
|
-
|
|
5
|
+
dependency_configuration_files = ['Package.swift', 'Package.resolved', 'Podfile', 'Cartfile']
|
|
6
6
|
|
|
7
7
|
# Regular expressions for PR title and branch
|
|
8
8
|
pr_title_pattern = /^([A-Z]{2,}-\d+)\s\w{2,}/
|
|
@@ -57,8 +57,19 @@ if `gem list -i danger-swiftlint`.strip == "true" then
|
|
|
57
57
|
end
|
|
58
58
|
|
|
59
59
|
# Send iOS build results if possible
|
|
60
|
-
|
|
61
|
-
|
|
60
|
+
xcresult_file = Dir["fastlane/test_output/*.xcresult"].first
|
|
61
|
+
if File.exist? xcresult_file then
|
|
62
|
+
xcode_summary.ignored_files = 'Pods/**'
|
|
62
63
|
xcode_summary.inline_mode = true
|
|
63
|
-
xcode_summary.report
|
|
64
|
+
xcode_summary.report xcresult_file
|
|
65
|
+
end
|
|
66
|
+
|
|
67
|
+
# Warn about documenting dependency changes
|
|
68
|
+
modified_dependencies = git.modified_files.any? { |path|
|
|
69
|
+
dependency_configuration_files.any? { |config|
|
|
70
|
+
path.end_with? config
|
|
71
|
+
}
|
|
72
|
+
}
|
|
73
|
+
if !git.modified_files.include?("README.md") and modified_dependencies then
|
|
74
|
+
warn("README.md should be updated when dependencies are changed.")
|
|
64
75
|
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.
|
|
4
|
+
version: 0.8.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:
|
|
11
|
+
date: 2022-01-24 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: danger
|
|
@@ -44,14 +44,14 @@ dependencies:
|
|
|
44
44
|
requirements:
|
|
45
45
|
- - "~>"
|
|
46
46
|
- !ruby/object:Gem::Version
|
|
47
|
-
version: '
|
|
47
|
+
version: '1'
|
|
48
48
|
type: :runtime
|
|
49
49
|
prerelease: false
|
|
50
50
|
version_requirements: !ruby/object:Gem::Requirement
|
|
51
51
|
requirements:
|
|
52
52
|
- - "~>"
|
|
53
53
|
- !ruby/object:Gem::Version
|
|
54
|
-
version: '
|
|
54
|
+
version: '1'
|
|
55
55
|
- !ruby/object:Gem::Dependency
|
|
56
56
|
name: danger-swiftlint
|
|
57
57
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -93,7 +93,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
93
93
|
- !ruby/object:Gem::Version
|
|
94
94
|
version: '0'
|
|
95
95
|
requirements: []
|
|
96
|
-
rubygems_version: 3.
|
|
96
|
+
rubygems_version: 3.2.22
|
|
97
97
|
signing_key:
|
|
98
98
|
specification_version: 4
|
|
99
99
|
summary: The Danger rules we use at Futured
|