lib/bundler.rb in bundler-1.16.1 vs lib/bundler.rb in bundler-1.16.2
- old
+ new
@@ -134,11 +134,11 @@
configure
Definition.build(default_gemfile, default_lockfile, unlock)
end
end
- def frozen?
+ def frozen_bundle?
frozen = settings[:deployment]
frozen ||= settings[:frozen] unless feature_flag.deployment_means_frozen?
frozen
end
@@ -425,10 +425,10 @@
@gemspec_cache[key].dup if @gemspec_cache[key]
end
def load_gemspec_uncached(file, validate = false)
path = Pathname.new(file)
- contents = path.read
+ contents = read_file(file)
spec = if contents.start_with?("---") # YAML header
eval_yaml_gemspec(path, contents)
else
# Eval the gemspec from its parent directory, because some gemspecs
# depend on "./" relative paths.