fastlane-plugin-ravn_mobile 0.1.3 → 0.1.4

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: 05f6c7abbb0f386b8f91384568d827de1b66f2298ea95b7775463cb6f0c431db
4
- data.tar.gz: f228cecaa1c464498862d8a74fddf48083267478a5b315c4b9e74a563ef6bebe
3
+ metadata.gz: ece0e331798e626853f696b41e5312f29b281a53ab482b1d92c2f27f53c185db
4
+ data.tar.gz: db614448fd7deee3c6b4979600743984cd90194c4fdcda87d482048b1229d96f
5
5
  SHA512:
6
- metadata.gz: 0220eed2ac4ae94e733d092f4a83bcd61e91c40b9b56753dceca7e831efac85090ace316bde55fe982cee7c79d3d425f701f4e6430ad8dd0e1a34012501d9b88
7
- data.tar.gz: eb34517977f508573d2cac13db4ab79580ed06a862bf4f3a1e41793ef73919684ca42678d8eafe8bbc056bf1d00213a5fb06111e02ddcfe37419f5aa14648b41
6
+ metadata.gz: 03420d1dd2e078641370798f5bb077eddbf9f85712b4ee0b660a8bef821a8fd7a38810cc12d511cab453dfc0decca2350be3c8bfb4ac1688669ff2cb5a02c207
7
+ data.tar.gz: b2e549049ec06144a6932f454969717f889487d7c91a96e85ea670838baf69177175a58af4888153984946838bdfe3cb3464b0e01c12fb112dd4cb4948495a08
@@ -0,0 +1,64 @@
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
+
22
+ other_action.import_from_git(url:, path:, version:, dependencies:)
23
+ end
24
+
25
+ #####################################################
26
+ # @!group Documentation
27
+ #####################################################
28
+
29
+ def self.description
30
+ 'Imports private lanes from RAVN mobile CI/CD repository'
31
+ end
32
+
33
+ def self.details
34
+ 'Imports private lanes from RAVN mobile CI/CD repository for a specific platform into a temporary directory'
35
+ end
36
+
37
+ def self.available_options
38
+ [
39
+ FastlaneCore::ConfigItem.new(key: :platform,
40
+ env_name: 'FL_IMPORT_RAVN_LANES_PLATFORM',
41
+ description: 'Platform lanes to import',
42
+ type: String,
43
+ verify_block: proc do |value|
44
+ is_valid = %w[android ios].include?(value)
45
+ UI.user_error!("Invalid platform value '#{value}'") unless is_valid
46
+ end),
47
+ FastlaneCore::ConfigItem.new(key: :version,
48
+ env_name: 'FL_IMPORT_RAVN_LANES_VERSION',
49
+ description: 'Version to import',
50
+ type: String,
51
+ default_value: ImportRavnLanesAction::IMPORT_VERSION)
52
+ ]
53
+ end
54
+
55
+ def self.authors
56
+ ['quebin31']
57
+ end
58
+
59
+ def self.is_supported?(platform)
60
+ %i[ios android].include?(platform)
61
+ end
62
+ end
63
+ end
64
+ end
@@ -1,5 +1,5 @@
1
1
  module Fastlane
2
2
  module RavnMobile
3
- VERSION = '0.1.3'
3
+ VERSION = '0.1.4'
4
4
  end
5
5
  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.3
4
+ version: 0.1.4
5
5
  platform: ruby
6
6
  authors:
7
- - quebin31
7
+ - ravnhq
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-12-11 00:00:00.000000000 Z
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: kevindelcastillo@ravn.co
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/ravn-hq/fastlane-plugin-ravn_mobile
173
+ homepage: https://github.com/ravnhq/fastlane-plugin-ravn_mobile
173
174
  licenses:
174
175
  - MIT
175
176
  metadata: