beadpattern-site-kit 0.1.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.
Files changed (5) hide show
  1. checksums.yaml +7 -0
  2. data/LICENSE +21 -0
  3. data/README.md +14 -0
  4. data/lib/beadpattern/site_kit.rb +20 -0
  5. metadata +49 -0
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA256:
3
+ metadata.gz: 3575b784b4a0f8275381e6eeab20264776b301376f8ed325dff19e860ad43485
4
+ data.tar.gz: a13575e9654afefef23e04f979512157e87e98dd190501151167d76ff1d9c5dd
5
+ SHA512:
6
+ metadata.gz: 3a092e0ce643bd88f5ec0e8e80ac1c9ccf83634c54cd0f880de834b2ab0554c4a8fd19efbdc75a56ff44b42b23bb2697cc2cad77cb10fcc5efddf8b91e7d7f4c
7
+ data.tar.gz: af77e65359d8da6776cf669145395cd08c3276d90231a9527fb1a2d4fa8ce385feea42baa05b5b52bab5de55a0d92e15a97c0f585b93d4a28e2c82d4d0f8f5a9
data/LICENSE ADDED
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2026 BeadPattern
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
data/README.md ADDED
@@ -0,0 +1,14 @@
1
+ # BeadPattern Site Kit
2
+
3
+ Small URL helpers for [BeadPattern](https://beadpattern.net), a free bead pattern generator for AI-created patterns, photo-to-pattern conversion, Perler beads, Hama beads, color legends, and printable PDF templates.
4
+
5
+ ## Links
6
+
7
+ - Website: <https://beadpattern.net>
8
+ - Photo to bead pattern: <https://beadpattern.net/photo-to-bead-pattern>
9
+ - Perler beads pattern maker: <https://beadpattern.net/perler-beads-pattern-maker>
10
+ - Hama beads patterns PDF: <https://beadpattern.net/hama-beads-patterns-pdf>
11
+
12
+ ## Purpose
13
+
14
+ This repository keeps tiny, installable helpers for package registry metadata and examples. Each package exposes the same small set of stable BeadPattern links.
@@ -0,0 +1,20 @@
1
+ module BeadPattern
2
+ module SiteKit
3
+ BASE_URL = "https://beadpattern.net"
4
+
5
+ module_function
6
+
7
+ def home_url
8
+ BASE_URL
9
+ end
10
+
11
+ def tool_url(slug)
12
+ clean = slug.to_s.gsub(%r{\A/+|/+\z}, "")
13
+ clean.empty? ? BASE_URL : "#{BASE_URL}/#{clean}"
14
+ end
15
+
16
+ def search_url(query)
17
+ "#{BASE_URL}/search?q=#{query.to_s.gsub(' ', '+')}"
18
+ end
19
+ end
20
+ end
metadata ADDED
@@ -0,0 +1,49 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: beadpattern-site-kit
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.1.0
5
+ platform: ruby
6
+ authors:
7
+ - BeadPattern
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+ date: 2026-05-18 00:00:00.000000000 Z
12
+ dependencies: []
13
+ description: Small URL helpers for BeadPattern, the free bead pattern generator at
14
+ https://beadpattern.net.
15
+ email:
16
+ - hello@beadpattern.net
17
+ executables: []
18
+ extensions: []
19
+ extra_rdoc_files: []
20
+ files:
21
+ - LICENSE
22
+ - README.md
23
+ - lib/beadpattern/site_kit.rb
24
+ homepage: https://beadpattern.net
25
+ licenses:
26
+ - MIT
27
+ metadata:
28
+ homepage_uri: https://beadpattern.net
29
+ source_code_uri: https://github.com/bbwdadfg/beadpattern-site-kit
30
+ post_install_message:
31
+ rdoc_options: []
32
+ require_paths:
33
+ - lib
34
+ required_ruby_version: !ruby/object:Gem::Requirement
35
+ requirements:
36
+ - - ">="
37
+ - !ruby/object:Gem::Version
38
+ version: '0'
39
+ required_rubygems_version: !ruby/object:Gem::Requirement
40
+ requirements:
41
+ - - ">="
42
+ - !ruby/object:Gem::Version
43
+ version: '0'
44
+ requirements: []
45
+ rubygems_version: 3.0.3.1
46
+ signing_key:
47
+ specification_version: 4
48
+ summary: Small URL helpers for BeadPattern.
49
+ test_files: []