sla 0.3.0 → 0.3.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +37 -24
- data/lib/sla/version.rb +1 -1
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4300cbfe34164dede71e71bfba0ebc58bf993c82c57e8a383befaae8ef5d7921
|
4
|
+
data.tar.gz: 487200b6297cf7a11e4ef8c653727ecd7af71bc8bd2415dc8510e5dc815d864d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 23909ff36d29bad1ac113a968f5ae640495c1acc68f1da2b53b9605e04080f62d29575f34e70233327883eec5a67f131bd372f064823378e8ff083f391cb6831
|
7
|
+
data.tar.gz: 98800a5468cd9db6035cf2297e82c52135cbdb287ca3e12db7c0c45b0e85b721d606935f13c2fe2511c2e3c59e5dfaed091c907ca3e636ebd482bb23ff9cfa44
|
data/README.md
CHANGED
@@ -33,23 +33,31 @@ Usage
|
|
33
33
|
|
34
34
|
```
|
35
35
|
$ sla --help
|
36
|
-
|
36
|
+
Site Link Analyzer
|
37
37
|
|
38
38
|
Usage:
|
39
|
-
sla
|
40
|
-
sla
|
39
|
+
sla URL [options]
|
40
|
+
sla --help | -h | --version
|
41
41
|
|
42
|
-
Commands:
|
43
|
-
check
|
44
|
-
Start checking for broken links on a given domain.
|
45
|
-
|
46
42
|
Options:
|
43
|
+
--verbose, -v
|
44
|
+
Show detailed output
|
45
|
+
|
46
|
+
--simple, -s
|
47
|
+
Show simple output of errors only
|
48
|
+
|
47
49
|
--depth, -d DEPTH
|
48
|
-
Set crawling depth [default: 5]
|
50
|
+
Set crawling depth [default: 5]
|
51
|
+
|
52
|
+
--external, -x
|
53
|
+
Also check external links
|
54
|
+
|
55
|
+
--ignore, -i URLS
|
56
|
+
Specify a list of space delimited patterns to skip
|
57
|
+
URLs that contain any of the strings in this list will be skipped
|
49
58
|
|
50
59
|
--cache, -c LIFE
|
51
|
-
Set cache life [default: 1d]. LIFE can be in any of the
|
52
|
-
following formats:
|
60
|
+
Set cache life [default: 1d]. LIFE can be in any of the following formats:
|
53
61
|
10 = 10 seconds
|
54
62
|
20s = 20 seconds
|
55
63
|
10m = 10 minutes
|
@@ -57,24 +65,29 @@ Options:
|
|
57
65
|
10d = 10 days
|
58
66
|
|
59
67
|
--cache-dir DIR
|
60
|
-
Set the cache directory
|
68
|
+
Set the cache directory
|
61
69
|
|
62
|
-
--
|
63
|
-
|
70
|
+
-h --help
|
71
|
+
Show this help
|
64
72
|
|
65
|
-
--
|
66
|
-
|
73
|
+
--version
|
74
|
+
Show version number
|
67
75
|
|
68
|
-
|
69
|
-
|
70
|
-
|
76
|
+
Parameters:
|
77
|
+
URL
|
78
|
+
URL to scan
|
79
|
+
|
80
|
+
Environment Variables:
|
81
|
+
SLA_SLEEP
|
82
|
+
Set number of seconds to sleep between calls (for debugging purposes)
|
71
83
|
|
72
84
|
Examples:
|
73
|
-
sla
|
74
|
-
sla
|
75
|
-
sla
|
76
|
-
sla
|
77
|
-
sla
|
78
|
-
sla
|
85
|
+
sla example.com
|
86
|
+
sla example.com -c10m -d10
|
87
|
+
sla example.com --cache-dir my_cache
|
88
|
+
sla example.com --depth 10
|
89
|
+
sla example.com --cache 30d --external
|
90
|
+
sla example.com --simple > out.log
|
91
|
+
sla example.com --ignore "/admin /customer/login"
|
79
92
|
|
80
93
|
```
|
data/lib/sla/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: sla
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.3.
|
4
|
+
version: 0.3.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Danny Ben Shitrit
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2019-12-
|
11
|
+
date: 2019-12-29 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: colsole
|
@@ -50,14 +50,14 @@ dependencies:
|
|
50
50
|
requirements:
|
51
51
|
- - "~>"
|
52
52
|
- !ruby/object:Gem::Version
|
53
|
-
version: '0.
|
53
|
+
version: '0.7'
|
54
54
|
type: :runtime
|
55
55
|
prerelease: false
|
56
56
|
version_requirements: !ruby/object:Gem::Requirement
|
57
57
|
requirements:
|
58
58
|
- - "~>"
|
59
59
|
- !ruby/object:Gem::Version
|
60
|
-
version: '0.
|
60
|
+
version: '0.7'
|
61
61
|
- !ruby/object:Gem::Dependency
|
62
62
|
name: nokogiri
|
63
63
|
requirement: !ruby/object:Gem::Requirement
|