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: 2242398ba33a7ee97628110eb2d771f117d00447
4
- data.tar.gz: a9d6ea1b4c156acb601823699b929bb399f45125
3
+ metadata.gz: 7384208dc04eeba96e09af7f6237ecb95ac57a98
4
+ data.tar.gz: '0666901e5e4d09ecd57deefa6f178bf2030d6353'
5
5
  SHA512:
6
- metadata.gz: '08e18f972c66bc72355e71ffd7f112b3b2db6b9590604c1bd911bbf373df77171bec50fa6882a2b066ecc9d1effda447e0a60ea3c76fb1d635b2a58dba6cb52c'
7
- data.tar.gz: 9b70d3165851c91aa203711f5ed21d7f235b48ddc908dfe466a5169c4d1e5bff644d093e654004cccc16e5e96d252ac2bc1180697de0680a2652b89a3c5789cd
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: 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!')",
@@ -1,5 +1,5 @@
1
1
  module Fastlane
2
2
  module Report
3
- VERSION = "0.1.7"
3
+ VERSION = "0.1.8"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fastlane-plugin-report
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.7
4
+ version: 0.1.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - Bruno Miguêns