fizx-robots 0.3.0 → 0.3.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (2) hide show
  1. data/lib/robots.rb +2 -2
  2. metadata +1 -1
@@ -32,8 +32,8 @@ class Robots
32
32
  @disallows[agent] ||= []
33
33
  @disallows[agent] << to_regex(value)
34
34
  else
35
- @disallows[key] ||= []
36
- @disallows[key] << value
35
+ @disallows[agent] ||= []
36
+ @disallows[agent] << to_regex(value)
37
37
  end
38
38
  end
39
39
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fizx-robots
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.0
4
+ version: 0.3.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Kyle Maxwell