voight_kampff 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: 2058aa68727ec3597c7c8cad15608eb95e5211e0
4
- data.tar.gz: 29d2399f8e2957e52e833c3660270a23344335a0
3
+ metadata.gz: 4c6adf1c9f085e2e6635957d63cd8cab207f3a07
4
+ data.tar.gz: 6e2949e6c89a8c2f3aafe2f07a726788a60711c2
5
5
  SHA512:
6
- metadata.gz: b35c1be62a8df9122d61c97cb7b0afb20200f7ce606528e998455ee579f6334daad0cfb58ce64d09b3b0df98c2f978df8407302fb0d88373a9ed4a85f0aece29
7
- data.tar.gz: 3a7e5cbaa0bfb7ecb2d7cc83b36092651595564a6a4eed984b903cdd37961bf07842e80bcbcdae6bb88225e126fdf1866932a72abf84c098b611572236180671
6
+ metadata.gz: e36f897ff189876f736676aca23c5fbc948562f28fd16887ca9daba33da98fc5b779d6e5a3823c9c11d0b1faa2731dc51257c6c227c0150ad9e6882e69607945
7
+ data.tar.gz: cc62b19d3b66917f1d8afc91f74b0ba447d7dff859cb8e0622e30fa50632325363fb30d17dc256c9e77734a3a919d5a750b08ccbd5df040cf2c8ed2074535b0f
@@ -12,7 +12,7 @@ module VoightKampff
12
12
  load_crawlers
13
13
 
14
14
  @agent ||= @@crawlers.find do |crawler|
15
- user_agent_string =~ Regexp.new(crawler['pattern'], Regexp::IGNORECASE)
15
+ self.user_agent_string =~ Regexp.new(crawler['pattern'], Regexp::IGNORECASE)
16
16
  end || {}
17
17
  end
18
18
 
@@ -1,3 +1,3 @@
1
1
  module VoightKampff
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: voight_kampff
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
  - Adam Crownoble
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-10-22 00:00:00.000000000 Z
11
+ date: 2015-11-02 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rack
@@ -122,3 +122,4 @@ signing_key:
122
122
  specification_version: 4
123
123
  summary: Voight-Kampff bot detection
124
124
  test_files: []
125
+ has_rdoc: