css_lint 0.9.9.0 → 0.9.9.1

Sign up to get free protection for your applications and to get access to all the features.
data/lib/css_lint.rb CHANGED
@@ -46,10 +46,10 @@ module CSSLint
46
46
 
47
47
  if !@css.empty?
48
48
  @css.each do |item|
49
- system("java -jar #{@gem_vendor_dir}/js.jar #{@gem_vendor_dir}/csslint-rhino.js $@ #{@options}#{item}")
49
+ system("java -jar #{@gem_vendor_dir}/js.jar #{@gem_vendor_dir}/csslint-rhino.js #{@options}#{item}")
50
50
  end
51
51
  else
52
- system("java -jar #{@gem_vendor_dir}/js.jar #{@gem_vendor_dir}/csslint-rhino.js $@ #{@options}")
52
+ system("java -jar #{@gem_vendor_dir}/js.jar #{@gem_vendor_dir}/csslint-rhino.js #{@options}")
53
53
  end
54
54
  end
55
55
  end
@@ -88,7 +88,7 @@ describe CSSLint do
88
88
  @cl = CSSLint::Lint.new 'foo'
89
89
  @cl.stub!(:get_java_path).and_return('java installed')
90
90
  @cl.should_receive(:get_java_path)
91
- @cl.should_receive("system").with("java -jar /fake_vendor_dir/js.jar /fake_vendor_dir/csslint-rhino.js $@ foo")
91
+ @cl.should_receive("system").with("java -jar /fake_vendor_dir/js.jar /fake_vendor_dir/csslint-rhino.js foo")
92
92
  @cl.run_lint
93
93
  end
94
94
 
@@ -97,7 +97,7 @@ describe CSSLint do
97
97
  @cl = CSSLint::Lint.new '--version'
98
98
  @cl.stub!(:get_java_path).and_return('java installed')
99
99
  @cl.should_receive(:get_java_path)
100
- @cl.should_receive("system").with("java -jar /fake_vendor_dir/js.jar /fake_vendor_dir/csslint-rhino.js $@ --version ")
100
+ @cl.should_receive("system").with("java -jar /fake_vendor_dir/js.jar /fake_vendor_dir/csslint-rhino.js --version ")
101
101
  @cl.execute('--version')
102
102
  end
103
103
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: css_lint
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.9.9.0
4
+ version: 0.9.9.1
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -14,6 +14,22 @@ bindir: bin
14
14
  cert_chain: []
15
15
  date: 2012-10-14 00:00:00.000000000 Z
16
16
  dependencies:
17
+ - !ruby/object:Gem::Dependency
18
+ name: rake
19
+ requirement: !ruby/object:Gem::Requirement
20
+ none: false
21
+ requirements:
22
+ - - ! '>='
23
+ - !ruby/object:Gem::Version
24
+ version: '0'
25
+ type: :development
26
+ prerelease: false
27
+ version_requirements: !ruby/object:Gem::Requirement
28
+ none: false
29
+ requirements:
30
+ - - ! '>='
31
+ - !ruby/object:Gem::Version
32
+ version: '0'
17
33
  - !ruby/object:Gem::Dependency
18
34
  name: rspec
19
35
  requirement: !ruby/object:Gem::Requirement