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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 1196b7edb251fc81a745a661e5fb660cd1ea33d4
4
- data.tar.gz: 977db824d07396c47833514a208d215df95e4ee7
3
+ metadata.gz: 03e2a2d566fb976fd6f951b1b5206285d28771be
4
+ data.tar.gz: db2886617fb90a6c3b6e6872b8a662d1a9f311cf
5
5
  SHA512:
6
- metadata.gz: cde9e89fdc4f15ce05e561fddc0a6c098dc1416423bd513f528927e85de038204602c8bc2eb8e8b0edb28c639475952d4db9c50435ae608d2b2962fdca36aacf
7
- data.tar.gz: 2dff4d6bf4a426a36091430612ea1923f1e578fd5d7e9bd319d8bb0bd4c3021a0f8ff9945b35dd0bd98c960a955aede4bbd77b09c4b917bf4331791c68f8defc
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
- --convert-links \
48
- --html-extension \
49
- --mirror \
50
- --directory-prefix #{SITE_DIR} \
51
- --quiet
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
@@ -1,5 +1,5 @@
1
1
  module Accesslint
2
2
  module Ci
3
- VERSION = "0.1.2"
3
+ VERSION = "0.1.3"
4
4
  end
5
5
  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.2
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-12 00:00:00.000000000 Z
11
+ date: 2016-08-14 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler