asset-resource 0.1.0 → 0.1.1

Sign up to get free protection for your applications and to get access to all the features.
@@ -57,7 +57,9 @@ private ######################################################################
57
57
  end
58
58
 
59
59
  def files_for(type)
60
- Dir.glob(File.expand_path(File.join(base_path, type, "**", "*")))
60
+ Dir.glob(File.expand_path(File.join(base_path, type, "**", "*"))).select do |file|
61
+ File.exist?(file)
62
+ end
61
63
  end
62
64
 
63
65
  def process_files(files)
@@ -1,5 +1,5 @@
1
1
  module AssetResource
2
- VERSION = "0.1.0"
2
+ VERSION = "0.1.1"
3
3
  end
4
4
 
5
5
  if defined?(Rails)
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: asset-resource
3
3
  version: !ruby/object:Gem::Version
4
- hash: 27
4
+ hash: 25
5
5
  prerelease: false
6
6
  segments:
7
7
  - 0
8
8
  - 1
9
- - 0
10
- version: 0.1.0
9
+ - 1
10
+ version: 0.1.1
11
11
  platform: ruby
12
12
  authors:
13
13
  - David Dollar