compass-validator 3.0.0 → 3.0.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. data/VERSION.yml +1 -1
  2. data/lib/compass-validator.rb +1 -2
  3. metadata +5 -5
@@ -1,4 +1,4 @@
1
1
  ---
2
2
  :major: 3
3
3
  :minor: 0
4
- :patch: 0
4
+ :patch: 1
@@ -1,6 +1,5 @@
1
1
  # This file was extracted from the blueprint project and then modified.
2
2
  require "open3"
3
- require File.join(Compass.lib_directory, 'compass', 'core_ext')
4
3
 
5
4
  module Compass
6
5
  # Validates generated CSS against the W3 using Java
@@ -30,7 +29,7 @@ module Compass
30
29
  # Validates all three CSS files
31
30
  def validate
32
31
  java_path = `which java`.rstrip
33
- raise "You do not have a Java installed, but it is required." if java_path.blank?
32
+ raise "You do not have a Java installed, but it is required." unless java_path && !java_path.empty?
34
33
 
35
34
  Dir.glob(File.join(css_directory, "**", "*.css")).each do |file_name|
36
35
  @files += 1
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: compass-validator
3
3
  version: !ruby/object:Gem::Version
4
- hash: 7
5
- prerelease: false
4
+ hash: 5
5
+ prerelease:
6
6
  segments:
7
7
  - 3
8
8
  - 0
9
- - 0
10
- version: 3.0.0
9
+ - 1
10
+ version: 3.0.1
11
11
  platform: ruby
12
12
  authors:
13
13
  - Chris Eppstein
@@ -76,7 +76,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
76
76
  requirements: []
77
77
 
78
78
  rubyforge_project:
79
- rubygems_version: 1.3.7
79
+ rubygems_version: 1.6.2
80
80
  signing_key:
81
81
  specification_version: 3
82
82
  summary: A CSS Validator that is used by the Compass CSS Framework.