queuel 0.4.0 → 0.4.1

Sign up to get free protection for your applications and to get access to all the features.
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- queuel (0.4.0)
4
+ queuel (0.4.1)
5
5
  mono_logger
6
6
  multi_json
7
7
  thread
data/lib/queuel/client.rb CHANGED
@@ -7,7 +7,7 @@ module Queuel
7
7
  self.given_queue = init_queue
8
8
  end
9
9
 
10
- [:peek, :push, :pop, :receive].each do |operation|
10
+ [:peek, :push, :pop, :receive, :size].each do |operation|
11
11
  define_method(operation) do |*args, &block|
12
12
  with_queue { queue_connection.public_send(operation, *args, &block) }
13
13
  end
@@ -1,3 +1,3 @@
1
1
  module Queuel
2
- VERSION = "0.4.0"
2
+ VERSION = "0.4.1"
3
3
  end
@@ -6,6 +6,7 @@ module Queuel
6
6
  it { should respond_to :push }
7
7
  it { should respond_to :pop }
8
8
  it { should respond_to :receive }
9
+ it { should respond_to :size }
9
10
  it { should respond_to :with }
10
11
 
11
12
  describe "fails without a queue" do
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: queuel
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.0
4
+ version: 0.4.1
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: 2014-04-07 00:00:00.000000000 Z
12
+ date: 2014-04-08 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: bundler
@@ -403,7 +403,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
403
403
  version: '0'
404
404
  segments:
405
405
  - 0
406
- hash: 2472164195127432886
406
+ hash: -3766388311581194323
407
407
  required_rubygems_version: !ruby/object:Gem::Requirement
408
408
  none: false
409
409
  requirements:
@@ -412,7 +412,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
412
412
  version: '0'
413
413
  segments:
414
414
  - 0
415
- hash: 2472164195127432886
415
+ hash: -3766388311581194323
416
416
  requirements: []
417
417
  rubyforge_project:
418
418
  rubygems_version: 1.8.23.2