kestrel-client 0.2.2 → 0.2.3

Sign up to get free protection for your applications and to get access to all the features.
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.2.2
1
+ 0.2.3
@@ -5,11 +5,11 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{kestrel-client}
8
- s.version = "0.2.2"
8
+ s.version = "0.2.3"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Matt Freels", "Rael Dornfest"]
12
- s.date = %q{2010-04-22}
12
+ s.date = %q{2010-05-04}
13
13
  s.description = %q{Ruby client for the Kestrel queue server}
14
14
  s.email = %q{rael@twitter.com}
15
15
  s.extra_rdoc_files = [
data/lib/kestrel.rb CHANGED
@@ -2,10 +2,8 @@ require 'yaml'
2
2
  require 'socket'
3
3
  require 'memcached'
4
4
 
5
- require 'kestrel/config'
6
5
  require 'kestrel/client'
7
- require 'kestrel/client/proxy'
8
- require 'kestrel/client/envelope'
9
- require 'kestrel/client/blocking'
10
- require 'kestrel/client/unmarshal'
11
- require 'kestrel/client/namespace'
6
+
7
+ module Kestrel
8
+ autoload :Config, 'kestrel/config'
9
+ end
@@ -1,5 +1,11 @@
1
1
  module Kestrel
2
2
  class Client < Memcached::Rails
3
+ autoload :Proxy, 'kestrel/client/proxy'
4
+ autoload :Envelope, 'kestrel/client/envelope'
5
+ autoload :Blocking, 'kestrel/client/blocking'
6
+ autoload :Unmarshal, 'kestrel/client/unmarshal'
7
+ autoload :Namespace, 'kestrel/client/namespace'
8
+
3
9
  QUEUE_STAT_NAMES = %w{items bytes total_items logsize expired_items mem_items mem_bytes age discarded}
4
10
 
5
11
  def flush(queue)
metadata CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 0
7
7
  - 2
8
- - 2
9
- version: 0.2.2
8
+ - 3
9
+ version: 0.2.3
10
10
  platform: ruby
11
11
  authors:
12
12
  - Matt Freels
@@ -15,7 +15,7 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2010-04-22 00:00:00 -07:00
18
+ date: 2010-05-04 00:00:00 -07:00
19
19
  default_executable:
20
20
  dependencies:
21
21
  - !ruby/object:Gem::Dependency