jekyll-chatgpt-translate 0.0.3 → 0.0.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile +0 -1
- data/README.md +8 -8
- data/jekyll-chatgpt-translate.gemspec +7 -7
- metadata +25 -25
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 8e80c34ee1b28dc84b884ad53ef3f68d1b5bb9d0ba9620e1c50e7fe97abe6785
|
4
|
+
data.tar.gz: d47885e2ac998c1d57004c784baba4ecb3988ec39d697771a0082a76a46097a2
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5cc86659f819d55cab262ce1658a70e25b1ba361ec46a03d43063e644bb2ba01d9e0e986a29fd1c85ca0867e87e00bd7dfb5852c448ec29ba9bd72f1c6d998a9
|
7
|
+
data.tar.gz: b1735adc1ac05a53bb65a9e49467bd4aa79299ab9a0c9de1e68d199ce8852820ff8d9f260f8f9d5f7137432fbd27d69b69d18f3cbbaa3d5730e7439253764523
|
data/Gemfile
CHANGED
@@ -26,7 +26,6 @@ source 'https://rubygems.org'
|
|
26
26
|
gemspec
|
27
27
|
|
28
28
|
gem 'cucumber', '8.0.0', require: false
|
29
|
-
gem 'jekyll', '3.9.3', require: false
|
30
29
|
gem 'kramdown-parser-gfm', '1.1.0', require: false
|
31
30
|
gem 'minitest', '5.19.0', require: false
|
32
31
|
gem 'rake', '13.0.6', require: false
|
data/README.md
CHANGED
@@ -42,22 +42,22 @@ The plugin is compatible with
|
|
42
42
|
|
43
43
|
Full list of options available to specify in `_config.yml`:
|
44
44
|
|
45
|
-
* `model` (optional)
|
45
|
+
* `model` (optional) — specifies the model to use by ChatGPT.
|
46
46
|
|
47
|
-
* `source` (optional)
|
47
|
+
* `source` (optional) — is the ISO-839-1 code of the source language.
|
48
48
|
|
49
|
-
* `layout` (optional)
|
49
|
+
* `layout` (optional) — is name of the file in `_layouts` directory, without the extension.
|
50
50
|
This layout will be specified for the pages generated by this plugin.
|
51
51
|
|
52
|
-
* `targets` (mandatory)
|
52
|
+
* `targets` (mandatory) — an array of target languages, each of which has the following attributes
|
53
53
|
|
54
|
-
* `language` (mandatory)
|
54
|
+
* `language` (mandatory) — ISO-839-1 code of the target language
|
55
55
|
|
56
|
-
* `permalink` (mandatory)
|
56
|
+
* `permalink` (mandatory) — template to use for newly generated pages
|
57
57
|
|
58
|
-
* `layout` (optional)
|
58
|
+
* `layout` (optional) — the name of the file in the `_layouts` directory
|
59
59
|
|
60
|
-
* `threshold` (optional)
|
60
|
+
* `threshold` (optional) — maximum number of pages to generate in one build cycle.
|
61
61
|
|
62
62
|
## How to Contribute
|
63
63
|
|
@@ -28,7 +28,7 @@ Gem::Specification.new do |s|
|
|
28
28
|
s.required_rubygems_version = Gem::Requirement.new('>= 0') if s.respond_to? :required_rubygems_version=
|
29
29
|
s.required_ruby_version = '>= 2.6'
|
30
30
|
s.name = 'jekyll-chatgpt-translate'
|
31
|
-
s.version = '0.0.
|
31
|
+
s.version = '0.0.5'
|
32
32
|
s.license = 'MIT'
|
33
33
|
s.summary = 'Translate Jekyll Pages Through ChatGPT'
|
34
34
|
s.description = [
|
@@ -42,11 +42,11 @@ Gem::Specification.new do |s|
|
|
42
42
|
s.executables = s.files.grep(%r{^bin/}) { |f| File.basename(f) }
|
43
43
|
s.rdoc_options = ['--charset=UTF-8']
|
44
44
|
s.extra_rdoc_files = %w[README.md LICENSE.txt]
|
45
|
-
s.add_runtime_dependency 'iri', '
|
46
|
-
s.add_runtime_dependency 'iso-639', '
|
47
|
-
s.add_runtime_dependency 'jekyll', '
|
48
|
-
s.add_runtime_dependency 'liquid', '
|
49
|
-
s.add_runtime_dependency 'redcarpet', '
|
50
|
-
s.add_runtime_dependency 'ruby-openai', '
|
45
|
+
s.add_runtime_dependency 'iri', '>= 0'
|
46
|
+
s.add_runtime_dependency 'iso-639', '>= 0'
|
47
|
+
s.add_runtime_dependency 'jekyll', '>= 3'
|
48
|
+
s.add_runtime_dependency 'liquid', '>= 4'
|
49
|
+
s.add_runtime_dependency 'redcarpet', '>= 3'
|
50
|
+
s.add_runtime_dependency 'ruby-openai', '>= 5'
|
51
51
|
s.metadata['rubygems_mfa_required'] = 'true'
|
52
52
|
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: jekyll-chatgpt-translate
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Yegor Bugayenko
|
@@ -14,86 +14,86 @@ dependencies:
|
|
14
14
|
name: iri
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
|
-
- - "
|
17
|
+
- - ">="
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: '0
|
19
|
+
version: '0'
|
20
20
|
type: :runtime
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
|
-
- - "
|
24
|
+
- - ">="
|
25
25
|
- !ruby/object:Gem::Version
|
26
|
-
version: '0
|
26
|
+
version: '0'
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: iso-639
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
30
30
|
requirements:
|
31
|
-
- - "
|
31
|
+
- - ">="
|
32
32
|
- !ruby/object:Gem::Version
|
33
|
-
version: '0
|
33
|
+
version: '0'
|
34
34
|
type: :runtime
|
35
35
|
prerelease: false
|
36
36
|
version_requirements: !ruby/object:Gem::Requirement
|
37
37
|
requirements:
|
38
|
-
- - "
|
38
|
+
- - ">="
|
39
39
|
- !ruby/object:Gem::Version
|
40
|
-
version: '0
|
40
|
+
version: '0'
|
41
41
|
- !ruby/object:Gem::Dependency
|
42
42
|
name: jekyll
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|
44
44
|
requirements:
|
45
|
-
- - "
|
45
|
+
- - ">="
|
46
46
|
- !ruby/object:Gem::Version
|
47
|
-
version: '3
|
47
|
+
version: '3'
|
48
48
|
type: :runtime
|
49
49
|
prerelease: false
|
50
50
|
version_requirements: !ruby/object:Gem::Requirement
|
51
51
|
requirements:
|
52
|
-
- - "
|
52
|
+
- - ">="
|
53
53
|
- !ruby/object:Gem::Version
|
54
|
-
version: '3
|
54
|
+
version: '3'
|
55
55
|
- !ruby/object:Gem::Dependency
|
56
56
|
name: liquid
|
57
57
|
requirement: !ruby/object:Gem::Requirement
|
58
58
|
requirements:
|
59
|
-
- - "
|
59
|
+
- - ">="
|
60
60
|
- !ruby/object:Gem::Version
|
61
|
-
version: '4
|
61
|
+
version: '4'
|
62
62
|
type: :runtime
|
63
63
|
prerelease: false
|
64
64
|
version_requirements: !ruby/object:Gem::Requirement
|
65
65
|
requirements:
|
66
|
-
- - "
|
66
|
+
- - ">="
|
67
67
|
- !ruby/object:Gem::Version
|
68
|
-
version: '4
|
68
|
+
version: '4'
|
69
69
|
- !ruby/object:Gem::Dependency
|
70
70
|
name: redcarpet
|
71
71
|
requirement: !ruby/object:Gem::Requirement
|
72
72
|
requirements:
|
73
|
-
- - "
|
73
|
+
- - ">="
|
74
74
|
- !ruby/object:Gem::Version
|
75
|
-
version: '3
|
75
|
+
version: '3'
|
76
76
|
type: :runtime
|
77
77
|
prerelease: false
|
78
78
|
version_requirements: !ruby/object:Gem::Requirement
|
79
79
|
requirements:
|
80
|
-
- - "
|
80
|
+
- - ">="
|
81
81
|
- !ruby/object:Gem::Version
|
82
|
-
version: '3
|
82
|
+
version: '3'
|
83
83
|
- !ruby/object:Gem::Dependency
|
84
84
|
name: ruby-openai
|
85
85
|
requirement: !ruby/object:Gem::Requirement
|
86
86
|
requirements:
|
87
|
-
- - "
|
87
|
+
- - ">="
|
88
88
|
- !ruby/object:Gem::Version
|
89
|
-
version: '5
|
89
|
+
version: '5'
|
90
90
|
type: :runtime
|
91
91
|
prerelease: false
|
92
92
|
version_requirements: !ruby/object:Gem::Requirement
|
93
93
|
requirements:
|
94
|
-
- - "
|
94
|
+
- - ">="
|
95
95
|
- !ruby/object:Gem::Version
|
96
|
-
version: '5
|
96
|
+
version: '5'
|
97
97
|
description: Add this plugin to your Jekyll site and all posts will be automatically
|
98
98
|
translated to the languages of your choice through ChatGPT
|
99
99
|
email: yegor256@gmail.com
|