domain_extractor 0.2.1 → 0.2.2
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.
- checksums.yaml +4 -4
- data/README.md +1 -0
- data/lib/domain_extractor/version.rb +1 -1
- data/spec/spec_helper.rb +10 -0
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: f6f2180384e306e30ec8637326069b71f28246d2a8810c0e03988a1119807078
|
|
4
|
+
data.tar.gz: e3501479db84ab128f7792a2627b61f198b4382e2d8b4f5a5186ad553b4e22cb
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 6371ebe56231d6e9e8245a1a299e1c71549bbd56d052fb876f2f5bf9e0720818b5e0e9620fba5634e008c412223bb172567cab8cb644d6289c3967dc88b8cb58
|
|
7
|
+
data.tar.gz: 94e214bfaa032e08ffcfa40a36d1a6af9a6f09ee4a3e45d84b949dd9077a2bb26e8e56d35cea0650d83c5e9ccdd0dd07152f8f46645c6f4aeeeb68ec628252a2
|
data/README.md
CHANGED
|
@@ -3,6 +3,7 @@
|
|
|
3
3
|
[](https://badge.fury.io/rb/domain_extractor)
|
|
4
4
|
[](https://github.com/opensite-ai/domain_extractor/actions/workflows/ci.yml)
|
|
5
5
|
[](https://codeclimate.com/github/opensite-ai/domain_extractor)
|
|
6
|
+
[](https://qlty.sh/gh/opensite-ai/projects/domain_extractor)
|
|
6
7
|
|
|
7
8
|
A lightweight, robust Ruby library for url parsing and domain parsing with **accurate multi-part TLD support**. DomainExtractor delivers a high-throughput url parser and domain parser that excels at domain extraction tasks while staying friendly to analytics pipelines. Perfect for web scraping, analytics, url manipulation, query parameter parsing, and multi-environment domain analysis.
|
|
8
9
|
|
data/spec/spec_helper.rb
CHANGED
|
@@ -3,6 +3,16 @@
|
|
|
3
3
|
require 'bundler/setup'
|
|
4
4
|
require 'domain_extractor'
|
|
5
5
|
|
|
6
|
+
require 'simplecov'
|
|
7
|
+
require 'simplecov_json_formatter'
|
|
8
|
+
SimpleCov.start do
|
|
9
|
+
formatter SimpleCov::Formatter::MultiFormatter.new([
|
|
10
|
+
SimpleCov::Formatter::JSONFormatter,
|
|
11
|
+
SimpleCov::Formatter::HTMLFormatter
|
|
12
|
+
])
|
|
13
|
+
add_filter '/spec/'
|
|
14
|
+
end
|
|
15
|
+
|
|
6
16
|
RSpec.configure do |config|
|
|
7
17
|
config.order = :random
|
|
8
18
|
Kernel.srand config.seed
|