public_suffix 3.0.2 → 3.0.3

Sign up to get free protection for your applications and to get access to all the features.
@@ -173,8 +173,6 @@ module PublicSuffix
173
173
  # This method doesn't actually validate the domain.
174
174
  # It only checks whether the instance contains
175
175
  # a value for the {#tld} and {#sld} attributes.
176
- # If you also want to validate the domain,
177
- # use {#valid_domain?} instead.
178
176
  #
179
177
  # @example
180
178
  #
@@ -212,7 +212,7 @@ module PublicSuffix
212
212
 
213
213
  rules
214
214
  end
215
- private :select
215
+ private :select # rubocop:disable Style/AccessModifierDeclarations
216
216
 
217
217
  # Gets the default rule.
218
218
  #
@@ -6,5 +6,5 @@
6
6
 
7
7
  module PublicSuffix
8
8
  # The current library version.
9
- VERSION = "3.0.2".freeze
9
+ VERSION = "3.0.3".freeze
10
10
  end
@@ -5,7 +5,7 @@ require "public_suffix"
5
5
  # the definitions satisfies the test suite.
6
6
  class PslTest < Minitest::Test
7
7
 
8
- ROOT = File.expand_path("../../", __FILE__)
8
+ ROOT = File.expand_path("..", __dir__)
9
9
 
10
10
  # rubocop:disable Security/Eval
11
11
  def self.tests
@@ -9,5 +9,5 @@ require "mocha/setup"
9
9
 
10
10
  Minitest::Reporters.use! Minitest::Reporters::DefaultReporter.new(color: true)
11
11
 
12
- $LOAD_PATH.unshift File.expand_path("../../lib", __FILE__)
12
+ $LOAD_PATH.unshift File.expand_path("../lib", __dir__)
13
13
  require "public_suffix"
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: public_suffix
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.2
4
+ version: 3.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Simone Carletti
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-02-12 00:00:00.000000000 Z
11
+ date: 2018-08-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rake