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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ccf78e1b34dc8a9c81e2c5e936af5fcf1086e15298e11803befd92ee6e120c6f
|
4
|
+
data.tar.gz: e79d3c5060d86b2683de605ff38c1af6813ae1171826f6f9dfcac36aedfd7d68
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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(
|
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
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
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
|
|