fiveruns-dash-sensor 0.8.5 → 0.8.6

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. data/VERSION.yml +1 -1
  2. data/lib/sensor.rb +1 -0
  3. data/plugins/twitter.rb +1 -1
  4. metadata +2 -2
data/VERSION.yml CHANGED
@@ -1,4 +1,4 @@
1
1
  ---
2
- :patch: 5
2
+ :patch: 6
3
3
  :major: 0
4
4
  :minor: 8
data/lib/sensor.rb CHANGED
@@ -58,6 +58,7 @@ module Dash
58
58
  $PLUGIN_PATH = [
59
59
  File.dirname(file),
60
60
  File.expand_path(File.join(File.dirname(__FILE__), '..', 'plugins')),
61
+ '/',
61
62
  nil
62
63
  ]
63
64
 
data/plugins/twitter.rb CHANGED
@@ -65,7 +65,7 @@ module Dash::Sensor::Plugins
65
65
 
66
66
  %w(following_count follower_count update_count).inject({}) do |result, metric|
67
67
  txt = doc.css("\##{metric}").inner_text
68
- result[metric.to_sym] = Integer(txt.gsub /\D/, '')
68
+ result[metric.to_sym] = Integer(txt.gsub(/\D/, ''))
69
69
  result
70
70
  end
71
71
  rescue Exception => e
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fiveruns-dash-sensor
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.8.5
4
+ version: 0.8.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - FiveRuns Development Team
@@ -9,7 +9,7 @@ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
11
 
12
- date: 2009-02-26 00:00:00 -08:00
12
+ date: 2009-03-02 00:00:00 -08:00
13
13
  default_executable: fiveruns-dash-sensor
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency