Skip to content

Commit afcb4d4

Browse files
authored
Merge branch 'master' into remove-defunct-rubies-and-platforms
2 parents 4066222 + 95cff59 commit afcb4d4

File tree

981 files changed

+57378
-5269
lines changed

Some content is hidden

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

981 files changed

+57378
-5269
lines changed

.github/workflows/ci.yml

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
name: ci
2+
3+
on: [push, pull_request]
4+
5+
jobs:
6+
build:
7+
name: build (${{ matrix.ruby }} / ${{ matrix.os }})
8+
9+
strategy:
10+
matrix:
11+
ruby: ["3.0"]
12+
os: [ubuntu-latest]
13+
fail-fast: false
14+
15+
runs-on: ${{ matrix.os }}
16+
17+
steps:
18+
- name: Dump environment
19+
run: env | sort
20+
- name: Checkout ruby/www.ruby-lang.org
21+
uses: actions/checkout@v2
22+
with:
23+
fetch-depth: 1
24+
- name: Setup Ruby
25+
uses: ruby/setup-ruby@v1
26+
with:
27+
ruby-version: ${{ matrix.ruby }}
28+
bundler-cache: true
29+
- name: Dump Ruby version
30+
run: ruby -v
31+
- name: Run tests
32+
run: bundle exec rake test

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,3 +7,4 @@ _site/
77
vendor
88
.env
99
bin
10+
.jekyll*

.travis.yml

Lines changed: 0 additions & 16 deletions
This file was deleted.

Gemfile

Lines changed: 12 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,19 @@
11
source "https://rubygems.org"
2-
ruby ENV['CUSTOM_RUBY_VERSION'] || '~> 2.6.3'
32

4-
gem 'rake'
5-
gem 'jekyll', '~> 3.0'
6-
gem 'rouge', '~> 1.10'
3+
ruby "~> 3.0.2"
74

8-
gem 'unicorn'
9-
gem 'lanyon', '~> 0.4.0'
10-
gem 'rack-rewrite'
11-
gem 'rack-ssl'
12-
gem 'rack-protection'
5+
gem "rake"
6+
gem "jekyll", "~> 4.0"
7+
gem "rouge"
138

14-
group :production do
15-
gem "sqreen"
16-
end
9+
gem "unicorn"
10+
gem "lanyon"
11+
gem "rack-rewrite"
12+
gem "rack-ssl"
13+
gem "rack-protection"
1714

1815
group :development do
19-
gem 'minitest'
20-
gem 'spidr', '~> 0.6'
21-
gem 'validate-website', '~> 1.6'
16+
gem "minitest"
17+
gem "spidr", "~> 0.6"
18+
gem "validate-website", "~> 1.6"
2219
end

Gemfile.lock

Lines changed: 69 additions & 61 deletions
Original file line numberDiff line numberDiff line change
@@ -1,117 +1,125 @@
11
GEM
22
remote: https://rubygems.org/
33
specs:
4-
addressable (2.6.0)
5-
public_suffix (>= 2.0.2, < 4.0)
4+
addressable (2.8.0)
5+
public_suffix (>= 2.0.2, < 5.0)
66
colorator (1.1.0)
7-
concurrent-ruby (1.1.5)
8-
crass (1.0.4)
9-
em-websocket (0.5.1)
7+
concurrent-ruby (1.1.9)
8+
crass (1.0.6)
9+
em-websocket (0.5.3)
1010
eventmachine (>= 0.12.9)
11-
http_parser.rb (~> 0.6.0)
11+
http_parser.rb (~> 0)
1212
eventmachine (1.2.7)
13-
ffi (1.10.0)
13+
ffi (1.15.4)
1414
forwardable-extended (2.6.0)
15-
http_parser.rb (0.6.0)
16-
i18n (0.9.5)
15+
http_parser.rb (0.8.0)
16+
i18n (1.8.11)
1717
concurrent-ruby (~> 1.0)
18-
jekyll (3.8.5)
18+
jekyll (4.2.1)
1919
addressable (~> 2.4)
2020
colorator (~> 1.0)
2121
em-websocket (~> 0.5)
22-
i18n (~> 0.7)
23-
jekyll-sass-converter (~> 1.0)
22+
i18n (~> 1.0)
23+
jekyll-sass-converter (~> 2.0)
2424
jekyll-watch (~> 2.0)
25-
kramdown (~> 1.14)
25+
kramdown (~> 2.3)
26+
kramdown-parser-gfm (~> 1.0)
2627
liquid (~> 4.0)
27-
mercenary (~> 0.3.3)
28+
mercenary (~> 0.4.0)
2829
pathutil (~> 0.9)
29-
rouge (>= 1.7, < 4)
30+
rouge (~> 3.0)
3031
safe_yaml (~> 1.0)
31-
jekyll-sass-converter (1.5.2)
32-
sass (~> 3.4)
32+
terminal-table (~> 2.0)
33+
jekyll-sass-converter (2.1.0)
34+
sassc (> 2.0.1, < 3.0)
3335
jekyll-watch (2.2.1)
3436
listen (~> 3.0)
35-
json (2.2.0)
36-
kgio (2.11.2)
37-
kramdown (1.17.0)
38-
lanyon (0.4.0)
39-
jekyll (>= 2.0, < 4.0)
37+
json (2.6.1)
38+
kgio (2.11.4)
39+
kramdown (2.3.1)
40+
rexml
41+
kramdown-parser-gfm (1.1.0)
42+
kramdown (~> 2.0)
43+
lanyon (0.4.3)
44+
jekyll (>= 2.0)
4045
rack (>= 1.6, < 3.0)
4146
liquid (4.0.3)
42-
listen (3.1.5)
43-
rb-fsevent (~> 0.9, >= 0.9.4)
44-
rb-inotify (~> 0.9, >= 0.9.7)
45-
ruby_dep (~> 1.2)
46-
mercenary (0.3.6)
47-
mini_portile2 (2.4.0)
48-
minitest (5.11.3)
49-
nokogiri (1.10.3)
50-
mini_portile2 (~> 2.4.0)
51-
paint (2.1.0)
47+
listen (3.7.0)
48+
rb-fsevent (~> 0.10, >= 0.10.3)
49+
rb-inotify (~> 0.9, >= 0.9.10)
50+
mercenary (0.4.0)
51+
mini_portile2 (2.6.1)
52+
minitest (5.15.0)
53+
nokogiri (1.12.5)
54+
mini_portile2 (~> 2.6.1)
55+
racc (~> 1.4)
56+
nokogumbo (2.0.5)
57+
nokogiri (~> 1.8, >= 1.8.4)
58+
paint (2.2.1)
5259
pathutil (0.16.2)
5360
forwardable-extended (~> 2.6)
54-
public_suffix (3.0.3)
55-
rack (2.0.7)
56-
rack-protection (2.0.5)
61+
public_suffix (4.0.6)
62+
racc (1.6.0)
63+
rack (2.2.3)
64+
rack-protection (2.1.0)
5765
rack
5866
rack-rewrite (1.5.1)
5967
rack-ssl (1.4.1)
6068
rack
61-
raindrops (0.19.0)
62-
rake (12.3.2)
63-
rb-fsevent (0.10.3)
64-
rb-inotify (0.10.0)
69+
raindrops (0.20.0)
70+
rake (13.0.6)
71+
rb-fsevent (0.11.0)
72+
rb-inotify (0.10.1)
6573
ffi (~> 1.0)
66-
rouge (1.11.1)
67-
ruby_dep (1.5.0)
74+
rexml (3.2.5)
75+
rouge (3.27.0)
6876
safe_yaml (1.0.5)
69-
sass (3.7.4)
70-
sass-listen (~> 4.0.0)
71-
sass-listen (4.0.0)
72-
rb-fsevent (~> 0.9, >= 0.9.4)
73-
rb-inotify (~> 0.9, >= 0.9.7)
74-
slop (4.6.2)
75-
spidr (0.6.0)
77+
sassc (2.4.0)
78+
ffi (~> 1.9)
79+
slop (4.9.1)
80+
spidr (0.6.1)
7681
nokogiri (~> 1.3)
77-
sq_mini_racer (0.2.4.sqreen3)
78-
sqreen (1.17.0)
79-
sq_mini_racer (~> 0.2.4.sqreen2)
80-
tidy_ffi (1.0.0)
82+
terminal-table (2.0.0)
83+
unicode-display_width (~> 1.1, >= 1.1.1)
84+
tidy_ffi (1.0.1)
8185
ffi (~> 1.2)
82-
unicorn (5.5.0)
86+
unicode-display_width (1.8.0)
87+
unicorn (6.1.0)
8388
kgio (~> 2.6)
8489
raindrops (~> 0.7)
85-
validate-website (1.9.3)
90+
validate-website (1.11.1)
8691
crass (~> 1)
92+
nokogumbo (~> 2.0)
8793
paint (~> 2)
8894
slop (~> 4.6)
8995
spidr (~> 0.6)
9096
tidy_ffi (~> 1.0)
9197
w3c_validators (~> 1.3)
92-
w3c_validators (1.3.4)
98+
webrick (~> 1)
99+
w3c_validators (1.3.6)
93100
json (>= 1.8)
94101
nokogiri (~> 1.6)
102+
rexml (~> 3.2)
103+
webrick (1.7.0)
95104

96105
PLATFORMS
97106
ruby
98107

99108
DEPENDENCIES
100-
jekyll (~> 3.0)
101-
lanyon (~> 0.4.0)
109+
jekyll (~> 4.0)
110+
lanyon
102111
minitest
103112
rack-protection
104113
rack-rewrite
105114
rack-ssl
106115
rake
107-
rouge (~> 1.10)
116+
rouge
108117
spidr (~> 0.6)
109-
sqreen
110118
unicorn
111119
validate-website (~> 1.6)
112120

113121
RUBY VERSION
114-
ruby 2.6.3p62
122+
ruby 3.0.2p107
115123

116124
BUNDLED WITH
117-
2.0.1
125+
2.2.31

README.md

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ www.ruby-lang.org
33

44
[![Join the chat at https://gitter.im/ruby/www.ruby-lang.org](https://badges.gitter.im/Join%20Chat.svg)](https://gitter.im/ruby/www.ruby-lang.org?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)
55

6-
[![Build Status](https://travis-ci.org/ruby/www.ruby-lang.org.svg?branch=master)](https://travis-ci.org/ruby/www.ruby-lang.org)
6+
[![Build Status](https://github.com/ruby/www.ruby-lang.org/workflows/ci/badge.svg)](https://github.com/ruby/www.ruby-lang.org/actions?query=branch%3Amaster)
77

88
This is the [Jekyll](http://www.jekyllrb.com/) source of
99
the [www.ruby-lang.org](https://www.ruby-lang.org/) website.
@@ -70,6 +70,14 @@ in your browser to access the preview.
7070

7171
**Note:** The build of the site will take several minutes.
7272

73+
Alternatively, you can use Jekyll directly.
74+
75+
```
76+
bundle exec jekyll serve --watch --future --incremental
77+
```
78+
79+
If your draft uses future date, you may want to use `--future` option.
80+
7381
### Preview on Heroku
7482

7583
In case a build is not possible on your local machine
@@ -112,7 +120,7 @@ Besides generating and previewing the site
112120
you can perform additional tests with these tasks:
113121

114122
``` sh
115-
bundle exec rake check # perform various tests on the source files
123+
bundle exec rake lint # run linter on markdown files
116124
bundle exec rake check:markup # check markup for all generated pages
117125
bundle exec rake check:links # check for 404's (needs a running local server)
118126
```

0 commit comments

Comments
 (0)