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 CHANGED
@@ -1 +1 @@
1
- 0.2.5
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
- ::YARD::Templates::Engine.instance_eval do
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::Templates::Engine.github_url %>
2
- Master : <%= YARD::Templates::Engine.github_master %>
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
@@ -5,7 +5,7 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = "yard-nowpunk"
8
- s.version = "0.2.5"
8
+ s.version = "0.2.6"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Farley Knight"]
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.5
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: -1551894773517352841
98
+ hash: 2978510322033082246
99
99
  required_rubygems_version: !ruby/object:Gem::Requirement
100
100
  none: false
101
101
  requirements: