fastlane-ext 1.0.16 → 1.0.21
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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5d4b4ef7a84f98491e58ece5d17dd8eec507f4b11547bb7200f935181720e364
|
4
|
+
data.tar.gz: 933d9b1a1da7c71000e53da04a288d5753fd8b6cdcbd0ecf12a1a2b4646ea9ac
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: aa7a22845d420b8a1065d9d536857812cf1255975b1c491589d366793bdaff3f0db1f19eadb799916c77a292e653514b789b182a2cf7d2291a1320d131c2bf4e
|
7
|
+
data.tar.gz: 03d87a7c795378cb674040a3f40074cd18dacece160b6ab14dabaa8583a451c447de92180290c5eea5d22a20fe0e333f972a84265a7a294a158b36d4cfea5396
|
@@ -47,8 +47,6 @@ module FastlaneExt
|
|
47
47
|
end
|
48
48
|
|
49
49
|
def upload_to_tf
|
50
|
-
# see more at https://github.com/fastlane/fastlane/issues/15390
|
51
|
-
ENV['DELIVER_ITMSTRANSPORTER_ADDITIONAL_UPLOAD_PARAMETERS'] = '-t DAV'
|
52
50
|
cmd = 'fastlane pilot upload --skip_submission --skip_waiting_for_build_processing'
|
53
51
|
raise "TF uploading Failed! Command execution error: '#{cmd}'" unless system(cmd)
|
54
52
|
end
|
@@ -9,7 +9,7 @@ module Fastlane
|
|
9
9
|
|
10
10
|
def self.run(params)
|
11
11
|
notifier = TelegramNotifier.new(bot_api_token: params[:bot_api_token], chat_id: params[:chat_id])
|
12
|
-
notifier.notify(message: params[:message], parse_mode: params[:parse_mode])
|
12
|
+
notifier.notify(message: params[:message], parse_mode: params[:parse_mode], silent: params[:silent])
|
13
13
|
end
|
14
14
|
|
15
15
|
#####################################################
|
@@ -55,6 +55,12 @@ module Fastlane
|
|
55
55
|
env_name: 'FL_TELEGRAM_MESSAGE_PARSE_MODE',
|
56
56
|
description: 'telegram message parse mode',
|
57
57
|
optional: true
|
58
|
+
),
|
59
|
+
FastlaneCore::ConfigItem.new(
|
60
|
+
key: :silent,
|
61
|
+
env_name: 'FL_TELEGRAM_MESSAGE_SILENT_NOTIFY',
|
62
|
+
description: 'disables telegram message notifications',
|
63
|
+
optional: true
|
58
64
|
)
|
59
65
|
]
|
60
66
|
end
|
@@ -16,10 +16,11 @@ module FastlaneExt
|
|
16
16
|
@chat_id = chat_id
|
17
17
|
end
|
18
18
|
|
19
|
-
def notify(message:, parse_mode: nil)
|
19
|
+
def notify(message:, parse_mode: nil, silent: nil)
|
20
20
|
uri = URI.parse("https://api.telegram.org/bot#{@bot_api_token}/sendMessage")
|
21
21
|
params = { text: message, chat_id: @chat_id }
|
22
22
|
params[:parse_mode] = parse_mode unless parse_mode.nil?
|
23
|
+
params[:disable_notification] = silent || true
|
23
24
|
Net::HTTP.post_form(uri, params)
|
24
25
|
end
|
25
26
|
end
|
data/lib/fastlane-ext/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: fastlane-ext
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.21
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- sroik
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2021-05-14 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-s3
|
@@ -157,7 +157,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
157
157
|
- !ruby/object:Gem::Version
|
158
158
|
version: '0'
|
159
159
|
requirements: []
|
160
|
-
rubygems_version: 3.0.3
|
160
|
+
rubygems_version: 3.0.3.1
|
161
161
|
signing_key:
|
162
162
|
specification_version: 4
|
163
163
|
summary: fastlane ext summary
|