useragent 0.4.7 → 0.4.8

Sign up to get free protection for your applications and to get access to all the features.
@@ -5,6 +5,14 @@ class UserAgent
5
5
  agent.application && agent.application.product == "Opera"
6
6
  end
7
7
 
8
+ def version
9
+ if product = detect_product('Version')
10
+ product.version
11
+ else
12
+ super
13
+ end
14
+ end
15
+
8
16
  def platform
9
17
  if application.comment.nil?
10
18
  nil
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: 1
4
+ hash: 31
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 4
9
- - 7
10
- version: 0.4.7
9
+ - 8
10
+ version: 0.4.8
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: 2012-03-12 00:00:00 -05:00
18
+ date: 2012-03-28 00:00:00 -05:00
19
19
  default_executable:
20
20
  dependencies:
21
21
  - !ruby/object:Gem::Dependency