useragent 0.1.5 → 0.1.6

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.
@@ -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
- OperatingSystems.normalize_os(application.comment[2])
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: 17
4
+ hash: 23
5
5
  prerelease: false
6
6
  segments:
7
7
  - 0
8
8
  - 1
9
- - 5
10
- version: 0.1.5
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-06-13 00:00:00 -05:00
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: http://github.com/josh/useragent
43
+ homepage: https://github.com/josh/useragent
44
44
  licenses: []
45
45
 
46
46
  post_install_message: