distil 0.12.1 → 0.12.2

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.
Files changed (4) hide show
  1. data/VERSION +1 -1
  2. data/distil.gemspec +1 -1
  3. data/lib/distil/target.rb +3 -3
  4. metadata +2 -2
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.12.1
1
+ 0.12.2
data/distil.gemspec CHANGED
@@ -5,7 +5,7 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{distil}
8
- s.version = "0.12.1"
8
+ s.version = "0.12.2"
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"]
data/lib/distil/target.rb CHANGED
@@ -139,10 +139,10 @@ module Distil
139
139
  folders= []
140
140
 
141
141
  assets.each { |a|
142
- path= a.file_path || a.relative_to_folder(source_folder)
143
142
 
144
- next if File.expand_path(path).starts_with?(project.output_folder)
145
-
143
+ next if (a.full_path).starts_with?(project.output_folder)
144
+
145
+ path= a.file_path || a.relative_to_folder(source_folder)
146
146
  parts= File.dirname(path).split(File::SEPARATOR)
147
147
  if ('.'==parts[0])
148
148
  product_path= File.join(project.output_folder, path)
metadata CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 0
7
7
  - 12
8
- - 1
9
- version: 0.12.1
8
+ - 2
9
+ version: 0.12.2
10
10
  platform: ruby
11
11
  authors:
12
12
  - Jeff Watkins