raddocs 2.0.0 → 2.2.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/lib/views/index.haml +6 -5
  3. metadata +8 -8
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 5043b44d22752b964fc9a570ef8a2788e052b40c
4
- data.tar.gz: 311bb2c3b45d3707d2da468e65fe685f68c5b438
3
+ metadata.gz: 92c7921bd53f1f02b5ef25105adb2e257115fe13
4
+ data.tar.gz: de45b8cf2ebb87c6d01d340db8be6d4ca5c10320
5
5
  SHA512:
6
- metadata.gz: b17b829952b94d6730582268d63c3b1fa72d26fe4f08c40b54cb54a75db48b4cff2439b9f2167c3a1e03c5148c1e4410ba84ba173d22aea80749ec97cbc37bcf
7
- data.tar.gz: 3c9f051091ae8ee325b8d985ea236510cbe1f3d675d3bee556aa1cfe3d9f532198a54c898eb8d029c06584a85bb8a1e0a86a83562e500ae05866fa5a0bf53ae0
6
+ metadata.gz: fba15fe68ca8f867a4cbe7bfa1dbe47d84ebb643eb76d0fcf606273519ddce3c9bfde27530f89c6972cb9ebb2dd4b06cd9abd9ad318048358cfad67af46bd2ae
7
+ data.tar.gz: c07dd6fc8a711f0053eba2ce54cc6882250a3ee75e58e64351ae958dd928e0a51870037e6f6a5d7af0a18c23e1073b50537738b295a27237f5579abbee752d4f
@@ -1,10 +1,11 @@
1
1
  %h1= api_name
2
2
 
3
- %h2 Guides
4
- %ul.guides
5
- - guides.each do |guide|
6
- %li.guide
7
- = link_to guide.title, "/#{guide.href}"
3
+ - if guides.any?
4
+ %h2 Guides
5
+ %ul.guides
6
+ - guides.each do |guide|
7
+ %li.guide
8
+ = link_to guide.title, "/#{guide.href}"
8
9
 
9
10
  - index.resources.each do |resource|
10
11
  .resource
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: raddocs
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.0
4
+ version: 2.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Eric Oestrich
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-05-15 00:00:00.000000000 Z
11
+ date: 2017-07-24 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: sinatra
@@ -28,30 +28,30 @@ dependencies:
28
28
  name: haml
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
- - - "~>"
31
+ - - ">="
32
32
  - !ruby/object:Gem::Version
33
33
  version: '4.0'
34
34
  type: :runtime
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
- - - "~>"
38
+ - - ">="
39
39
  - !ruby/object:Gem::Version
40
40
  version: '4.0'
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: json
43
43
  requirement: !ruby/object:Gem::Requirement
44
44
  requirements:
45
- - - "~>"
45
+ - - ">="
46
46
  - !ruby/object:Gem::Version
47
- version: '1.8'
47
+ version: '0'
48
48
  type: :runtime
49
49
  prerelease: false
50
50
  version_requirements: !ruby/object:Gem::Requirement
51
51
  requirements:
52
- - - "~>"
52
+ - - ">="
53
53
  - !ruby/object:Gem::Version
54
- version: '1.8'
54
+ version: '0'
55
55
  - !ruby/object:Gem::Dependency
56
56
  name: rspec
57
57
  requirement: !ruby/object:Gem::Requirement