motion-accessibility 3.1 → 3.1.1
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/lib/project/test.rb +6 -2
- 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: 458ab0ffb00b1047609639b4bb4585e60ff0c208
|
4
|
+
data.tar.gz: 124699d806b67d73fcdfabba0fb69b7a91472359
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 66b8b9b632fe3f4ca40fc737024b44c04bae945a128c625ff77da22dd973053cbc37e6d0719499cde4c1e278e67b71d764ae4583f31de5bf831e1590339cafd6
|
7
|
+
data.tar.gz: 9631be3f8f434c9b39b63891620fcf9ae939e7324c24aa3b67d6de64ffae7a7d509ed6ed434388a2ba41006c035b0851aced75a25710510756ef5352f9dddafc
|
data/lib/project/test.rb
CHANGED
@@ -313,9 +313,13 @@ end
|
|
313
313
|
end
|
314
314
|
|
315
315
|
def self.nonstandard(value, options={})
|
316
|
-
options[:apple]
|
316
|
+
if options[:apple]
|
317
|
+
return true if value.class==options[:apple]
|
318
|
+
else
|
319
|
+
return true if [Bignum,Fixnum].include?(value.class)
|
320
|
+
end
|
317
321
|
options[:custom]||=:none.accessibility_trait
|
318
|
-
return true if value
|
322
|
+
return true if value==options[:custom]
|
319
323
|
options[:attribute]||=:accessibility_traits
|
320
324
|
message="Apple has this set to a non-standard value."
|
321
325
|
options[:message]||="Hopefully you can get away with using :none."
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: motion-accessibility
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version:
|
4
|
+
version: 3.1.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Austin Seraphin
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-
|
11
|
+
date: 2014-12-13 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rake
|