accesslint-ci 0.1.6 → 0.1.7

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: 94a2eb340255108a554e1a5bb27d0044c6866687
4
- data.tar.gz: 7b2f6b8809d8c2ed4557c3686f8110de87d2aa25
3
+ metadata.gz: 75654a08e903040b83c7bb65a374698ca79c76d5
4
+ data.tar.gz: 575126b22229dea4b681979acc5315a74460523a
5
5
  SHA512:
6
- metadata.gz: 26427c95d5683edc4e836a820e037fb3b5d999f0097325c80e8295ce9201dc3841e5726b0d7bbdb7ec45e0608da4a5881d4db18717ea9ebf2decb2f119e315e2
7
- data.tar.gz: 7efda106550a583cac0da1e6a7d7f25535b58567fe96349598d83dc8d9a6d77b857307a4cd9cc5adecd76e64517886c52bad9d1cb93c70b926c5513c0c297eb7
6
+ metadata.gz: 679c6704b8f103fa440576c79a968bd47f00cc3812b66d84417f4135f69f0e46cf6b864e607c72987aec09b0ade67f09ddf271049b3684a19cd7fd4c946023a4
7
+ data.tar.gz: cf2470e9f89dce81eafa775037658a806dbed3a7c82707628726b631b3f9148e3db5a542b2ba0883e34dfb3dadc2067e09e56019046997651854f30ccd5c9764
data/.env.test CHANGED
@@ -1,5 +1,5 @@
1
1
  CIRCLE_BRANCH=example-branch
2
- CIRCLE_PROJECT_REPONAME=accesslint-ci.rb
2
+ CIRCLE_PROJECT_REPONAME=accesslint-ci
3
3
  CIRCLE_PROJECT_USERNAME=accesslint
4
4
  CIRCLE_TOKEN=ABC123
5
5
  ACCESSLINT_GITHUB_TOKEN=ABC456
@@ -11,7 +11,7 @@ Gem::Specification.new do |spec|
11
11
 
12
12
  spec.summary = %q{Run accessibility tests in CircleCI builds}
13
13
  spec.description = %q{accesslint-ci runs accessibility tests in CircleCI and comments on corresponding GitHub pull requests}
14
- spec.homepage = "https://www.github.com/accesslint/accesslint-ci.rb"
14
+ spec.homepage = "https://www.github.com/accesslint/accesslint-ci"
15
15
  spec.license = "MIT"
16
16
 
17
17
  spec.files = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
@@ -40,13 +40,12 @@ module Accesslint
40
40
  end
41
41
  end
42
42
 
43
-
44
43
  def crawl_site
45
44
  <<-SHELL
46
45
  wget #{host} 2>&1 \
47
46
  --spider \
48
47
  --recursive \
49
- --reject css,png,gif,jpg,jpeg,svg,ico,txt,woff \
48
+ --reject #{file_types_to_ignore} \
50
49
  -erobots=off \
51
50
  | grep '^--' \
52
51
  | awk '{ print $3 }' \
@@ -56,6 +55,21 @@ module Accesslint
56
55
  >> #{LOG_FILE}
57
56
  SHELL
58
57
  end
58
+
59
+ def file_types_to_ignore
60
+ %w(
61
+ css
62
+ gif
63
+ ico
64
+ jpg
65
+ jpg
66
+ js
67
+ png
68
+ svg
69
+ txt
70
+ woff
71
+ ).join(",")
72
+ end
59
73
  end
60
74
  end
61
75
  end
@@ -1,5 +1,5 @@
1
1
  module Accesslint
2
2
  module Ci
3
- VERSION = "0.1.6"
3
+ VERSION = "0.1.7"
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.6
4
+ version: 0.1.7
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-26 00:00:00.000000000 Z
11
+ date: 2016-08-27 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -139,7 +139,7 @@ files:
139
139
  - lib/accesslint/ci/log_manager.rb
140
140
  - lib/accesslint/ci/scanner.rb
141
141
  - lib/accesslint/ci/version.rb
142
- homepage: https://www.github.com/accesslint/accesslint-ci.rb
142
+ homepage: https://www.github.com/accesslint/accesslint-ci
143
143
  licenses:
144
144
  - MIT
145
145
  metadata: {}