coffee_without_nodejs 0.6.0 → 0.7.0

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: d050e85a1a36002dc0adf934e08514dd95c93783
4
- data.tar.gz: 56915b0067753979302f7ed9cc0277b59e104c69
3
+ metadata.gz: 12fcb4053d05a53dcb59ebcd1363aea2a0cb267e
4
+ data.tar.gz: 9db0035e415b10be1585857d90f6785d505ff088
5
5
  SHA512:
6
- metadata.gz: 15c5a2a680cb877c350e5c200bdbdd97c4c03742616a9eba177ab27551d1bc840d01d3802f31a2ace8633b267149f6dc96734b605d9b888e8a346e7c961636eb
7
- data.tar.gz: ae251a6ae8d87b5a3bfb22a608ed062665ab8eda19edaaaf184b16637c6bd42cf9796e2ced974c296bfca280cca08d1d36732ccd7ab55d2c46c42f7e73aa6205
6
+ metadata.gz: 4ef014f7867eb5a27754513cf9c73b6379820d8cdf34cf4893c657c2a0a97bb39ee96e884017cf344f8e042d54fd3e4b0590fa6666d28d11c1ae06dbb8de7190
7
+ data.tar.gz: 29fdfded99b3b208ea160c341368f9be9d311d21eefb662568c3678e60ddc30d30a2057f3b3ac52639065d0953af747679533ffb65e19173f7b5d16c67457211
data/README.md CHANGED
@@ -23,28 +23,49 @@ Install via Rubygems
23
23
 
24
24
  $ gem install coffee_without_nodejs
25
25
 
26
- ... or add to your Gemfile
26
+ ... or add in Gemfile
27
27
 
28
28
  gem "coffee_without_nodejs"
29
29
 
30
30
  ## Usage
31
31
 
32
- Create a directory `coffee` in you Project root, add any coffee script and directory as you want.
33
- And than, run `coff` in yours Project root.
34
-
35
32
  $ coff
36
33
 
37
34
  Or ...
38
35
 
39
- You can provide one or more coffeescript file as arguments,
36
+ $ coff some_coffee_directory
37
+
38
+ This will create corresponding js and source map file in same directory as coffee file live in.
39
+
40
+ [](http://zw963.github.io/snapshot11.png)
41
+
42
+ If one directory named 'coffee' in you project root, and run `coff` in project root.
43
+
44
+ $ ls
45
+ coffee/
46
+
47
+ $ coff coffee
48
+
49
+ [](http://zw963.github.io/snapshot14.png)
40
50
 
41
- $ coff coffee/models/product.coffee
51
+ will create two new `js` `.map` directory the same level as `coffee` directory,
52
+ with cloned directory hierarchy, store js and source map individually.
42
53
 
54
+ Or ...
55
+
56
+ You always can provide one or more `some_file.coffee' file as arguments.
43
57
  This will output compiled js content to STDOUT with very pretty format.
44
58
 
59
+ $ coff some_path/file1.coffee
60
+
61
+ [](http://zw963.github.io/snapshot11.png)
62
+
63
+ You still can use redirect `coff some_path/file1.coffee > another_path/file2.js` to
64
+ save literal js outout to file2.js
65
+
45
66
  Or ...
46
67
 
47
- `coff` command only support one arguments, `-e`.
68
+ `coff` command only support one argument `-e`.
48
69
 
49
70
  $ coff -e 'x = 100'
50
71
  var x;
@@ -61,7 +82,7 @@ You can found a lot of useful and interesting scripts here.
61
82
 
62
83
  ## History
63
84
 
64
- See [CHANGELOG](https://github.com/zw963/coffee_without_nodejs/blob/master/CHANGELOG) for details.
85
+ More update info, please See [CHANGELOG](https://github.com/zw963/coffee_without_nodejs/blob/master/CHANGELOG) for details.
65
86
 
66
87
  ## Contributing
67
88
 
@@ -2,7 +2,7 @@
2
2
  # -*- coding: utf-8 -*-
3
3
 
4
4
  module CoffeeWithoutNodejs
5
- VERSION = [0, 6, 0]
5
+ VERSION = [0, 7, 0]
6
6
 
7
7
  class << VERSION
8
8
  def to_s
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: coffee_without_nodejs
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.6.0
4
+ version: 0.7.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Billy.Zheng(zw963)