ruminate 0.0.3 → 0.0.4

Sign up to get free protection for your applications and to get access to all the features.
Files changed (2) hide show
  1. data/lib/ruminate/plugin.rb +1 -1
  2. metadata +1 -1
@@ -38,7 +38,7 @@ def ruminate(arg0, rumx_mount, username, password, host, port, smtp_host, config
38
38
  if res.kind_of?(Net::HTTPSuccess)
39
39
  result_hash = {}
40
40
  res.body.split("\n").each do |line|
41
- if (i = line.index('=')) >= 0
41
+ if i = line.index('=')
42
42
  value = line[(i+1)..-1]
43
43
  if value.match(/^\s*[+-]?\d+\s*$/)
44
44
  value = value.to_i
metadata CHANGED
@@ -2,7 +2,7 @@
2
2
  name: ruminate
3
3
  version: !ruby/object:Gem::Version
4
4
  prerelease:
5
- version: 0.0.3
5
+ version: 0.0.4
6
6
  platform: ruby
7
7
  authors:
8
8
  - Brad Pardee