useragent 0.16.1 → 0.16.2

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 2a7bfd625cd7795366a5f4975a64fa6980e795e0
4
- data.tar.gz: 83d4de29ea9f43ee829b7f733efa0f4f7975051e
3
+ metadata.gz: 9353f8e50827a2223a18102becd7c6c95dfba8d4
4
+ data.tar.gz: bce76cb0bb897d6bdbb5bbf5ff34ed4790ac9310
5
5
  SHA512:
6
- metadata.gz: e5b9d5851589353d62a0b585405de9e303be7ee04e697a4b0c6ffa151395cb1c34d001f975bd8bd395eda05137fd2cb2eca9bb7817f976e3d38cc7735430288d
7
- data.tar.gz: 827f48ff99df6372b82000a202596426f89a2b74356807d7641e7946cb3827e07351640a09c69b3fed811494d2ce6c8aab76f4c4b85c1b5b677bd669270a8445
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.1
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-07 00:00:00.000000000 Z
12
+ date: 2015-10-16 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rake