app/views/katello/api/v2/packages/show.json.rabl in katello-1.5.0 vs app/views/katello/api/v2/packages/show.json.rabl in katello-2.2.2

- old
+ new

@@ -1,15 +1,7 @@ object @resource attributes :_id => :id attributes :_content_type_id => :content_type_id -attributes :name, :description, :epoch, :checksum, :arch, :version +attributes :name, :description, :epoch, :checksum, :arch, :version, :nvrea attributes :license, :filename, :buildhost, :vendor, :relativepath attributes :children, :release, :checksumtype, :checksum, :repoids - -node :provides do |res| - res.provides.map { |e| { :feature => { :name => e[0], :comparator => e[1], :version => e[2] } } } -end - -node :requires do |res| - res.requires.map { |e| { :feature => { :name => e[0], :comparator => e[1], :version => e[2] } } } -end