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.
- data/lib/asset_resource/middleware.rb +3 -1
- data/lib/asset_resource.rb +1 -1
- metadata +3 -3
@@ -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)
|
data/lib/asset_resource.rb
CHANGED
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:
|
4
|
+
hash: 25
|
5
5
|
prerelease: false
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 1
|
9
|
-
-
|
10
|
-
version: 0.1.
|
9
|
+
- 1
|
10
|
+
version: 0.1.1
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- David Dollar
|