Skip to content

Commit 0e22433

Browse files
committed
Refactor Gemfile and _config.yml: streamline dependencies and add exclusion rules
1 parent 93ec90b commit 0e22433

3 files changed

Lines changed: 22 additions & 93 deletions

File tree

docs/Gemfile

Lines changed: 1 addition & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -1,30 +1,11 @@
11
source "https://rubygems.org"
22

33
gem "jekyll", "~> 4.4"
4-
gem "jekyll-theme-chirpy", "~> 7.3", ">= 7.3.0"
5-
6-
group :test do
7-
gem "html-proofer", "~> 5.0"
8-
end
9-
10-
# Windows and JRuby does not include zoneinfo files, so bundle the tzinfo-data gem
11-
# and associated library.
12-
platforms :mingw, :x64_mingw, :mswin, :jruby do
13-
gem "tzinfo", ">= 1", "< 3"
14-
gem "tzinfo-data"
15-
end
16-
17-
# Performance-booster for watching directories on Windows
18-
gem "wdm", "~> 0.1.1", :platforms => [:mingw, :x64_mingw, :mswin]
19-
20-
# Lock `http_parser.rb` gem to `v0.6.x` on JRuby builds since newer versions of the gem
21-
# do not have a Java counterpart.
22-
gem "http_parser.rb", "~> 0.6.0", :platforms => [:jruby]
4+
gem "jekyll-theme-chirpy", "~> 7.3"
235

246
# Chirpy theme plugins
257
gem "jekyll-paginate"
268
gem "jekyll-redirect-from"
27-
gem "jekyll-feed"
289
gem "jekyll-archives"
2910
gem "jekyll-sitemap"
3011
gem "jekyll-include-cache"

docs/Gemfile.lock

Lines changed: 1 addition & 72 deletions
Original file line numberDiff line numberDiff line change
@@ -1,30 +1,16 @@
11
GEM
22
remote: https://rubygems.org/
33
specs:
4-
Ascii85 (2.0.1)
54
addressable (2.8.7)
65
public_suffix (>= 2.0.2, < 7.0)
7-
afm (0.2.2)
8-
async (2.24.0)
9-
console (~> 1.29)
10-
fiber-annotation
11-
io-event (~> 1.9)
12-
metrics (~> 0.12)
13-
traces (~> 0.15)
146
base64 (0.3.0)
157
bigdecimal (3.2.2)
168
colorator (1.1.0)
179
concurrent-ruby (1.3.5)
18-
console (1.31.0)
19-
fiber-annotation
20-
fiber-local (~> 1.1)
21-
json
2210
csv (3.3.5)
2311
em-websocket (0.5.3)
2412
eventmachine (>= 0.12.9)
2513
http_parser.rb (~> 0)
26-
ethon (0.16.0)
27-
ffi (>= 1.15.0)
2814
eventmachine (1.2.7)
2915
ffi (1.17.2)
3016
ffi (1.17.2-aarch64-linux-gnu)
@@ -37,10 +23,6 @@ GEM
3723
ffi (1.17.2-x86_64-darwin)
3824
ffi (1.17.2-x86_64-linux-gnu)
3925
ffi (1.17.2-x86_64-linux-musl)
40-
fiber-annotation (0.2.0)
41-
fiber-local (1.1.0)
42-
fiber-storage
43-
fiber-storage (1.0.1)
4426
forwardable-extended (2.6.0)
4527
google-protobuf (4.31.1)
4628
bigdecimal
@@ -69,20 +51,9 @@ GEM
6951
google-protobuf (4.31.1-x86_64-linux-musl)
7052
bigdecimal
7153
rake (>= 13)
72-
hashery (2.1.2)
73-
html-proofer (5.0.10)
74-
addressable (~> 2.3)
75-
async (~> 2.1)
76-
nokogiri (~> 1.13)
77-
pdf-reader (~> 2.11)
78-
rainbow (~> 3.0)
79-
typhoeus (~> 1.3)
80-
yell (~> 2.0)
81-
zeitwerk (~> 2.5)
8254
http_parser.rb (0.8.0)
8355
i18n (1.14.7)
8456
concurrent-ruby (~> 1.0)
85-
io-event (1.11.0)
8657
jekyll (4.4.1)
8758
addressable (~> 2.4)
8859
base64 (~> 0.2)
@@ -136,45 +107,15 @@ GEM
136107
rb-fsevent (~> 0.10, >= 0.10.3)
137108
rb-inotify (~> 0.9, >= 0.9.10)
138109
mercenary (0.4.0)
139-
metrics (0.12.2)
140-
mini_portile2 (2.8.9)
141-
nokogiri (1.18.8)
142-
mini_portile2 (~> 2.8.2)
143-
racc (~> 1.4)
144-
nokogiri (1.18.8-aarch64-linux-gnu)
145-
racc (~> 1.4)
146-
nokogiri (1.18.8-aarch64-linux-musl)
147-
racc (~> 1.4)
148-
nokogiri (1.18.8-arm-linux-gnu)
149-
racc (~> 1.4)
150-
nokogiri (1.18.8-arm-linux-musl)
151-
racc (~> 1.4)
152-
nokogiri (1.18.8-arm64-darwin)
153-
racc (~> 1.4)
154-
nokogiri (1.18.8-x86_64-darwin)
155-
racc (~> 1.4)
156-
nokogiri (1.18.8-x86_64-linux-gnu)
157-
racc (~> 1.4)
158-
nokogiri (1.18.8-x86_64-linux-musl)
159-
racc (~> 1.4)
160110
pathutil (0.16.2)
161111
forwardable-extended (~> 2.6)
162-
pdf-reader (2.14.1)
163-
Ascii85 (>= 1.0, < 3.0, != 2.0.0)
164-
afm (~> 0.2.1)
165-
hashery (~> 2.0)
166-
ruby-rc4
167-
ttfunk
168112
public_suffix (6.0.2)
169-
racc (1.8.1)
170-
rainbow (3.1.1)
171113
rake (13.3.0)
172114
rb-fsevent (0.11.2)
173115
rb-inotify (0.11.1)
174116
ffi (~> 1.0)
175117
rexml (3.4.1)
176118
rouge (4.5.2)
177-
ruby-rc4 (0.1.5)
178119
safe_yaml (1.0.5)
179120
sass-embedded (1.89.2)
180121
google-protobuf (~> 4.31)
@@ -209,15 +150,8 @@ GEM
209150
google-protobuf (~> 4.31)
210151
terminal-table (3.0.2)
211152
unicode-display_width (>= 1.1.1, < 3)
212-
traces (0.15.2)
213-
ttfunk (1.8.0)
214-
bigdecimal (~> 3.1)
215-
typhoeus (1.4.1)
216-
ethon (>= 0.9.0)
217153
unicode-display_width (2.6.0)
218154
webrick (1.9.1)
219-
yell (2.2.2)
220-
zeitwerk (2.7.3)
221155

222156
PLATFORMS
223157
aarch64-linux-android
@@ -241,19 +175,14 @@ PLATFORMS
241175
x86_64-linux-musl
242176

243177
DEPENDENCIES
244-
html-proofer (~> 5.0)
245-
http_parser.rb (~> 0.6.0)
246178
jekyll (~> 4.4)
247179
jekyll-archives
248180
jekyll-feed
249181
jekyll-include-cache
250182
jekyll-paginate
251183
jekyll-redirect-from
252184
jekyll-sitemap
253-
jekyll-theme-chirpy (~> 7.3, >= 7.3.0)
254-
tzinfo (>= 1, < 3)
255-
tzinfo-data
256-
wdm (~> 0.1.1)
185+
jekyll-theme-chirpy (~> 7.3)
257186

258187
BUNDLED WITH
259188
2.6.9

docs/_config.yml

Lines changed: 20 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,11 +41,30 @@ paginate_path: "/posts/page:num/"
4141
plugins:
4242
- jekyll-paginate
4343
- jekyll-redirect-from
44-
- jekyll-feed
4544
- jekyll-archives
4645
- jekyll-sitemap
4746
- jekyll-include-cache
4847

48+
# Exclude from processing.
49+
# The following items will not be processed, by default.
50+
# Any item listed under the `exclude:` key here will be automatically added to
51+
# the internal list.
52+
#
53+
# Excluded items can be processed by explicitly listing the directories or
54+
# their entries' file path in the `include:` list.
55+
#
56+
exclude:
57+
- .sass-cache/
58+
- .jekyll-cache/
59+
- gemfiles/
60+
- Gemfile
61+
- Gemfile.lock
62+
- node_modules/
63+
- vendor/bundle/
64+
- vendor/cache/
65+
- vendor/gems/
66+
- vendor/ruby/
67+
4968
future: true
5069

5170
# Archives

0 commit comments

Comments
 (0)