caleb-cloudfront_asset_host 1.0.5 → 1.0.6

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/VERSION CHANGED
@@ -1 +1 @@
1
- 1.0.5
1
+ 1.0.6
@@ -5,11 +5,11 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{caleb-cloudfront_asset_host}
8
- s.version = "1.0.5"
8
+ s.version = "1.0.6"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Menno van der Sman"]
12
- s.date = %q{2010-07-23}
12
+ s.date = %q{2010-08-13}
13
13
  s.description = %q{Easy deployment of your assets on CloudFront or S3 using a simple rake-task. When enabled in production, the application's asset_host and public_paths will point to the correct location.}
14
14
  s.email = %q{menno@wakoopa.com}
15
15
  s.extra_rdoc_files = [
@@ -115,7 +115,7 @@ module CloudfrontAssetHost
115
115
  end
116
116
 
117
117
  def md5sum(path)
118
- `openssl md5 '#{path}'`.split(/\s/)[1].to_s
118
+ `openssl md5 '#{path}'`.reverse.split(/\s/)[1].reverse.to_s
119
119
  end
120
120
 
121
121
  end
@@ -87,7 +87,7 @@ module CloudfrontAssetHost
87
87
  end
88
88
 
89
89
  def current_paths
90
- @current_paths ||= Dir.glob("#{Rails.public_path}/{files,images,javascripts,stylesheets}/**/*").reject { |path| File.directory?(path) }
90
+ @current_paths ||= Dir.glob("#{Rails.public_path}/{files,flash,images,javascripts,stylesheets}/**/*").reject { |path| File.directory?(path) }
91
91
  end
92
92
 
93
93
  def headers_for_path(extension, gzip = false)
metadata CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 1
7
7
  - 0
8
- - 5
9
- version: 1.0.5
8
+ - 6
9
+ version: 1.0.6
10
10
  platform: ruby
11
11
  authors:
12
12
  - Menno van der Sman
@@ -14,7 +14,7 @@ autorequire:
14
14
  bindir: bin
15
15
  cert_chain: []
16
16
 
17
- date: 2010-07-23 00:00:00 -04:00
17
+ date: 2010-08-13 00:00:00 -04:00
18
18
  default_executable:
19
19
  dependencies:
20
20
  - !ruby/object:Gem::Dependency