about summary refs log tree commit homepage
diff options
context:
space:
mode:
-rw-r--r--lib/upr.rb5
-rw-r--r--lib/upr/status.rb6
2 files changed, 7 insertions, 4 deletions
diff --git a/lib/upr.rb b/lib/upr.rb
index 825562e..e1fc4c0 100644
--- a/lib/upr.rb
+++ b/lib/upr.rb
@@ -1,15 +1,12 @@
 # -*- encoding: binary -*-
 
 require 'moneta'
+require 'upr/status'
 module Upr
 
   # Upr version number
   VERSION = '0.1.0'
 
-  # this is what we store in the Moneta-backed monitor
-  class Status < Struct.new(:seen, :length)
-  end
-
   autoload :Monitor, 'upr/monitor'
   autoload :InputWrapper, 'upr/input_wrapper'
 
diff --git a/lib/upr/status.rb b/lib/upr/status.rb
new file mode 100644
index 0000000..b84357e
--- /dev/null
+++ b/lib/upr/status.rb
@@ -0,0 +1,6 @@
+module Upr
+
+  # this is what we store in the Moneta-backed monitor
+  class Status < Struct.new(:seen, :length)
+  end
+end