tomo-plugin-nvm 1.0.0 → 1.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +1 -1
- data/lib/tomo/plugin/nvm/tasks.rb +2 -5
- data/lib/tomo/plugin/nvm/version.rb +1 -1
- metadata +7 -119
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d2fdcdc79a43cca1a7d7b8f8a91b83675cf93e5b40fd7e7bf3ca7db573414f95
|
4
|
+
data.tar.gz: cc03976c3e0cc72be6f02b41f89e1652b36c8ddcaaaa367ad4b7ad65ef42ee4c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d914a710197b5bb86ccb4634b0aea9a2dae07e424ed16c983b46903abca0a2d2a58a3754bca7e5a56d80ca915fc35863bed947e7417b95a3b6a87a5c0de7f977
|
7
|
+
data.tar.gz: 24b03402b99b443e5ed7663c470acc4cd597c9212469c8b794e55d24ee4c510e6a6dfb55306f1a257156037ca0918e33ffece9d89b37fff7755d4206c74bdaa9
|
data/README.md
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
|
3
3
|
[![Gem Version](https://badge.fury.io/rb/tomo-plugin-nvm.svg)](https://rubygems.org/gems/tomo-plugin-nvm)
|
4
4
|
[![Travis](https://img.shields.io/travis/mattbrictson/tomo-plugin-nvm.svg?label=travis)](https://travis-ci.org/mattbrictson/tomo-plugin-nvm)
|
5
|
-
[![Circle](https://circleci.com/gh/mattbrictson/tomo-plugin-nvm.svg?style=shield)](https://app.circleci.com/pipelines/github/mattbrictson/tomo-plugin-nvm?branch=
|
5
|
+
[![Circle](https://circleci.com/gh/mattbrictson/tomo-plugin-nvm/tree/main.svg?style=shield)](https://app.circleci.com/pipelines/github/mattbrictson/tomo-plugin-nvm?branch=main)
|
6
6
|
[![Code Climate](https://codeclimate.com/github/mattbrictson/tomo-plugin-nvm/badges/gpa.svg)](https://codeclimate.com/github/mattbrictson/tomo-plugin-nvm)
|
7
7
|
|
8
8
|
This is a [tomo](https://github.com/mattbrictson/tomo) plugin to manage node and yarn via nvm (instead of using the [nodenv tasks](https://tomo-deploy.com/plugins/nodenv/) that are built into tomo). The `nvm:install` task is a drop-in replacement for tomo’s `nodenv:install` task.
|
@@ -16,8 +16,7 @@ module Tomo::Plugin::Nvm
|
|
16
16
|
require_setting :nvm_version
|
17
17
|
|
18
18
|
nvm_version = settings[:nvm_version]
|
19
|
-
install_url = "https://raw.githubusercontent.com/creationix/nvm/"
|
20
|
-
"v#{nvm_version}/install.sh"
|
19
|
+
install_url = "https://raw.githubusercontent.com/creationix/nvm/v#{nvm_version}/install.sh"
|
21
20
|
remote.run("curl -o- #{install_url.shellescape} | bash")
|
22
21
|
end
|
23
22
|
|
@@ -36,9 +35,7 @@ module Tomo::Plugin::Nvm
|
|
36
35
|
require_setting :nvm_node_version
|
37
36
|
node_version = settings[:nvm_node_version]
|
38
37
|
|
39
|
-
unless node_installed?(node_version)
|
40
|
-
remote.run "nvm", "install", node_version
|
41
|
-
end
|
38
|
+
remote.run "nvm", "install", node_version unless node_installed?(node_version)
|
42
39
|
remote.run "nvm", "alias", "default", node_version
|
43
40
|
end
|
44
41
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: tomo-plugin-nvm
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Matt Brictson
|
8
|
-
autorequire:
|
8
|
+
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-
|
11
|
+
date: 2020-08-02 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tomo
|
@@ -24,119 +24,7 @@ dependencies:
|
|
24
24
|
- - "~>"
|
25
25
|
- !ruby/object:Gem::Version
|
26
26
|
version: '1.0'
|
27
|
-
|
28
|
-
name: bundler
|
29
|
-
requirement: !ruby/object:Gem::Requirement
|
30
|
-
requirements:
|
31
|
-
- - "~>"
|
32
|
-
- !ruby/object:Gem::Version
|
33
|
-
version: '2.0'
|
34
|
-
type: :development
|
35
|
-
prerelease: false
|
36
|
-
version_requirements: !ruby/object:Gem::Requirement
|
37
|
-
requirements:
|
38
|
-
- - "~>"
|
39
|
-
- !ruby/object:Gem::Version
|
40
|
-
version: '2.0'
|
41
|
-
- !ruby/object:Gem::Dependency
|
42
|
-
name: minitest
|
43
|
-
requirement: !ruby/object:Gem::Requirement
|
44
|
-
requirements:
|
45
|
-
- - "~>"
|
46
|
-
- !ruby/object:Gem::Version
|
47
|
-
version: '5.11'
|
48
|
-
type: :development
|
49
|
-
prerelease: false
|
50
|
-
version_requirements: !ruby/object:Gem::Requirement
|
51
|
-
requirements:
|
52
|
-
- - "~>"
|
53
|
-
- !ruby/object:Gem::Version
|
54
|
-
version: '5.11'
|
55
|
-
- !ruby/object:Gem::Dependency
|
56
|
-
name: minitest-ci
|
57
|
-
requirement: !ruby/object:Gem::Requirement
|
58
|
-
requirements:
|
59
|
-
- - "~>"
|
60
|
-
- !ruby/object:Gem::Version
|
61
|
-
version: '3.4'
|
62
|
-
type: :development
|
63
|
-
prerelease: false
|
64
|
-
version_requirements: !ruby/object:Gem::Requirement
|
65
|
-
requirements:
|
66
|
-
- - "~>"
|
67
|
-
- !ruby/object:Gem::Version
|
68
|
-
version: '3.4'
|
69
|
-
- !ruby/object:Gem::Dependency
|
70
|
-
name: minitest-reporters
|
71
|
-
requirement: !ruby/object:Gem::Requirement
|
72
|
-
requirements:
|
73
|
-
- - "~>"
|
74
|
-
- !ruby/object:Gem::Version
|
75
|
-
version: '1.3'
|
76
|
-
type: :development
|
77
|
-
prerelease: false
|
78
|
-
version_requirements: !ruby/object:Gem::Requirement
|
79
|
-
requirements:
|
80
|
-
- - "~>"
|
81
|
-
- !ruby/object:Gem::Version
|
82
|
-
version: '1.3'
|
83
|
-
- !ruby/object:Gem::Dependency
|
84
|
-
name: rake
|
85
|
-
requirement: !ruby/object:Gem::Requirement
|
86
|
-
requirements:
|
87
|
-
- - "~>"
|
88
|
-
- !ruby/object:Gem::Version
|
89
|
-
version: '13.0'
|
90
|
-
type: :development
|
91
|
-
prerelease: false
|
92
|
-
version_requirements: !ruby/object:Gem::Requirement
|
93
|
-
requirements:
|
94
|
-
- - "~>"
|
95
|
-
- !ruby/object:Gem::Version
|
96
|
-
version: '13.0'
|
97
|
-
- !ruby/object:Gem::Dependency
|
98
|
-
name: rubocop
|
99
|
-
requirement: !ruby/object:Gem::Requirement
|
100
|
-
requirements:
|
101
|
-
- - '='
|
102
|
-
- !ruby/object:Gem::Version
|
103
|
-
version: 0.81.0
|
104
|
-
type: :development
|
105
|
-
prerelease: false
|
106
|
-
version_requirements: !ruby/object:Gem::Requirement
|
107
|
-
requirements:
|
108
|
-
- - '='
|
109
|
-
- !ruby/object:Gem::Version
|
110
|
-
version: 0.81.0
|
111
|
-
- !ruby/object:Gem::Dependency
|
112
|
-
name: rubocop-minitest
|
113
|
-
requirement: !ruby/object:Gem::Requirement
|
114
|
-
requirements:
|
115
|
-
- - '='
|
116
|
-
- !ruby/object:Gem::Version
|
117
|
-
version: 0.8.1
|
118
|
-
type: :development
|
119
|
-
prerelease: false
|
120
|
-
version_requirements: !ruby/object:Gem::Requirement
|
121
|
-
requirements:
|
122
|
-
- - '='
|
123
|
-
- !ruby/object:Gem::Version
|
124
|
-
version: 0.8.1
|
125
|
-
- !ruby/object:Gem::Dependency
|
126
|
-
name: rubocop-performance
|
127
|
-
requirement: !ruby/object:Gem::Requirement
|
128
|
-
requirements:
|
129
|
-
- - '='
|
130
|
-
- !ruby/object:Gem::Version
|
131
|
-
version: 1.5.2
|
132
|
-
type: :development
|
133
|
-
prerelease: false
|
134
|
-
version_requirements: !ruby/object:Gem::Requirement
|
135
|
-
requirements:
|
136
|
-
- - '='
|
137
|
-
- !ruby/object:Gem::Version
|
138
|
-
version: 1.5.2
|
139
|
-
description:
|
27
|
+
description:
|
140
28
|
email:
|
141
29
|
- opensource@mattbrictson.com
|
142
30
|
executables: []
|
@@ -156,7 +44,7 @@ metadata:
|
|
156
44
|
changelog_uri: https://github.com/mattbrictson/tomo-plugin-nvm/releases
|
157
45
|
source_code_uri: https://github.com/mattbrictson/tomo-plugin-nvm
|
158
46
|
homepage_uri: https://github.com/mattbrictson/tomo-plugin-nvm
|
159
|
-
post_install_message:
|
47
|
+
post_install_message:
|
160
48
|
rdoc_options: []
|
161
49
|
require_paths:
|
162
50
|
- lib
|
@@ -171,8 +59,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
171
59
|
- !ruby/object:Gem::Version
|
172
60
|
version: '0'
|
173
61
|
requirements: []
|
174
|
-
rubygems_version: 3.1.
|
175
|
-
signing_key:
|
62
|
+
rubygems_version: 3.1.4
|
63
|
+
signing_key:
|
176
64
|
specification_version: 4
|
177
65
|
summary: A tomo plugin to manage node and yarn via nvm
|
178
66
|
test_files: []
|