useragent 0.1.5 → 0.1.6
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/user_agent/browsers/gecko.rb +3 -2
- metadata +5 -5
@@ -25,11 +25,12 @@ class UserAgent
|
|
25
25
|
end
|
26
26
|
|
27
27
|
def security
|
28
|
-
Security[application.comment[1]]
|
28
|
+
Security[application.comment[1]] || :strong
|
29
29
|
end
|
30
30
|
|
31
31
|
def os
|
32
|
-
|
32
|
+
i = application.comment[1] == 'U' ? 2 : 1
|
33
|
+
OperatingSystems.normalize_os(application.comment[i])
|
33
34
|
end
|
34
35
|
|
35
36
|
def localization
|
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: useragent
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 23
|
5
5
|
prerelease: false
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 1
|
9
|
-
-
|
10
|
-
version: 0.1.
|
9
|
+
- 6
|
10
|
+
version: 0.1.6
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Joshua Peek
|
@@ -15,7 +15,7 @@ autorequire:
|
|
15
15
|
bindir: bin
|
16
16
|
cert_chain: []
|
17
17
|
|
18
|
-
date: 2010-
|
18
|
+
date: 2010-12-25 00:00:00 -06:00
|
19
19
|
default_executable:
|
20
20
|
dependencies: []
|
21
21
|
|
@@ -40,7 +40,7 @@ files:
|
|
40
40
|
- lib/user_agent/operating_systems.rb
|
41
41
|
- lib/useragent.rb
|
42
42
|
has_rdoc: true
|
43
|
-
homepage:
|
43
|
+
homepage: https://github.com/josh/useragent
|
44
44
|
licenses: []
|
45
45
|
|
46
46
|
post_install_message:
|