fastlane-plugin-report 0.1.3 → 0.1.4

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: b6a4b9ac144d068e16ff3cf3bd27b5d810464026
4
- data.tar.gz: 80f74a8e65e66ac2e3f03df6abcec84625dea0d1
3
+ metadata.gz: 72d98542d644c6c154cafbf2e0676b4971867d15
4
+ data.tar.gz: 3230df792926c6c29e498369aa6299368a4e608f
5
5
  SHA512:
6
- metadata.gz: a799aa213fd5d51a086ca78c2888f09cbfea9a8593852546999e43a1ad804beacdaa78e971a87ec0bd047d6642e64089e8744e7f303f3eeef5086774df443f06
7
- data.tar.gz: b37439f6091f8d26f3e231a1a78f1bdf862211cfd72c7fea62532b66016c53f57d1688729a77231176d9e7c4918ccf2c7822101db26cad687a119772a73ca5b0
6
+ metadata.gz: 79d333a5c1c9aacb3c0f23965f8027f672950ac01f6056df3ae5177229efc2796478f2013036dcb2102dad02296594cc65bfbbe8a630d399a3ca6d1f4506fa5e
7
+ data.tar.gz: a93e53b41103eafeb70b04b6ad380718dca06227babaa997b61f01f5e58ca24a9e0b0b54b097c9df4a41882ebc04552681b183120ea5cb5551865f7f7f0bdfc8
@@ -13,7 +13,7 @@ module Fastlane
13
13
  config.token = token
14
14
  end
15
15
 
16
- channel = options[:channel] ||= '#channel'
16
+ channel = options[:channels] ||= '#channel'
17
17
  title = options[:title] ||= 'Report!'
18
18
  message = options[:message] ||= 'This is your report.'
19
19
  as_user = options[:as_user] ||= false
@@ -48,8 +48,7 @@ module Fastlane
48
48
  end
49
49
 
50
50
  def self.available_options
51
- [
52
- FastlaneCore::ConfigItem.new(key: :slack_api_token,
51
+ [FastlaneCore::ConfigItem.new(key: :slack_api_token,
53
52
  env_name: "REPORT_SLACK_API_TOKEN",
54
53
  description: "Token of slack rest api. Need to be generated at 'https://api.slack.com'",
55
54
  optional: false,
@@ -57,8 +56,7 @@ module Fastlane
57
56
  verify_block: proc do |value|
58
57
  UI.user_error!("You need to provide a 'slack_api_token' parameter") if value.to_s.length == 0
59
58
  end),
60
-
61
- FastlaneCore::ConfigItem.new(key: :path,
59
+ FastlaneCore::ConfigItem.new(key: :path,
62
60
  env_name: "REPORT_PATH",
63
61
  description: "Relative path to report file (ex. .../report/20170603140211.html)",
64
62
  optional: false,
@@ -66,8 +64,7 @@ module Fastlane
66
64
  verify_block: proc do |value|
67
65
  UI.user_error!("You need to provide a 'path' parameter") if value.to_s.length == 0
68
66
  end),
69
-
70
- FastlaneCore::ConfigItem.new(key: :path_type,
67
+ FastlaneCore::ConfigItem.new(key: :path_type,
71
68
  env_name: "REPORT_PATH_TYPE",
72
69
  description: "Multipart type of your report file (ex. text/html)",
73
70
  optional: false,
@@ -75,8 +72,7 @@ module Fastlane
75
72
  verify_block: proc do |value|
76
73
  UI.user_error!("You need to provide a 'path_type' parameter") if value.to_s.length == 0
77
74
  end),
78
-
79
- FastlaneCore::ConfigItem.new(key: :file_name,
75
+ FastlaneCore::ConfigItem.new(key: :file_name,
80
76
  env_name: "REPORT_FILE_NAME",
81
77
  description: "Name of your file (ex. 20170603140211.html)",
82
78
  optional: false,
@@ -84,26 +80,22 @@ module Fastlane
84
80
  verify_block: proc do |value|
85
81
  UI.user_error!("You need to provide a 'file_name' parameter") if value.to_s.length == 0
86
82
  end),
87
-
88
- FastlaneCore::ConfigItem.new(key: :channels,
83
+ FastlaneCore::ConfigItem.new(key: :channels,
89
84
  env_name: "REPORT_CHANNELS",
90
85
  description: "Selected channels to upload and post your report (default: '#channel')",
91
86
  optional: true,
92
87
  type: String),
93
-
94
- FastlaneCore::ConfigItem.new(key: :as_user,
88
+ FastlaneCore::ConfigItem.new(key: :as_user,
95
89
  env_name: "REPORT_AS_USER",
96
90
  description: "Report will be post as 'Slack API' if false or the user that created the token (default: 'false')",
97
91
  optional: true,
98
92
  type: String),
99
-
100
- FastlaneCore::ConfigItem.new(key: :title,
93
+ FastlaneCore::ConfigItem.new(key: :title,
101
94
  env_name: "REPORT_TITLE",
102
95
  description: "Title that will be shown on Slack (default: 'Report!')",
103
96
  optional: true,
104
97
  type: String),
105
-
106
- FastlaneCore::ConfigItem.new(key: :message,
98
+ FastlaneCore::ConfigItem.new(key: :message,
107
99
  env_name: "REPORT_MESSAGE",
108
100
  description: "Message that will be shown on Slack (default: 'This is your report.')",
109
101
  optional: true,
@@ -1,5 +1,5 @@
1
1
  module Fastlane
2
2
  module Report
3
- VERSION = "0.1.3"
3
+ VERSION = "0.1.4"
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.3
4
+ version: 0.1.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Bruno Miguêns