fiveruns-dash-sensor 0.8.5 → 0.8.6
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.
- data/VERSION.yml +1 -1
- data/lib/sensor.rb +1 -0
- data/plugins/twitter.rb +1 -1
- metadata +2 -2
data/VERSION.yml
CHANGED
data/lib/sensor.rb
CHANGED
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
|
|
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.
|
|
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
|
|
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
|