lib/release_me/adapter.rb in release_me-0.1.1 vs lib/release_me/adapter.rb in release_me-0.1.2
- old
+ new
@@ -48,10 +48,12 @@
YAML.load_file(file)[adapter.version_field]
when '.rb'
# reads in the ruby version file and should return the version if
# that is the last thing executed
eval(File.read(file))
- end
+ else
+ File.read(file)
+ end
end
# @return [Hash] - adapter config type
# @param [String] - path to the directory in which you want to check
def detect_adapter_config(path = Dir.pwd)