Skip to content

Commit

Permalink
Remove usage of deprecated api
Browse files Browse the repository at this point in the history
  • Loading branch information
hellvinz committed Jun 19, 2023
1 parent 87df072 commit aa95090
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/env_json/railtie.rb
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ class Railtie < Rails::Railtie
def load_env()
env_json_file = Rails.root.join('config/env.json')
environment_name = Rails.env
puts "EnvJson: file #{env_json_file} does not exists" && return unless File.exists? env_json_file
puts "EnvJson: file #{env_json_file} does not exists" && return unless File.exist? env_json_file
EnvJson.load_env_from_source_with_overrides(env_json_file, environment_name)
end

Expand Down
2 changes: 1 addition & 1 deletion lib/env_json/version.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
module EnvJson
# EnvJson version
VERSION = "0.3.1"
VERSION = "0.3.2"
end

0 comments on commit aa95090

Please sign in to comment.