redismq 0.0.4 → 0.0.5

Sign up to get free protection for your applications and to get access to all the features.
data/README.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # RedisMQ
2
2
 
3
- An implementation of topic exchanges using Redis.
3
+ A cheap and naive implementation of topic exchanges on top of Redis.
4
4
 
5
5
  ## Installation
6
6
 
@@ -18,6 +18,8 @@ Or install it yourself as:
18
18
 
19
19
  ## Usage
20
20
 
21
+ The client will expects to find a valid redis URI at either `ENV['REDISMQ_URL']` or `ENV['REDISTOGO_URL]`, and will fall back to `redis://localhost:6379`.
22
+
21
23
  ### As a publisher
22
24
 
23
25
  ```ruby
@@ -41,7 +43,7 @@ client.bind('customer.signup', 'email')
41
43
 
42
44
  # assume that a message has been sent...
43
45
  client.pop('email')
44
- # {"header"=>{"topic"=>"customer.signup"}, "payload"=>{:id=>1}}
46
+ # {:header=>{:topic=>"customer.signup"}, :payload=>{:id=>1}}
45
47
 
46
48
  # or, block and wait for something to hit the queue
47
49
  client.bpop('email')
@@ -1,3 +1,3 @@
1
1
  module RedisMQ
2
- VERSION = "0.0.4"
2
+ VERSION = "0.0.5"
3
3
  end
data/redismq.gemspec CHANGED
@@ -4,8 +4,8 @@ require File.expand_path('../lib/redismq/version', __FILE__)
4
4
  Gem::Specification.new do |gem|
5
5
  gem.authors = ["Michael Gorsuch"]
6
6
  gem.email = ["michael.gorsuch@gmail.com"]
7
- gem.description = %q{An implementation of topic exchange using Redis.}
8
- gem.summary = %q{An implementation of topic exchange using Redis.}
7
+ gem.description = %q{A cheap and naive implementation of topic exchanges on top of Redis.}
8
+ gem.summary = %q{A cheap and naive implementation of topic exchanges on top of Redis.}
9
9
  gem.homepage = "https://github.com/gorsuch/redismq"
10
10
 
11
11
  gem.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) }
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: redismq
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.4
4
+ version: 0.0.5
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -13,7 +13,7 @@ date: 2012-01-28 00:00:00.000000000Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: json
16
- requirement: &70147180623760 !ruby/object:Gem::Requirement
16
+ requirement: &70157200323920 !ruby/object:Gem::Requirement
17
17
  none: false
18
18
  requirements:
19
19
  - - ! '>='
@@ -21,10 +21,10 @@ dependencies:
21
21
  version: '0'
22
22
  type: :runtime
23
23
  prerelease: false
24
- version_requirements: *70147180623760
24
+ version_requirements: *70157200323920
25
25
  - !ruby/object:Gem::Dependency
26
26
  name: redis
27
- requirement: &70147180623260 !ruby/object:Gem::Requirement
27
+ requirement: &70157200323420 !ruby/object:Gem::Requirement
28
28
  none: false
29
29
  requirements:
30
30
  - - =
@@ -32,8 +32,8 @@ dependencies:
32
32
  version: 2.2.2
33
33
  type: :runtime
34
34
  prerelease: false
35
- version_requirements: *70147180623260
36
- description: An implementation of topic exchange using Redis.
35
+ version_requirements: *70157200323420
36
+ description: A cheap and naive implementation of topic exchanges on top of Redis.
37
37
  email:
38
38
  - michael.gorsuch@gmail.com
39
39
  executables: []
@@ -72,5 +72,5 @@ rubyforge_project:
72
72
  rubygems_version: 1.8.10
73
73
  signing_key:
74
74
  specification_version: 3
75
- summary: An implementation of topic exchange using Redis.
75
+ summary: A cheap and naive implementation of topic exchanges on top of Redis.
76
76
  test_files: []