pinterest-url-normalizer 0.1.0 → 0.1.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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 5293ed706c039755df8a8f487ffb434813eaf3a7c26bdd35b18f24b22decb4d9
4
- data.tar.gz: e058bc0992ee1da9af2470a04fec5b148bf2dbb756f0666fad6db4ff76d64f1d
3
+ metadata.gz: 2d367abfdd1910312dc30c40e28a7bdc077d48d0ffe562c31a9eaa715639401f
4
+ data.tar.gz: 29ac6c86f29e88f13d9be6df45d54a4aa77ada518c649cf5f2914158ac6ec52a
5
5
  SHA512:
6
- metadata.gz: 03b33feb90157133ee8dc29fa422d1800694f4a24ed2662642f9034150214f8a83f8f97a7b75a4de00b965a2516ff9cc49572528ad7a2ed9310c64b14539d8bd
7
- data.tar.gz: a593d71cded361ce53a460ea4b7226c757bf4e7899d35b182404b6380e2d0c0274855aed1947c686206397c7614b6ce1cc114f2019b7b7eeda91097a662ec765
6
+ metadata.gz: dc82bdd892f5b3423c5d7c4f0de95adb3a5dc28b79fe83355bce9b9cc26fb6509cac4615d81f69d956dbec421cc5259860ac093adb4ea4be7fc162570d6a0518
7
+ data.tar.gz: c97e31f79b2ceb56e380eeff2d19a5cd63de7702dd7ac925e3f194eeb40f418a5a98fd0acfa27a0fe1fb77388711c3bc0a6174561b9400ce7c69bb170264c27a
data/README.md CHANGED
@@ -2,10 +2,15 @@
2
2
 
3
3
  Parse, classify, and normalize Pinterest URLs in Ruby without making network requests.
4
4
 
5
- [SavePinner](https://savepinner.com/pinterest-downloader/) · [RubyGems](https://rubygems.org/gems/pinterest-url-normalizer) · [RubyDoc.info](https://www.rubydoc.info/gems/pinterest-url-normalizer) · [npm](https://www.npmjs.com/package/pinterest-url-normalizer) · [PyPI](https://pypi.org/project/pinterest-url-normalizer/) · [crates.io](https://crates.io/crates/pinterest-url-normalizer) · [Packagist](https://packagist.org/packages/savepinner/pinterest-url-normalizer) · [Go](https://pkg.go.dev/github.com/jiankn/pinterest-url-normalizer-go)
5
+ [RubyGems](https://rubygems.org/gems/pinterest-url-normalizer) · [RubyDoc.info](https://www.rubydoc.info/gems/pinterest-url-normalizer) · [npm](https://www.npmjs.com/package/pinterest-url-normalizer) · [PyPI](https://pypi.org/project/pinterest-url-normalizer/) · [crates.io](https://crates.io/crates/pinterest-url-normalizer) · [Packagist](https://packagist.org/packages/savepinner/pinterest-url-normalizer) · [Go](https://pkg.go.dev/github.com/jiankn/pinterest-url-normalizer-go)
6
6
 
7
7
  The gem recognizes Pin, `pin.it`, profile, board, and Ideas URLs across Pinterest country domains. It uses an exact host allow list, rejects HTTP URLs and lookalike domains, and removes query parameters and fragments from normalized output.
8
8
 
9
+ The gem deliberately ends at URL normalization. A Ruby CLI can print or open
10
+ the normalized Pin URL in the
11
+ [Pinterest image downloader](https://savepinner.com/) while media retrieval
12
+ stays outside the gem.
13
+
9
14
  ## Install
10
15
 
11
16
  ```bash
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module PinterestURLNormalizer
4
- VERSION = "0.1.0"
4
+ VERSION = "0.1.1"
5
5
  end
@@ -9,7 +9,7 @@ require_relative "pinterest_url_normalizer/version"
9
9
  # Full Pinterest URLs are normalized to www.pinterest.com. Short pin.it links
10
10
  # retain their host because resolving them requires a network request.
11
11
  #
12
- # SavePinner: https://savepinner.com/pinterest-downloader/
12
+ # Pinterest image downloader: https://savepinner.com/
13
13
  module PinterestURLNormalizer
14
14
  CANONICAL_HOST = "www.pinterest.com"
15
15
  SHORT_HOST = "pin.it"
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: pinterest-url-normalizer
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - SavePinner
@@ -52,14 +52,14 @@ files:
52
52
  - lib/pinterest_url_normalizer.rb
53
53
  - lib/pinterest_url_normalizer/cli.rb
54
54
  - lib/pinterest_url_normalizer/version.rb
55
- homepage: https://savepinner.com/pinterest-downloader/
55
+ homepage: https://savepinner.com/
56
56
  licenses:
57
57
  - MIT
58
58
  metadata:
59
59
  allowed_push_host: https://rubygems.org
60
60
  source_code_uri: https://github.com/jiankn/pinterest-url-normalizer-ruby
61
61
  documentation_uri: https://www.rubydoc.info/gems/pinterest-url-normalizer
62
- homepage_uri: https://savepinner.com/pinterest-downloader/
62
+ homepage_uri: https://savepinner.com/
63
63
  rdoc_options: []
64
64
  require_paths:
65
65
  - lib