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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 0457bc4096cb434b2226c51bcc5008aa3eed65e4
4
- data.tar.gz: db000c1c179ccda9fb1770becc127638618d1d9d
3
+ metadata.gz: ade2e9fd1f1f09d019018b98255cc9ea16bc6daf
4
+ data.tar.gz: 6570b645d28e4f6188de652ae0c8e1a9549a9ea3
5
5
  SHA512:
6
- metadata.gz: 840790dc8c6d747cbbdd383eb674848d4f029385bfeb00e70932f21912737f622a5fa59d6cf79878d2ac62eb15e65e5446c69db6fe62ac1b1eea6ac39b8d6acb
7
- data.tar.gz: 03a277324c8c15e8b39a6bda665ec7f5ebb2ce33aefee611ee6857b864d7d232d63874b796da3631b6046c4a63d769a39e899f879b6c95abecf5b28dc0590ec9
6
+ metadata.gz: 2c1d80c8afce0819d7a6710f6490341d9ab2a84c4d60319fe46d427da76791c3021883ee0db9bacb3cd289d62a1be3eaa7680bee899f0132bf4226c28e9d7e3e
7
+ data.tar.gz: d5b38f8c0df1355ed1ae76b90b2fc8f5a92814edfe04d65091ea48983f6398e7a69fb54a5b5cbc2d201e3f1bca29633b09d1236b44ac50b3f22b62243816932f
@@ -1,3 +1,3 @@
1
1
  module Knitter
2
- VERSION = '0.2.0'
2
+ VERSION = '0.2.2'
3
3
  end
@@ -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.0
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-02-28 00:00:00.000000000 Z
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.5.1
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