woothee 1.0.1 → 1.1.0

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: 79c7608568cfe64b7f165cabff1bb992eb265185
4
- data.tar.gz: e6c174ba4c854b8b5872d705b168f227822f0dd0
3
+ metadata.gz: 27a8d0b1a8d5a09b9528c9cf9d7257a117c7c2c1
4
+ data.tar.gz: 5c277d4b25b6e834f06feae8feccf67183ef4c50
5
5
  SHA512:
6
- metadata.gz: f891322799eda5520b01a7587fc10a0143be5a9c80639ce75fdcd4b6b02cf7420a064048522173e7c0aed472cf6002b4d0c22dc74a14fe13fdb73a6e579f015d
7
- data.tar.gz: a39fa10d4dae044faec6b61036dc96eb497d591479956a40791494ed81e963affbdcd2069efba2dc1a45c3a03035b45999411dbbcd263196d9d782b710734475
6
+ metadata.gz: d72ebc71e88a85f2a73bcb813bed6b62a38c30ca7eedff4442ca5251b350481dd7fadc3f82e962aa6a608852c089ea14db22a9fabeda9cdb1d00ee4034ca54f1
7
+ data.tar.gz: a035060f6c2b6d2660a906732f317fd8d7c5fdda9c54cd8c60e6c99f0a3ab123b0fc6fcb606d7b2567aad3e3674ba90d489f85d1957349b2679e8ed19b867ba7
data/lib/woothee.rb CHANGED
@@ -22,7 +22,7 @@ module Woothee
22
22
  def self.exec_parse(useragent)
23
23
  result = {}
24
24
 
25
- return result if useragent.length < 1 or useragent == '-'
25
+ return result if useragent.nil? or useragent.length < 1 or useragent == '-'
26
26
 
27
27
  if try_crawler(useragent, result)
28
28
  return result
@@ -1,3 +1,3 @@
1
1
  module Woothee
2
- VERSION = "1.0.1"
2
+ VERSION = "1.1.0"
3
3
  end
@@ -19,6 +19,7 @@ TARGETS = [
19
19
  ['pc_lowpriority.yaml','PC/LowPriority'],
20
20
  ['misc.yaml','Misc'],
21
21
  ['crawler_nonmajor.yaml','Crawler/NonMajor'],
22
+ ['blank.yaml','Blank'],
22
23
  ]
23
24
 
24
25
  describe Woothee do
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.1
4
+ version: 1.1.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - TAGOMORI Satoshi
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-01-14 00:00:00.000000000 Z
11
+ date: 2015-03-01 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rake
@@ -94,4 +94,3 @@ 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