useragent 0.16.1 → 0.16.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/user_agent/browsers/playstation.rb +2 -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: 9353f8e50827a2223a18102becd7c6c95dfba8d4
|
4
|
+
data.tar.gz: bce76cb0bb897d6bdbb5bbf5ff34ed4790ac9310
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ba2dd7b05214fa0bfc94fd6ef8ba49d4db87fc72e3ef49bff404a43e41e020d8a13c2353e1c633601f9e628428858467d548bba5c7cd49fe795c78ba4eeb2b06
|
7
|
+
data.tar.gz: 8700e286bf4751301037ad50910d6c280a7bff809af3c4900df0c4efdae96b60bdcc25679f6c6c450ddef8256d9af237ffc00d78af796e0c129c2fd88db705c4
|
@@ -7,7 +7,7 @@ class UserAgent
|
|
7
7
|
# Mozilla/5.0 (PlayStation 4 2.57) AppleWebKit/537.73 (KHTML, like Gecko)
|
8
8
|
class PlayStation < Base
|
9
9
|
def self.extend?(agent)
|
10
|
-
!agent.application.nil? && !agent.application.comment.nil? && (
|
10
|
+
!agent.application.nil? && !agent.application.comment.nil? && agent.application.comment.any? && (
|
11
11
|
agent.application.comment.first.include?('PLAYSTATION 3') ||
|
12
12
|
agent.application.comment.first.include?('PlayStation Vita') ||
|
13
13
|
agent.application.comment.first.include?('PlayStation 4')
|
@@ -77,4 +77,4 @@ class UserAgent
|
|
77
77
|
end
|
78
78
|
end
|
79
79
|
end
|
80
|
-
end
|
80
|
+
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: useragent
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.16.
|
4
|
+
version: 0.16.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Joshua Peek
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2015-10-
|
12
|
+
date: 2015-10-16 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: rake
|