From 46c2777e130e81169acd2ba48d585eaacb0643a7 Mon Sep 17 00:00:00 2001 From: YAMADA Tsuyoshi Date: Fri, 15 Sep 2023 00:02:51 +0900 Subject: [PATCH 1/2] nodejs: updated nodejs version to 20.6.1 --- nodejs/README.md | 2 +- spec/nodejs/00base_spec.rb | 12 ++++++------ 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/nodejs/README.md b/nodejs/README.md index 49b37bc31..454203fdc 100644 --- a/nodejs/README.md +++ b/nodejs/README.md @@ -1,7 +1,7 @@ # about minimum2scp/nodejs image * based on minimum2scp/baseimage (see https://github.com/minimum2scp/dockerfiles/tree/master/baseimage) - * node.js v20.5.1 is installed with [nodenv](https://github.com/nodenv/nodenv) + * node.js v20.6.1 is installed with [nodenv](https://github.com/nodenv/nodenv) * nodenv is installed in /opt/nodenv * [yarn](https://yarnpkg.com/) is installed with deb package diff --git a/spec/nodejs/00base_spec.rb b/spec/nodejs/00base_spec.rb index dff72d760..383a63943 100644 --- a/spec/nodejs/00base_spec.rb +++ b/spec/nodejs/00base_spec.rb @@ -63,12 +63,12 @@ describe command('nodenv version-name') do let(:login_shell){ true } - its(:stdout){ should eq "20.5.1\n" } + its(:stdout){ should eq "20.6.1\n" } end [ { - nodejs: '20.5.1', + nodejs: '20.6.1', }, ].each do |v| describe command('nodenv versions --bare --skip-aliases') do @@ -86,15 +86,15 @@ let(:login_shell){ true } its(:stdout){ should eq <<~ALIASES - 20 => 20.5.1 - 20.5 => 20.5.1 + 20 => 20.6.1 + 20.6 => 20.6.1 ALIASES } end { - '20' => '20.5.1', - '20.5' => '20.5.1', + '20' => '20.6.1', + '20.6' => '20.6.1', }.each do |src, dest| describe file("/opt/nodenv/versions/#{src}") do it { should be_symlink } From 40e8ebbad170fcc64ac682c6e7895b493f08ea34 Mon Sep 17 00:00:00 2001 From: YAMADA Tsuyoshi Date: Fri, 15 Sep 2023 00:04:18 +0900 Subject: [PATCH 2/2] rails7: updated nodejs version to 20.6.1 --- spec/rails7/00base_spec.rb | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/spec/rails7/00base_spec.rb b/spec/rails7/00base_spec.rb index f7e4b3aea..24bffa2bf 100644 --- a/spec/rails7/00base_spec.rb +++ b/spec/rails7/00base_spec.rb @@ -78,12 +78,12 @@ describe command('nodenv version-name') do let(:login_shell){ true } - its(:stdout){ should eq "20.5.1\n" } + its(:stdout){ should eq "20.6.1\n" } end [ { - nodejs: '20.5.1', + nodejs: '20.6.1', }, ].each do |v| describe command('nodenv versions --bare --skip-aliases') do @@ -102,15 +102,15 @@ let(:login_shell){ true } its(:stdout){ should eq <<~ALIASES - 20 => 20.5.1 - 20.5 => 20.5.1 + 20 => 20.6.1 + 20.6 => 20.6.1 ALIASES } end { - '20' => '20.5.1', - '20.5' => '20.5.1', + '20' => '20.6.1', + '20.6' => '20.6.1', }.each do |src, dest| describe file("/opt/nodenv/versions/#{src}") do it { should be_symlink }