webapidoc 0.0.7 → 0.0.8

Sign up to get free protection for your applications and to get access to all the features.
@@ -3,9 +3,11 @@ module Webapidoc
3
3
 
4
4
  def self.gem_libdir
5
5
  t = ["#{File.dirname(File.expand_path($0))}/../lib/#{Webapidoc::NAME}",
6
- "#{Gem.dir}/gems/#{Webapidoc::NAME}-#{Webapidoc::VERSION}/lib/#{Webapidoc::NAME}"]
6
+ "#{Gem.dir}/gems/#{Webapidoc::NAME}-#{Webapidoc::VERSION}/lib/#{Webapidoc::NAME}",
7
+ "#{File.dirname(__FILE__)}/lib/#{Webapidoc::NAME}"
8
+ ]
7
9
  t.each {|i| return i if File.readable?(i) }
8
- raise "both paths are invalid: #{t}"
10
+ raise "paths are invalid: #{t}"
9
11
  end
10
12
 
11
13
  def self.build
@@ -1,4 +1,4 @@
1
1
  module Webapidoc
2
2
  NAME = "webapidoc"
3
- VERSION = "0.0.7"
3
+ VERSION = "0.0.8"
4
4
  end
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: webapidoc
3
3
  version: !ruby/object:Gem::Version
4
- hash: 17
4
+ hash: 15
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 0
9
- - 7
10
- version: 0.0.7
9
+ - 8
10
+ version: 0.0.8
11
11
  platform: ruby
12
12
  authors:
13
13
  - Adrian Fuhrmann