beautiful-css 0.0.6 → 0.0.8

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.
data/.gitignore CHANGED
@@ -15,5 +15,4 @@ spec/reports
15
15
  test/tmp
16
16
  test/version_tmp
17
17
  tmp
18
- bin
19
18
  .rbenv-version
data/bin/beautifulcss ADDED
@@ -0,0 +1,5 @@
1
+ #!/usr/bin/env ruby
2
+
3
+ require 'beautiful-css'
4
+ BeautifulCss::Exec::Css.new(ARGV).run
5
+
@@ -3,6 +3,10 @@ module BeautifulCss
3
3
  class Css
4
4
 
5
5
  def initialize args
6
+ if args.length != 1
7
+ puts 'usage: beautifulcss [file]'
8
+ exit 1
9
+ end
6
10
  @args = args
7
11
  end
8
12
 
@@ -1,3 +1,3 @@
1
1
  module BeautifulCss
2
- VERSION = "0.0.6"
2
+ VERSION = "0.0.8"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: beautiful-css
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.6
4
+ version: 0.0.8
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -14,7 +14,8 @@ dependencies: []
14
14
  description: A tool to help cleanup css
15
15
  email:
16
16
  - lexchilds@gmail.com
17
- executables: []
17
+ executables:
18
+ - beautifulcss
18
19
  extensions: []
19
20
  extra_rdoc_files: []
20
21
  files:
@@ -24,6 +25,7 @@ files:
24
25
  - README.md
25
26
  - Rakefile
26
27
  - beautiful-css.gemspec
28
+ - bin/beautifulcss
27
29
  - lib/beautiful-css.rb
28
30
  - lib/beautiful-css/engine.rb
29
31
  - lib/beautiful-css/exec.rb