fastlane-plugin-menigit 1.0.0 → 1.0.1
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
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 8da129f2e009201985ca4a4df8c17c5395e995e7e617e89769819e89bc669189
|
4
|
+
data.tar.gz: df23cd20c4b96aba9e5218ce75ce395662f0a2ee9c63b9313c106681285b2a56
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 314e2650f49040f7b0111d3fd370b1d46460ce4e0e77543130eecbf10875a18a7eb25e102e15833aacabe8f4d53ca1604dca5ecc45e8ec116d4bbcd04714d206
|
7
|
+
data.tar.gz: 4a7187c1e533992ec611f9c53dc4ba9c23c2e67db4fb1bdd16241eb7d5020a9143ef44bc61726d200328977b1d9f00ccd8822ade0f908499115bc0abd7f8406b
|
@@ -10,7 +10,8 @@ module Fastlane
|
|
10
10
|
if no_changes
|
11
11
|
UI.success("Git diff for #{path} is clean, all good! 💪")
|
12
12
|
else
|
13
|
-
error_message =
|
13
|
+
error_message = params[:error_message]
|
14
|
+
error_message ||= "Git diff for #{path} is dirty! Please ensure the repo is in a clean state by committing/stashing/discarding all changes first."
|
14
15
|
if params[:show_diff]
|
15
16
|
error_message += "\nGit diff:\n#{git_diff}"
|
16
17
|
end
|
@@ -34,7 +35,12 @@ module Fastlane
|
|
34
35
|
description: "The flag whether to show the git diff if the repo is dirty",
|
35
36
|
optional: true,
|
36
37
|
default_value: false,
|
37
|
-
type: Boolean)
|
38
|
+
type: Boolean),
|
39
|
+
FastlaneCore::ConfigItem.new(key: :error_message,
|
40
|
+
env_name: "ENSURE_NO_CHANGES_ERROR_MESSAGE",
|
41
|
+
description: "Error message that will be show instead of default one based on path",
|
42
|
+
optional: true,
|
43
|
+
type: String)
|
38
44
|
]
|
39
45
|
end
|
40
46
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: fastlane-plugin-menigit
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Meniga
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-
|
11
|
+
date: 2020-04-22 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: pry
|