tomo-plugin-nvm 0.1.0 → 1.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/LICENSE.txt +1 -1
- data/README.md +4 -2
- data/lib/tomo/plugin/nvm.rb +7 -9
- data/lib/tomo/plugin/nvm/version.rb +4 -3
- metadata +29 -15
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f255fde999596513f222abcef3b92b7306aee82e9d80056e39f4d0d523716188
|
4
|
+
data.tar.gz: '024519c21c9d7d6777de78429dc9bd1ab7f50d6b38f057a5ad660a178affce65'
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e049b04ca73ac8189ba7a6166083b72b3851e7d8afc9cf81c9ad270c56d8a64fee6704b7e921bd70ddaf7e5c07feb41e159037bc093065606b3f25ea50a647dc
|
7
|
+
data.tar.gz: 1bd5f0bc19f6c308e39e26ee0437cdb714a340fafc8cf24aa7e18f358e95811244a5b9b80eafe18643820caa08b2144ba905217bd87d8971ffde0669a11c037f
|
data/LICENSE.txt
CHANGED
data/README.md
CHANGED
@@ -2,14 +2,16 @@
|
|
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://circleci.com/
|
5
|
+
[![Circle](https://circleci.com/gh/mattbrictson/tomo-plugin-nvm.svg?style=shield)](https://app.circleci.com/pipelines/github/mattbrictson/tomo-plugin-nvm?branch=master)
|
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
|
-
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).
|
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.
|
9
9
|
|
10
10
|
---
|
11
11
|
|
12
12
|
- [Installation](#installation)
|
13
|
+
- [Settings](#settings)
|
14
|
+
- [Tasks](#tasks)
|
13
15
|
- [Support](#support)
|
14
16
|
- [License](#license)
|
15
17
|
- [Code of conduct](#code-of-conduct)
|
data/lib/tomo/plugin/nvm.rb
CHANGED
@@ -2,15 +2,13 @@ require "tomo"
|
|
2
2
|
require_relative "nvm/tasks"
|
3
3
|
require_relative "nvm/version"
|
4
4
|
|
5
|
-
module Tomo::Plugin
|
6
|
-
|
7
|
-
extend Tomo::PluginDSL
|
5
|
+
module Tomo::Plugin::Nvm
|
6
|
+
extend Tomo::PluginDSL
|
8
7
|
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
8
|
+
defaults bashrc_path: ".bashrc",
|
9
|
+
nvm_version: "0.34.0",
|
10
|
+
nvm_node_version: nil,
|
11
|
+
nvm_yarn_version: nil
|
13
12
|
|
14
|
-
|
15
|
-
end
|
13
|
+
tasks Tomo::Plugin::Nvm::Tasks
|
16
14
|
end
|
metadata
CHANGED
@@ -1,29 +1,29 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: tomo-plugin-nvm
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version:
|
4
|
+
version: 1.0.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Matt Brictson
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2020-04-12 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tomo
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
|
-
- - "
|
17
|
+
- - "~>"
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: '0'
|
19
|
+
version: '1.0'
|
20
20
|
type: :runtime
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
|
-
- - "
|
24
|
+
- - "~>"
|
25
25
|
- !ruby/object:Gem::Version
|
26
|
-
version: '0'
|
26
|
+
version: '1.0'
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: bundler
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
@@ -86,42 +86,56 @@ dependencies:
|
|
86
86
|
requirements:
|
87
87
|
- - "~>"
|
88
88
|
- !ruby/object:Gem::Version
|
89
|
-
version: '
|
89
|
+
version: '13.0'
|
90
90
|
type: :development
|
91
91
|
prerelease: false
|
92
92
|
version_requirements: !ruby/object:Gem::Requirement
|
93
93
|
requirements:
|
94
94
|
- - "~>"
|
95
95
|
- !ruby/object:Gem::Version
|
96
|
-
version: '
|
96
|
+
version: '13.0'
|
97
97
|
- !ruby/object:Gem::Dependency
|
98
98
|
name: rubocop
|
99
99
|
requirement: !ruby/object:Gem::Requirement
|
100
100
|
requirements:
|
101
101
|
- - '='
|
102
102
|
- !ruby/object:Gem::Version
|
103
|
-
version: 0.
|
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
|
104
118
|
type: :development
|
105
119
|
prerelease: false
|
106
120
|
version_requirements: !ruby/object:Gem::Requirement
|
107
121
|
requirements:
|
108
122
|
- - '='
|
109
123
|
- !ruby/object:Gem::Version
|
110
|
-
version: 0.
|
124
|
+
version: 0.8.1
|
111
125
|
- !ruby/object:Gem::Dependency
|
112
126
|
name: rubocop-performance
|
113
127
|
requirement: !ruby/object:Gem::Requirement
|
114
128
|
requirements:
|
115
129
|
- - '='
|
116
130
|
- !ruby/object:Gem::Version
|
117
|
-
version: 1.
|
131
|
+
version: 1.5.2
|
118
132
|
type: :development
|
119
133
|
prerelease: false
|
120
134
|
version_requirements: !ruby/object:Gem::Requirement
|
121
135
|
requirements:
|
122
136
|
- - '='
|
123
137
|
- !ruby/object:Gem::Version
|
124
|
-
version: 1.
|
138
|
+
version: 1.5.2
|
125
139
|
description:
|
126
140
|
email:
|
127
141
|
- opensource@mattbrictson.com
|
@@ -150,15 +164,15 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
150
164
|
requirements:
|
151
165
|
- - ">="
|
152
166
|
- !ruby/object:Gem::Version
|
153
|
-
version: 2.
|
167
|
+
version: 2.5.0
|
154
168
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
155
169
|
requirements:
|
156
170
|
- - ">="
|
157
171
|
- !ruby/object:Gem::Version
|
158
172
|
version: '0'
|
159
173
|
requirements: []
|
160
|
-
rubygems_version: 3.
|
174
|
+
rubygems_version: 3.1.2
|
161
175
|
signing_key:
|
162
176
|
specification_version: 4
|
163
|
-
summary:
|
177
|
+
summary: A tomo plugin to manage node and yarn via nvm
|
164
178
|
test_files: []
|