kitno 0.2.0 → 0.2.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 0182ca456b67db9aef0b2d288f91a9831812f92c
4
- data.tar.gz: a31cd4382e83eb54af37203dce277aa865a9f652
3
+ metadata.gz: 6743068a4a2aa39ed5cda838235fcf54f82a10a6
4
+ data.tar.gz: fedb90dd7b5005bcb7ea5ef1dfb1ebd4484cd447
5
5
  SHA512:
6
- metadata.gz: 947235f8f92df0cd5a39cd557ab433a4af874c7a0a9932e5a5ebc71b232d162ef6030cba53e9096fe4f7a74690cc589cdc3168058a9229951056d491036d24b0
7
- data.tar.gz: 7d233c1f21cd1e6620ee4c550b887db69807861e3f9106863d7e3dee15714fdc9b6e53338ef42e0e74315525b65b779e94333d0295c035559cff390967d36169
6
+ metadata.gz: db7509f277d58a834a044afb2963d9093831a15e868b9c63845f29f74e7197435eb9c85626bb45654ee0deb7593e1cb52bdaa762717f29aa25e835c302047972
7
+ data.tar.gz: 1cfa149cf88c4167ea04a69ea9115e37e560ba581dc4082be4bc365cc96d04101750d71c2b939278cbe6145a24bb0a81145f4493daaaebcded9dcd9d751f3d79
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- kitno (0.1.4)
4
+ kitno (0.2.0)
5
5
  awesome_print (~> 1.7.0, >= 1.7.0)
6
6
  thor (~> 0.19.1)
7
7
 
data/README.md CHANGED
@@ -3,6 +3,9 @@
3
3
  A command line utility to aid in the conversion from "namespace" based
4
4
  JavaScript modules to CommonJS modules.
5
5
 
6
+ [![build status](https://img.shields.io/travis/mavenlink/killing-in-the-namespace-of.svg?style=flat-square)](https://travis-ci.org/mavenlink/killing-in-the-namespace-of)
7
+ [![gem](https://img.shields.io/gem/v/kitno.svg?style=flat-square)](https://rubygems.org/gems/kitno)
8
+
6
9
  ## Installation
7
10
 
8
11
  ```shell
@@ -14,7 +17,7 @@ JavaScript modules to CommonJS modules.
14
17
  *Note: this is currently a work in progress*
15
18
 
16
19
  ```shell
17
- $ kitno enumerate --namespace='MyApp' --directory='./src'
20
+ $ kitno transform --namespace='MyApp' --directory='./src' --output='./common-js' --globals='_:underscore,$:jquery' --externals='Backbone:backbone'
18
21
  ```
19
22
 
20
23
  ## License
data/kitno.gemspec CHANGED
@@ -1,5 +1,5 @@
1
1
  # coding: utf-8
2
- #
2
+
3
3
  lib = File.expand_path('../lib', __FILE__)
4
4
 
5
5
  $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
data/lib/kitno/cli.rb CHANGED
@@ -7,7 +7,7 @@ module Kitno
7
7
  long_desc <<-TRANSFORM
8
8
  TRANSFORM
9
9
 
10
- option :dry, aliases: '-d', type: :boolean, default: false
10
+ option :dry, type: :boolean, default: false, desc: 'Performs a dry run, printing out the dependency map generated'
11
11
  option :namespace, aliases: '-n', type: :string, required: true, desc: 'Base namespace to migrate from'
12
12
  option :directory, aliases: '-d', type: :string, default: '.', desc: 'Directory to target for transformation'
13
13
  option :output, aliases: '-o', type: :string, default: './output', desc: 'Directory to output transformed modules'
data/lib/kitno/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Kitno
2
- VERSION = '0.2.0'
2
+ VERSION = '0.2.1'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: kitno
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
4
+ version: 0.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jamie Rolfs
@@ -10,7 +10,7 @@ authors:
10
10
  autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
- date: 2016-06-22 00:00:00.000000000 Z
13
+ date: 2016-06-23 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: thor