api_doc 0.0.9 → 0.0.10
Sign up to get free protection for your applications and to get access to all the features.
- data/Gemfile.lock +1 -1
- data/lib/api_doc/templates/page.html.erb +8 -8
- data/lib/api_doc/version.rb +1 -1
- metadata +4 -4
data/Gemfile.lock
CHANGED
@@ -1,25 +1,25 @@
|
|
1
1
|
<h1><%= @options[:path] %></h1>
|
2
2
|
|
3
3
|
<%% unless tr("<%= @options[:slug] %>", :header).blank? %>
|
4
|
-
<div class='well' style="margin-top: 10px;"><%%= tr("<%= @options[:slug] %>", :header) %></div>
|
4
|
+
<div class='well' style="margin-top: 10px;"><%%= raw tr("<%= @options[:slug] %>", :header) %></div>
|
5
5
|
<%% end %>
|
6
6
|
|
7
7
|
<%% unless tr('<%= @options[:slug] %>', :description).blank? %>
|
8
|
-
<div class='description' style="margin-top: 10px;"><%%= tr('<%= @options[:slug] %>', :description) %></div>
|
8
|
+
<div class='description' style="margin-top: 10px;"><%%= raw tr('<%= @options[:slug] %>', :description) %></div>
|
9
9
|
<%% end %>
|
10
10
|
|
11
11
|
<div class='well' style="margin-top: 10px;">
|
12
|
-
<strong>Requires Authentication:</strong> <%%= tr('<%= @options[:slug] %>', :authentication) %><br/>
|
13
|
-
<strong>Roles Required:</strong> <%%= tr('<%= @options[:slug] %>', :roles) %>
|
12
|
+
<strong>Requires Authentication:</strong> <%%= raw tr('<%= @options[:slug] %>', :authentication) %><br/>
|
13
|
+
<strong>Roles Required:</strong> <%%= raw tr('<%= @options[:slug] %>', :roles) %>
|
14
14
|
</div>
|
15
15
|
|
16
16
|
<!-- request: -->
|
17
17
|
<div class="page-header">
|
18
|
-
<h1><%%= tr('<%= @options[:slug] %>', :request, :header) %></h1>
|
18
|
+
<h1><%%= raw tr('<%= @options[:slug] %>', :request, :header) %></h1>
|
19
19
|
</div>
|
20
20
|
|
21
21
|
<%% unless tr('<%= @options[:slug] %>', :request, :description).blank? %>
|
22
|
-
<div class='request-description' style="margin-top: 10px;"><%%= tr('<%= @options[:slug] %>', :request, :description) %></div>
|
22
|
+
<div class='request-description' style="margin-top: 10px;"><%%= raw tr('<%= @options[:slug] %>', :request, :description) %></div>
|
23
23
|
<%% end %>
|
24
24
|
|
25
25
|
<h2><%= @request.method %> <%= @request.path_info %></h2>
|
@@ -42,12 +42,12 @@
|
|
42
42
|
|
43
43
|
<!-- response: -->
|
44
44
|
<div class="page-header">
|
45
|
-
<h1><%%= tr('<%= @options[:slug] %>', :response, :header) %></h1>
|
45
|
+
<h1><%%= raw tr('<%= @options[:slug] %>', :response, :header) %></h1>
|
46
46
|
<h3>Status: <%= @response.status %></h3>
|
47
47
|
</div>
|
48
48
|
|
49
49
|
<%% unless tr('<%= @options[:slug] %>', :request, :description).blank? %>
|
50
|
-
<div class='response-description' style="margin-top: 10px;"><%%= tr('<%= @options[:slug] %>', :request, :description) %></div>
|
50
|
+
<div class='response-description' style="margin-top: 10px;"><%%= raw tr('<%= @options[:slug] %>', :request, :description) %></div>
|
51
51
|
<%% end %>
|
52
52
|
|
53
53
|
<% if @response.headers.present? %>
|
data/lib/api_doc/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: api_doc
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.10
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2012-08-
|
12
|
+
date: 2012-08-30 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: rails
|
@@ -115,7 +115,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
115
115
|
version: '0'
|
116
116
|
segments:
|
117
117
|
- 0
|
118
|
-
hash:
|
118
|
+
hash: 1864510523992024277
|
119
119
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
120
120
|
none: false
|
121
121
|
requirements:
|
@@ -124,7 +124,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
124
124
|
version: '0'
|
125
125
|
segments:
|
126
126
|
- 0
|
127
|
-
hash:
|
127
|
+
hash: 1864510523992024277
|
128
128
|
requirements: []
|
129
129
|
rubyforge_project:
|
130
130
|
rubygems_version: 1.8.24
|