yard-rest-plugin 0.2.0 → 0.2.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/VERSION +1 -1
- data/pkg/yard-rest-plugin-0.2.1.gem +0 -0
- data/templates/rest/class/html/header.erb +1 -1
- data/templates/rest/disqus/html/disqus.erb +24 -0
- data/templates/rest/disqus/setup.rb +9 -0
- data/templates/rest/layout/html/search.erb +1 -1
- data/templates/rest/layout/html/setup.rb +1 -0
- data/yard-rest-plugin.gemspec +5 -2
- metadata +6 -3
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
0.2.
|
|
1
|
+
0.2.1
|
|
Binary file
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
<div class="service">
|
|
2
2
|
<h1><span class="minor_heading">Resource: </span><%= object.tag("url").text %></h1>
|
|
3
3
|
<% unless object.tags("topic").empty? %>
|
|
4
|
-
<h3>Topics:</h3>
|
|
4
|
+
<h3 class="topic">Topics:</h3>
|
|
5
5
|
<ul class="box">
|
|
6
6
|
<% object.tags("topic").each do |topic| %>
|
|
7
7
|
<li><%= topic.text %></li>
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
<h2>Discuss this Resource</h2>
|
|
2
|
+
<div id="disqus_thread"></div>
|
|
3
|
+
<script type="text/javascript">
|
|
4
|
+
var disqus_shortname = 'vworkapi';
|
|
5
|
+
var disqus_identifier = "<%= @disqus_identifier %>";
|
|
6
|
+
// var disqus_developer = 1;
|
|
7
|
+
/**
|
|
8
|
+
* var disqus_identifier; [Optional but recommended: Define a unique identifier (e.g. post id or slug) for this thread]
|
|
9
|
+
*/
|
|
10
|
+
(function() {
|
|
11
|
+
var dsq = document.createElement('script'); dsq.type = 'text/javascript'; dsq.async = true;
|
|
12
|
+
dsq.src = 'http://vworkapi.disqus.com/embed.js';
|
|
13
|
+
(document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0]).appendChild(dsq);
|
|
14
|
+
})();
|
|
15
|
+
</script>
|
|
16
|
+
<noscript>Please enable JavaScript to view the <a href="http://disqus.com/?ref_noscript=vworkapi">comments powered by Disqus.</a></noscript>
|
|
17
|
+
<a href="http://disqus.com" class="dsq-brlink">API comments powered by <span class="logo-disqus">Disqus</span></a>
|
|
18
|
+
<script type="text/javascript">
|
|
19
|
+
(function () {
|
|
20
|
+
var s = document.createElement('script'); s.async = true;
|
|
21
|
+
s.src = 'http://disqus.com/forums/vworkapi/count.js';
|
|
22
|
+
(document.getElementsByTagName('HEAD')[0] || document.getElementsByTagName('BODY')[0]).appendChild(s);
|
|
23
|
+
}());
|
|
24
|
+
</script>
|
data/yard-rest-plugin.gemspec
CHANGED
|
@@ -5,11 +5,11 @@
|
|
|
5
5
|
|
|
6
6
|
Gem::Specification.new do |s|
|
|
7
7
|
s.name = %q{yard-rest-plugin}
|
|
8
|
-
s.version = "0.2.
|
|
8
|
+
s.version = "0.2.1"
|
|
9
9
|
|
|
10
10
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
|
11
11
|
s.authors = ["Aisha Fenton"]
|
|
12
|
-
s.date = %q{2010-07-
|
|
12
|
+
s.date = %q{2010-07-19}
|
|
13
13
|
s.description = %q{A plugin for Yardoc that produces API documentation for Restful web services. See README.markdown for more details}
|
|
14
14
|
s.email = %q{aisha.fenton@visfleet.com}
|
|
15
15
|
s.extra_rdoc_files = [
|
|
@@ -25,10 +25,13 @@ Gem::Specification.new do |s|
|
|
|
25
25
|
"lib/yard-rest-plugin/base_helper.rb",
|
|
26
26
|
"pkg/yard-rest-plugin-0.1.5.gem",
|
|
27
27
|
"pkg/yard-rest-plugin-0.2.0.gem",
|
|
28
|
+
"pkg/yard-rest-plugin-0.2.1.gem",
|
|
28
29
|
"templates/rest/.DS_Store",
|
|
29
30
|
"templates/rest/class/html/header.erb",
|
|
30
31
|
"templates/rest/class/html/method_details_list.erb",
|
|
31
32
|
"templates/rest/class/html/setup.rb",
|
|
33
|
+
"templates/rest/disqus/html/disqus.erb",
|
|
34
|
+
"templates/rest/disqus/setup.rb",
|
|
32
35
|
"templates/rest/docstring/html/setup.rb",
|
|
33
36
|
"templates/rest/docstring/html/text.erb",
|
|
34
37
|
"templates/rest/fulldoc/.DS_Store",
|
metadata
CHANGED
|
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
|
|
|
5
5
|
segments:
|
|
6
6
|
- 0
|
|
7
7
|
- 2
|
|
8
|
-
-
|
|
9
|
-
version: 0.2.
|
|
8
|
+
- 1
|
|
9
|
+
version: 0.2.1
|
|
10
10
|
platform: ruby
|
|
11
11
|
authors:
|
|
12
12
|
- Aisha Fenton
|
|
@@ -14,7 +14,7 @@ autorequire:
|
|
|
14
14
|
bindir: bin
|
|
15
15
|
cert_chain: []
|
|
16
16
|
|
|
17
|
-
date: 2010-07-
|
|
17
|
+
date: 2010-07-19 00:00:00 +12:00
|
|
18
18
|
default_executable:
|
|
19
19
|
dependencies:
|
|
20
20
|
- !ruby/object:Gem::Dependency
|
|
@@ -48,10 +48,13 @@ files:
|
|
|
48
48
|
- lib/yard-rest-plugin/base_helper.rb
|
|
49
49
|
- pkg/yard-rest-plugin-0.1.5.gem
|
|
50
50
|
- pkg/yard-rest-plugin-0.2.0.gem
|
|
51
|
+
- pkg/yard-rest-plugin-0.2.1.gem
|
|
51
52
|
- templates/rest/.DS_Store
|
|
52
53
|
- templates/rest/class/html/header.erb
|
|
53
54
|
- templates/rest/class/html/method_details_list.erb
|
|
54
55
|
- templates/rest/class/html/setup.rb
|
|
56
|
+
- templates/rest/disqus/html/disqus.erb
|
|
57
|
+
- templates/rest/disqus/setup.rb
|
|
55
58
|
- templates/rest/docstring/html/setup.rb
|
|
56
59
|
- templates/rest/docstring/html/text.erb
|
|
57
60
|
- templates/rest/fulldoc/.DS_Store
|