mirror of
https://github.com/prometheus/docs.git
synced 2026-02-05 15:45:27 +01:00
Update Nanoc 4.13
Update Nanoc and Ruby. * Update to the latest supported Ruby version. * Bump bundler. * Bump stringio. * Update to Nanoc 4.13. * Increase open PR limit. * Fixup `exists?` deprecation. Signed-off-by: SuperQ <superq@gmail.com>
This commit is contained in:
1
.github/dependabot.yml
vendored
1
.github/dependabot.yml
vendored
@@ -3,5 +3,6 @@ version: 2
|
||||
updates:
|
||||
- package-ecosystem: 'bundler'
|
||||
directory: '/'
|
||||
open-pull-requests-limit: 20
|
||||
schedule:
|
||||
interval: 'monthly'
|
||||
|
||||
@@ -1 +1 @@
|
||||
3.1.2
|
||||
3.4.2
|
||||
@@ -1,4 +1,4 @@
|
||||
FROM ruby:2.7
|
||||
FROM ruby:3.4
|
||||
EXPOSE 3000
|
||||
WORKDIR /usr/src/app
|
||||
COPY Gemfile /usr/src/app/
|
||||
|
||||
2
Gemfile
2
Gemfile
@@ -1,6 +1,6 @@
|
||||
source 'https://rubygems.org'
|
||||
|
||||
gem 'nanoc', '~> 4.12'
|
||||
gem 'nanoc', '~> 4.13'
|
||||
gem 'adsf'
|
||||
gem 'kramdown'
|
||||
gem 'guard-nanoc'
|
||||
|
||||
61
Gemfile.lock
61
Gemfile.lock
@@ -1,18 +1,19 @@
|
||||
GEM
|
||||
remote: https://rubygems.org/
|
||||
specs:
|
||||
addressable (2.8.1)
|
||||
public_suffix (>= 2.0.2, < 6.0)
|
||||
addressable (2.8.7)
|
||||
public_suffix (>= 2.0.2, < 7.0)
|
||||
adsf (1.4.6)
|
||||
rack (>= 1.0.0, < 3.0.0)
|
||||
base64 (0.2.0)
|
||||
builder (3.3.0)
|
||||
coderay (1.1.3)
|
||||
colored (1.2)
|
||||
concurrent-ruby (1.2.2)
|
||||
cri (2.15.11)
|
||||
ddmetrics (1.0.1)
|
||||
concurrent-ruby (1.3.5)
|
||||
cri (2.15.12)
|
||||
ddmetrics (1.1.0)
|
||||
ddplugin (1.0.3)
|
||||
diff-lcs (1.5.0)
|
||||
diff-lcs (1.6.0)
|
||||
em-websocket (0.5.2)
|
||||
eventmachine (>= 0.12.9)
|
||||
http_parser.rb (~> 0.6.0)
|
||||
@@ -39,9 +40,10 @@ GEM
|
||||
guard-compat (~> 1.0)
|
||||
nanoc-cli (~> 4.11, >= 4.11.14)
|
||||
nanoc-core (~> 4.11, >= 4.11.14)
|
||||
hamster (3.0.0)
|
||||
concurrent-ruby (~> 1.0)
|
||||
http_parser.rb (0.6.0)
|
||||
immutable-ruby (0.2.0)
|
||||
concurrent-ruby (~> 1.1)
|
||||
sorted_set (~> 1.0)
|
||||
json_schema (0.21.0)
|
||||
kramdown (2.4.0)
|
||||
rexml
|
||||
@@ -49,36 +51,37 @@ GEM
|
||||
rb-fsevent (~> 0.10, >= 0.10.3)
|
||||
rb-inotify (~> 0.9, >= 0.9.10)
|
||||
lumberjack (1.2.8)
|
||||
memo_wise (1.7.0)
|
||||
memo_wise (1.11.0)
|
||||
method_source (1.0.0)
|
||||
mini_portile2 (2.8.1)
|
||||
multi_json (1.15.0)
|
||||
nanoc (4.12.15)
|
||||
nanoc (4.13.3)
|
||||
addressable (~> 2.5)
|
||||
colored (~> 1.2)
|
||||
nanoc-checking (~> 1.0, >= 1.0.2)
|
||||
nanoc-cli (= 4.12.15)
|
||||
nanoc-core (= 4.12.15)
|
||||
nanoc-cli (= 4.13.3)
|
||||
nanoc-core (= 4.13.3)
|
||||
nanoc-deploying (~> 1.0)
|
||||
parallel (~> 1.12)
|
||||
tty-command (~> 0.8)
|
||||
tty-which (~> 0.4)
|
||||
nanoc-checking (1.0.2)
|
||||
nanoc-cli (~> 4.12, >= 4.12.4)
|
||||
nanoc-core (~> 4.12, >= 4.12.4)
|
||||
nanoc-cli (4.12.15)
|
||||
nanoc-checking (1.0.5)
|
||||
nanoc-cli (~> 4.12, >= 4.12.5)
|
||||
nanoc-core (~> 4.12, >= 4.12.5)
|
||||
nanoc-cli (4.13.3)
|
||||
cri (~> 2.15)
|
||||
diff-lcs (~> 1.3)
|
||||
nanoc-core (= 4.12.15)
|
||||
nanoc-core (= 4.13.3)
|
||||
pry
|
||||
zeitwerk (~> 2.1)
|
||||
nanoc-core (4.12.15)
|
||||
nanoc-core (4.13.3)
|
||||
base64 (~> 0.2)
|
||||
concurrent-ruby (~> 1.1)
|
||||
ddmetrics (~> 1.0)
|
||||
ddplugin (~> 1.0)
|
||||
hamster (~> 3.0)
|
||||
immutable-ruby (~> 0.1)
|
||||
json_schema (~> 0.19)
|
||||
memo_wise (~> 1.5)
|
||||
psych (~> 4.0)
|
||||
slow_enumerator_tools (~> 1.0)
|
||||
tty-platform (~> 0.2)
|
||||
zeitwerk (~> 2.1)
|
||||
@@ -93,15 +96,13 @@ GEM
|
||||
notiffany (0.1.3)
|
||||
nenv (~> 0.1)
|
||||
shellany (~> 0.0)
|
||||
parallel (1.22.1)
|
||||
parallel (1.26.3)
|
||||
pastel (0.8.0)
|
||||
tty-color (~> 0.5)
|
||||
pry (0.14.0)
|
||||
coderay (~> 1.1)
|
||||
method_source (~> 1.0)
|
||||
psych (4.0.6)
|
||||
stringio
|
||||
public_suffix (5.0.1)
|
||||
public_suffix (6.0.1)
|
||||
pygments.rb (3.0.0)
|
||||
racc (1.6.2)
|
||||
rack (2.2.13)
|
||||
@@ -110,6 +111,7 @@ GEM
|
||||
rb-fsevent (0.11.2)
|
||||
rb-inotify (0.10.1)
|
||||
ffi (~> 1.0)
|
||||
rbtree (0.4.6)
|
||||
redcarpet (3.6.0)
|
||||
rexml (3.3.9)
|
||||
rspec (3.12.0)
|
||||
@@ -126,16 +128,19 @@ GEM
|
||||
rspec-support (~> 3.12.0)
|
||||
rspec-support (3.12.0)
|
||||
semverse (3.0.2)
|
||||
set (1.1.1)
|
||||
shellany (0.0.1)
|
||||
slow_enumerator_tools (1.1.0)
|
||||
stringio (3.0.5)
|
||||
sorted_set (1.0.3)
|
||||
rbtree
|
||||
set (~> 1.0)
|
||||
thor (1.1.0)
|
||||
tty-color (0.6.0)
|
||||
tty-command (0.10.1)
|
||||
pastel (~> 0.8)
|
||||
tty-platform (0.3.0)
|
||||
tty-which (0.5.0)
|
||||
zeitwerk (2.6.7)
|
||||
zeitwerk (2.7.2)
|
||||
|
||||
PLATFORMS
|
||||
ruby
|
||||
@@ -146,7 +151,7 @@ DEPENDENCIES
|
||||
guard-livereload
|
||||
guard-nanoc
|
||||
kramdown
|
||||
nanoc (~> 4.12)
|
||||
nanoc (~> 4.13)
|
||||
nokogiri
|
||||
pygments.rb
|
||||
rb-fchange
|
||||
@@ -157,4 +162,4 @@ DEPENDENCIES
|
||||
semverse
|
||||
|
||||
BUNDLED WITH
|
||||
2.1.4
|
||||
2.6.5
|
||||
|
||||
3
Makefile
3
Makefile
@@ -6,7 +6,8 @@ build: clean downloads compile
|
||||
|
||||
bundle:
|
||||
bundle config build.nokogiri --use-system-libraries
|
||||
bundle install --path vendor
|
||||
bundle config set path vendor
|
||||
bundle install
|
||||
|
||||
clean:
|
||||
rm -rf output downloads
|
||||
|
||||
@@ -38,7 +38,7 @@ module Downloads
|
||||
|
||||
if asset
|
||||
cache = ['downloads', '.cache', release.id, 'sha256sums.txt'].join('/')
|
||||
unless File.exists?(cache)
|
||||
unless File.exist?(cache)
|
||||
FileUtils.mkdir_p(File.dirname(cache))
|
||||
File.open(cache, 'wb') do |file|
|
||||
file.write(URI.parse(asset['browser_download_url']).read)
|
||||
|
||||
Reference in New Issue
Block a user