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 +4 -4
- data/lib/woothee.rb +1 -1
- data/lib/woothee/version.rb +1 -1
- data/spec/02_run_testsets_spec.rb +1 -0
- metadata +2 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 27a8d0b1a8d5a09b9528c9cf9d7257a117c7c2c1
|
4
|
+
data.tar.gz: 5c277d4b25b6e834f06feae8feccf67183ef4c50
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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
|
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.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
|
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
|