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 +4 -4
- data/Gemfile.lock +1 -1
- data/README.md +4 -1
- data/kitno.gemspec +1 -1
- data/lib/kitno/cli.rb +1 -1
- data/lib/kitno/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 6743068a4a2aa39ed5cda838235fcf54f82a10a6
|
|
4
|
+
data.tar.gz: fedb90dd7b5005bcb7ea5ef1dfb1ebd4484cd447
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: db7509f277d58a834a044afb2963d9093831a15e868b9c63845f29f74e7197435eb9c85626bb45654ee0deb7593e1cb52bdaa762717f29aa25e835c302047972
|
|
7
|
+
data.tar.gz: 1cfa149cf88c4167ea04a69ea9115e37e560ba581dc4082be4bc365cc96d04101750d71c2b939278cbe6145a24bb0a81145f4493daaaebcded9dcd9d751f3d79
|
data/Gemfile.lock
CHANGED
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
|
+
[](https://travis-ci.org/mavenlink/killing-in-the-namespace-of)
|
|
7
|
+
[](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
|
|
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
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,
|
|
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
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.
|
|
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-
|
|
13
|
+
date: 2016-06-23 00:00:00.000000000 Z
|
|
14
14
|
dependencies:
|
|
15
15
|
- !ruby/object:Gem::Dependency
|
|
16
16
|
name: thor
|