minimaxh3-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.
- checksums.yaml +7 -0
- data/lib/minimaxh3_site_kit.rb +47 -0
- metadata +41 -0
checksums.yaml
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
---
|
|
2
|
+
SHA256:
|
|
3
|
+
metadata.gz: 2a12949bde23422f2f3e5decfe414923cdbc4210d22f3b505d727b8081cc6818
|
|
4
|
+
data.tar.gz: b510d84b6b431c09b2e46b962872aff4e55f90c865eebf41ff1c578820d9b2ab
|
|
5
|
+
SHA512:
|
|
6
|
+
metadata.gz: 33137ef324343536191dac9a8bd7ef190f1c8dfe0e97550ba5e81ffee026f5bb70935b3c6ae8dd446700306f8c2ec33d529d2a4efae0482fca0c3278746e5e6b
|
|
7
|
+
data.tar.gz: 2b0529054c3875a84dd3c38af5668de3cc4d28bec104e3709d229d3fa9a01c1548ae61a6abee8f6a3f43b3c9118c00afc7b729196cb7583966c15db8e20f6303
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
# Public URL helpers for MiniMax H3.
|
|
2
|
+
|
|
3
|
+
module ProductshotaiSiteKit
|
|
4
|
+
BASE = "https://minimaxh3.art"
|
|
5
|
+
BRAND = "MiniMax H3"
|
|
6
|
+
DESCRIPTION = "2K AI video generator with synced audio — text-to-video and image-to-video."
|
|
7
|
+
|
|
8
|
+
def self.page_url(path = "/")
|
|
9
|
+
value = path.to_s.empty? ? "/" : path.to_s
|
|
10
|
+
value = "/#{value}" unless value.start_with?("/")
|
|
11
|
+
clean = value == "/" ? "/" : "#{value.gsub(%r{/+$}, '')}/"
|
|
12
|
+
"#{BASE}#{clean}"
|
|
13
|
+
end
|
|
14
|
+
|
|
15
|
+
def self.localized_url(locale, path = "/")
|
|
16
|
+
return page_url(path) if locale == "en"
|
|
17
|
+
if ["zh", "zh-CN"].include?(locale)
|
|
18
|
+
value = path.to_s.empty? ? "/" : path.to_s
|
|
19
|
+
value = "/#{value}" unless value.start_with?("/")
|
|
20
|
+
return page_url("/zh#{value == '/' ? '' : value}")
|
|
21
|
+
end
|
|
22
|
+
raise ArgumentError, "unsupported locale: #{locale}"
|
|
23
|
+
end
|
|
24
|
+
|
|
25
|
+
def self.metadata
|
|
26
|
+
{
|
|
27
|
+
name: BRAND, homepage: BASE, description: DESCRIPTION,
|
|
28
|
+
canonical_pages: {
|
|
29
|
+
home: home_url, studio: studio_url, pricing: pricing_url, blog: blog_url,
|
|
30
|
+
about: about_url, contact: contact_url, privacy: privacy_url, terms: terms_url,
|
|
31
|
+
refund_policy: refund_policy_url, zh_home: zh_home_url
|
|
32
|
+
},
|
|
33
|
+
tags: ["minimaxh3", "ai-video-generator", "ai-video", "url-helpers"]
|
|
34
|
+
}
|
|
35
|
+
end
|
|
36
|
+
|
|
37
|
+
def self.home_url = page_url("/")
|
|
38
|
+
def self.studio_url = "#{BASE}/#studio"
|
|
39
|
+
def self.pricing_url = "#{BASE}/#pricing"
|
|
40
|
+
def self.blog_url = page_url("/blog")
|
|
41
|
+
def self.about_url = page_url("/about")
|
|
42
|
+
def self.contact_url = page_url("/contact")
|
|
43
|
+
def self.privacy_url = page_url("/privacy-policy")
|
|
44
|
+
def self.terms_url = page_url("/terms-of-service")
|
|
45
|
+
def self.refund_policy_url = page_url("/refund-policy")
|
|
46
|
+
def self.zh_home_url = localized_url("zh", "/")
|
|
47
|
+
end
|
metadata
ADDED
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
|
2
|
+
name: minimaxh3-site-kit
|
|
3
|
+
version: !ruby/object:Gem::Version
|
|
4
|
+
version: 0.1.0
|
|
5
|
+
platform: ruby
|
|
6
|
+
authors:
|
|
7
|
+
- MiniMax H3
|
|
8
|
+
bindir: bin
|
|
9
|
+
cert_chain: []
|
|
10
|
+
date: 1980-01-02 00:00:00.000000000 Z
|
|
11
|
+
dependencies: []
|
|
12
|
+
description: URL helpers and metadata utilities for MiniMax H3 - 2K AI video generator
|
|
13
|
+
with synced audio for text-to-video and image-to-video
|
|
14
|
+
executables: []
|
|
15
|
+
extensions: []
|
|
16
|
+
extra_rdoc_files: []
|
|
17
|
+
files:
|
|
18
|
+
- lib/minimaxh3_site_kit.rb
|
|
19
|
+
homepage: https://minimaxh3.art
|
|
20
|
+
licenses:
|
|
21
|
+
- MIT
|
|
22
|
+
metadata:
|
|
23
|
+
source_code_uri: https://github.com/bbwdadfg/minimaxh3-site-kit
|
|
24
|
+
rdoc_options: []
|
|
25
|
+
require_paths:
|
|
26
|
+
- lib
|
|
27
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
|
28
|
+
requirements:
|
|
29
|
+
- - ">="
|
|
30
|
+
- !ruby/object:Gem::Version
|
|
31
|
+
version: '0'
|
|
32
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
33
|
+
requirements:
|
|
34
|
+
- - ">="
|
|
35
|
+
- !ruby/object:Gem::Version
|
|
36
|
+
version: '0'
|
|
37
|
+
requirements: []
|
|
38
|
+
rubygems_version: 4.0.11
|
|
39
|
+
specification_version: 4
|
|
40
|
+
summary: URL helpers for MiniMax H3
|
|
41
|
+
test_files: []
|