caleb-cloudfront_asset_host 1.0.3 → 1.0.4
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 +1 -1
- data/caleb-cloudfront_asset_host.gemspec +64 -0
- data/lib/cloudfront_asset_host/uploader.rb +1 -1
- metadata +4 -3
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
1.0.
|
|
1
|
+
1.0.4
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
# Generated by jeweler
|
|
2
|
+
# DO NOT EDIT THIS FILE DIRECTLY
|
|
3
|
+
# Instead, edit Jeweler::Tasks in Rakefile, and run the gemspec command
|
|
4
|
+
# -*- encoding: utf-8 -*-
|
|
5
|
+
|
|
6
|
+
Gem::Specification.new do |s|
|
|
7
|
+
s.name = %q{caleb-cloudfront_asset_host}
|
|
8
|
+
s.version = "1.0.4"
|
|
9
|
+
|
|
10
|
+
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
|
11
|
+
s.authors = ["Menno van der Sman"]
|
|
12
|
+
s.date = %q{2010-07-23}
|
|
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
|
+
s.email = %q{menno@wakoopa.com}
|
|
15
|
+
s.extra_rdoc_files = [
|
|
16
|
+
"README.markdown"
|
|
17
|
+
]
|
|
18
|
+
s.files = [
|
|
19
|
+
".gitignore",
|
|
20
|
+
"MIT-LICENSE",
|
|
21
|
+
"README.markdown",
|
|
22
|
+
"Rakefile",
|
|
23
|
+
"VERSION",
|
|
24
|
+
"caleb-cloudfront_asset_host.gemspec",
|
|
25
|
+
"lib/cloudfront_asset_host.rb",
|
|
26
|
+
"lib/cloudfront_asset_host/asset_tag_helper_ext.rb",
|
|
27
|
+
"lib/cloudfront_asset_host/css_rewriter.rb",
|
|
28
|
+
"lib/cloudfront_asset_host/mime_types.yml",
|
|
29
|
+
"lib/cloudfront_asset_host/uploader.rb",
|
|
30
|
+
"test/app/config/s3.yml",
|
|
31
|
+
"test/app/public/images/image.png",
|
|
32
|
+
"test/app/public/javascripts/application.js",
|
|
33
|
+
"test/app/public/stylesheets/style.css",
|
|
34
|
+
"test/cloudfront_asset_host_test.rb",
|
|
35
|
+
"test/css_rewriter_test.rb",
|
|
36
|
+
"test/test_helper.rb",
|
|
37
|
+
"test/uploader_test.rb"
|
|
38
|
+
]
|
|
39
|
+
s.homepage = %q{http://github.com/caleb/cloudfront_asset_host}
|
|
40
|
+
s.rdoc_options = ["--charset=UTF-8"]
|
|
41
|
+
s.require_paths = ["lib"]
|
|
42
|
+
s.rubygems_version = %q{1.3.6}
|
|
43
|
+
s.summary = %q{Rails plugin to easily and efficiently deploy your assets on Amazon's S3 or CloudFront}
|
|
44
|
+
s.test_files = [
|
|
45
|
+
"test/cloudfront_asset_host_test.rb",
|
|
46
|
+
"test/css_rewriter_test.rb",
|
|
47
|
+
"test/test_helper.rb",
|
|
48
|
+
"test/uploader_test.rb"
|
|
49
|
+
]
|
|
50
|
+
|
|
51
|
+
if s.respond_to? :specification_version then
|
|
52
|
+
current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION
|
|
53
|
+
s.specification_version = 3
|
|
54
|
+
|
|
55
|
+
if Gem::Version.new(Gem::RubyGemsVersion) >= Gem::Version.new('1.2.0') then
|
|
56
|
+
s.add_runtime_dependency(%q<right_aws>, [">= 0"])
|
|
57
|
+
else
|
|
58
|
+
s.add_dependency(%q<right_aws>, [">= 0"])
|
|
59
|
+
end
|
|
60
|
+
else
|
|
61
|
+
s.add_dependency(%q<right_aws>, [">= 0"])
|
|
62
|
+
end
|
|
63
|
+
end
|
|
64
|
+
|
|
@@ -87,7 +87,7 @@ module CloudfrontAssetHost
|
|
|
87
87
|
end
|
|
88
88
|
|
|
89
89
|
def current_paths
|
|
90
|
-
@current_paths ||= Dir.glob("#{Rails.public_path}/{images,javascripts,stylesheets}/**/*").reject { |path| File.directory?(path) }
|
|
90
|
+
@current_paths ||= Dir.glob("#{Rails.public_path}/{files,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
|
-
-
|
|
9
|
-
version: 1.0.
|
|
8
|
+
- 4
|
|
9
|
+
version: 1.0.4
|
|
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-
|
|
17
|
+
date: 2010-07-23 00:00:00 -04:00
|
|
18
18
|
default_executable:
|
|
19
19
|
dependencies:
|
|
20
20
|
- !ruby/object:Gem::Dependency
|
|
@@ -43,6 +43,7 @@ files:
|
|
|
43
43
|
- README.markdown
|
|
44
44
|
- Rakefile
|
|
45
45
|
- VERSION
|
|
46
|
+
- caleb-cloudfront_asset_host.gemspec
|
|
46
47
|
- lib/cloudfront_asset_host.rb
|
|
47
48
|
- lib/cloudfront_asset_host/asset_tag_helper_ext.rb
|
|
48
49
|
- lib/cloudfront_asset_host/css_rewriter.rb
|