Skip to content

Commit 82105aa

Browse files
authored
Feature/polyglot 1.5.1 (#165)
* polyglot 1.5.1 * update build deps, add hebrew, polyglot 1.5.1
1 parent 624fe2f commit 82105aa

File tree

164 files changed

+7726
-1141
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

164 files changed

+7726
-1141
lines changed

Gemfile

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,15 @@ gemspec
33

44
gem 'rake'
55
group :test do
6-
gem 'minitest'
7-
gem 'nokogiri'
8-
gem 'rspec'
9-
gem 'rspec-mocks'
10-
gem 'rspec_junit_formatter'
11-
gem 'rubocop'
6+
gem 'minitest', '~>5.16.3'
7+
gem 'nokogiri', '~>1.13.8'
8+
gem 'rspec', '~>3.11.0'
9+
gem 'rspec-mocks', '~>3.11.0'
10+
gem 'rspec_junit_formatter', '~>0.6.0'
11+
gem 'rubocop', '~>1.36.0'
1212
end
1313

1414
gem 'github-pages'
15+
gem 'jekyll'
16+
gem 'jekyll-paginate'
17+
gem "webrick", "~> 1.7"

Gemfile.lock

Lines changed: 56 additions & 66 deletions
Original file line numberDiff line numberDiff line change
@@ -1,27 +1,27 @@
11
PATH
22
remote: .
33
specs:
4-
jekyll-polyglot (1.5.0)
4+
jekyll-polyglot (1.5.1)
55
jekyll (>= 3.0)
66

77
GEM
88
remote: https://rubygems.org/
99
specs:
10-
activesupport (6.0.4.7)
10+
activesupport (6.0.6)
1111
concurrent-ruby (~> 1.0, >= 1.0.2)
1212
i18n (>= 0.7, < 2)
1313
minitest (~> 5.1)
1414
tzinfo (~> 1.1)
1515
zeitwerk (~> 2.2, >= 2.2.2)
16-
addressable (2.8.0)
17-
public_suffix (>= 2.0.2, < 5.0)
16+
addressable (2.8.1)
17+
public_suffix (>= 2.0.2, < 6.0)
1818
ast (2.4.2)
1919
coffee-script (2.4.1)
2020
coffee-script-source
2121
execjs
2222
coffee-script-source (1.11.1)
2323
colorator (1.1.0)
24-
commonmarker (0.23.4)
24+
commonmarker (0.23.6)
2525
concurrent-ruby (1.1.10)
2626
diff-lcs (1.5.0)
2727
dnsruby (1.61.9)
@@ -33,35 +33,16 @@ GEM
3333
ffi (>= 1.15.0)
3434
eventmachine (1.2.7)
3535
execjs (2.8.1)
36-
faraday (1.10.0)
37-
faraday-em_http (~> 1.0)
38-
faraday-em_synchrony (~> 1.0)
39-
faraday-excon (~> 1.1)
40-
faraday-httpclient (~> 1.0)
41-
faraday-multipart (~> 1.0)
42-
faraday-net_http (~> 1.0)
43-
faraday-net_http_persistent (~> 1.0)
44-
faraday-patron (~> 1.0)
45-
faraday-rack (~> 1.0)
46-
faraday-retry (~> 1.0)
36+
faraday (2.5.2)
37+
faraday-net_http (>= 2.0, < 3.1)
4738
ruby2_keywords (>= 0.0.4)
48-
faraday-em_http (1.0.0)
49-
faraday-em_synchrony (1.0.0)
50-
faraday-excon (1.1.0)
51-
faraday-httpclient (1.0.1)
52-
faraday-multipart (1.0.3)
53-
multipart-post (>= 1.2, < 3)
54-
faraday-net_http (1.0.1)
55-
faraday-net_http_persistent (1.2.0)
56-
faraday-patron (1.0.0)
57-
faraday-rack (1.0.0)
58-
faraday-retry (1.0.3)
39+
faraday-net_http (3.0.0)
5940
ffi (1.15.5)
6041
forwardable-extended (2.6.0)
6142
gemoji (3.0.1)
62-
github-pages (225)
43+
github-pages (227)
6344
github-pages-health-check (= 1.17.9)
64-
jekyll (= 3.9.0)
45+
jekyll (= 3.9.2)
6546
jekyll-avatar (= 0.7.0)
6647
jekyll-coffeescript (= 1.1.1)
6748
jekyll-commonmark-ghpages (= 0.2.0)
@@ -96,12 +77,12 @@ GEM
9677
jekyll-theme-time-machine (= 0.2.0)
9778
jekyll-titles-from-headings (= 0.5.3)
9879
jemoji (= 0.12.0)
99-
kramdown (= 2.3.1)
80+
kramdown (= 2.3.2)
10081
kramdown-parser-gfm (= 1.1.0)
10182
liquid (= 4.0.3)
10283
mercenary (~> 0.3)
10384
minima (= 2.5.1)
104-
nokogiri (>= 1.12.5, < 2.0)
85+
nokogiri (>= 1.13.6, < 2.0)
10586
rouge (= 3.26.0)
10687
terminal-table (~> 1.4)
10788
github-pages-health-check (1.17.9)
@@ -110,13 +91,13 @@ GEM
11091
octokit (~> 4.0)
11192
public_suffix (>= 3.0, < 5.0)
11293
typhoeus (~> 1.3)
113-
html-pipeline (2.14.1)
94+
html-pipeline (2.14.2)
11495
activesupport (>= 2)
11596
nokogiri (>= 1.4)
11697
http_parser.rb (0.8.0)
11798
i18n (0.9.5)
11899
concurrent-ruby (~> 1.0)
119-
jekyll (3.9.0)
100+
jekyll (3.9.2)
120101
addressable (~> 2.4)
121102
colorator (~> 1.0)
122103
em-websocket (~> 0.5)
@@ -224,7 +205,8 @@ GEM
224205
gemoji (~> 3.0)
225206
html-pipeline (~> 2.2)
226207
jekyll (>= 3.0, < 5.0)
227-
kramdown (2.3.1)
208+
json (2.6.2)
209+
kramdown (2.3.2)
228210
rexml
229211
kramdown-parser-gfm (1.1.0)
230212
kramdown (~> 2.0)
@@ -233,30 +215,33 @@ GEM
233215
rb-fsevent (~> 0.10, >= 0.10.3)
234216
rb-inotify (~> 0.9, >= 0.9.10)
235217
mercenary (0.3.6)
218+
mini_portile2 (2.8.0)
236219
minima (2.5.1)
237220
jekyll (>= 3.5, < 5.0)
238221
jekyll-feed (~> 0.9)
239222
jekyll-seo-tag (~> 2.1)
240-
minitest (5.15.0)
241-
multipart-post (2.1.1)
242-
nokogiri (1.13.4-x86_64-darwin)
223+
minitest (5.16.3)
224+
nokogiri (1.13.8)
225+
mini_portile2 (~> 2.8.0)
243226
racc (~> 1.4)
244-
octokit (4.22.0)
245-
faraday (>= 0.9)
246-
sawyer (~> 0.8.0, >= 0.5.3)
227+
nokogiri (1.13.8-x86_64-darwin)
228+
racc (~> 1.4)
229+
octokit (4.25.1)
230+
faraday (>= 1, < 3)
231+
sawyer (~> 0.9)
247232
parallel (1.22.1)
248-
parser (3.1.1.0)
233+
parser (3.1.2.1)
249234
ast (~> 2.4.1)
250235
pathutil (0.16.2)
251236
forwardable-extended (~> 2.6)
252237
public_suffix (4.0.7)
253238
racc (1.6.0)
254239
rainbow (3.1.1)
255240
rake (13.0.6)
256-
rb-fsevent (0.11.1)
241+
rb-fsevent (0.11.2)
257242
rb-inotify (0.10.1)
258243
ffi (~> 1.0)
259-
regexp_parser (2.3.0)
244+
regexp_parser (2.6.0)
260245
rexml (3.2.5)
261246
rouge (3.26.0)
262247
rspec (3.11.0)
@@ -265,25 +250,26 @@ GEM
265250
rspec-mocks (~> 3.11.0)
266251
rspec-core (3.11.0)
267252
rspec-support (~> 3.11.0)
268-
rspec-expectations (3.11.0)
253+
rspec-expectations (3.11.1)
269254
diff-lcs (>= 1.2.0, < 2.0)
270255
rspec-support (~> 3.11.0)
271256
rspec-mocks (3.11.1)
272257
diff-lcs (>= 1.2.0, < 2.0)
273258
rspec-support (~> 3.11.0)
274-
rspec-support (3.11.0)
275-
rspec_junit_formatter (0.5.1)
259+
rspec-support (3.11.1)
260+
rspec_junit_formatter (0.6.0)
276261
rspec-core (>= 2, < 4, != 2.12.0)
277-
rubocop (1.27.0)
262+
rubocop (1.36.0)
263+
json (~> 2.3)
278264
parallel (~> 1.10)
279-
parser (>= 3.1.0.0)
265+
parser (>= 3.1.2.1)
280266
rainbow (>= 2.2.2, < 4.0)
281267
regexp_parser (>= 1.8, < 3.0)
282-
rexml
283-
rubocop-ast (>= 1.16.0, < 2.0)
268+
rexml (>= 3.2.5, < 4.0)
269+
rubocop-ast (>= 1.20.1, < 2.0)
284270
ruby-progressbar (~> 1.7)
285271
unicode-display_width (>= 1.4.0, < 3.0)
286-
rubocop-ast (1.17.0)
272+
rubocop-ast (1.21.0)
287273
parser (>= 3.1.1.0)
288274
ruby-progressbar (1.11.0)
289275
ruby2_keywords (0.0.5)
@@ -294,37 +280,41 @@ GEM
294280
sass-listen (4.0.0)
295281
rb-fsevent (~> 0.9, >= 0.9.4)
296282
rb-inotify (~> 0.9, >= 0.9.7)
297-
sawyer (0.8.2)
283+
sawyer (0.9.2)
298284
addressable (>= 2.3.5)
299-
faraday (> 0.8, < 2.0)
285+
faraday (>= 0.17.3, < 3)
300286
simpleidn (0.2.1)
301287
unf (~> 0.1.4)
302-
terminal-table (1.8.0)
303-
unicode-display_width (~> 1.1, >= 1.1.1)
288+
terminal-table (1.6.0)
304289
thread_safe (0.3.6)
305290
typhoeus (1.4.0)
306291
ethon (>= 0.9.0)
307-
tzinfo (1.2.9)
292+
tzinfo (1.2.10)
308293
thread_safe (~> 0.1)
309294
unf (0.1.4)
310295
unf_ext
311-
unf_ext (0.0.8.1)
312-
unicode-display_width (1.8.0)
313-
zeitwerk (2.5.4)
296+
unf_ext (0.0.8.2)
297+
unicode-display_width (2.3.0)
298+
webrick (1.7.0)
299+
zeitwerk (2.6.1)
314300

315301
PLATFORMS
302+
ruby
316303
x86_64-darwin-21
317304

318305
DEPENDENCIES
319306
github-pages
307+
jekyll
308+
jekyll-paginate
320309
jekyll-polyglot!
321-
minitest
322-
nokogiri
310+
minitest (~> 5.16.3)
311+
nokogiri (~> 1.13.8)
323312
rake
324-
rspec
325-
rspec-mocks
326-
rspec_junit_formatter
327-
rubocop
313+
rspec (~> 3.11.0)
314+
rspec-mocks (~> 3.11.0)
315+
rspec_junit_formatter (~> 0.6.0)
316+
rubocop (~> 1.36.0)
317+
webrick (~> 1.7)
328318

329319
BUNDLED WITH
330-
2.3.9
320+
2.3.22

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,7 @@ lang-exclusive: ['en', 'fr']
142142
#### Machine-aware site building
143143
_New in 1.5.0_
144144

145-
Polyglot will only start builds after it confirms there is a cpu core ready to accept the build thread. This ensures that jekll will build large sites efficiently streamlining build processes instead of overloading machines with process thrash.
145+
Polyglot will only start builds after it confirms there is a cpu core ready to accept the build thread. This ensures that jekyll will build large sites efficiently streamlining build processes instead of overloading machines with process thrash.
146146

147147
#### Localized site.data
148148

@@ -163,7 +163,7 @@ This plugin stands out from other I18n Jekyll plugins.
163163
- provides the liquid tag `{{ site.default_lang }}` to get the default_lang I18n string.
164164
- provides the liquid tag `{{ site.active_lang }}` to get the I18n language string the website was built for. Alternative names for `active_lang` can be configured via `config.lang_vars`.
165165
- provides the liquid tag `{{ I18n_Headers https://yourwebsite.com/ }}` to append SEO bonuses to your website.
166-
- provides the liquid tag `{{ Unrelativized_Link href="/hello" }}` to make urls that do not get influenced by url correction regexs.
166+
- provides the liquid tag `{{ Unrelativized_Link href="/hello" }}` to make urls that do not get influenced by url correction regexes.
167167
- provides `site.data` localization for efficient rich text replacement.
168168
- a creator that will answer all of your questions and issues.
169169

@@ -203,9 +203,9 @@ If you have something you'd like to contribute to jekyll-polyglot, please open a
203203
* [ ] - **site language**: arabic `ar`
204204
* [ ] - **site language**: japanese `ja`
205205
* [x] - **site language**: russian `ru`
206-
* [x] - **site language**: russian `nl`
206+
* [x] - **site language**: dutch `nl`
207207
* [ ] - **site language**: korean `ko`
208-
* [ ] - **site language**: hebrew `he`
208+
* [x] - **site language**: hebrew `he`
209209
* [ ] - get whitelisted as an official github-pages jekyll plugin
210210
* [x] - update CI provider
211211

jekyll-polyglot.gemspec

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
Gem::Specification.new do |s|
22
s.name = 'jekyll-polyglot'
3-
s.version = '1.5.0'
4-
s.date = '2021-07-17'
3+
s.version = '1.5.1'
4+
s.date = '2022-10-01'
55
s.summary = 'I18n plugin for Jekyll Blogs'
66
s.description = 'Fast open source i18n plugin for Jekyll blogs.'
77
s.authors = ['Samuel Volin']

make.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
#! /bin/sh
2-
VERSION="1.5.0"
2+
VERSION="1.5.1"
33
# this is running tests
44
gem build jekyll-polyglot.gemspec
55
gem install jekyll-polyglot-$VERSION.gem
66
cd site
77
rm -rf _site/
8-
jekyll build --no-watch
8+
bundle exec jekyll build --no-watch

site/_config.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@ hello:
2929
de: Hallo!
3030
ru: Привет!
3131
nl: Hallo!
32+
he: "שלום!"
3233

3334
plugins: [jekyll-polyglot, jekyll-paginate]
3435
# Permalinks
@@ -40,6 +41,7 @@ exclude: ['LICENSE.md', 'README.md', 'publi.sh', 'Gemfile.lock', 'Gemfile']
4041
title: Polyglot
4142
tagline: 'Straightforward I18n for Jekyll Blogs'
4243
description:
44+
he: תוסף תמיכה ב-i18n עבור <a href="http://jekyllrb.com" target="_blank">Jekyll</a> שהופך את התמיכה מרובת שפות למהירה ואינטואיטיבית, עבור בלוגים גדולים וקטנים. תוצרת <a href="https://github.com/untra" target="_blank">@untra</a>.
4345
nl: Een plug-in voor internationlisering van <a href="http://jekyllrb.com" target="_blank">Jekyll</a> die meertalige ondersteuning snel en intuïtief maakt, voor blogs groot en klein. Gemaakt door <a href="https://github.com/untra" target="_blank">@untra</a>.
4446
ru: Плагин поддержки i18n для <a href="http://jekyllrb.com" target="_blank">Jekyll</a> что делает поддержку нескольких языков быстрой и интуитивно понятной, для больших и маленьких блогов. Сделано в <a href="https://github.com/untra" target="_blank">@untra</a>.
4547
de: Ein sprachunterstützung plugin für <a href="http://jekyllrb.com" target="_blank">Jekyll</a>, die Unterstützung der Internationalisierung schnell und intuitiv macht, für Blogs groß und klein. Hergestellt von <a href="https://github.com/untra" target="_blank">@untra</a>.
@@ -51,12 +53,12 @@ url: https://polyglot.untra.io
5153

5254
paginate: 5
5355
# Custom vars
54-
version: 1.5.0
56+
version: 1.5.1
5557

5658
github:
5759
repo: https://github.com/untra/polyglot
5860

5961
#Polyglot
60-
languages: ["en", "es", "de", "fr", "ru", "nl"]
62+
languages: ["en", "es", "de", "fr", "ru", "nl", "he"]
6163
default_lang: "en"
6264
exclude_from_localization: ["javascript", "images", "css", "public"]

site/_posts/2021-07-17-polyglot-1.5.0.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ title: Polyglot 1.5.0
44
lang: en
55
---
66

7-
Polyglot Release for version [version 1.5.0](https://rubygems.org/gems/jekyll-polyglot/versions/1.5.0), with new support for staggered builds by logical cpus.
7+
Polyglot Release for [version 1.5.0](https://rubygems.org/gems/jekyll-polyglot/versions/1.5.0), with new support for staggered builds by logical cpus.
88

99
## Faster Staggered Builds
1010

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
---
2+
layout: post
3+
title: Polyglot 1.5.1
4+
lang: en
5+
---
6+
7+
Polyglot Release for [version 1.5.1](https://rubygems.org/gems/jekyll-polyglot/versions/1.5.1).
8+
9+
## Anchor links in relativized urls
10+
11+
With support from **[dougieh](https://github.com/dougieh)** Polyglot will now relativize urls in anchor links.
12+
13+
## Support for Hebrew
14+
15+
Shalom my hebrews and shebrews, Polyglot's website is now in עברית!
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
---
2+
layout: post
3+
title: Polyglot 1.5.1
4+
lang: he
5+
---
6+
7+
Polyglot Release for [version 1.5.1](https://rubygems.org/gems/jekyll-polyglot/versions/1.5.1).
8+
9+
## Anchor links in relativized urls
10+
11+
With support from **[dougieh](https://github.com/dougieh)**, Polyglot will now relativize urls in anchor links.
12+
13+
## Support for Hebrew
14+
15+
שלום לעברים ועשבריים שלי, האתר של Polyglot עכשיו בעברית!

0 commit comments

Comments
 (0)