lib/dotenv/parser.rb in dotenv-2.1.1 vs lib/dotenv/parser.rb in dotenv-2.1.2

- old
+ new

@@ -7,13 +7,14 @@ # This class enables parsing of a string for key value pairs to be returned # and stored in the Environment. It allows for variable substitutions and # exporting of variables. class Parser @substitutions = - Substitutions.constants.map { |const| Substitutions.const_get(const) } + [Dotenv::Substitutions::Variable, Dotenv::Substitutions::Command] LINE = / \A + \s* (?:export\s+)? # optional export ([\w\.]+) # key (?:\s*=\s*|:\s+?) # separator ( # optional value begin '(?:\'|[^'])*' # single quoted value