sappy 0.1.3 → 0.1.4
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 +1 -1
- data/spec/sappy/monitor_bacon.rb +2 -5
- metadata +2 -2
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
0.1.
|
|
1
|
+
0.1.4
|
data/spec/sappy/monitor_bacon.rb
CHANGED
|
@@ -56,11 +56,8 @@ module Sappy
|
|
|
56
56
|
@monitor = @account.add_monitor({:name => "New Monitor", :service => "http", :location => "sf", :host => "engineyard.com", :period => "60"})
|
|
57
57
|
end
|
|
58
58
|
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
# end
|
|
62
|
-
it "should raise error for daily (due to malformed XML from SiteUptime)" do
|
|
63
|
-
lambda { @monitor.daily_statistics(2006, 11, 28) }.should.raise REXML::ParseException
|
|
59
|
+
it "should provide daily" do
|
|
60
|
+
@monitor.daily_statistics(2006, 11, 28).should.be.instance_of Statistics::Daily
|
|
64
61
|
end
|
|
65
62
|
|
|
66
63
|
it "should provide monthly" do
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: sappy
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.1.
|
|
4
|
+
version: 0.1.4
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Dylan Egan
|
|
@@ -10,7 +10,7 @@ autorequire:
|
|
|
10
10
|
bindir: bin
|
|
11
11
|
cert_chain: []
|
|
12
12
|
|
|
13
|
-
date: 2009-10-
|
|
13
|
+
date: 2009-10-11 00:00:00 +11:00
|
|
14
14
|
default_executable: shell
|
|
15
15
|
dependencies:
|
|
16
16
|
- !ruby/object:Gem::Dependency
|