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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 8d02d577c470c8ee9b7204b5f7bdc48dd3af1dae
4
- data.tar.gz: 7fd13c2c702219ee6f8ce5b059b64da041fcb55c
3
+ metadata.gz: 79c7608568cfe64b7f165cabff1bb992eb265185
4
+ data.tar.gz: e6c174ba4c854b8b5872d705b168f227822f0dd0
5
5
  SHA512:
6
- metadata.gz: 4622d9e21b6105f977d4bba8f508b851fa8a52963ec4bb0c9186cd72b43c6fcf1582a3a1fc9bca03f75c6f5777c6059ef6b1ba670e892b8b7878d4f9a443e691
7
- data.tar.gz: 8c4d48ea2764cacfcdb311e623e574e6d7bc77f5a11527ddfaf7333bd537d961508bc559bd38eae66b1010d6825d174c713f9faefc1aa8d3414e11b46839e638
6
+ metadata.gz: f891322799eda5520b01a7587fc10a0143be5a9c80639ce75fdcd4b6b02cf7420a064048522173e7c0aed472cf6002b4d0c22dc74a14fe13fdb73a6e579f015d
7
+ data.tar.gz: a39fa10d4dae044faec6b61036dc96eb497d591479956a40791494ed81e963affbdcd2069efba2dc1a45c3a03035b45999411dbbcd263196d9d782b710734475
@@ -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]+);(?: BOIE[0-9]+;[A-Z]+;)? rv:([.0-9]+)/o
15
- $2
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
@@ -1,3 +1,3 @@
1
1
  module Woothee
2
- VERSION = "1.0.0"
2
+ VERSION = "1.0.1"
3
3
  end
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.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: 2014-10-24 00:00:00.000000000 Z
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.2.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