ez_healthcheck 0.1.1 → 0.1.2

Sign up to get free protection for your applications and to get access to all the features.
data/README.rdoc CHANGED
@@ -6,23 +6,23 @@ Description goes here.
6
6
  * AWS account
7
7
 
8
8
  == Sample
9
- require 'rubygems'
10
- require 'ez_healthcheck'
9
+ require 'rubygems'
10
+ require 'ez_healthcheck'
11
11
 
12
- HOST= 'example.com'
13
- ID = 'XXXX'
14
- KEY = 'YYYY'
12
+ HOST= 'example.com'
13
+ ID = 'XXXX'
14
+ KEY = 'YYYY'
15
15
 
16
- ez = EzHealthcheck.new(HOST, ID, KEY)
16
+ ez = EzHealthcheck.new(HOST, ID, KEY)
17
17
 
18
- ez.access(['/']) # access to root path
18
+ ez.access(['/']) # access to root path
19
19
 
20
- params.store(:subject, 'test')
21
- params.store(:from, 'from@example.com')
22
- params.store(:to, 'to@example.com')
23
- params.store(:body_text, 'test')
24
- params.store(:body_html, '<h1>test</h1>')
25
- ez.send_email(params)
20
+ params.store(:subject, 'test')
21
+ params.store(:from, 'from@example.com')
22
+ params.store(:to, 'to@example.com')
23
+ params.store(:body_text, 'test')
24
+ params.store(:body_html, '<h1>test</h1>')
25
+ ez.send_email(params)
26
26
 
27
27
  == Contributing to ez_healthcheck
28
28
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.1.1
1
+ 0.1.2
@@ -5,7 +5,7 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{ez_healthcheck}
8
- s.version = "0.1.1"
8
+ s.version = "0.1.2"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["t11a"]
@@ -16,7 +16,7 @@ class EzHealthcheck
16
16
 
17
17
  def access(paths=[])
18
18
  paths.each do |path|
19
- puts path
19
+ #puts path
20
20
  response = Net::HTTP.get_response(@host,path)
21
21
  case response
22
22
  when Net::HTTPInformation
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ez_healthcheck
3
3
  version: !ruby/object:Gem::Version
4
- hash: 25
4
+ hash: 31
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 1
9
- - 1
10
- version: 0.1.1
9
+ - 2
10
+ version: 0.1.2
11
11
  platform: ruby
12
12
  authors:
13
13
  - t11a