capistrano-dotenv 0.0.1 → 0.0.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/capistrano/dotenv/tasks.cap +4 -4
- data/lib/capistrano/dotenv/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 761afd80944521fda17ca53d59d0d9081a36340c
|
4
|
+
data.tar.gz: 0a494033204d539c456086c8a27fd7b2b82b88ad
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5eeaf4e305f45a3ecda0ec227f935fb23dd1638d90c0a42ddae8b1ded1a9420e0223e101be717bf6571649b2d76fd1589d7d9a2125c96fc16f752b44c0b48c18
|
7
|
+
data.tar.gz: 4a5629c731109d2c948e6035b0fdc464091317ad81e9eb99d314fb36bb02fb1f41d2fa4a9eb7a69f40d02ddf86d73ed2b59f60331a50cda60c0fcd48f35efd6b
|
@@ -1,15 +1,15 @@
|
|
1
|
-
require 'env_extractor'
|
1
|
+
require 'capistrano/dotenv/env_extractor'
|
2
2
|
|
3
3
|
namespace :dotenv do
|
4
4
|
task :check do
|
5
5
|
env_vars = fetch(:env_vars)
|
6
6
|
|
7
|
-
OPTIONAL_VARS = fetch(:optional_env_vars, [])
|
8
|
-
IGNORED_VARS = fetch(:ignored_env_vars, [])
|
7
|
+
OPTIONAL_VARS = fetch(:optional_env_vars, [])
|
8
|
+
IGNORED_VARS = fetch(:ignored_env_vars, [])
|
9
9
|
|
10
10
|
missing_vars = []
|
11
11
|
optional_vars = []
|
12
|
-
EnvExtractor.extract_env_vars.each do |ocurrence|
|
12
|
+
EnvExtractor.new.extract_env_vars.each do |ocurrence|
|
13
13
|
next if env_vars.include?(ocurrence[0])
|
14
14
|
next if IGNORED_VARS.include?(ocurrence[0])
|
15
15
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: capistrano-dotenv
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- João Paulo Lethier
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-07-
|
11
|
+
date: 2017-07-10 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: capistrano
|