fastlane-plugin-fir_cli 2.0.15 → 2.0.15.1

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: d94cf0edd1607216198d47e463e9059a4f7c4f334806d98479fe99ebade083c7
4
- data.tar.gz: 0d0d9458bcf2faf2a53b730882cffb4291e096f76f19b872136a9dc13e0b4eb5
3
+ metadata.gz: a55bf584cbce8bf81f80a91bf7e8a84748493290193c14947f5a574767f23a53
4
+ data.tar.gz: 97a9b161af75217e1ca816a9b47fcf1f14dbb495273a95c83110c023f365d4ad
5
5
  SHA512:
6
- metadata.gz: aaf8942572e02897401ae2642bbd68b68d60a4c47e535cce2f46ef21998dcf3dce402fe909b2b04041e0edffbf9ae2bb8d6413bbc21e3ae9d520fadd74524a4e
7
- data.tar.gz: 5b4eaef02128a4d54eae77c8dca3e61373fb6119f1548a7bf915cf01a3f608b73e5bcd91526c1ee94c09201109184a61353bfeed0c9d9535f78c7aea1806111e
6
+ metadata.gz: aa85cc69f656e207899015a76da6d955e3a18e1b15e9fd1cda88001ba1fb40d8d3a77b6ce7387e5b69d70de78f5f0e01f7d18cbbfc14b22a8234ac5a2d940e2e
7
+ data.tar.gz: 20719bc231f8e88327fbb42d0c117404c1d29c11c58bb9a4de1320a740832bb6813fecd9b63a3154b7bbb5d9a4c450df3e1dd73ddcabfbd304e7402005e31ad7
@@ -1,12 +1,11 @@
1
- require 'fastlane/action'
2
- require 'fir'
1
+ require "fastlane/action"
2
+ require "fir"
3
3
  # require 'byebug'
4
- require_relative '../helper/fir_cli_helper'
4
+ require_relative "../helper/fir_cli_helper"
5
5
 
6
6
  module Fastlane
7
7
  module Actions
8
8
  class FirCliAction < Action
9
-
10
9
  def self.run(params)
11
10
  UI.message("The fir_cli plugin is working!")
12
11
 
@@ -37,9 +36,9 @@ module Fastlane
37
36
 
38
37
  wxwork_access_token: params[:wxwork_access_token],
39
38
  wxwork_custom_message: params[:wxwork_custom_message],
40
- wxwork_pic_url: params[:wxwork_pic_url]
39
+ wxwork_pic_url: params[:wxwork_pic_url],
41
40
 
42
- }.reject {|_k, v| v.nil?}
41
+ }.reject { |_k, v| v.nil? }
43
42
  answer = Helper::FirHelper.publish(fir_args, options)
44
43
  UI.message("fastlane-plugin-fir_cli answer: #{answer}")
45
44
  answer
@@ -140,49 +139,48 @@ module Fastlane
140
139
  description: "dingtalk custom message",
141
140
  optional: true),
142
141
  FastlaneCore::ConfigItem.new(key: :dingtalk_at_phones,
143
- env_name: "FIR_DINGTALK_AT_PHONES",
144
- description: "dingtalk at phones, split with ','",
145
- optional: true),
142
+ env_name: "FIR_DINGTALK_AT_PHONES",
143
+ description: "dingtalk at phones, split with ','",
144
+ optional: true),
146
145
  FastlaneCore::ConfigItem.new(key: :dingtalk_at_all,
147
- env_name: "FIR_DINGTALK_AT_ALL",
148
- description: "dingtalk at all people",
149
- type: Boolean,
150
- optional: true),
146
+ env_name: "FIR_DINGTALK_AT_ALL",
147
+ description: "dingtalk at all people",
148
+ type: Boolean,
149
+ optional: true),
151
150
 
152
151
  FastlaneCore::ConfigItem.new(key: :dingtalk_secret,
153
- env_name: "FIR_DINGTALK_SECRET",
154
- description: "Dingtalk secret code (eg: SECxxxxx)",
155
- optional: true),
152
+ env_name: "FIR_DINGTALK_SECRET",
153
+ description: "Dingtalk secret code (eg: SECxxxxx)",
154
+ optional: true),
156
155
 
157
-
158
- FastlaneCore::ConfigItem.new(key: :dingtalk_secret,
159
- env_name: "FIR_OVERSEA_TURBO",
160
- description: "fir oversea turbo, increase upload speed for oversea users",
161
- type: Boolean,
162
- optional: true),
156
+ FastlaneCore::ConfigItem.new(key: :oversea_turbo,
157
+ env_name: "FIR_OVERSEA_TURBO",
158
+ description: "fir oversea turbo, increase upload speed for oversea users",
159
+ type: Boolean,
160
+ optional: true),
163
161
 
164
162
  FastlaneCore::ConfigItem.new(key: :feishu_access_token,
165
- env_name: "FIR_FEISHU_ACCESS_TOKEN",
166
- description: "feishu_access_token",
167
- optional: true),
163
+ env_name: "FIR_FEISHU_ACCESS_TOKEN",
164
+ description: "feishu_access_token",
165
+ optional: true),
168
166
  FastlaneCore::ConfigItem.new(key: :feishu_custom_message,
169
- env_name: "FIR_FEISHU_CUSTOM_MESSAGE",
170
- description: "feishu custom message",
171
- optional: true),
167
+ env_name: "FIR_FEISHU_CUSTOM_MESSAGE",
168
+ description: "feishu custom message",
169
+ optional: true),
172
170
 
173
171
  FastlaneCore::ConfigItem.new(key: :wxwork_access_token,
174
- env_name: "FIR_WXWORK_ACCESS_TOKEN",
175
- description: "wechat work webhook access_token",
176
- optional: true),
172
+ env_name: "FIR_WXWORK_ACCESS_TOKEN",
173
+ description: "wechat work webhook access_token",
174
+ optional: true),
177
175
 
178
176
  FastlaneCore::ConfigItem.new(key: :wxwork_pic_url,
179
- env_name: "FIR_WXWORK_PIC_URL",
180
- description: "wechat work webhook pic url",
181
- optional: true),
177
+ env_name: "FIR_WXWORK_PIC_URL",
178
+ description: "wechat work webhook pic url",
179
+ optional: true),
182
180
  FastlaneCore::ConfigItem.new(key: :wxwork_custom_message,
183
- env_name: "FIR_WXWORK_CUSTOM_MESSAGE",
184
- description: "wechat work custom message",
185
- optional: true)
181
+ env_name: "FIR_WXWORK_CUSTOM_MESSAGE",
182
+ description: "wechat work custom message",
183
+ optional: true),
186
184
 
187
185
  ]
188
186
  end
@@ -199,6 +197,5 @@ module Fastlane
199
197
  file_path || Actions.lane_context[SharedValues::GRADLE_APK_OUTPUT_PATH] || Actions.lane_context[SharedValues::IPA_OUTPUT_PATH]
200
198
  end
201
199
  end
202
-
203
200
  end
204
201
  end
@@ -1,5 +1,5 @@
1
1
  module Fastlane
2
2
  module FirCli
3
- VERSION = "2.0.15"
3
+ VERSION = "2.0.15.1"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fastlane-plugin-fir_cli
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.15
4
+ version: 2.0.15.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - atpking