public_suffix_service 0.4.0
Sign up to get free protection for your applications and to get access to all the features.
- data/CHANGELOG.rdoc +38 -0
- data/LICENSE.rdoc +25 -0
- data/README.rdoc +99 -0
- data/Rakefile +132 -0
- data/lib/public_suffix_service.rb +90 -0
- data/lib/public_suffix_service/definitions.dat +4449 -0
- data/lib/public_suffix_service/domain.rb +230 -0
- data/lib/public_suffix_service/errors.rb +25 -0
- data/lib/public_suffix_service/rule.rb +294 -0
- data/lib/public_suffix_service/rule_list.rb +246 -0
- data/lib/public_suffix_service/version.rb +30 -0
- data/public_suffix_service.gemspec +33 -0
- data/test/acceptance_test.rb +26 -0
- data/test/public_suffix_service/domain_test.rb +141 -0
- data/test/public_suffix_service/rule_list_test.rb +182 -0
- data/test/public_suffix_service/rule_test.rb +215 -0
- data/test/public_suffix_service_test.rb +62 -0
- data/test/test_helper.rb +9 -0
- metadata +100 -0
data/test/test_helper.rb
ADDED
metadata
ADDED
@@ -0,0 +1,100 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: public_suffix_service
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
hash: 15
|
5
|
+
prerelease: false
|
6
|
+
segments:
|
7
|
+
- 0
|
8
|
+
- 4
|
9
|
+
- 0
|
10
|
+
version: 0.4.0
|
11
|
+
platform: ruby
|
12
|
+
authors:
|
13
|
+
- Simone Carletti
|
14
|
+
autorequire:
|
15
|
+
bindir: bin
|
16
|
+
cert_chain: []
|
17
|
+
|
18
|
+
date: 2010-05-31 00:00:00 +02:00
|
19
|
+
default_executable:
|
20
|
+
dependencies:
|
21
|
+
- !ruby/object:Gem::Dependency
|
22
|
+
name: mocha
|
23
|
+
prerelease: false
|
24
|
+
requirement: &id001 !ruby/object:Gem::Requirement
|
25
|
+
none: false
|
26
|
+
requirements:
|
27
|
+
- - ">="
|
28
|
+
- !ruby/object:Gem::Version
|
29
|
+
hash: 3
|
30
|
+
segments:
|
31
|
+
- 0
|
32
|
+
version: "0"
|
33
|
+
type: :development
|
34
|
+
version_requirements: *id001
|
35
|
+
description: " Intelligent Domain Name parser based in the Public Suffic List. Domain Name can parse and decompose a domain name into top level domain, domain and subdomains.\n"
|
36
|
+
email: weppos@weppos.net
|
37
|
+
executables: []
|
38
|
+
|
39
|
+
extensions: []
|
40
|
+
|
41
|
+
extra_rdoc_files:
|
42
|
+
- CHANGELOG.rdoc
|
43
|
+
- LICENSE.rdoc
|
44
|
+
- README.rdoc
|
45
|
+
files:
|
46
|
+
- Rakefile
|
47
|
+
- CHANGELOG.rdoc
|
48
|
+
- LICENSE.rdoc
|
49
|
+
- README.rdoc
|
50
|
+
- public_suffix_service.gemspec
|
51
|
+
- test/acceptance_test.rb
|
52
|
+
- test/public_suffix_service/domain_test.rb
|
53
|
+
- test/public_suffix_service/rule_list_test.rb
|
54
|
+
- test/public_suffix_service/rule_test.rb
|
55
|
+
- test/public_suffix_service_test.rb
|
56
|
+
- test/test_helper.rb
|
57
|
+
- lib/public_suffix_service/definitions.dat
|
58
|
+
- lib/public_suffix_service/domain.rb
|
59
|
+
- lib/public_suffix_service/errors.rb
|
60
|
+
- lib/public_suffix_service/rule.rb
|
61
|
+
- lib/public_suffix_service/rule_list.rb
|
62
|
+
- lib/public_suffix_service/version.rb
|
63
|
+
- lib/public_suffix_service.rb
|
64
|
+
has_rdoc: true
|
65
|
+
homepage: http://www.simonecarletti.com/code/public_suffix_service
|
66
|
+
licenses: []
|
67
|
+
|
68
|
+
post_install_message:
|
69
|
+
rdoc_options:
|
70
|
+
- --main
|
71
|
+
- README.rdoc
|
72
|
+
require_paths:
|
73
|
+
- lib
|
74
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
75
|
+
none: false
|
76
|
+
requirements:
|
77
|
+
- - ">="
|
78
|
+
- !ruby/object:Gem::Version
|
79
|
+
hash: 3
|
80
|
+
segments:
|
81
|
+
- 0
|
82
|
+
version: "0"
|
83
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
84
|
+
none: false
|
85
|
+
requirements:
|
86
|
+
- - ">="
|
87
|
+
- !ruby/object:Gem::Version
|
88
|
+
hash: 3
|
89
|
+
segments:
|
90
|
+
- 0
|
91
|
+
version: "0"
|
92
|
+
requirements: []
|
93
|
+
|
94
|
+
rubyforge_project:
|
95
|
+
rubygems_version: 1.3.7
|
96
|
+
signing_key:
|
97
|
+
specification_version: 3
|
98
|
+
summary: Domain Name parser based on the Public Suffix List
|
99
|
+
test_files: []
|
100
|
+
|