woothee 1.0.0 → 1.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/woothee/browser.rb +2 -2
- data/lib/woothee/version.rb +1 -1
- metadata +4 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 79c7608568cfe64b7f165cabff1bb992eb265185
|
4
|
+
data.tar.gz: e6c174ba4c854b8b5872d705b168f227822f0dd0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f891322799eda5520b01a7587fc10a0143be5a9c80639ce75fdcd4b6b02cf7420a064048522173e7c0aed472cf6002b4d0c22dc74a14fe13fdb73a6e579f015d
|
7
|
+
data.tar.gz: a39fa10d4dae044faec6b61036dc96eb497d591479956a40791494ed81e963affbdcd2069efba2dc1a45c3a03035b45999411dbbcd263196d9d782b710734475
|
data/lib/woothee/browser.rb
CHANGED
@@ -11,8 +11,8 @@ module Woothee::Browser
|
|
11
11
|
|
12
12
|
version = if ua =~ /MSIE ([.0-9]+);/o
|
13
13
|
$1
|
14
|
-
elsif ua =~ /Trident\/([.0-9]+)
|
15
|
-
$
|
14
|
+
elsif ua =~ /Trident\/([.0-9]+);/o && ua =~ / rv:([.0-9]+)/
|
15
|
+
$1
|
16
16
|
elsif ua =~ /IEMobile\/([.0-9]+);/o
|
17
17
|
$1
|
18
18
|
else
|
data/lib/woothee/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: woothee
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- TAGOMORI Satoshi
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2015-01-14 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rake
|
@@ -86,7 +86,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
86
86
|
version: '0'
|
87
87
|
requirements: []
|
88
88
|
rubyforge_project:
|
89
|
-
rubygems_version: 2.
|
89
|
+
rubygems_version: 2.4.5
|
90
90
|
signing_key:
|
91
91
|
specification_version: 4
|
92
92
|
summary: Cross-language UserAgent classifier library, ruby implementation
|
@@ -94,3 +94,4 @@ test_files:
|
|
94
94
|
- spec/00_valid_spec.rb
|
95
95
|
- spec/01_dataset_spec.rb
|
96
96
|
- spec/02_run_testsets_spec.rb
|
97
|
+
has_rdoc: false
|