fizx-robots 0.3.0 → 0.3.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
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