readis 2.6.0 → 2.6.1

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.
Files changed (2) hide show
  1. data/lib/readis/monitor.rb +9 -0
  2. metadata +2 -2
@@ -99,6 +99,15 @@ Usage: readis monitor [options]
99
99
  parts.slice(2..-1).each do |part|
100
100
  out << format_argument(part)
101
101
  end
102
+ when "HMSET"
103
+ # key, field, value, [field, value, ...]
104
+ out << format_key(parts[1])
105
+ out << "\n" + format_field(parts[2])
106
+ out << format_value(parts[3])
107
+ parts.slice(4..-1).each_slice(2) do |a|
108
+ out << "\n" + format_field(a[0])
109
+ out << format_value(a[1])
110
+ end
102
111
  when *one_key_one_field_one_value
103
112
  # key, field, value
104
113
  out << format_key(parts[1])
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: readis
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.6.0
4
+ version: 2.6.1
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -10,7 +10,7 @@ authors:
10
10
  autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
- date: 2013-05-28 00:00:00.000000000 Z
13
+ date: 2014-01-28 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: redis