woothee 0.2.4 → 0.3.0
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/woothee/appliance.rb +1 -0
- data/lib/woothee/dataset.rb +6 -1
- data/woothee.gemspec +1 -1
- metadata +2 -2
data/lib/woothee/appliance.rb
CHANGED
@@ -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
|
data/lib/woothee/dataset.rb
CHANGED
@@ -33,7 +33,7 @@ end
|
|
33
33
|
|
34
34
|
module Woothee::DataSet
|
35
35
|
DATASET = {}
|
36
|
-
# GENERATED from dataset.yaml at
|
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.
|
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.
|
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-
|
12
|
+
date: 2012-11-26 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: rspec
|