yard-nowpunk 0.2.5 → 0.2.6
Sign up to get free protection for your applications and to get access to all the features.
- data/VERSION +1 -1
- data/lib/yard-nowpunk.rb +3 -1
- data/templates/default/module/html/defines.erb +2 -2
- data/yard-nowpunk.gemspec +1 -1
- metadata +2 -2
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.2.
|
1
|
+
0.2.6
|
data/lib/yard-nowpunk.rb
CHANGED
@@ -1,8 +1,10 @@
|
|
1
1
|
::YARD::Templates::Engine.register_template_path File.dirname(__FILE__) + '/../templates'
|
2
2
|
|
3
|
+
class YARD::Nowpunk; end
|
4
|
+
|
3
5
|
url = File.read(".git/config").match(/url = git:\/\/(.*).git/)[1]
|
4
6
|
|
5
|
-
|
7
|
+
YARD::Nowpunk.instance_eval do
|
6
8
|
define_method :github_url do
|
7
9
|
"http://" + url
|
8
10
|
end
|
@@ -1,5 +1,5 @@
|
|
1
|
-
URL : <%= YARD::
|
2
|
-
Master : <%= YARD::
|
1
|
+
URL : <%= YARD::Nowpunk.github_url %>
|
2
|
+
Master : <%= YARD::Nowpunk.github_master %>
|
3
3
|
|
4
4
|
<%= object.file ? object.file : '(unknown)' %><% if object.files.size > 1 %><span class="defines">,<br />
|
5
5
|
<%= object.files[1..-1].map {|f| f.first }.join(",<br /> ") %></span>
|
data/yard-nowpunk.gemspec
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: yard-nowpunk
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.6
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -95,7 +95,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
95
95
|
version: '0'
|
96
96
|
segments:
|
97
97
|
- 0
|
98
|
-
hash:
|
98
|
+
hash: 2978510322033082246
|
99
99
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
100
100
|
none: false
|
101
101
|
requirements:
|