knitter 0.1.1 → 0.1.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.travis.yml +16 -0
- data/Gemfile +0 -1
- data/README.md +7 -5
- data/knitter.gemspec +1 -2
- data/lib/knitter/version.rb +1 -1
- metadata +6 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e82753716316626ad237b157accc0f29383a5521
|
4
|
+
data.tar.gz: 6c160275f5a6b7143d59d683ab7ed2101e5968ad
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6d4acd212cf1a56e606cc743b522f23ca087fc98c245378c3157d8769028c554d0f157a978f5d845cf59d610aefebeede970aebef07e76b56441c36ecf69b84d
|
7
|
+
data.tar.gz: e26438c35d2ed5b7636b98bbae765fddfce95609f1548edd59f497ab347a4289e214a1d7502d4db1fdeb54a11dfd10b07bc952c07800fb2177b278a917e419c0
|
data/.travis.yml
ADDED
data/Gemfile
CHANGED
data/README.md
CHANGED
@@ -1,5 +1,7 @@
|
|
1
1
|
# Knitter
|
2
2
|
|
3
|
+
[![Build Status](https://travis-ci.org/nathanstitt/knitter.svg?branch=master)](https://travis-ci.org/nathanstitt/knitter)
|
4
|
+
|
3
5
|
A lightweight Ruby Gem wrapper around the node package manager. Allows checking installation status of and installing packages.
|
4
6
|
|
5
7
|
## Installation
|
@@ -23,13 +25,13 @@ Or install it yourself as:
|
|
23
25
|
```ruby
|
24
26
|
require 'knitter'
|
25
27
|
|
26
|
-
|
28
|
+
yarn = Knitter::Yarn.new('my-npm-project-directory')
|
27
29
|
|
28
|
-
# create a bare-bones 'package.json' file
|
29
|
-
|
30
|
+
# create a bare-bones 'package.json' and 'yarn.lock' file
|
31
|
+
yarn.init
|
30
32
|
|
31
|
-
# test with the infamous left-pad.
|
32
|
-
package =
|
33
|
+
# test with the infamous left-pad.
|
34
|
+
package = Knitter::Package.new('left-pad', yarn: yarn)
|
33
35
|
|
34
36
|
package.installed? # false
|
35
37
|
|
data/knitter.gemspec
CHANGED
@@ -29,10 +29,9 @@ Gem::Specification.new do |spec|
|
|
29
29
|
|
30
30
|
spec.add_dependency 'mixlib-shellout', '~> 2.2'
|
31
31
|
|
32
|
-
spec.add_development_dependency "bundler", "~> 1.
|
32
|
+
spec.add_development_dependency "bundler", "~> 1.7"
|
33
33
|
spec.add_development_dependency "rake", "~> 10.0"
|
34
34
|
spec.add_development_dependency "guard", "~> 2.13"
|
35
35
|
spec.add_development_dependency "spy", "~> 0.4.5"
|
36
36
|
spec.add_development_dependency "guard-minitest", "~> 2.3"
|
37
|
-
|
38
37
|
end
|
data/lib/knitter/version.rb
CHANGED
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.1.
|
4
|
+
version: 0.1.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:
|
11
|
+
date: 2017-01-12 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: mixlib-shellout
|
@@ -30,14 +30,14 @@ dependencies:
|
|
30
30
|
requirements:
|
31
31
|
- - "~>"
|
32
32
|
- !ruby/object:Gem::Version
|
33
|
-
version: '1.
|
33
|
+
version: '1.7'
|
34
34
|
type: :development
|
35
35
|
prerelease: false
|
36
36
|
version_requirements: !ruby/object:Gem::Requirement
|
37
37
|
requirements:
|
38
38
|
- - "~>"
|
39
39
|
- !ruby/object:Gem::Version
|
40
|
-
version: '1.
|
40
|
+
version: '1.7'
|
41
41
|
- !ruby/object:Gem::Dependency
|
42
42
|
name: rake
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|
@@ -105,6 +105,7 @@ extra_rdoc_files: []
|
|
105
105
|
files:
|
106
106
|
- ".gitignore"
|
107
107
|
- ".rubocop.yml"
|
108
|
+
- ".travis.yml"
|
108
109
|
- Gemfile
|
109
110
|
- Guardfile
|
110
111
|
- LICENSE.txt
|
@@ -141,7 +142,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
141
142
|
version: '0'
|
142
143
|
requirements: []
|
143
144
|
rubyforge_project:
|
144
|
-
rubygems_version: 2.
|
145
|
+
rubygems_version: 2.6.8
|
145
146
|
signing_key:
|
146
147
|
specification_version: 4
|
147
148
|
summary: Wraps the Javascript "yarn" package manager command
|