Skip to content

Commit

Permalink
Merge branch 'master' into fix-comment-bug
Browse files Browse the repository at this point in the history
  • Loading branch information
jonmagic committed Apr 24, 2018
2 parents 14eae14 + 924d3e6 commit f5d9edb
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 2 additions & 0 deletions Changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@
* Add gem version badge to README.md ([#328](https://github.com/bkeepers/dotenv/pull/328))
* Rescue from bundler require error ([#330](https://github.com/bkeepers/dotenv/pull/330))

[Full Changelog](https://github.com/bkeepers/dotenv/compare/v2.2.2...v2.3.0)

## 2.2.2 - Apr 9, 2018

* Support Rails 5.2 ([#325](https://github.com/bkeepers/dotenv/pull/325))
Expand Down
4 changes: 2 additions & 2 deletions lib/dotenv/parser.rb
Original file line number Diff line number Diff line change
Expand Up @@ -32,12 +32,12 @@ class Parser
class << self
attr_reader :substitutions

def call(string, is_load)
def call(string, is_load = false)
new(string, is_load).call
end
end

def initialize(string, is_load)
def initialize(string, is_load = false)
@string = string
@hash = {}
@is_load = is_load
Expand Down

0 comments on commit f5d9edb

Please sign in to comment.