fastlane-plugin-report 0.1.7 → 0.1.8
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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 7384208dc04eeba96e09af7f6237ecb95ac57a98
|
4
|
+
data.tar.gz: '0666901e5e4d09ecd57deefa6f178bf2030d6353'
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 128eaafede7e4a11f8db2c598823537bc6800258d1e9d86298bfbbcfa27ea30fa31434fdc0c99891c1515dc9cded25a091b8dc6fa033203dd8ba595422502fca
|
7
|
+
data.tar.gz: f994cdf3494be10285a63d039e8e565acf7ce18f7c743b4437ed48308b915d5046a9c2f69255435cc350c5e8e6a0ad4a47c0a33095efeea3dc3b92f4881154c6
|
@@ -16,7 +16,6 @@ module Fastlane
|
|
16
16
|
channel = options[:channels] ||= '#channel'
|
17
17
|
title = options[:title] ||= 'Report!'
|
18
18
|
message = options[:message] ||= 'This is your report.'
|
19
|
-
as_user = options[:as_user] ||= false
|
20
19
|
|
21
20
|
path = options[:path]
|
22
21
|
path_type = options[:path_type]
|
@@ -30,7 +29,7 @@ module Fastlane
|
|
30
29
|
client = Slack::Web::Client.new
|
31
30
|
client.files_upload(
|
32
31
|
channels: channel,
|
33
|
-
as_user:
|
32
|
+
as_user: false,
|
34
33
|
file: Faraday::UploadIO.new(path, path_type),
|
35
34
|
title: title,
|
36
35
|
filename: file_name,
|
@@ -77,7 +76,7 @@ module Fastlane
|
|
77
76
|
else
|
78
77
|
return path
|
79
78
|
end
|
80
|
-
|
79
|
+
|
81
80
|
end
|
82
81
|
|
83
82
|
def self.description
|
@@ -129,11 +128,6 @@ module Fastlane
|
|
129
128
|
description: "Selected channels to upload and post your report (default: '#channel')",
|
130
129
|
optional: true,
|
131
130
|
type: String),
|
132
|
-
FastlaneCore::ConfigItem.new(key: :as_user,
|
133
|
-
env_name: "REPORT_AS_USER",
|
134
|
-
description: "Report will be post as 'Slack API' if false or the user that created the token (default: 'false')",
|
135
|
-
optional: true,
|
136
|
-
type: TrueClass),
|
137
131
|
FastlaneCore::ConfigItem.new(key: :title,
|
138
132
|
env_name: "REPORT_TITLE",
|
139
133
|
description: "Title that will be shown on Slack (default: 'Report!')",
|