kch-dominion 0.0.6 → 0.0.7

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/dominion/domain_name.rb +1 -1
  2. metadata +1 -1
@@ -8,7 +8,7 @@ module Dominion
8
8
  # returns the current rule list or takes a new rule list; rules must be DomainSuffixRule instances.
9
9
  def self.rules(rules = nil)
10
10
  @rules = rules if rules
11
- @rules
11
+ @rules || (superclass.rules if superclass.respond_to?(:rules))
12
12
  end
13
13
 
14
14
  # takes the path to a rule file in the format defined in http://publicsuffix.org/list/
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: kch-dominion
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.6
4
+ version: 0.0.7
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: