Skip to content
This repository has been archived by the owner on Sep 6, 2022. It is now read-only.

Dot Keys environment missing param #795

Merged
merged 2 commits into from
May 4, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ gem "tty-command", ">= 0.7.0", "< 1.0.0"
gem "octokit", ">= 4.8.0", "< 5.0.0"

# Load the `.keys` dotenv file we use to store encryption data
gem "dotenv", ">= 2.2.1", "< 3.0.0"
gem "dotenv", ">= 2.4.0", "< 3.0.0"

# Caching for octokit operations
gem "faraday-http-cache"
Expand Down
4 changes: 2 additions & 2 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ GIT

GIT
remote: https:/fastlane/fastlane
revision: 27fd2c57a9519c03393b21191285caacf075f294
revision: 960b4e82261bed07fc560f1a1f1396484ce8ff49
specs:
fastlane (2.94.0)
CFPropertyList (>= 2.3, < 4.0.0)
Expand Down Expand Up @@ -313,7 +313,7 @@ DEPENDENCIES
bcrypt (>= 3.1.11, < 4.0.0)
bundler (~> 1.16.0)
coveralls
dotenv (>= 2.2.1, < 3.0.0)
dotenv (>= 2.4.0, < 3.0.0)
faraday-http-cache
fastfile-parser!
fastlane!
Expand Down
2 changes: 1 addition & 1 deletion app/services/dot_keys_variable_service.rb
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ def reload_dot_env!
return unless File.exist?(keys_file_path)

require "dotenv"
ENV.update(Dotenv::Environment.new(keys_file_path))
ENV.update(Dotenv::Environment.new(keys_file_path, true))

Services.reset_services!
end
Expand Down