pingly 0.1.0 → 0.2.0
Sign up to get free protection for your applications and to get access to all the features.
- data/README.md +3 -3
- data/lib/pingly.rb +2 -2
- metadata +1 -1
data/README.md
CHANGED
@@ -8,7 +8,7 @@ to attempt a ping on the host specified and lets you access the results.
|
|
8
8
|
|
9
9
|
Add this line to your application's Gemfile:
|
10
10
|
|
11
|
-
gem '
|
11
|
+
gem 'pingly'
|
12
12
|
|
13
13
|
And then execute:
|
14
14
|
|
@@ -16,7 +16,7 @@ And then execute:
|
|
16
16
|
|
17
17
|
Or install it yourself as:
|
18
18
|
|
19
|
-
$ gem install
|
19
|
+
$ gem install pingly
|
20
20
|
|
21
21
|
## Usage
|
22
22
|
|
@@ -24,7 +24,7 @@ Use the Pingly binary (optionally specifying a host to ping) to ping every 5 sec
|
|
24
24
|
|
25
25
|
You can also use this in your code to test if a service is up:
|
26
26
|
|
27
|
-
require '
|
27
|
+
require 'pingly'
|
28
28
|
|
29
29
|
# standard initialization
|
30
30
|
p = Pingly.new('google.com')
|
data/lib/pingly.rb
CHANGED