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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 19b44d43ac679acb8157cde332e7d2c12a82b81b
4
- data.tar.gz: b29c2b9b6c35493cf3388df228b98af39efd7166
3
+ metadata.gz: e82753716316626ad237b157accc0f29383a5521
4
+ data.tar.gz: 6c160275f5a6b7143d59d683ab7ed2101e5968ad
5
5
  SHA512:
6
- metadata.gz: 40f2a15ec0ac4c87f5f0a593fe7674019cced2d5531eb881ecf1fe81030162d1ac0c7804abbc5b42240330297169e8a2c41e9b6429cc1b6b385f347186517efe
7
- data.tar.gz: e27568fdb0aefa36cbb2bf23994cdd57216fe90a2a75dc27c4ce6955996087965335095fe33af267b8854af4f23116005c9156de40524b80b029184d523bab39
6
+ metadata.gz: 6d4acd212cf1a56e606cc743b522f23ca087fc98c245378c3157d8769028c554d0f157a978f5d845cf59d610aefebeede970aebef07e76b56441c36ecf69b84d
7
+ data.tar.gz: e26438c35d2ed5b7636b98bbae765fddfce95609f1548edd59f497ab347a4289e214a1d7502d4db1fdeb54a11dfd10b07bc952c07800fb2177b278a917e419c0
data/.travis.yml ADDED
@@ -0,0 +1,16 @@
1
+ sudo: false
2
+ language: ruby
3
+ cache:
4
+ bundler: true
5
+ yarn: true
6
+ directories:
7
+ - node_modules
8
+ rvm:
9
+ - 2.2.5
10
+ - 2.4.0
11
+ before_install:
12
+ - nvm install 6.0
13
+ before_script:
14
+ - npm install -g yarn
15
+ script:
16
+ - bundle exec rake test
data/Gemfile CHANGED
@@ -1,4 +1,3 @@
1
1
  source 'https://rubygems.org'
2
2
 
3
- # Specify your gem's dependencies in npm-wrapper.gemspec
4
3
  gemspec
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
- process = NPMWrapper::Process.new('my-npm-project-directory')
28
+ yarn = Knitter::Yarn.new('my-npm-project-directory')
27
29
 
28
- # create a bare-bones 'package.json' file
29
- process.init
30
+ # create a bare-bones 'package.json' and 'yarn.lock' file
31
+ yarn.init
30
32
 
31
- # test with the infamous left-pad. Process is optional, it will default to Dir.pwd
32
- package = NPMWrapper::Package.new('left-pad', process: process)
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.13"
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
@@ -1,3 +1,3 @@
1
1
  module Knitter
2
- VERSION = '0.1.1'
2
+ VERSION = '0.1.2'
3
3
  end
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.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: 2016-12-09 00:00:00.000000000 Z
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.13'
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.13'
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.5.1
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