useless 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/useless/rack.rb CHANGED
@@ -5,6 +5,8 @@ require 'low/rack/request_logger'
5
5
  require 'low/rack/subdomain_map'
6
6
  require 'low/scoped_logger'
7
7
 
8
+ require 'useless/mongo'
9
+ require 'useless/fs'
8
10
  require 'useless/rack/middleware/exceptions'
9
11
  require 'useless/rack/middleware/assets'
10
12
  require 'useless/rack/middleware/mongo'
@@ -18,11 +20,11 @@ module Useless
18
20
  class Rack
19
21
 
20
22
  def self.mongo
21
- @mongo ||= Mongo.for_env
23
+ @mongo ||= Useless::Mongo.for_env
22
24
  end
23
25
 
24
26
  def self.fs
25
- @fs ||= FS.new(mongo)
27
+ @fs ||= Useless::FS.new(mongo)
26
28
  end
27
29
 
28
30
  def initialize(map = nil, &block)
@@ -1,3 +1,3 @@
1
1
  module Useless
2
- VERSION = '0.0.7'
2
+ VERSION = '0.0.8'
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.7
4
+ version: 0.0.8
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2012-10-27 00:00:00.000000000 Z
12
+ date: 2012-11-06 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rack