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: d9c5814290660857b805e616533019a6b8b9689d1b27cfb0c4d724c2e44401d8
4
- data.tar.gz: cbc8d08dd9431e687eede3cffc1fc1db4a120080d498745bcfaaa18c7452e254
3
+ metadata.gz: 5d4b4ef7a84f98491e58ece5d17dd8eec507f4b11547bb7200f935181720e364
4
+ data.tar.gz: 933d9b1a1da7c71000e53da04a288d5753fd8b6cdcbd0ecf12a1a2b4646ea9ac
5
5
  SHA512:
6
- metadata.gz: 99b582d94475c73b0f69a3e9b8ed3ae8727d1fc5363b8e0b5e7a55e25d04a48fc3771ae5499c2de1b4b0ed8ff0053a87e9229ebc4b514a7f3654d8c48a493f54
7
- data.tar.gz: f066f3301277253d08df4c4ec0955c7539f24ba37f37a1c47475561d585ed7bb372d0f0ad658d2d557e7695b56cffc296b2632212ac550183660694da38e9fb3
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
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module FastlaneExt
4
- VERSION = '1.0.16'
4
+ VERSION = '1.0.21'
5
5
  end
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.16
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: 2020-03-09 00:00:00.000000000 Z
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