public_suffix_service 0.8.0 → 0.8.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.
data/CHANGELOG.rdoc CHANGED
@@ -1,6 +1,11 @@
1
1
  = Changelog
2
2
 
3
3
 
4
+ == Release 0.8.1
5
+
6
+ * FIXED: The files in the release 0.8.0 have wrong permission 600 and can't be loaded (#10).
7
+
8
+
4
9
  == Release 0.8.0
5
10
 
6
11
  * CHANGED: Update public suffix list to d1a5599b49fa 2010-10-25 15:10 +0100 (#9)
data/README.rdoc CHANGED
@@ -43,7 +43,7 @@ Successfully tested with the following interpreters
43
43
 
44
44
  == Installation
45
45
 
46
- The best way to install Public Suffix Service< is via {RubyGems}[http://www.rubygems.org].
46
+ The best way to install Public Suffix Service is via {RubyGems}[http://www.rubygems.org].
47
47
 
48
48
  $ gem install public_suffix_service
49
49
 
@@ -16,6 +16,17 @@
16
16
 
17
17
  module PublicSuffixService
18
18
 
19
+ # A Rule is a special object which holds a single definition
20
+ # of the Public Suffix List.
21
+ #
22
+ # There are 3 types of ruleas, each one represented by a specific
23
+ # subclass within the +PublicSuffixService::Rule+ namespace.
24
+ #
25
+ # To create a new Rule, use the {PublicSuffixService::Rule#factory} method.
26
+ #
27
+ # PublicSuffixService::Rule.factory("ar")
28
+ # # => #<PublicSuffixService::Rule::Normal>
29
+ #
19
30
  class Rule
20
31
 
21
32
  # Takes the +name+ of the rule, detects the specific rule class
@@ -19,7 +19,7 @@ module PublicSuffixService
19
19
  module Version
20
20
  MAJOR = 0
21
21
  MINOR = 8
22
- PATCH = 0
22
+ PATCH = 1
23
23
  BUILD = nil
24
24
 
25
25
  STRING = [MAJOR, MINOR, PATCH, BUILD].compact.join(".")
@@ -2,16 +2,16 @@
2
2
 
3
3
  Gem::Specification.new do |s|
4
4
  s.name = %q{public_suffix_service}
5
- s.version = "0.7.0"
5
+ s.version = "0.8.0"
6
6
 
7
7
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
8
8
  s.authors = ["Simone Carletti"]
9
- s.date = %q{2010-10-09}
9
+ s.date = %q{2010-12-07}
10
10
  s.description = %q{ Intelligent domain name parser based in the Public Suffic List. PublicSuffixService can parse and decompose a domain name into top level domain, domain and subdomains.
11
11
  }
12
12
  s.email = %q{weppos@weppos.net}
13
13
  s.extra_rdoc_files = ["CHANGELOG.rdoc", "LICENSE.rdoc", "README.rdoc"]
14
- s.files = ["Rakefile", "CHANGELOG.rdoc", "LICENSE.rdoc", "README.rdoc", "public_suffix_service.gemspec", "test/acceptance_test.rb", "test/public_suffix_service/domain_test.rb", "test/public_suffix_service/rule_list_test.rb", "test/public_suffix_service/rule_test.rb", "test/public_suffix_service_test.rb", "test/test_helper.rb", "lib/public_suffix_service/definitions.dat", "lib/public_suffix_service/domain.rb", "lib/public_suffix_service/errors.rb", "lib/public_suffix_service/rule.rb", "lib/public_suffix_service/rule_list.rb", "lib/public_suffix_service/version.rb", "lib/public_suffix_service.rb"]
14
+ s.files = ["Rakefile", "CHANGELOG.rdoc", "LICENSE.rdoc", "README.rdoc", "public_suffix_service.gemspec", "test/acceptance_test.rb", "test/public_suffix_service/domain_test.rb", "test/public_suffix_service/errors_test.rb", "test/public_suffix_service/rule_list_test.rb", "test/public_suffix_service/rule_test.rb", "test/public_suffix_service_test.rb", "test/test_helper.rb", "lib/public_suffix_service/definitions.dat", "lib/public_suffix_service/domain.rb", "lib/public_suffix_service/errors.rb", "lib/public_suffix_service/rule.rb", "lib/public_suffix_service/rule_list.rb", "lib/public_suffix_service/version.rb", "lib/public_suffix_service.rb"]
15
15
  s.homepage = %q{http://www.simonecarletti.com/code/public_suffix_service}
16
16
  s.rdoc_options = ["--main", "README.rdoc"]
17
17
  s.require_paths = ["lib"]
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: public_suffix_service
3
3
  version: !ruby/object:Gem::Version
4
- hash: 63
4
+ hash: 61
5
5
  prerelease: false
6
6
  segments:
7
7
  - 0
8
8
  - 8
9
- - 0
10
- version: 0.8.0
9
+ - 1
10
+ version: 0.8.1
11
11
  platform: ruby
12
12
  authors:
13
13
  - Simone Carletti
@@ -15,7 +15,7 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2010-12-05 00:00:00 +01:00
18
+ date: 2010-12-07 00:00:00 +01:00
19
19
  default_executable:
20
20
  dependencies:
21
21
  - !ruby/object:Gem::Dependency