psl-domain-extractor 1.0.0

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.
@@ -0,0 +1,45 @@
1
+ lib = File.expand_path("lib", __dir__)
2
+ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
3
+ require "psl-domain-extractor/version"
4
+
5
+ Gem::Specification.new do |s|
6
+ s.name = "psl-domain-extractor"
7
+ s.summary = "Public Suffix List based domain extractor"
8
+ s.version = PslDomainExtractor::VERSION
9
+ s.author = "Ruben Arakelyan"
10
+ s.description = "Ruby gem for extracting domains, subdomains and public suffixes from hostnames using the Public Suffix List"
11
+ s.email = "ruben@arakelyan.uk"
12
+ s.homepage = "https://github.com/rubenarakelyan/psl-domain-extractor"
13
+ s.license = "MIT"
14
+ s.required_ruby_version = ">= 3.2.8"
15
+ s.platform = Gem::Platform::RUBY
16
+ s.files = Dir.glob("lib/**/*") + [
17
+ "psl/public_suffix_list.dat",
18
+ "CHANGELOG.md",
19
+ "Gemfile",
20
+ "LICENSE",
21
+ "README.md",
22
+ "psl-domain-extractor.gemspec"
23
+ ]
24
+ s.require_paths = ["lib"]
25
+ s.metadata = {
26
+ "bug_tracker_uri" => "https://github.com/rubenarakelyan/psl-domain-extractor/issues",
27
+ "changelog_uri" => "https://github.com/rubenarakelyan/psl-domain-extractor/blob/main/CHANGELOG.md",
28
+ "documentation_uri" => "https://www.rubydoc.info/gems/psl-domain-extractor",
29
+ "source_code_uri" => "https://github.com/rubenarakelyan/psl-domain-extractor",
30
+ "wiki_uri" => "https://github.com/rubenarakelyan/psl-domain-extractor/wiki",
31
+ "funding_uri" => "https://github.com/sponsors/rubenarakelyan",
32
+ "rubygems_mfa_required" => "true"
33
+ }
34
+
35
+ s.cert_chain = ["certs/rubena.pem"]
36
+ s.signing_key = File.expand_path("~/.ssh/gem-private_key.pem") if $0 =~ /gem\z/
37
+
38
+ s.add_development_dependency "irb", "~> 1.15"
39
+ s.add_development_dependency "pry-byebug", "~> 3.11"
40
+ s.add_development_dependency "rake", "~> 13.3"
41
+ s.add_development_dependency "readline", "~> 0.0.4"
42
+ s.add_development_dependency "rspec", "~> 3.13"
43
+ s.add_development_dependency "rubocop", "~> 1.80"
44
+ s.add_development_dependency "simplecov", "~> 0.22"
45
+ end
data.tar.gz.sig ADDED
@@ -0,0 +1,6 @@
1
+ ��
2
+ 7o���p��G��$�Z39��ʯx p�n��3@�_(۠�Ƅ"�ED���R����������@���1�$���Q^TE�_5���3.�� �Ql\�ܒ% �6�����\��$��X(幪�m�˲���@eq��eˮ�G�����H��]j��,>C|���>�����!N&����l�^]�\T=ܙC/���n��ү��Օ%���D�
3
+ r�Fm[�x�
4
+ *a�cE���u���_�ww�y�d�t��.��s��f�9l��a�b^�K��� �g�q���Xh��Y>n&Mb�D�&���a�B�m�΁^������E �2�yL�`4�
5
+ �w�m�͆� 4���#��Pi�
6
+ ��~`�]ߤY"�
metadata ADDED
@@ -0,0 +1,182 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: psl-domain-extractor
3
+ version: !ruby/object:Gem::Version
4
+ version: 1.0.0
5
+ platform: ruby
6
+ authors:
7
+ - Ruben Arakelyan
8
+ bindir: bin
9
+ cert_chain:
10
+ - |
11
+ -----BEGIN CERTIFICATE-----
12
+ MIIEcDCCAtigAwIBAgIBATANBgkqhkiG9w0BAQsFADA/MQ4wDAYDVQQDDAVydWJl
13
+ bjEZMBcGCgmSJomT8ixkARkWCWFyYWtlbHlhbjESMBAGCgmSJomT8ixkARkWAnVr
14
+ MB4XDTI1MDUzMDE4MDA1NVoXDTI2MDUzMDE4MDA1NVowPzEOMAwGA1UEAwwFcnVi
15
+ ZW4xGTAXBgoJkiaJk/IsZAEZFglhcmFrZWx5YW4xEjAQBgoJkiaJk/IsZAEZFgJ1
16
+ azCCAaIwDQYJKoZIhvcNAQEBBQADggGPADCCAYoCggGBAMtBt5KFWsLC9aiucO7/
17
+ XdJGxmIQWr3g4qKe8mNqBOCIF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 k4nnmI1TL+uVsVohTGx+EuTxb0X/AMf7ZzHiQoG7UuxwCcqiXp3iEFGjU89yu2eV
34
+ uvTXDr6DQ4VWLXZ1dfRC7vFcOKGXoAYbnzeG0p3arcrs6sPsMDVOvjxxuL9L/YIX
35
+ fIXgVvKmdBmibqwWz38Zbb6+BdugxpQdAObktRfrigs/L2VU
36
+ -----END CERTIFICATE-----
37
+ date: 1980-01-02 00:00:00.000000000 Z
38
+ dependencies:
39
+ - !ruby/object:Gem::Dependency
40
+ name: irb
41
+ requirement: !ruby/object:Gem::Requirement
42
+ requirements:
43
+ - - "~>"
44
+ - !ruby/object:Gem::Version
45
+ version: '1.15'
46
+ type: :development
47
+ prerelease: false
48
+ version_requirements: !ruby/object:Gem::Requirement
49
+ requirements:
50
+ - - "~>"
51
+ - !ruby/object:Gem::Version
52
+ version: '1.15'
53
+ - !ruby/object:Gem::Dependency
54
+ name: pry-byebug
55
+ requirement: !ruby/object:Gem::Requirement
56
+ requirements:
57
+ - - "~>"
58
+ - !ruby/object:Gem::Version
59
+ version: '3.11'
60
+ type: :development
61
+ prerelease: false
62
+ version_requirements: !ruby/object:Gem::Requirement
63
+ requirements:
64
+ - - "~>"
65
+ - !ruby/object:Gem::Version
66
+ version: '3.11'
67
+ - !ruby/object:Gem::Dependency
68
+ name: rake
69
+ requirement: !ruby/object:Gem::Requirement
70
+ requirements:
71
+ - - "~>"
72
+ - !ruby/object:Gem::Version
73
+ version: '13.3'
74
+ type: :development
75
+ prerelease: false
76
+ version_requirements: !ruby/object:Gem::Requirement
77
+ requirements:
78
+ - - "~>"
79
+ - !ruby/object:Gem::Version
80
+ version: '13.3'
81
+ - !ruby/object:Gem::Dependency
82
+ name: readline
83
+ requirement: !ruby/object:Gem::Requirement
84
+ requirements:
85
+ - - "~>"
86
+ - !ruby/object:Gem::Version
87
+ version: 0.0.4
88
+ type: :development
89
+ prerelease: false
90
+ version_requirements: !ruby/object:Gem::Requirement
91
+ requirements:
92
+ - - "~>"
93
+ - !ruby/object:Gem::Version
94
+ version: 0.0.4
95
+ - !ruby/object:Gem::Dependency
96
+ name: rspec
97
+ requirement: !ruby/object:Gem::Requirement
98
+ requirements:
99
+ - - "~>"
100
+ - !ruby/object:Gem::Version
101
+ version: '3.13'
102
+ type: :development
103
+ prerelease: false
104
+ version_requirements: !ruby/object:Gem::Requirement
105
+ requirements:
106
+ - - "~>"
107
+ - !ruby/object:Gem::Version
108
+ version: '3.13'
109
+ - !ruby/object:Gem::Dependency
110
+ name: rubocop
111
+ requirement: !ruby/object:Gem::Requirement
112
+ requirements:
113
+ - - "~>"
114
+ - !ruby/object:Gem::Version
115
+ version: '1.80'
116
+ type: :development
117
+ prerelease: false
118
+ version_requirements: !ruby/object:Gem::Requirement
119
+ requirements:
120
+ - - "~>"
121
+ - !ruby/object:Gem::Version
122
+ version: '1.80'
123
+ - !ruby/object:Gem::Dependency
124
+ name: simplecov
125
+ requirement: !ruby/object:Gem::Requirement
126
+ requirements:
127
+ - - "~>"
128
+ - !ruby/object:Gem::Version
129
+ version: '0.22'
130
+ type: :development
131
+ prerelease: false
132
+ version_requirements: !ruby/object:Gem::Requirement
133
+ requirements:
134
+ - - "~>"
135
+ - !ruby/object:Gem::Version
136
+ version: '0.22'
137
+ description: Ruby gem for extracting domains, subdomains and public suffixes from
138
+ hostnames using the Public Suffix List
139
+ email: ruben@arakelyan.uk
140
+ executables: []
141
+ extensions: []
142
+ extra_rdoc_files: []
143
+ files:
144
+ - CHANGELOG.md
145
+ - Gemfile
146
+ - LICENSE
147
+ - README.md
148
+ - lib/psl-domain-extractor.rb
149
+ - lib/psl-domain-extractor/extractors.rb
150
+ - lib/psl-domain-extractor/public_suffix_list.rb
151
+ - lib/psl-domain-extractor/version.rb
152
+ - psl-domain-extractor.gemspec
153
+ - psl/public_suffix_list.dat
154
+ homepage: https://github.com/rubenarakelyan/psl-domain-extractor
155
+ licenses:
156
+ - MIT
157
+ metadata:
158
+ bug_tracker_uri: https://github.com/rubenarakelyan/psl-domain-extractor/issues
159
+ changelog_uri: https://github.com/rubenarakelyan/psl-domain-extractor/blob/main/CHANGELOG.md
160
+ documentation_uri: https://www.rubydoc.info/gems/psl-domain-extractor
161
+ source_code_uri: https://github.com/rubenarakelyan/psl-domain-extractor
162
+ wiki_uri: https://github.com/rubenarakelyan/psl-domain-extractor/wiki
163
+ funding_uri: https://github.com/sponsors/rubenarakelyan
164
+ rubygems_mfa_required: 'true'
165
+ rdoc_options: []
166
+ require_paths:
167
+ - lib
168
+ required_ruby_version: !ruby/object:Gem::Requirement
169
+ requirements:
170
+ - - ">="
171
+ - !ruby/object:Gem::Version
172
+ version: 3.2.8
173
+ required_rubygems_version: !ruby/object:Gem::Requirement
174
+ requirements:
175
+ - - ">="
176
+ - !ruby/object:Gem::Version
177
+ version: '0'
178
+ requirements: []
179
+ rubygems_version: 3.6.9
180
+ specification_version: 4
181
+ summary: Public Suffix List based domain extractor
182
+ test_files: []
metadata.gz.sig ADDED
@@ -0,0 +1,4 @@
1
+ �c����)w4���Lo̡�UJ���<O����5|Gp�@
2
+ Vު=��B#=V���.�]g�8�)�XD�̶ݼ/^Q�DK���@�T���qm��^���u\~y�F����m{c!��f�
3
+ ��H%
4
+ ���т�%@��f VXt�F�E�:�R���԰V~��f�{m{�tne���ӧPe�O+3�k��5� |cG%8�� �cGV�