http_status_checker 0.0.8 → 0.0.9
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.
- checksums.yaml +4 -4
- data/bin/http_status_checker +3 -2
- data/lib/http_status_checker/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: e467b34263ad465437e1f6d08eb2dd5a13225421
|
4
|
+
data.tar.gz: bbaacf45465a7f11d026f22ec46abebd4e356adb
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 96f2bec538fe36d31dc17983fed733fdba2c9758472421d8eab6d5617145a59cd7b126dba612148516432ee036bf775d2d816d0b01916b244e11b18d39fd83c0
|
7
|
+
data.tar.gz: 2b2cd057aa67baa88abd4838524998fb9e60fe972616c6bbf621a9d56971ca6255eb315d9af42e585b849984138c84af33eca310b68957672add7cfdac83cbb2
|
data/bin/http_status_checker
CHANGED
@@ -8,8 +8,9 @@ class Command < Thor
|
|
8
8
|
default_command :http_status_checker
|
9
9
|
|
10
10
|
desc 'http_status_checker', 'Checking whether can access url'
|
11
|
-
|
12
|
-
|
11
|
+
option :url, :type => :string, :aliases => :'-u', :desc => 'url for checking'
|
12
|
+
def http_status_checker
|
13
|
+
results = HttpStatusChecker.check(options[:url])
|
13
14
|
results.each do |result|
|
14
15
|
result.each do |url, res|
|
15
16
|
puts "url: #{url}"
|