sla 0.0.1 → 0.0.2
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/README.md +49 -0
- data/bin/sla +4 -0
- data/lib/sla/checker.rb +1 -1
- data/lib/sla/version.rb +1 -1
- metadata +4 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 01f60c128b7038b32831ed7011616cabe8192e7d
|
4
|
+
data.tar.gz: d3e011da78e545c9612060339ec8a4bd150e8f38
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8f86a06953f843f733e0b6be1816e65a0170a06e1fb8d13f84b7a813bf5fb2ba5319e58516d2cee551abc3c80b2eca7a2ac7848fa7b29b32cec17bbec84b8a4b
|
7
|
+
data.tar.gz: 125008c1d368a3ee447e203644c39bad83405ad65de09acadfa5c402f7d429c0b9b3ad8dab6b228438f9767340209aba6823aa265519a77c3a669db5a0786b34
|
data/README.md
CHANGED
@@ -1,3 +1,52 @@
|
|
1
1
|
Site Link Analyzer
|
2
2
|
==================================================
|
3
3
|
|
4
|
+
[](https://rubygems.org/gems/sla)
|
5
|
+
[](https://codeclimate.com/github/DannyBen/sla)
|
6
|
+
[](https://gemnasium.com/DannyBen/sla)
|
7
|
+
|
8
|
+
---
|
9
|
+
|
10
|
+
SLA is a simple broken links checker, with built in caching.
|
11
|
+
|
12
|
+
---
|
13
|
+
|
14
|
+
Install
|
15
|
+
--------------------------------------------------
|
16
|
+
|
17
|
+
```
|
18
|
+
$ gem install sla
|
19
|
+
```
|
20
|
+
|
21
|
+
Or with bundler:
|
22
|
+
|
23
|
+
```ruby
|
24
|
+
gem 'sla'
|
25
|
+
```
|
26
|
+
|
27
|
+
Usage
|
28
|
+
--------------------------------------------------
|
29
|
+
|
30
|
+
```
|
31
|
+
$ sla --help
|
32
|
+
SLA
|
33
|
+
|
34
|
+
Usage:
|
35
|
+
sla check DOMAIN [options]
|
36
|
+
sla (-h|--help|--version)
|
37
|
+
|
38
|
+
Commands:
|
39
|
+
check
|
40
|
+
Start checking for broken links on a given domain
|
41
|
+
|
42
|
+
Options:
|
43
|
+
--depth, -d DEPTH
|
44
|
+
Set crawling depth [default: 5]
|
45
|
+
|
46
|
+
--cache, -c LIFE
|
47
|
+
Set cache life in seconds [default: 86400]
|
48
|
+
|
49
|
+
Examples:
|
50
|
+
sla check example.com
|
51
|
+
sla check example.com -c360 -d10
|
52
|
+
```
|
data/bin/sla
ADDED
data/lib/sla/checker.rb
CHANGED
data/lib/sla/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: sla
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Danny Ben Shitrit
|
@@ -152,11 +152,13 @@ dependencies:
|
|
152
152
|
version: '1.7'
|
153
153
|
description: Check for broken links on a website
|
154
154
|
email: db@dannyben.com
|
155
|
-
executables:
|
155
|
+
executables:
|
156
|
+
- sla
|
156
157
|
extensions: []
|
157
158
|
extra_rdoc_files: []
|
158
159
|
files:
|
159
160
|
- README.md
|
161
|
+
- bin/sla
|
160
162
|
- lib/sla.rb
|
161
163
|
- lib/sla/base.rb
|
162
164
|
- lib/sla/cache.rb
|