accesslint-ci 0.1.2 → 0.1.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/accesslint/ci/scanner.rb +7 -9
- data/lib/accesslint/ci/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 03e2a2d566fb976fd6f951b1b5206285d28771be
|
4
|
+
data.tar.gz: db2886617fb90a6c3b6e6872b8a662d1a9f311cf
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: dc2cbac976289cf60c72295d30b60ed460b240768b1f34c1a15d80fa733f7364e19c7ef439e2f4aac463652ff8d1946d162542a415ec20f0540624abc70c9187
|
7
|
+
data.tar.gz: 150151f5c91d19cba7173cced9d7c7aea8d5ccbab4f22aa49450a53c6d6f582defadcaaa262e972ad099064eb08e928d4d6cab4ad9cbc8de1020a45d4d95438d
|
@@ -43,15 +43,13 @@ module Accesslint
|
|
43
43
|
|
44
44
|
def crawl_site
|
45
45
|
<<-SHELL
|
46
|
-
wget #{host} \
|
47
|
-
--
|
48
|
-
--
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
find #{SITE_DIR} -type f -name "*.html" | \
|
54
|
-
xargs -n 1 accesslint >> #{LOG_FILE}
|
46
|
+
wget #{host} 2>&1 \
|
47
|
+
--spider \
|
48
|
+
--recursive \
|
49
|
+
| grep '^--' \
|
50
|
+
| awk '{ print $3 }' \
|
51
|
+
| xargs -n1 accesslint \
|
52
|
+
>> #{LOG_FILE}
|
55
53
|
SHELL
|
56
54
|
end
|
57
55
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: accesslint-ci
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Cameron Cundiff
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-08-
|
11
|
+
date: 2016-08-14 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|