useless 0.0.9 → 0.0.10

Sign up to get free protection for your applications and to get access to all the features.
@@ -4,7 +4,7 @@ module Useless
4
4
  # Useless::Base::Doc just calls .serve on `useless.doc`
5
5
  module Doc
6
6
  def self.call(env)
7
- env['useless.doc'].serve File.expand_path('../../../../DOC.html', __FILE__)
7
+ env['useless.doc'].serve File.expand_path('../../../../../DOC.html', __FILE__)
8
8
  end
9
9
  end
10
10
  end
@@ -14,7 +14,7 @@ module Useless
14
14
  end
15
15
 
16
16
  # The path is relative to the assets directory in the gem root
17
- path = File.expand_path("../../../../assets#{env['PATH_INFO']}", __FILE__)
17
+ path = File.expand_path("../../../../../assets#{env['PATH_INFO']}", __FILE__)
18
18
 
19
19
  # If there's a corresponding file:
20
20
  if File.exists?(path) and !File.directory?(path)
@@ -1,3 +1,3 @@
1
1
  module Useless
2
- VERSION = '0.0.9'
2
+ VERSION = '0.0.10'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: useless
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.9
4
+ version: 0.0.10
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: