bard 1.4.7 → 1.4.8
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/lib/bard/config.rb +4 -1
- data/lib/bard/github_pages.rb +1 -1
- data/lib/bard/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3203ba9146ef6ed6b43512e6e61d02c0f34769703a20bc7809316fedee18dbd2
|
4
|
+
data.tar.gz: b8a8d8aa3ebd8163cb6679fecde47e6a9e961456ec3fc661f904775b36bb4283
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 36f776bfba32128c5584fd91bea060fb57423e648de3590c68a4be0dca835a553be992b3629704640d1530f94d6b25420302efe030de13f0fb8da1c1ea3394a5
|
7
|
+
data.tar.gz: 591b17f6e3ac45fef9b579056777a6d33756cfb1ced970e75251856d782daddbe3e24786b744931b69275828b64e9ecb95d3f940a3edfe65d769f8a230581b2a
|
data/lib/bard/config.rb
CHANGED
@@ -83,7 +83,10 @@ module Bard
|
|
83
83
|
if url.present?
|
84
84
|
uri = url.start_with?("http") ? URI.parse(url) : URI.parse("https://#{url}")
|
85
85
|
hostname = uri.hostname.sub(/^www\./, '')
|
86
|
-
urls = [hostname
|
86
|
+
urls = [hostname]
|
87
|
+
if hostname.count(".") < 2
|
88
|
+
urls << "www.#{hostname}"
|
89
|
+
end
|
87
90
|
end
|
88
91
|
|
89
92
|
server :production do
|
data/lib/bard/github_pages.rb
CHANGED
@@ -41,7 +41,7 @@ module Bard
|
|
41
41
|
|
42
42
|
echo copying...
|
43
43
|
# Mirror the site to the build folder, ignoring links with query params
|
44
|
-
|
44
|
+
wget -nv -r -l inf --no-remove-listing -FEnH --reject-regex "(\\.*)\\?(.*)" http://localhost:3000/ 2>&1
|
45
45
|
|
46
46
|
echo #{@domain} > CNAME
|
47
47
|
SH
|
data/lib/bard/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: bard
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.4.
|
4
|
+
version: 1.4.8
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Micah Geisel
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2025-09-
|
11
|
+
date: 2025-09-17 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: thor
|