aua 0.3.0 → 0.3.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/aua/agents/msie.rb +2 -6
- data/lib/aua/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ed65dbc5b074572f12ba6f6e7151c2e251bf598c7a3e089670d4411b996a351a
|
4
|
+
data.tar.gz: 9f6cd77585e459b23bc79e6ea6e94f6693af40477acbe46492a8005cbb604838
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 99f7f87c0b69e2c31a49cbcc39cf4307216a021abba964b80dd711714f4446a4173793b73a01460db80ccb5c680f3ea63c6e54e8df68789d2a67b1eb11b746e7
|
7
|
+
data.tar.gz: a21690e1eeac97fe0af0bc6690ab1dc95accc17a01620ee78b29812dc7778809e13ff18ea0c5ecf7576fcda40afbe7f0818173479482d095646d6b97fc172b26
|
data/lib/aua/agents/msie.rb
CHANGED
@@ -18,12 +18,8 @@ module Aua::Agents::Msie
|
|
18
18
|
end
|
19
19
|
|
20
20
|
def version
|
21
|
-
@version ||=
|
22
|
-
|
23
|
-
$1 == "Trident\/" ? TRIDENT_VERSION_MAP[$2] || $2 : $2
|
24
|
-
else
|
25
|
-
version_of("Edge").split(/\./, 2)[0]
|
26
|
-
end
|
21
|
+
@version ||= if app_comments_string =~ PATTERN
|
22
|
+
$1 == "Trident\/" ? TRIDENT_VERSION_MAP[$2] || $2 : $2
|
27
23
|
end
|
28
24
|
end
|
29
25
|
end
|
data/lib/aua/version.rb
CHANGED