Skip to content

Commit

Permalink
Merge pull request #1084 from minimum2scp/features/nodejs-20.6.1
Browse files Browse the repository at this point in the history
nodejs, rails7: nodejs 20.6.1
  • Loading branch information
minimum2scp authored Sep 16, 2023
2 parents 352f821 + 40e8ebb commit b26922e
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 13 deletions.
2 changes: 1 addition & 1 deletion nodejs/README.md
Original file line number Diff line number Diff line change
@@ -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

Expand Down
12 changes: 6 additions & 6 deletions spec/nodejs/00base_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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 }
Expand Down
12 changes: 6 additions & 6 deletions spec/rails7/00base_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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 }
Expand Down

0 comments on commit b26922e

Please sign in to comment.