webapidoc 0.0.7 → 0.0.8
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/webapidoc/base.rb +4 -2
- data/lib/webapidoc/version.rb +1 -1
- metadata +3 -3
data/lib/webapidoc/base.rb
CHANGED
@@ -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 "
|
10
|
+
raise "paths are invalid: #{t}"
|
9
11
|
end
|
10
12
|
|
11
13
|
def self.build
|
data/lib/webapidoc/version.rb
CHANGED
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:
|
4
|
+
hash: 15
|
5
5
|
prerelease:
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 0
|
9
|
-
-
|
10
|
-
version: 0.0.
|
9
|
+
- 8
|
10
|
+
version: 0.0.8
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Adrian Fuhrmann
|