fastlane-plugin-ravn_mobile 0.1.8 → 0.1.10

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: a67c0fc7edd29c77c9a5386c0d2bdc6065d0a257e5adef136e7a771e603e6446
4
- data.tar.gz: e77f4a2876d64d653f39e5761d871263c55a5a0eaf41f59f6a7b4fb33b70c2c4
3
+ metadata.gz: 9136a3031ccb1895faded9f4e931d42422f0e12fcea33f1e65d5468e3c3a55dc
4
+ data.tar.gz: '038ccd1d19f6146d885402ee968e758f7ff0a41eeaca90c61945ce0672330aba'
5
5
  SHA512:
6
- metadata.gz: b96c7ae1f015c480e9bf1b4a314f66278f97d19f32d4c0f7f6b5e4bf08325bb0a8db6ec64e775b520d66af12f2aeaff20964e56e2a318ae3a22bd2d4b54257ee
7
- data.tar.gz: 8f90586df4d1d3a1858e0f76b614280bfad09c0dd847b1069136ca793639c9041a452cc39a8c1755f9d35e290341361101f8d99aa94ba6573cc77e33b767e87c
6
+ metadata.gz: e6831dd27995930eaef8220b93ac538255db9d7c169a9588865cc2995be06604d41377f22c29f185e60e2c9f6ad0afd00b597bf13191ebbe30b58db04d0b3410
7
+ data.tar.gz: 84826f0a2620f7cd3fcf462c6f71b64c2f45d28914c031e86f1e2d5c5960427a8427d6e33ef87858fff858720ef8f7841114b0348408293bb41b0e0854dce3fd
@@ -3,15 +3,15 @@ require 'tmpdir'
3
3
  require_relative '../util/util'
4
4
 
5
5
  module Fastlane
6
- module FastFile
7
-
8
- # @param [String] platform Either 'android' or 'ios'
9
- # @param [String] version Same syntax as `import_from_git`
10
- def import_ravn_lanes(platform, version = nil)
6
+ class FastFile
7
+ def import_ravn_lanes(params)
8
+ platform = params[:platform]
11
9
  UI.user_error!("Invalid platform value #{platform}") unless %w[android ios].include?(platform)
12
10
 
13
11
  default_version = '~> 0.2'
12
+ version = params[:version]
14
13
  version = default_version if blank?(version)
14
+
15
15
  url = 'https://github.com/ravnhq/mobile-cicd'
16
16
  path = platform == 'android' ? 'lanes/android.rb' : 'lanes/ios.rb'
17
17
  dependencies = %w[lanes/util.rb]
@@ -1,5 +1,5 @@
1
1
  module Fastlane
2
2
  module RavnMobile
3
- VERSION = '0.1.8'
3
+ VERSION = '0.1.10'
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fastlane-plugin-ravn_mobile
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.8
4
+ version: 0.1.10
5
5
  platform: ruby
6
6
  authors:
7
7
  - ravnhq