fastlane-plugin-dotenv_vault 0.10.0.beta.1 → 0.10.0.beta.2

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: 011f004c887229bb0b01e7a79de00a32c91ea0c5bc6209ba0ceaf50543a285a3
4
- data.tar.gz: fe9d61227d2087bf7f10274f1227a60d94a107998410939cc18707220b5c0315
3
+ metadata.gz: ccf78e1b34dc8a9c81e2c5e936af5fcf1086e15298e11803befd92ee6e120c6f
4
+ data.tar.gz: e79d3c5060d86b2683de605ff38c1af6813ae1171826f6f9dfcac36aedfd7d68
5
5
  SHA512:
6
- metadata.gz: 17bb7c602037a5512d83eb33835451b0050776ef89d054e9ae8b546cc8d2d6490411401b6d30cf4a16d954b8b7d5a360fc479b41d670bcbde08796728ad57fca
7
- data.tar.gz: dc30fd159b09e760eca846e98784ac65e52ff9f11f3c103f7da4c3a7d508027d69595384bac688b5a97d5cf3cc6c8c691c7349e7a17e7f4b6b39a9a4c1afc0d0
6
+ metadata.gz: 0d37550944f56e7fcd13976964786ef5ee0d528fc25f81bf3445d7eeb050fa82a3fccc7b118575496997bb405853f48c4e6ca4dbc1f50e297378b1cf01758fd1
7
+ data.tar.gz: 58f8bc56d52245c5a6ca2f2f3db07648453c1cc2966de223aa772f37bd8a5e59486af064ac6a8b26be39e598680ff6e3eb4b4260f80955ce122f2fa9a41871eb
@@ -1,13 +1,16 @@
1
1
  require 'fastlane/action'
2
+ require 'fastlane_core/configuration/config_item'
2
3
  require 'dotenv-vault'
3
4
  require_relative '../helper/dotenv_vault_helper'
4
5
 
5
6
  module Fastlane
6
7
  module Actions
7
8
  class DotenvVaultAction < Action
8
- def self.run(_params)
9
+ def self.run(params)
10
+ params.values
11
+
9
12
  if defined?(::DotenvVault)
10
- ::DotenvVault.load
13
+ ::DotenvVault.load(params[:vault_path])
11
14
  end
12
15
  end
13
16
 
@@ -30,11 +33,11 @@ module Fastlane
30
33
 
31
34
  def self.available_options
32
35
  [
33
- # FastlaneCore::ConfigItem.new(key: :your_option,
34
- # env_name: "DOTENV_VAULT_YOUR_OPTION",
35
- # description: "A description of your option",
36
- # optional: false,
37
- # type: String)
36
+ FastlaneCore::ConfigItem.new(key: :vault_path,
37
+ env_name: "DOTENV_VAULT_PATH",
38
+ description: "Path to .env.vault file (default is ./.env.vault)",
39
+ default_value: ".env.vault",
40
+ type: String)
38
41
  ]
39
42
  end
40
43
 
@@ -1,5 +1,5 @@
1
1
  module Fastlane
2
2
  module DotenvVault
3
- VERSION = "0.10.0.beta.1"
3
+ VERSION = "0.10.0.beta.2"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fastlane-plugin-dotenv_vault
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.10.0.beta.1
4
+ version: 0.10.0.beta.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - mileszim