upstreamstatus 0.2.3 → 0.2.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/upstreamstatus.rb +16 -16
- data/lib/upstreamstatus/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 77db314deab89fc679fc47c383192fafafab930e
|
4
|
+
data.tar.gz: dc2b44690c28f80881fda94f7a0959dc60198821
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: aebccadf9e8857262c831dafd055ecb3f240719a4f6af0b84ade880d5c3a5c4db2e1c2e856f9bcf2a20c2714400132686611f54831e2441080f4a6fae265afcf
|
7
|
+
data.tar.gz: e374ff2d622b4f5ea34a74419d9e5cd0a0b28205b4aeb398d8836c6321eba3b23b3ba9476d5609d722624680a569c7641554c534a0db5d6c6bef836d227487c3
|
data/lib/upstreamstatus.rb
CHANGED
@@ -68,24 +68,24 @@ class Upstreamstatus
|
|
68
68
|
def fake_servers
|
69
69
|
[
|
70
70
|
{
|
71
|
-
'index'
|
72
|
-
'upstream'
|
73
|
-
'name'
|
74
|
-
'status'
|
75
|
-
'rise'
|
76
|
-
'fall'
|
77
|
-
'type'
|
78
|
-
'port'
|
71
|
+
'index' => 0,
|
72
|
+
'upstream' => 'testupstream',
|
73
|
+
'name' => '10.0.0.1 =>8080',
|
74
|
+
'status' => 'up',
|
75
|
+
'rise' => 10_459,
|
76
|
+
'fall' => 0,
|
77
|
+
'type' => 'http',
|
78
|
+
'port' => 0
|
79
79
|
},
|
80
80
|
{
|
81
|
-
'index'
|
82
|
-
'upstream'
|
83
|
-
'name'
|
84
|
-
'status'
|
85
|
-
'rise'
|
86
|
-
'fall'
|
87
|
-
'type'
|
88
|
-
'port'
|
81
|
+
'index' => 1,
|
82
|
+
'upstream' => 'testupstream',
|
83
|
+
'name' => '10.0.0.2 =>8080',
|
84
|
+
'status' => 'down',
|
85
|
+
'rise' => 10_029,
|
86
|
+
'fall' => 0,
|
87
|
+
'type' => 'http',
|
88
|
+
'port' => 0
|
89
89
|
}
|
90
90
|
]
|
91
91
|
end
|