sinatra-rabbit 1.1.1 → 1.1.2

Sign up to get free protection for your applications and to get access to all the features.
@@ -31,6 +31,17 @@
31
31
  %td
32
32
  %small=f.description
33
33
 
34
+ - if !collection.collections.empty?
35
+ %h3 Sub-Collections
36
+ %table.table.table-bordered
37
+ %tbody
38
+ - collection.collections.each do |c|
39
+ %tr
40
+ %td
41
+ %a{ :href => url(c.docs_url)}=c.collection_name
42
+ %td
43
+ %small=c.description || '%s subcollection of %s' % [ c.collection_name.to_s.capitalize, collection.collection_name]
44
+
34
45
  %h3 Operations
35
46
  %table.table.table-bordered
36
47
  %thead
@@ -29,7 +29,7 @@ Gem::Specification.new do |s|
29
29
  a simple REST API using easy to undestand DSL.
30
30
  EOF
31
31
 
32
- s.version = '1.1.1'
32
+ s.version = '1.1.2'
33
33
  s.date = Time.now
34
34
  s.summary = %q{Sinatra REST API DSL}
35
35
  s.files = FileList[
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sinatra-rabbit
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.1
4
+ version: 1.1.2
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: