fastlane-plugin-fir_cli 2.0.11 → 2.0.12

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: 8489bab60f07b62d5edd4c069076b89f341262d07565bdbaa167a5d8893b07ce
4
- data.tar.gz: 6cd97580b887042d7a8f3f6c104ad6d92737f32f2594154c3131d434163122e3
3
+ metadata.gz: 8abf32f08a04738fb2e71afd01d81cc03e16ae1090e1edc22c11afd0337cc26c
4
+ data.tar.gz: da2ad3c94267d119e3f58af51c757d35577dda4bd1607736ef2cf2263c410766
5
5
  SHA512:
6
- metadata.gz: 5e86fd7cd54c0b0c515d9490dcf05a8a4dc7b119c0c5bb3b257eaaa0481814814c3e5582220c5fcf3d3182ec2f104d81b03d5149ea9575d7755f0875960c1a06
7
- data.tar.gz: 8bbace78ca906df882b63989d75859916f59e5ff7239b2b382b9683b8cba642da2453f2c04907c94b06052105ab2657a25a63d3b6105f5744b8c806f021a87fc
6
+ metadata.gz: d8abc70f822e237d63e46a0ff2bbba64d1125a423f6b17c36a82f30f9df977d80851c2ed6324a42bd84b4100260957a5120d4aeb0662532b621fc486712a062b
7
+ data.tar.gz: 0bc320043c843103d2169dd8827ef92ad47db3cdfe31ca7a375b0b54e9f15b58cfed51a375bd8046389af91e53dc85d265a38d4ec9cee658c5880a52e5c471ad
@@ -6,7 +6,7 @@ require_relative '../helper/fir_cli_helper'
6
6
  module Fastlane
7
7
  module Actions
8
8
  class FirCliAction < Action
9
-
9
+
10
10
  def self.run(params)
11
11
  UI.message("The fir_cli plugin is working!")
12
12
 
@@ -27,19 +27,20 @@ module Fastlane
27
27
  dingtalk_custom_message: params[:dingtalk_custom_message],
28
28
  dingtalk_at_phones: params[:dingtalk_at_phones],
29
29
  dingtalk_at_all: params[:dingtalk_at_all],
30
-
30
+ dingtalk_secret: params[:dingtalk_secret],
31
+
31
32
  feishu_access_token: params[:feishu_access_token],
32
33
  feishu_custom_message: params[:feishu_custom_message],
33
34
 
34
35
  wxwork_access_token: params[:wxwork_access_token],
35
36
  wxwork_custom_message: params[:wxwork_custom_message],
36
37
  wxwork_pic_url: params[:wxwork_pic_url]
37
-
38
+
38
39
  }.reject {|_k, v| v.nil?}
39
40
  answer = Helper::FirHelper.publish(fir_args, options)
40
41
  UI.message("fastlane-plugin-fir_cli answer: #{answer}")
41
42
  answer
42
- end
43
+ end
43
44
 
44
45
  def self.description
45
46
  "upload ipa or apk to fir.im using fir-cli (This plugin is maintained by fir.im official)"
@@ -138,6 +139,11 @@ module Fastlane
138
139
  type: Boolean,
139
140
  optional: true),
140
141
 
142
+ FastlaneCore::ConfigItem.new(key: :dingtalk_secret,
143
+ env_name: "FIR_DINGTALK_SECRET",
144
+ description: "Dingtalk secret code (eg: SECxxxxx)",
145
+ optional: true),
146
+
141
147
  FastlaneCore::ConfigItem.new(key: :feishu_access_token,
142
148
  env_name: "FIR_FEISHU_ACCESS_TOKEN",
143
149
  description: "feishu_access_token",
@@ -1,5 +1,5 @@
1
1
  module Fastlane
2
2
  module FirCli
3
- VERSION = "2.0.11"
3
+ VERSION = "2.0.12"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fastlane-plugin-fir_cli
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.11
4
+ version: 2.0.12
5
5
  platform: ruby
6
6
  authors:
7
7
  - atpking
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-01-07 00:00:00.000000000 Z
11
+ date: 2021-02-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: fir-cli
@@ -16,14 +16,14 @@ dependencies:
16
16
  requirements:
17
17
  - - "~>"
18
18
  - !ruby/object:Gem::Version
19
- version: 2.0.11
19
+ version: 2.0.12
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
24
  - - "~>"
25
25
  - !ruby/object:Gem::Version
26
- version: 2.0.11
26
+ version: 2.0.12
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: pry
29
29
  requirement: !ruby/object:Gem::Requirement