jammit-ebtd 0.6.8 → 0.6.9
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.
- data/jammit-ebtd.gemspec +1 -1
- data/lib/jammit-ebtd.rb +1 -1
- data/lib/jammit/packager.rb +2 -2
- metadata +1 -1
data/jammit-ebtd.gemspec
CHANGED
data/lib/jammit-ebtd.rb
CHANGED
data/lib/jammit/packager.rb
CHANGED
|
@@ -105,7 +105,7 @@ module Jammit
|
|
|
105
105
|
absolute = Pathname.new(glob).absolute?
|
|
106
106
|
paths = Dir[absolute ? glob : File.join(ASSET_ROOT, glob)]
|
|
107
107
|
#Jammit.warn("No assets match '#{glob}'") if paths.empty?
|
|
108
|
-
paths
|
|
108
|
+
paths.sort
|
|
109
109
|
end
|
|
110
110
|
|
|
111
111
|
# In Rails, the difference between a path and an asset URL is "public".
|
|
@@ -180,7 +180,7 @@ module Jammit
|
|
|
180
180
|
paths = []
|
|
181
181
|
globs.each do |glob|
|
|
182
182
|
if String === glob
|
|
183
|
-
paths
|
|
183
|
+
paths += glob_files(glob)
|
|
184
184
|
elsif Hash === glob
|
|
185
185
|
paths = exclude_paths(paths, glob['exclude']) if glob['exclude']
|
|
186
186
|
#puts exclude_paths(paths, glob['exclude']).to_s
|