woothee 0.2.4 → 0.3.0

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.
@@ -24,6 +24,7 @@ module Woothee::Appliance
24
24
  when ua.index('Nintendo 3DS;') then Woothee::DataSet.get('Nintendo3DS')
25
25
  when ua.index('Nintendo DSi;') then Woothee::DataSet.get('NintendoDSi')
26
26
  when ua.index('Nintendo Wii;') then Woothee::DataSet.get('NintendoWii')
27
+ when ua.index('(Nintendo WiiU)') then Woothee::DataSet.get('NintendoWiiU')
27
28
  else nil
28
29
  end
29
30
  return false unless data
@@ -33,7 +33,7 @@ end
33
33
 
34
34
  module Woothee::DataSet
35
35
  DATASET = {}
36
- # GENERATED from dataset.yaml at Fri Jul 20 13:14:50 JST 2012 by tagomoris
36
+ # GENERATED from dataset.yaml at Mon Nov 26 15:53:14 JST 2012 by tagomoris
37
37
  obj = {:label => 'MSIE', :name => 'Internet Explorer', :type => :browser}
38
38
  obj[:vendor] = 'Microsoft'
39
39
  DATASET[obj[:label]] = obj
@@ -169,6 +169,11 @@ module Woothee::DataSet
169
169
  obj[:category] = :appliance
170
170
  obj[:os] = 'Nintendo Wii'
171
171
  DATASET[obj[:label]] = obj
172
+ obj = {:label => 'NintendoWiiU', :name => 'Nintendo Wii U', :type => :full}
173
+ obj[:vendor] = 'Nintendo'
174
+ obj[:category] = :appliance
175
+ obj[:os] = 'Nintendo Wii U'
176
+ DATASET[obj[:label]] = obj
172
177
  obj = {:label => 'PSP', :name => 'PlayStation Portable', :type => :full}
173
178
  obj[:vendor] = 'Sony'
174
179
  obj[:category] = :appliance
data/woothee.gemspec CHANGED
@@ -6,7 +6,7 @@ Gem::Specification.new do |gem|
6
6
  gem.description = "Cross-language UserAgent classifier library, ruby implementation"
7
7
  gem.homepage = "https://github.com/tagomoris/woothee"
8
8
  gem.summary = gem.description
9
- gem.version = "0.2.4"
9
+ gem.version = "0.3.0"
10
10
  gem.authors = ["TAGOMORI Satoshi"]
11
11
  gem.email = "tagomoris@gmail.com"
12
12
  gem.has_rdoc = false
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: woothee
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.4
4
+ version: 0.3.0
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2012-07-20 00:00:00.000000000 Z
12
+ date: 2012-11-26 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rspec