distil 0.14.2 → 0.14.3

Sign up to get free protection for your applications and to get access to all the features.
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.14.2
1
+ 0.14.3
@@ -5,7 +5,7 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{distil}
8
- s.version = "0.14.2"
8
+ s.version = "0.14.3"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Jeff Watkins"]
@@ -83,16 +83,16 @@ module Distil
83
83
 
84
84
  line.scan(DISTIL_ASSET_REGEX) do |match|
85
85
  asset= project.file_from_path(File.join(dirname, $2))
86
- if asset
86
+ if File.exists?(asset)
87
87
  add_asset(asset)
88
88
  else
89
- error "Missing asset file: #{$1}", line_num
89
+ error "Missing asset file: #{$2}", line_num
90
90
  end
91
91
  end
92
92
 
93
93
  line.scan(NIB_ASSET_REGEX) do |match|
94
94
  asset= project.file_from_path(File.join(dirname, $2))
95
- if asset
95
+ if File.exists?(asset)
96
96
  add_asset(asset)
97
97
  else
98
98
  error "Missing asset file: #{$2}", line_num
metadata CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 0
7
7
  - 14
8
- - 2
9
- version: 0.14.2
8
+ - 3
9
+ version: 0.14.3
10
10
  platform: ruby
11
11
  authors:
12
12
  - Jeff Watkins