superfeedr-em-redis 0.2.5 → 0.2.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,2 @@
1
+ .DS_Store
2
+ pkg
data/Rakefile CHANGED
@@ -17,8 +17,8 @@ Bones {
17
17
  name 'superfeedr-em-redis'
18
18
  authors ['Jonathan Broad', 'Eugene Pimenov', 'Stephan Maka']
19
19
  email 'stephan@spaceboyz.net'
20
- url 'http://github.com/libc/em-redis'
21
- summary 'An eventmachine-based implementation of the Redis protocol'
20
+ url 'http://github.com/astro/em-redis'
21
+ summary 'An eventmachine-based implementation of the Redis protocol (forked)'
22
22
  description summary
23
23
  version EMRedis::VERSION
24
24
 
Binary file
@@ -2,7 +2,7 @@
2
2
  module EMRedis
3
3
 
4
4
  # :stopdoc:
5
- VERSION = '0.2.5'
5
+ VERSION = '0.2.6'
6
6
  LIBPATH = ::File.expand_path(::File.dirname(__FILE__)) + ::File::SEPARATOR
7
7
  PATH = ::File.dirname(LIBPATH) + ::File::SEPARATOR
8
8
  # :startdoc:
@@ -436,11 +436,11 @@ module EventMachine
436
436
  end
437
437
 
438
438
  callback = @redis_callbacks.shift
439
- if callback.length == 2
439
+ if callback.kind_of?(Array) && callback.length == 2
440
440
  processor, blk = callback
441
441
  value = processor.call(value) if processor
442
442
  blk.call(value) if blk
443
- elsif callback.length == 3
443
+ elsif callback.kind_of?(Array) && callback.length == 3
444
444
  processor, pipeline_count, blk = callback
445
445
  value = processor.call(value) if processor
446
446
  @values << value
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: superfeedr-em-redis
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.5
4
+ version: 0.2.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jonathan Broad
@@ -11,7 +11,7 @@ autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
13
 
14
- date: 2010-04-06 00:00:00 +02:00
14
+ date: 2010-04-08 00:00:00 +02:00
15
15
  default_executable:
16
16
  dependencies:
17
17
  - !ruby/object:Gem::Dependency
@@ -42,7 +42,7 @@ dependencies:
42
42
  requirements:
43
43
  - - ">="
44
44
  - !ruby/object:Gem::Version
45
- version: "0"
45
+ version: 0.2.1
46
46
  version:
47
47
  - !ruby/object:Gem::Dependency
48
48
  name: bones
@@ -54,7 +54,7 @@ dependencies:
54
54
  - !ruby/object:Gem::Version
55
55
  version: 3.4.1
56
56
  version:
57
- description: An eventmachine-based implementation of the Redis protocol
57
+ description: An eventmachine-based implementation of the Redis protocol (forked)
58
58
  email: stephan@spaceboyz.net
59
59
  executables: []
60
60
 
@@ -64,9 +64,11 @@ extra_rdoc_files:
64
64
  - History.txt
65
65
  - README.rdoc
66
66
  files:
67
+ - .gitignore
67
68
  - History.txt
68
69
  - README.rdoc
69
70
  - Rakefile
71
+ - dump.rdb
70
72
  - lib/em-redis.rb
71
73
  - lib/em-redis/redis_protocol.rb
72
74
  - spec/live_redis_protocol_spec.rb
@@ -74,7 +76,7 @@ files:
74
76
  - spec/redis_protocol_spec.rb
75
77
  - spec/test_helper.rb
76
78
  has_rdoc: true
77
- homepage: http://github.com/libc/em-redis
79
+ homepage: http://github.com/astro/em-redis
78
80
  licenses: []
79
81
 
80
82
  post_install_message:
@@ -101,6 +103,6 @@ rubyforge_project: superfeedr-em-redis
101
103
  rubygems_version: 1.3.5
102
104
  signing_key:
103
105
  specification_version: 3
104
- summary: An eventmachine-based implementation of the Redis protocol
106
+ summary: An eventmachine-based implementation of the Redis protocol (forked)
105
107
  test_files: []
106
108