fastlane-plugin-ravn_mobile 0.1.3 → 0.1.5
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: 8259edefd61ccddf6d3c004a0580b3318b498edcaab8e3635a2d5438cbed0600
|
4
|
+
data.tar.gz: 4d828a78d973204cdc76dca94bbfb696c748ff74abf9ca6b3cbe0fd89e8ba094
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ef0844a263d0e3337354b67882d71ccc60524048ab18e6a4bf1e2ebc9be52f3738996f837aee5c5eec1494a56c95224cbe35b1be6401762631c0af78f67edef0
|
7
|
+
data.tar.gz: 7bbc37340a1ccb3087ec239f05ce3189d80d3d56f9c64e5dc82977a211138661ff07035231c3253edaec799688180598e43340edf2dff33f79bd0cbf0cf5cc98
|
@@ -0,0 +1,65 @@
|
|
1
|
+
require 'fastlane'
|
2
|
+
require 'tmpdir'
|
3
|
+
require_relative '../util/util'
|
4
|
+
|
5
|
+
module Fastlane
|
6
|
+
module Actions
|
7
|
+
|
8
|
+
class ImportRavnLanesAction < Action
|
9
|
+
IMPORT_URL = 'https://github.com/ravnhq/mobile-cicd'
|
10
|
+
IMPORT_VERSION = '~> 0.2'
|
11
|
+
|
12
|
+
def self.run(params)
|
13
|
+
platform = params[:platform]
|
14
|
+
|
15
|
+
version = params[:version]
|
16
|
+
version = blank?(version) ? ImportRavnLanesAction::IMPORT_VERSION : version
|
17
|
+
|
18
|
+
url = ImportRavnLanesAction::IMPORT_URL
|
19
|
+
path = platform == 'android' ? 'lanes/android.rb' : 'lanes/ios.rb'
|
20
|
+
dependencies = %w[lanes/util.rb]
|
21
|
+
cache_path = Dir.mktmpdir("ravn_lanes")
|
22
|
+
|
23
|
+
other_action.import_from_git(url:, path:, version:, dependencies:, cache_path:)
|
24
|
+
end
|
25
|
+
|
26
|
+
#####################################################
|
27
|
+
# @!group Documentation
|
28
|
+
#####################################################
|
29
|
+
|
30
|
+
def self.description
|
31
|
+
'Imports private lanes from RAVN mobile CI/CD repository'
|
32
|
+
end
|
33
|
+
|
34
|
+
def self.details
|
35
|
+
'Imports private lanes from RAVN mobile CI/CD repository for a specific platform into a temporary directory'
|
36
|
+
end
|
37
|
+
|
38
|
+
def self.available_options
|
39
|
+
[
|
40
|
+
FastlaneCore::ConfigItem.new(key: :platform,
|
41
|
+
env_name: 'FL_IMPORT_RAVN_LANES_PLATFORM',
|
42
|
+
description: 'Platform lanes to import',
|
43
|
+
type: String,
|
44
|
+
verify_block: proc do |value|
|
45
|
+
is_valid = %w[android ios].include?(value)
|
46
|
+
UI.user_error!("Invalid platform value '#{value}'") unless is_valid
|
47
|
+
end),
|
48
|
+
FastlaneCore::ConfigItem.new(key: :version,
|
49
|
+
env_name: 'FL_IMPORT_RAVN_LANES_VERSION',
|
50
|
+
description: 'Version to import',
|
51
|
+
type: String,
|
52
|
+
default_value: ImportRavnLanesAction::IMPORT_VERSION)
|
53
|
+
]
|
54
|
+
end
|
55
|
+
|
56
|
+
def self.authors
|
57
|
+
['quebin31']
|
58
|
+
end
|
59
|
+
|
60
|
+
def self.is_supported?(platform)
|
61
|
+
%i[ios android].include?(platform)
|
62
|
+
end
|
63
|
+
end
|
64
|
+
end
|
65
|
+
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: fastlane-plugin-ravn_mobile
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
|
-
-
|
7
|
+
- ravnhq
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-12-
|
11
|
+
date: 2023-12-12 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -151,7 +151,7 @@ dependencies:
|
|
151
151
|
- !ruby/object:Gem::Version
|
152
152
|
version: '0'
|
153
153
|
description:
|
154
|
-
email:
|
154
|
+
email: developer@ravn.co
|
155
155
|
executables: []
|
156
156
|
extensions: []
|
157
157
|
extra_rdoc_files: []
|
@@ -160,6 +160,7 @@ files:
|
|
160
160
|
- README.md
|
161
161
|
- lib/fastlane/plugin/ravn_mobile.rb
|
162
162
|
- lib/fastlane/plugin/ravn_mobile/actions/commit_version_action.rb
|
163
|
+
- lib/fastlane/plugin/ravn_mobile/actions/import_ravn_lanes_action.rb
|
163
164
|
- lib/fastlane/plugin/ravn_mobile/actions/increment_expo_version_action.rb
|
164
165
|
- lib/fastlane/plugin/ravn_mobile/actions/increment_version_code_action.rb
|
165
166
|
- lib/fastlane/plugin/ravn_mobile/actions/is_expo_action.rb
|
@@ -169,7 +170,7 @@ files:
|
|
169
170
|
- lib/fastlane/plugin/ravn_mobile/helper/framework_helper.rb
|
170
171
|
- lib/fastlane/plugin/ravn_mobile/util/util.rb
|
171
172
|
- lib/fastlane/plugin/ravn_mobile/version.rb
|
172
|
-
homepage: https://github.com/
|
173
|
+
homepage: https://github.com/ravnhq/fastlane-plugin-ravn_mobile
|
173
174
|
licenses:
|
174
175
|
- MIT
|
175
176
|
metadata:
|