fastlane-plugin-sq_ci 0.5.0

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.
Files changed (28) hide show
  1. checksums.yaml +7 -0
  2. data/LICENSE +21 -0
  3. data/README.md +52 -0
  4. data/lib/fastlane/plugin/sq_ci/actions/sq_ci_add_version_tag_action.rb +51 -0
  5. data/lib/fastlane/plugin/sq_ci/actions/sq_ci_build_ios_application_action.rb +129 -0
  6. data/lib/fastlane/plugin/sq_ci/actions/sq_ci_get_app_version_string_action.rb +74 -0
  7. data/lib/fastlane/plugin/sq_ci/actions/sq_ci_get_bundle_identifier_action.rb +51 -0
  8. data/lib/fastlane/plugin/sq_ci/actions/sq_ci_get_last_version_code_from_google_play_action.rb +59 -0
  9. data/lib/fastlane/plugin/sq_ci/actions/sq_ci_get_team_identifier_action.rb +51 -0
  10. data/lib/fastlane/plugin/sq_ci/actions/sq_ci_notify_action.rb +57 -0
  11. data/lib/fastlane/plugin/sq_ci/actions/sq_ci_prepare_keychain_action.rb +50 -0
  12. data/lib/fastlane/plugin/sq_ci/actions/sq_ci_send_telegram_message_action.rb +64 -0
  13. data/lib/fastlane/plugin/sq_ci/actions/sq_ci_set_version_code_action.rb +48 -0
  14. data/lib/fastlane/plugin/sq_ci/actions/sq_ci_upload_aab_to_google_play_action.rb +69 -0
  15. data/lib/fastlane/plugin/sq_ci/actions/sq_ci_upload_file_to_s3_action.rb +84 -0
  16. data/lib/fastlane/plugin/sq_ci/helper/sq_ci_helper.rb +154 -0
  17. data/lib/fastlane/plugin/sq_ci/version.rb +5 -0
  18. data/lib/fastlane/plugin/sq_ci.rb +14 -0
  19. data/lib/sq_ci/android_app/options.rb +28 -0
  20. data/lib/sq_ci/code_signing/options.rb +43 -0
  21. data/lib/sq_ci/google_play/options.rb +38 -0
  22. data/lib/sq_ci/ios_app/options.rb +64 -0
  23. data/lib/sq_ci/keychain/options.rb +27 -0
  24. data/lib/sq_ci/s3/options.rb +48 -0
  25. data/lib/sq_ci/shared/options.rb +21 -0
  26. data/lib/sq_ci/sq_ci.rb +2 -0
  27. data/lib/sq_ci/telegram/options.rb +35 -0
  28. metadata +69 -0
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA256:
3
+ metadata.gz: f3101395af566ce6e6aa25d9c0f23ffb2589357f5bdcd008b24aca7c80de2241
4
+ data.tar.gz: '0958c135c717e5e45b88a516452be46ed9c23ad9c166ecbbf83b364f5e6db161'
5
+ SHA512:
6
+ metadata.gz: 6a7187492320f11d4f9b8a37d0e778b0132307b778a5422c82b143924f0a4d3622b4d1ceb0ff479ddf79a86e9fecf758cbaa701d7f72942baaab5138b5d4ac18
7
+ data.tar.gz: 5750312d5128393d4247870342dd5dafbc931ccdfa5b92d430558e4cd433fa4b33ace486d381fdd96fdea54125a20f4680dfc10384e0229dce18175618d0876f
data/LICENSE ADDED
@@ -0,0 +1,21 @@
1
+ The MIT License (MIT)
2
+
3
+ Copyright (c) 2024 Semen Kologrivov <semen@sequenia.com>
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
data/README.md ADDED
@@ -0,0 +1,52 @@
1
+ # sq_ci plugin
2
+
3
+ [![fastlane Plugin Badge](https://rawcdn.githack.com/fastlane/fastlane/master/fastlane/assets/plugin-badge.svg)](https://rubygems.org/gems/fastlane-plugin-sq_ci)
4
+
5
+ ## Getting Started
6
+
7
+ This project is a [_fastlane_](https://github.com/fastlane/fastlane) plugin. To get started with `fastlane-plugin-sq_ci`, add it to your project by running:
8
+
9
+ ```bash
10
+ fastlane add_plugin sq_ci
11
+ ```
12
+
13
+ ## About sq_ci
14
+
15
+ CI Library for sequenia's projects
16
+
17
+ **Note to author:** Add a more detailed description about this plugin here. If your plugin contains multiple actions, make sure to mention them here.
18
+
19
+ ## Example
20
+
21
+ Check out the [example `Fastfile`](fastlane/Fastfile) to see how to use this plugin. Try it by cloning the repo, running `fastlane install_plugins` and `bundle exec fastlane test`.
22
+
23
+ **Note to author:** Please set up a sample project to make it easy for users to explore what your plugin does. Provide everything that is necessary to try out the plugin in this project (including a sample Xcode/Android project if necessary)
24
+
25
+ ## Run tests for this plugin
26
+
27
+ To run both the tests, and code style validation, run
28
+
29
+ ```
30
+ rake
31
+ ```
32
+
33
+ To automatically fix many of the styling issues, use
34
+ ```
35
+ rubocop -a
36
+ ```
37
+
38
+ ## Issues and Feedback
39
+
40
+ For any other issues and feedback about this plugin, please submit it to this repository.
41
+
42
+ ## Troubleshooting
43
+
44
+ If you have trouble using plugins, check out the [Plugins Troubleshooting](https://docs.fastlane.tools/plugins/plugins-troubleshooting/) guide.
45
+
46
+ ## Using _fastlane_ Plugins
47
+
48
+ For more information about how the `fastlane` plugin system works, check out the [Plugins documentation](https://docs.fastlane.tools/plugins/create-plugin/).
49
+
50
+ ## About _fastlane_
51
+
52
+ _fastlane_ is the easiest way to automate beta deployments and releases for your iOS and Android apps. To learn more, check out [fastlane.tools](https://fastlane.tools).
@@ -0,0 +1,51 @@
1
+ require 'fastlane/action'
2
+ require_relative '../helper/sq_ci_helper'
3
+
4
+ module Fastlane
5
+ module Actions
6
+ class SqCiAddVersionTagAction < Action
7
+ def self.run(params)
8
+ app_version_string = other_action.sq_ci_get_app_version_string
9
+
10
+ other_action.add_git_tag(
11
+ tag: "#{params[:tags_folder]}/#{app_version_string}"
12
+ )
13
+
14
+ other_action.push_to_git_remote(
15
+ tags: true
16
+ )
17
+ end
18
+
19
+ def self.description
20
+ 'Add version tag into git-repo'
21
+ end
22
+
23
+ def self.details
24
+ ''
25
+ end
26
+
27
+ def self.available_options
28
+ [
29
+ FastlaneCore::ConfigItem.new(
30
+ key: :tags_folder,
31
+ description: 'Name of folder of tag in repo',
32
+ optional: false,
33
+ type: String
34
+ )
35
+ ]
36
+ end
37
+
38
+ def self.return_value
39
+ ''
40
+ end
41
+
42
+ def self.authors
43
+ ['Semen Kologrivov']
44
+ end
45
+
46
+ def self.is_supported?(_)
47
+ true
48
+ end
49
+ end
50
+ end
51
+ end
@@ -0,0 +1,129 @@
1
+ require 'fastlane/action'
2
+ require_relative '../helper/sq_ci_helper'
3
+ require_relative '../../../../sq_ci/keychain/options'
4
+ require_relative '../../../../sq_ci/ios_app/options'
5
+ require_relative '../../../../sq_ci/code_signing/options'
6
+
7
+ module Fastlane
8
+ module Actions
9
+ class SqCiBuildIosApplicationAction < Action
10
+ def self.run(params)
11
+ other_action.sq_ci_prepare_keychain
12
+
13
+ ENV['MATCH_PASSWORD'] = params[:certificates_password]
14
+
15
+ targets = Helper::SqCiHelper.get_xcodeproj_targets(params[:project_path], params[:scheme])
16
+
17
+ other_action.sync_code_signing(
18
+ type: params[:code_signing_type],
19
+ git_url: params[:certificates_repo],
20
+ keychain_name: params[:keychain_name],
21
+ keychain_password: params[:keychain_password],
22
+ skip_confirmation: true,
23
+ app_identifier: targets.map { |_, app_id| app_id },
24
+ force: true,
25
+ verbose: params[:verbose],
26
+ generate_apple_certs: params[:generate_apple_certs]
27
+ )
28
+
29
+ targets.each do |target, app_identifier|
30
+ Helper::SqCiHelper.add_target_attributes(
31
+ target_name: target,
32
+ project_path: params[:project_path]
33
+ )
34
+
35
+ other_action.update_code_signing_settings(
36
+ use_automatic_signing: false,
37
+ path: params[:project_path],
38
+ bundle_identifier: app_identifier,
39
+ profile_name: lane_context[SharedValues::MATCH_PROVISIONING_PROFILE_MAPPING][app_identifier],
40
+ code_sign_identity: params[:code_sign_identity],
41
+ targets: [target],
42
+ build_configurations: [params[:scheme]]
43
+ )
44
+ end
45
+
46
+ project_path = params[:project_path]
47
+ workspace_path = params[:workspace_path]
48
+ derived_data_path = params[:derived_data_path]
49
+
50
+ ENV['FASTLANE_XCODEBUILD_SETTINGS_RETRIES'] = "10"
51
+ ENV['FASTLANE_XCODEBUILD_SETTINGS_TIMEOUT'] = "300"
52
+ ENV['FASTLANE_XCODE_LIST_TIMEOUT'] = "300"
53
+
54
+ if !workspace_path.nil? && workspace_path != ''
55
+ ENV['GYM_WORKSPACE'] = workspace_path
56
+ elsif !project_path.nil? && project_path != ''
57
+ ENV['GYM_PROJECT'] = project_path
58
+ end
59
+
60
+ if !derived_data_path.nil? && derived_data_path != ''
61
+ ENV['GYM_DERIVED_DATA_PATH'] = derived_data_path
62
+ end
63
+
64
+ latest_build_number = other_action.latest_testflight_build_number(
65
+ initial_build_number: 0
66
+ )
67
+
68
+ other_action.increment_build_number(
69
+ build_number: latest_build_number + 1,
70
+ xcodeproj: params[:project_path],
71
+ skip_info_plist: true
72
+ )
73
+
74
+ other_action.build_app(
75
+ clean: params[:should_clear_project],
76
+ scheme: params[:scheme],
77
+ export_method: params[:export_method],
78
+ xcargs: params[:build_args]
79
+ )
80
+ end
81
+
82
+ def self.description
83
+ 'Generate new build of iOS application (includes updating of code signing)'
84
+ end
85
+
86
+ def self.details
87
+ ''
88
+ end
89
+
90
+ def self.available_options
91
+ [
92
+ FastlaneCore::ConfigItem.new(
93
+ key: :scheme,
94
+ description: 'Scheme for build',
95
+ optional: false,
96
+ type: String
97
+ ),
98
+ FastlaneCore::ConfigItem.new(
99
+ key: :verbose,
100
+ optional: true,
101
+ type: Boolean,
102
+ default_value: false
103
+ ),
104
+ FastlaneCore::ConfigItem.new(
105
+ key: :generate_apple_certs,
106
+ optional: true,
107
+ type: Boolean,
108
+ default_value: true
109
+ )
110
+ ] +
111
+ ::SqCi::CodeSigning::Options.options +
112
+ ::SqCi::Keychain::Options.options +
113
+ ::SqCi::IosApp::Options.options
114
+ end
115
+
116
+ def self.return_value
117
+ ''
118
+ end
119
+
120
+ def self.authors
121
+ ['Semen Kologrivov']
122
+ end
123
+
124
+ def self.is_supported?(_)
125
+ true
126
+ end
127
+ end
128
+ end
129
+ end
@@ -0,0 +1,74 @@
1
+ require 'fastlane/action'
2
+ require_relative '../helper/sq_ci_helper'
3
+ require_relative '../../../../sq_ci/ios_app/options'
4
+ require_relative '../../../../sq_ci/android_app/options'
5
+
6
+ module Fastlane
7
+ module Actions
8
+ class SqCiGetAppVersionStringAction < Action
9
+ def self.run(params)
10
+ platform = lane_context[SharedValues::PLATFORM_NAME] || lane_context[SharedValues::DEFAULT_PLATFORM]
11
+ should_show_build_number = params[:should_show_build_number]
12
+ if platform == :ios
13
+ version_number = other_action.get_version_number(
14
+ xcodeproj: params[:project_path],
15
+ target: params[:main_target]
16
+ )
17
+
18
+ build_number = other_action.get_build_number(
19
+ xcodeproj: params[:project_path]
20
+ )
21
+
22
+ should_show_build_number ? "#{version_number}(#{build_number})" : version_number
23
+ elsif platform == :android
24
+ gradle_file_path = Helper::SqCiHelper.get_gradle_file_path(params[:gradle_file_path])
25
+ version_name = Helper::SqCiHelper.read_key_from_gradle_file(gradle_file_path, "versionName")
26
+ version_code = params[:version_code] || Helper::SqCiHelper.read_key_from_gradle_file(gradle_file_path, "versionCode")
27
+ should_show_build_number ? "#{version_name}(#{version_code})" : version_name
28
+ else
29
+ UI.user_error!("Platform not specified!")
30
+ end
31
+ end
32
+
33
+ def self.description
34
+ 'Get string with current app version'
35
+ end
36
+
37
+ def self.details
38
+ ''
39
+ end
40
+
41
+ def self.available_options
42
+ [
43
+ FastlaneCore::ConfigItem.new(
44
+ key: :version_code,
45
+ description: 'Version code for override local code',
46
+ optional: true,
47
+ type: String
48
+ ),
49
+ FastlaneCore::ConfigItem.new(
50
+ key: :should_show_build_number,
51
+ description: 'Should add build number into version number',
52
+ optional: true,
53
+ default_value: true,
54
+ type: Boolean
55
+ )
56
+ ] +
57
+ ::SqCi::AndroidApp::Options.options +
58
+ ::SqCi::IosApp::Options.options
59
+ end
60
+
61
+ def self.return_value
62
+ ''
63
+ end
64
+
65
+ def self.authors
66
+ ['Semen Kologrivov']
67
+ end
68
+
69
+ def self.is_supported?(_)
70
+ true
71
+ end
72
+ end
73
+ end
74
+ end
@@ -0,0 +1,51 @@
1
+ require 'fastlane/action'
2
+ require_relative '../helper/sq_ci_helper'
3
+ require_relative '../../../../sq_ci/ios_app/options'
4
+
5
+ module Fastlane
6
+ module Actions
7
+ class SqCiGetBundleIdentifierAction < Action
8
+ def self.run(params)
9
+ project_path = params[:project_path]
10
+ if project_path.nil? || project_path == ''
11
+ UI.user_error!("Project path not specified!")
12
+ end
13
+
14
+ build_configuration = Helper::SqCiHelper.get_xcodeproj_build_config(project_path, params[:main_target], params[:scheme])
15
+ build_configuration.build_settings['PRODUCT_BUNDLE_IDENTIFIER']
16
+ end
17
+
18
+ def self.description
19
+ 'Get bundle identifier of target for scheme from XCode project'
20
+ end
21
+
22
+ def self.details
23
+ ''
24
+ end
25
+
26
+ def self.available_options
27
+ [
28
+ FastlaneCore::ConfigItem.new(
29
+ key: :scheme,
30
+ description: 'Scheme for build',
31
+ optional: false,
32
+ type: String
33
+ )
34
+ ] +
35
+ ::SqCi::IosApp::Options.options
36
+ end
37
+
38
+ def self.return_value
39
+ ''
40
+ end
41
+
42
+ def self.authors
43
+ ['Semen Kologrivov']
44
+ end
45
+
46
+ def self.is_supported?(_)
47
+ true
48
+ end
49
+ end
50
+ end
51
+ end
@@ -0,0 +1,59 @@
1
+ require 'fastlane/action'
2
+ require_relative '../helper/sq_ci_helper'
3
+ require_relative '../../../../sq_ci/google_play/options'
4
+ require_relative '../../../../sq_ci/android_app/options'
5
+ require_relative '../../../../sq_ci/shared/options'
6
+
7
+ module Fastlane
8
+ module Actions
9
+ class SqCiGetLastVersionCodeFromGooglePlayAction < Action
10
+ def self.run(params)
11
+ google_play_client = Supply::Client.make_from_config(
12
+ params: {
13
+ json_key: params[:json_key_file],
14
+ timeout: params[:timeout]
15
+ }
16
+ )
17
+
18
+ Supply.config = params
19
+
20
+ google_play_client.begin_edit(
21
+ package_name: params[:package_name]
22
+ )
23
+ result = google_play_client.aab_version_codes
24
+ google_play_client.abort_current_edit
25
+ return result.last
26
+ end
27
+
28
+ def self.description
29
+ 'Fetch the last version code from Google Play\'s app bundle explorer'
30
+ end
31
+
32
+ def self.details
33
+ ''
34
+ end
35
+
36
+ def self.available_options
37
+ ::SqCi::GooglePlay::Options.options +
38
+ ::SqCi::AndroidApp::Options.options +
39
+ ::SqCi::Shared::Options.options
40
+ end
41
+
42
+ def self.return_type
43
+ :int
44
+ end
45
+
46
+ def self.return_value
47
+ 'Number of the last version uploaded to Google Play'
48
+ end
49
+
50
+ def self.authors
51
+ ['Semen Kologrivov']
52
+ end
53
+
54
+ def self.is_supported?(_)
55
+ true
56
+ end
57
+ end
58
+ end
59
+ end
@@ -0,0 +1,51 @@
1
+ require 'fastlane/action'
2
+ require_relative '../helper/sq_ci_helper'
3
+ require_relative '../../../../sq_ci/ios_app/options'
4
+
5
+ module Fastlane
6
+ module Actions
7
+ class SqCiGetTeamIdentifierAction < Action
8
+ def self.run(params)
9
+ project_path = params[:project_path]
10
+ if project_path.nil? || project_path == ''
11
+ UI.user_error!("Project path not specified!")
12
+ end
13
+
14
+ build_configuration = Helper::SqCiHelper.get_xcodeproj_build_config(project_path, params[:main_target], params[:scheme])
15
+ build_configuration.build_settings['DEVELOPMENT_TEAM']
16
+ end
17
+
18
+ def self.description
19
+ 'Get team identifier of target for scheme from XCode project'
20
+ end
21
+
22
+ def self.details
23
+ ''
24
+ end
25
+
26
+ def self.available_options
27
+ [
28
+ FastlaneCore::ConfigItem.new(
29
+ key: :scheme,
30
+ description: 'Scheme for build',
31
+ optional: false,
32
+ type: String
33
+ )
34
+ ] +
35
+ ::SqCi::IosApp::Options.options
36
+ end
37
+
38
+ def self.return_value
39
+ ''
40
+ end
41
+
42
+ def self.authors
43
+ ['Semen Kologrivov']
44
+ end
45
+
46
+ def self.is_supported?(_)
47
+ true
48
+ end
49
+ end
50
+ end
51
+ end
@@ -0,0 +1,57 @@
1
+ require 'fastlane/action'
2
+ require_relative '../helper/sq_ci_helper'
3
+
4
+ module Fastlane
5
+ module Actions
6
+ class SqCiNotifyAction < Action
7
+ def self.run(params)
8
+ message = params[:message]
9
+ links_message = (params[:links] || [])
10
+ .select { |link| !link[:url].nil? }
11
+ .map { |link| "#{link[:name] || 'Ссылка'}: #{link[:url]}" }
12
+ .join("\n\n")
13
+
14
+ other_action.sq_ci_send_telegram_message(
15
+ message: "#{message}\n\n#{links_message}"
16
+ )
17
+ end
18
+
19
+ def self.description
20
+ 'Send message into a messengers'
21
+ end
22
+
23
+ def self.details
24
+ ''
25
+ end
26
+
27
+ def self.available_options
28
+ [
29
+ FastlaneCore::ConfigItem.new(
30
+ key: :message,
31
+ description: 'Message to send',
32
+ optional: false,
33
+ type: String
34
+ ),
35
+ FastlaneCore::ConfigItem.new(
36
+ key: :links,
37
+ description: 'Links to the end of message',
38
+ optional: true,
39
+ type: Array
40
+ )
41
+ ]
42
+ end
43
+
44
+ def self.return_value
45
+ ''
46
+ end
47
+
48
+ def self.authors
49
+ ['Semen Kologrivov']
50
+ end
51
+
52
+ def self.is_supported?(_)
53
+ true
54
+ end
55
+ end
56
+ end
57
+ end
@@ -0,0 +1,50 @@
1
+ require 'fastlane/action'
2
+ require_relative '../helper/sq_ci_helper'
3
+ require_relative '../../../../sq_ci/keychain/options'
4
+
5
+ module Fastlane
6
+ module Actions
7
+ class SqCiPrepareKeychainAction < Action
8
+ def self.run(params)
9
+ keychain_path = "~/Library/Keychains/#{params[:keychain_name]}-db"
10
+
11
+ if `find ~/Library/Keychains -type f -print | grep '#{params[:keychain_name]}'`.strip.empty?
12
+ other_action.create_keychain(
13
+ lock_when_sleeps: false,
14
+ name: params[:keychain_name],
15
+ password: params[:keychain_password]
16
+ )
17
+ end
18
+
19
+ other_action.unlock_keychain(
20
+ path: keychain_path,
21
+ password: params[:keychain_password]
22
+ )
23
+ end
24
+
25
+ def self.description
26
+ 'Create in need and unblock keychain for iOS certificates'
27
+ end
28
+
29
+ def self.details
30
+ ''
31
+ end
32
+
33
+ def self.available_options
34
+ ::SqCi::Keychain::Options.options
35
+ end
36
+
37
+ def self.return_value
38
+ ''
39
+ end
40
+
41
+ def self.authors
42
+ ['Semen Kologrivov']
43
+ end
44
+
45
+ def self.is_supported?(_)
46
+ true
47
+ end
48
+ end
49
+ end
50
+ end
@@ -0,0 +1,64 @@
1
+ require 'fastlane/action'
2
+ require_relative '../helper/sq_ci_helper'
3
+ require 'net/http/post/multipart'
4
+ require_relative '../../../../sq_ci/telegram/options'
5
+
6
+ module Fastlane
7
+ module Actions
8
+ class SqCiSendTelegramMessageAction < Action
9
+ def self.run(params)
10
+ access_token = params[:telegram_access_token]
11
+ chat_ids = params[:telegram_chat_ids]
12
+ if access_token.nil? || access_token == "" || chat_ids.nil? || chat_ids == ""
13
+ return
14
+ end
15
+
16
+ uri = URI.parse("https://api.telegram.org/bot#{access_token}/sendMessage")
17
+ http = Net::HTTP.new(uri.host, uri.port)
18
+ http.use_ssl = true
19
+
20
+ chat_ids.split(',').each do |chat_id|
21
+ request = Net::HTTP::Post::Multipart.new(uri, {
22
+ "chat_id" => chat_id,
23
+ "text" => params[:message],
24
+ "parse_mode" => params[:parse_mode]
25
+ })
26
+
27
+ http.request(request)
28
+ end
29
+ end
30
+
31
+ def self.description
32
+ 'Send message via telegram'
33
+ end
34
+
35
+ def self.details
36
+ ''
37
+ end
38
+
39
+ def self.available_options
40
+ [
41
+ FastlaneCore::ConfigItem.new(
42
+ key: :message,
43
+ description: 'Message for send',
44
+ optional: false,
45
+ type: String
46
+ )
47
+ ] +
48
+ ::SqCi::Telegram::Options.options
49
+ end
50
+
51
+ def self.return_value
52
+ ''
53
+ end
54
+
55
+ def self.authors
56
+ ['Semen Kologrivov']
57
+ end
58
+
59
+ def self.is_supported?(_)
60
+ true
61
+ end
62
+ end
63
+ end
64
+ end