sa11y 0.2.0 → 0.2.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 +2 -1
- data/lib/sa11y/analyze.rb +6 -1
- data/lib/sa11y/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 133e1ce53a8357dc2a7bfd44c5e795a72bc2614916e78dfef016f7893279d28b
|
4
|
+
data.tar.gz: e25c8058bef42867787353ab606380bb49e72703adf90d6e6e933ccdc7ee2bdc
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c60ed818958b7ce40055a0b7e6921107e9cadf259027503a4fe40c0a96d6329ef427b85000c348cf04fba92ca7b29e9a81bd5c3b5404cdaba7aa2037b4454e19
|
7
|
+
data.tar.gz: 6c20f102c5a5a9a834b349899ef79a217a91f942d6f683d1653ca50a2650ef459c89ec70c14dad36b515c8c0eb59db6b0398f9adc96f9d54171555016cbdcf1c
|
data/README.md
CHANGED
@@ -105,9 +105,10 @@ and please ensure you follow the [CODE_OF_CONDUCT.md](../CODE_OF_CONDUCT.md).
|
|
105
105
|
We use [SemVer](http://semver.org/) for versioning. For the versions available,
|
106
106
|
see the [tags on this repository](https://github.com/saucelabs/sa11y/tags).
|
107
107
|
|
108
|
-
## License
|
108
|
+
## License and Copyright
|
109
109
|
|
110
110
|
This project is licensed under the MPL-2.0 License - see the [LICENSE.md](LICENSE.md) file for details
|
111
|
+
Copyright (c) 2021 Sauce Labs
|
111
112
|
|
112
113
|
## Acknowledgments
|
113
114
|
|
data/lib/sa11y/analyze.rb
CHANGED
@@ -1,3 +1,9 @@
|
|
1
|
+
# Copyright (c) 2021 Sauce Labs
|
2
|
+
#
|
3
|
+
# This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0.
|
4
|
+
# If a copy of the MPL was not distributed with this file, You can obtain one at
|
5
|
+
# http://mozilla.org/MPL/2.0/.
|
6
|
+
|
1
7
|
# frozen_string_literal: true
|
2
8
|
|
3
9
|
require "selenium-webdriver"
|
@@ -22,7 +28,6 @@ module Sa11y
|
|
22
28
|
# Copyright (C) 2020 Deque Systems Inc.,
|
23
29
|
IFRAME_ALLOWED_SCRIPT = "axe.configure({ allowedOrigins: ['<unsafe_all_origins>'] });"
|
24
30
|
|
25
|
-
|
26
31
|
def initialize(driver, js_lib: nil, frames: true, cross_origin: false)
|
27
32
|
@driver = driver
|
28
33
|
@js_lib = js_lib || File.read(File.expand_path("../scripts/axe.min.js", __dir__))
|
data/lib/sa11y/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: sa11y
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- titusfortner
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2021-07-
|
11
|
+
date: 2021-07-03 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rake
|