amiok 0.1 → 0.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. checksums.yaml +7 -0
  2. data/lib/amiok.rb +1 -1
  3. metadata +20 -42
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: 69bfef803f5e69dad5a941df9701efc42853395b
4
+ data.tar.gz: 5b97c4d048b7f91028bfec07ca647ede748ab705
5
+ SHA512:
6
+ metadata.gz: 123a5a08ecb7506f921078b43b41e92f172b1ec135a622330dd6a90cae668f33cbf72caecbb3ddc3e1699111e9051cf397a3f9e56249df401467a9c44323b6ab
7
+ data.tar.gz: 4477b2e9950096d15641a95519b9476cd3eb0ee700bf9b3f4c6f637632648503c273728aaabccfe4c683b3419de52cbda82f186f4b59cc38530fd4baa9d956d5
@@ -32,7 +32,7 @@ class Amiok
32
32
  end
33
33
 
34
34
  def curl(domain)
35
- `curl -s -I http://#{domain}`
35
+ `curl --connect-timeout 2 --max-time 10 -s -I http://#{domain}`
36
36
  end
37
37
 
38
38
  def status(domain)
metadata CHANGED
@@ -1,68 +1,46 @@
1
- --- !ruby/object:Gem::Specification
1
+ --- !ruby/object:Gem::Specification
2
2
  name: amiok
3
- version: !ruby/object:Gem::Version
4
- hash: 9
5
- prerelease:
6
- segments:
7
- - 0
8
- - 1
9
- version: "0.1"
3
+ version: !ruby/object:Gem::Version
4
+ version: '0.2'
10
5
  platform: ruby
11
- authors:
6
+ authors:
12
7
  - Manfred Stienstra
13
8
  autorequire:
14
9
  bindir: bin
15
10
  cert_chain: []
16
-
17
- date: 2011-09-09 00:00:00 +02:00
18
- default_executable:
11
+ date: 2016-10-27 00:00:00.000000000 Z
19
12
  dependencies: []
20
-
21
13
  description:
22
- email:
14
+ email:
23
15
  - manfred@fngtps.com
24
- executables:
16
+ executables:
25
17
  - amiok
26
18
  extensions: []
27
-
28
19
  extra_rdoc_files: []
29
-
30
- files:
20
+ files:
31
21
  - bin/amiok
32
22
  - lib/amiok.rb
33
- has_rdoc: true
34
23
  homepage: https://github.com/Manfred/amiok
35
24
  licenses: []
36
-
25
+ metadata: {}
37
26
  post_install_message:
38
27
  rdoc_options: []
39
-
40
- require_paths:
28
+ require_paths:
41
29
  - lib
42
- required_ruby_version: !ruby/object:Gem::Requirement
43
- none: false
44
- requirements:
30
+ required_ruby_version: !ruby/object:Gem::Requirement
31
+ requirements:
45
32
  - - ">="
46
- - !ruby/object:Gem::Version
47
- hash: 3
48
- segments:
49
- - 0
50
- version: "0"
51
- required_rubygems_version: !ruby/object:Gem::Requirement
52
- none: false
53
- requirements:
33
+ - !ruby/object:Gem::Version
34
+ version: '0'
35
+ required_rubygems_version: !ruby/object:Gem::Requirement
36
+ requirements:
54
37
  - - ">="
55
- - !ruby/object:Gem::Version
56
- hash: 3
57
- segments:
58
- - 0
59
- version: "0"
38
+ - !ruby/object:Gem::Version
39
+ version: '0'
60
40
  requirements: []
61
-
62
41
  rubyforge_project:
63
- rubygems_version: 1.6.2
42
+ rubygems_version: 2.5.1
64
43
  signing_key:
65
- specification_version: 3
44
+ specification_version: 4
66
45
  summary: A small tool to check the status of your Apache vhosts
67
46
  test_files: []
68
-