auger 1.3.6 → 1.3.7

Sign up to get free protection for your applications and to get access to all the features.
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.3.6
1
+ 1.3.7
@@ -41,32 +41,32 @@ module Auger
41
41
  end
42
42
 
43
43
  class RedisPing < Auger::Request
44
- def run(redis)
44
+ def run(redis, arg)
45
45
  redis.ping
46
46
  end
47
47
  end
48
48
 
49
49
  class RedisInfo < Auger::Request
50
- def run(redis)
50
+ def run(redis, arg)
51
51
  redis.info
52
52
  end
53
53
  end
54
54
 
55
55
  class RedisDbsize < Auger::Request
56
- def run(redis)
56
+ def run(redis, arg)
57
57
  redis.dbsize
58
58
  end
59
59
  end
60
60
 
61
61
  class RedisGet < Auger::Request
62
- def run(redis)
63
- redis.get(@arg)
62
+ def run(redis, arg)
63
+ redis.get(arg)
64
64
  end
65
65
  end
66
66
 
67
67
  class RedisExists < Auger::Request
68
- def run(redis)
69
- redis.exists(@arg)
68
+ def run(redis, arg)
69
+ redis.exists(arg)
70
70
  end
71
71
  end
72
72
 
@@ -29,8 +29,8 @@ module Auger
29
29
  end
30
30
 
31
31
  class TelnetRequest < Auger::Request
32
- def run(telnet)
33
- telnet.cmd(@arg)
32
+ def run(telnet, arg)
33
+ telnet.cmd(arg)
34
34
  end
35
35
  end
36
36
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: auger
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.3.6
4
+ version: 1.3.7
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: