fastlane-plugin-ravn_mobile 0.1.9 → 0.1.10

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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 20b98520b34dab3641137e0a4b3d2951f49b244f5457d4c493ffd2e37b56a25e
4
- data.tar.gz: 6ecf8b4816b230575b23b3e03135b10ae94aa703fc956f6b8c0f15e4ea8b0e01
3
+ metadata.gz: 9136a3031ccb1895faded9f4e931d42422f0e12fcea33f1e65d5468e3c3a55dc
4
+ data.tar.gz: '038ccd1d19f6146d885402ee968e758f7ff0a41eeaca90c61945ce0672330aba'
5
5
  SHA512:
6
- metadata.gz: 34680326a916d62fc2477034acffca8bdb4b8e76909335fb8e1ea967e8137bb87ba33bb362067dddaf93aa9d2009c5868f337d9b755c8608c6bc40ef1ab3a7e6
7
- data.tar.gz: 848e50868b99b41ab31b226007d7674cdb2606ac141c9d7bf0b725f337f1711e1ccdd49d7cd8e6cd96053d2d49d31d3ff4d65ad23f43e0fdb28308c568617829
6
+ metadata.gz: e6831dd27995930eaef8220b93ac538255db9d7c169a9588865cc2995be06604d41377f22c29f185e60e2c9f6ad0afd00b597bf13191ebbe30b58db04d0b3410
7
+ data.tar.gz: 84826f0a2620f7cd3fcf462c6f71b64c2f45d28914c031e86f1e2d5c5960427a8427d6e33ef87858fff858720ef8f7841114b0348408293bb41b0e0854dce3fd
@@ -4,13 +4,14 @@ require_relative '../util/util'
4
4
 
5
5
  module Fastlane
6
6
  class FastFile
7
- # @param [String] platform Either 'android' or 'ios'
8
- # @param [String] version Same syntax as `import_from_git`
9
- def import_ravn_lanes(platform, version = nil)
7
+ def import_ravn_lanes(params)
8
+ platform = params[:platform]
10
9
  UI.user_error!("Invalid platform value #{platform}") unless %w[android ios].include?(platform)
11
10
 
12
11
  default_version = '~> 0.2'
12
+ version = params[:version]
13
13
  version = default_version if blank?(version)
14
+
14
15
  url = 'https://github.com/ravnhq/mobile-cicd'
15
16
  path = platform == 'android' ? 'lanes/android.rb' : 'lanes/ios.rb'
16
17
  dependencies = %w[lanes/util.rb]
@@ -1,5 +1,5 @@
1
1
  module Fastlane
2
2
  module RavnMobile
3
- VERSION = '0.1.9'
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.9
4
+ version: 0.1.10
5
5
  platform: ruby
6
6
  authors:
7
7
  - ravnhq