em-redis-unified 0.4.0 → 0.4.1

Sign up to get free protection for your applications and to get access to all the features.
@@ -42,10 +42,13 @@ module EventMachine
42
42
  "hgetall" => lambda{|r| Hash[*r]},
43
43
  "info" => lambda{|r|
44
44
  info = {}
45
- r.each_line {|kv|
46
- k,v = kv.split(":",2).map{|x| x.chomp}
47
- info[k.to_sym] = v
48
- }
45
+ r.each_line do |line|
46
+ line.chomp!
47
+ unless line.empty?
48
+ k, v = line.split(":", 2)
49
+ info[k.to_sym] = v
50
+ end
51
+ end
49
52
  info
50
53
  }
51
54
  }
data/lib/em-redis.rb CHANGED
@@ -2,7 +2,7 @@
2
2
  module EMRedis
3
3
 
4
4
  # :stopdoc:
5
- VERSION = '0.4.0'
5
+ VERSION = '0.4.1'
6
6
  LIBPATH = ::File.expand_path(::File.dirname(__FILE__)) + ::File::SEPARATOR
7
7
  PATH = ::File.dirname(LIBPATH) + ::File::SEPARATOR
8
8
  # :startdoc:
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: em-redis-unified
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:
@@ -15,7 +15,7 @@ date: 2013-01-08 00:00:00.000000000 Z
15
15
  dependencies:
16
16
  - !ruby/object:Gem::Dependency
17
17
  name: eventmachine
18
- requirement: &14093880 !ruby/object:Gem::Requirement
18
+ requirement: &15615800 !ruby/object:Gem::Requirement
19
19
  none: false
20
20
  requirements:
21
21
  - - ! '>='
@@ -23,10 +23,10 @@ dependencies:
23
23
  version: 0.12.10
24
24
  type: :runtime
25
25
  prerelease: false
26
- version_requirements: *14093880
26
+ version_requirements: *15615800
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: bacon
29
- requirement: &14093420 !ruby/object:Gem::Requirement
29
+ requirement: &15632260 !ruby/object:Gem::Requirement
30
30
  none: false
31
31
  requirements:
32
32
  - - ! '>='
@@ -34,10 +34,10 @@ dependencies:
34
34
  version: 1.2.0
35
35
  type: :development
36
36
  prerelease: false
37
- version_requirements: *14093420
37
+ version_requirements: *15632260
38
38
  - !ruby/object:Gem::Dependency
39
39
  name: em-spec
40
- requirement: &14093000 !ruby/object:Gem::Requirement
40
+ requirement: &15631040 !ruby/object:Gem::Requirement
41
41
  none: false
42
42
  requirements:
43
43
  - - ! '>='
@@ -45,10 +45,10 @@ dependencies:
45
45
  version: 0.2.6
46
46
  type: :development
47
47
  prerelease: false
48
- version_requirements: *14093000
48
+ version_requirements: *15631040
49
49
  - !ruby/object:Gem::Dependency
50
50
  name: bones
51
- requirement: &14092580 !ruby/object:Gem::Requirement
51
+ requirement: &15630260 !ruby/object:Gem::Requirement
52
52
  none: false
53
53
  requirements:
54
54
  - - ! '>='
@@ -56,14 +56,12 @@ dependencies:
56
56
  version: 3.8.0
57
57
  type: :development
58
58
  prerelease: false
59
- version_requirements: *14092580
59
+ version_requirements: *15630260
60
60
  description: An eventmachine-based implementation of the Redis protocol
61
61
  email: portertech@gmail.com
62
62
  executables: []
63
63
  extensions: []
64
- extra_rdoc_files:
65
- - History.txt
66
- - README.rdoc
64
+ extra_rdoc_files: []
67
65
  files:
68
66
  - .gitignore
69
67
  - History.txt
@@ -78,9 +76,7 @@ files:
78
76
  homepage: http://github.com/portertech/em-redis
79
77
  licenses: []
80
78
  post_install_message:
81
- rdoc_options:
82
- - --main
83
- - README.rdoc
79
+ rdoc_options: []
84
80
  require_paths:
85
81
  - lib
86
82
  required_ruby_version: !ruby/object:Gem::Requirement