Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Add generated at timestamp metadata to services

  • Loading branch information...
commit ad46de8b29415c3392a52e2755236aae8b93c32e 1 parent e901983
@paul paul authored
Showing with 5 additions and 1 deletion.
  1. +5 −1 Rakefile
View
6 Rakefile
@@ -22,8 +22,12 @@ namespace :services do
:title => svc.title, :schema => svc.schema}
end
services.sort! { |x, y| x[:name] <=> y[:name] }
+ data = {
+ :metadata => { :generated_at => Time.now.utc },
+ :services => services
+ }
File.open file, 'w' do |io|
- io << Yajl.dump(services, :pretty => true)
+ io << Yajl.dump(data, :pretty => true)
end
end
end
Please sign in to comment.
Something went wrong with that request. Please try again.