knitter 0.2.0 → 0.2.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/knitter/version.rb +1 -1
- data/lib/knitter/yarn.rb +5 -0
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ade2e9fd1f1f09d019018b98255cc9ea16bc6daf
|
4
|
+
data.tar.gz: 6570b645d28e4f6188de652ae0c8e1a9549a9ea3
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2c1d80c8afce0819d7a6710f6490341d9ab2a84c4d60319fe46d427da76791c3021883ee0db9bacb3cd289d62a1be3eaa7680bee899f0132bf4226c28e9d7e3e
|
7
|
+
data.tar.gz: d5b38f8c0df1355ed1ae76b90b2fc8f5a92814edfe04d65091ea48983f6398e7a69fb54a5b5cbc2d201e3f1bca29633b09d1236b44ac50b3f22b62243816932f
|
data/lib/knitter/version.rb
CHANGED
data/lib/knitter/yarn.rb
CHANGED
@@ -1,5 +1,6 @@
|
|
1
1
|
require 'mixlib/shellout'
|
2
2
|
require 'forwardable'
|
3
|
+
require 'pathname'
|
3
4
|
|
4
5
|
module Knitter
|
5
6
|
class Yarn
|
@@ -31,6 +32,10 @@ module Knitter
|
|
31
32
|
@sh && @sh.status.exitstatus == 0
|
32
33
|
end
|
33
34
|
|
35
|
+
def install
|
36
|
+
execute('install')
|
37
|
+
end
|
38
|
+
|
34
39
|
def add(package)
|
35
40
|
name = package.name
|
36
41
|
unless package.version.latest?
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: knitter
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Nathan Stitt
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-
|
11
|
+
date: 2017-03-16 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: mixlib-shellout
|
@@ -142,7 +142,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
142
142
|
version: '0'
|
143
143
|
requirements: []
|
144
144
|
rubyforge_project:
|
145
|
-
rubygems_version: 2.
|
145
|
+
rubygems_version: 2.6.10
|
146
146
|
signing_key:
|
147
147
|
specification_version: 4
|
148
148
|
summary: Wraps the Javascript "yarn" package manager command
|