lib/upr.rb in upr-0.1.0 vs lib/upr.rb in upr-0.2.0
- old
+ new
@@ -1,18 +1,17 @@
# -*- encoding: binary -*-
require 'moneta'
+require 'upr/status'
module Upr
# Upr version number
- VERSION = '0.1.0'
+ VERSION = '0.2.0'
- # this is what we store in the Moneta-backed monitor
- class Status < Struct.new(:seen, :length)
- end
-
autoload :Monitor, 'upr/monitor'
+ autoload :Params, 'upr/params'
autoload :InputWrapper, 'upr/input_wrapper'
+ autoload :JSON, 'upr/json'
# Initializes a new instance of Upr::InputWrapper. Usage in config.ru:
#
# use Upr, :path_info => %w(/upload),
# :drb => "druby://192.168.0.1:666",