useragent 0.2.1 → 0.2.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.
@@ -2,7 +2,7 @@ class UserAgent
2
2
  module Browsers
3
3
  module Webkit
4
4
  def self.extend?(agent)
5
- agent.detect { |useragent| useragent.product == "Safari" || useragent.product == "Chrome" }
5
+ agent.detect { |useragent| useragent.product == 'AppleWebKit' }
6
6
  end
7
7
 
8
8
  def webkit?
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: 21
4
+ hash: 19
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 2
9
- - 1
10
- version: 0.2.1
9
+ - 2
10
+ version: 0.2.2
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: 2011-01-04 00:00:00 -06:00
18
+ date: 2011-01-20 00:00:00 -06:00
19
19
  default_executable:
20
20
  dependencies: []
21
21
 
@@ -69,7 +69,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
69
69
  requirements: []
70
70
 
71
71
  rubyforge_project:
72
- rubygems_version: 1.4.1
72
+ rubygems_version: 1.4.2
73
73
  signing_key:
74
74
  specification_version: 3
75
75
  summary: HTTP User Agent parser