lib/git-object-browser/models/index.rb in git-object-browser-0.0.2 vs lib/git-object-browser/models/index.rb in git-object-browser-0.0.3
- old
+ new
@@ -58,14 +58,14 @@
@extensions.each do |extension|
extensions << extension.to_hash
end
return {
- "version" => @version,
- "entry_count" => @entry_count,
- "entries" => entries,
- "extensions" => extensions,
- "sha1" => @sha1,
+ :version => @version,
+ :entry_count => @entry_count,
+ :entries => entries,
+ :extensions => extensions,
+ :sha1 => @sha1,
}
end
def self.path?(relpath)
relpath == "index"