wbdv_packer 0.1 → 0.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. data/README.md +17 -0
  2. data/bin/wbdv_packer +2 -2
  3. metadata +2 -2
data/README.md CHANGED
@@ -0,0 +1,17 @@
1
+ # wbdv_packer – A RubyGem To Compress Javascript & CSS Files On The Command Prompt
2
+
3
+ ```
4
+ Usage: wbdv_packer [options] [filename]
5
+ -c, --charset [CHARSET] Sets the output charset (CSS & JS). Default: utf-8
6
+ -l, --line-break [NUMBER] Sets the max output line width (CSS & JS). Default: 1337
7
+ -o, --optimize Sets code optimization on compress (JS Only). Default: true
8
+ -p, --preserve Sets preserved semi-colons (JS Only). Default: true
9
+ -s, --short Sets shortened local variables (JS Only). Default: true
10
+ -v, --version Print version
11
+ -h, --help Display this screen
12
+ ```
13
+
14
+ ---
15
+ > Seraf Dos Santos
16
+ > MIT License
17
+ > Copyright (c) 2012 Seraf Dos Santos – All rights reserved.
data/bin/wbdv_packer CHANGED
@@ -12,7 +12,7 @@ require "optparse"
12
12
  module WbdVpacker
13
13
  extend self
14
14
 
15
- VERSION = Version = 0.1
15
+ VERSION = Version = 0.2
16
16
 
17
17
  def execute(*args)
18
18
  charset = 'utf-8';
@@ -25,7 +25,7 @@ module WbdVpacker
25
25
 
26
26
  opts = OptionParser.new do |opts|
27
27
 
28
- opts.banner = "Usage: wbdv_packer [options] [filename or stdin]"
28
+ opts.banner = "Usage: wbdv_packer [options] [filename]"
29
29
  #+" [filename] ..."
30
30
 
31
31
  opts.on('-c', '--charset [CHARSET]', 'Sets the output charset (CSS & JS). Default: '+charset) do |c|
metadata CHANGED
@@ -2,7 +2,7 @@
2
2
  name: wbdv_packer
3
3
  version: !ruby/object:Gem::Version
4
4
  prerelease:
5
- version: "0.1"
5
+ version: "0.2"
6
6
  platform: ruby
7
7
  authors:
8
8
  - Seraf Dos Santos
@@ -23,7 +23,7 @@ dependencies:
23
23
  version: 0.9.4
24
24
  type: :runtime
25
25
  version_requirements: *id001
26
- description: " Compresses Javascript & CSS files on the terminal.\n \n Usage: wbdv_packer [options] [filename or stdin]\n -c, --charset [CHARSET] Sets the output charset (CSS & JS). Default: utf-8\n -l, --line-break [NUMBER] Sets the max output line width (CSS & JS). Default: 1337\n -o, --optimize Sets code optimization on compress (JS Only). Default: true\n -p, --preserve Sets preserved semi-colons (JS Only). Default: true\n -s, --short Sets shortened local variables (JS Only). Default: true\n -v, --version Print version\n -h, --help Display this screen\n"
26
+ description: " Compresses Javascript & CSS files on the terminal.\n \n Usage: wbdv_packer [options] [filename]\n -c, --charset [CHARSET] Sets the output charset (CSS & JS). Default: utf-8\n -l, --line-break [NUMBER] Sets the max output line width (CSS & JS). Default: 1337\n -o, --optimize Sets code optimization on compress (JS Only). Default: true\n -p, --preserve Sets preserved semi-colons (JS Only). Default: true\n -s, --short Sets shortened local variables (JS Only). Default: true\n -v, --version Print version\n -h, --help Display this screen\n"
27
27
  email: webmaster@cyb3r.ca
28
28
  executables:
29
29
  - wbdv_packer