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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 11fe5a7213474a84d17cab3ae2adb6a6bd564b9a
4
- data.tar.gz: 042e5d9f370e6f54e588e1501dcfc1dc6d519131
3
+ metadata.gz: 761afd80944521fda17ca53d59d0d9081a36340c
4
+ data.tar.gz: 0a494033204d539c456086c8a27fd7b2b82b88ad
5
5
  SHA512:
6
- metadata.gz: 02719c7430315ce14de5db4669daafb5980497cfaa72189ad815abb7fcaeea45140f5f703539fe9bb66a4ad3a1bb86d11340517cfe26dfed431cd9f783659057
7
- data.tar.gz: 863dbfcf1543797eec8bc954f1e4fb79b48aad2a1fd18ad393c25d29aee20da8decbf2e0e5a7253ccfd0630090fc82a0793182df21c39bee4cdbc4ca46af4b55
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, [])#%w(SEGMENT_KEY GTM_CODE RAILS_SERVE_STATIC_FILES ASSETS_VERSION)
8
- IGNORED_VARS = fetch(:ignored_env_vars, [])#%w(BUNDLE_GEMFILE DB_REAPING_FREQUENCY CI CIRCLE_ARTIFACTS COVERAGE FB_SECRET)
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
 
@@ -3,6 +3,6 @@ module Capistrano
3
3
  # Dotenv
4
4
  module Dotenv
5
5
  # Gem version
6
- VERSION = '0.0.1'
6
+ VERSION = '0.0.2'
7
7
  end
8
8
  end
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.1
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-09 00:00:00.000000000 Z
11
+ date: 2017-07-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: capistrano