fingerjam 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
data/.document ADDED
@@ -0,0 +1,5 @@
1
+ lib/**/*.rb
2
+ bin/*
3
+ -
4
+ features/**/*.feature
5
+ LICENSE.txt
data/.rspec ADDED
@@ -0,0 +1 @@
1
+ --color
data/Gemfile ADDED
@@ -0,0 +1,12 @@
1
+ source "http://rubygems.org"
2
+
3
+ gem "rails", ">= 3.0.0"
4
+ gem "jammit"
5
+ gem "capistrano"
6
+
7
+ group :development do
8
+ gem "rspec", "~> 2.1.0"
9
+ gem "bundler", "~> 1.0.0"
10
+ gem "jeweler", "~> 1.5.1"
11
+ gem "rcov", ">= 0"
12
+ end
data/Gemfile.lock ADDED
@@ -0,0 +1,111 @@
1
+ GEM
2
+ remote: http://rubygems.org/
3
+ specs:
4
+ abstract (1.0.0)
5
+ actionmailer (3.0.2)
6
+ actionpack (= 3.0.2)
7
+ mail (~> 2.2.9)
8
+ actionpack (3.0.2)
9
+ activemodel (= 3.0.2)
10
+ activesupport (= 3.0.2)
11
+ builder (~> 2.1.2)
12
+ erubis (~> 2.6.6)
13
+ i18n (~> 0.4.1)
14
+ rack (~> 1.2.1)
15
+ rack-mount (~> 0.6.13)
16
+ rack-test (~> 0.5.6)
17
+ tzinfo (~> 0.3.23)
18
+ activemodel (3.0.2)
19
+ activesupport (= 3.0.2)
20
+ builder (~> 2.1.2)
21
+ i18n (~> 0.4.1)
22
+ activerecord (3.0.2)
23
+ activemodel (= 3.0.2)
24
+ activesupport (= 3.0.2)
25
+ arel (~> 2.0.2)
26
+ tzinfo (~> 0.3.23)
27
+ activeresource (3.0.2)
28
+ activemodel (= 3.0.2)
29
+ activesupport (= 3.0.2)
30
+ activesupport (3.0.2)
31
+ arel (2.0.2)
32
+ builder (2.1.2)
33
+ capistrano (2.5.19)
34
+ highline
35
+ net-scp (>= 1.0.0)
36
+ net-sftp (>= 2.0.0)
37
+ net-ssh (>= 2.0.14)
38
+ net-ssh-gateway (>= 1.0.0)
39
+ closure-compiler (0.3.3)
40
+ diff-lcs (1.1.2)
41
+ erubis (2.6.6)
42
+ abstract (>= 1.0.0)
43
+ git (1.2.5)
44
+ highline (1.6.1)
45
+ i18n (0.4.2)
46
+ jammit (0.5.4)
47
+ closure-compiler (>= 0.1.0)
48
+ yui-compressor (>= 0.9.1)
49
+ jeweler (1.5.1)
50
+ bundler (~> 1.0.0)
51
+ git (>= 1.2.5)
52
+ rake
53
+ mail (2.2.9.1)
54
+ activesupport (>= 2.3.6)
55
+ i18n (>= 0.4.1)
56
+ mime-types (~> 1.16)
57
+ treetop (~> 1.4.8)
58
+ mime-types (1.16)
59
+ net-scp (1.0.4)
60
+ net-ssh (>= 1.99.1)
61
+ net-sftp (2.0.5)
62
+ net-ssh (>= 2.0.9)
63
+ net-ssh (2.0.23)
64
+ net-ssh-gateway (1.0.1)
65
+ net-ssh (>= 1.99.1)
66
+ polyglot (0.3.1)
67
+ rack (1.2.1)
68
+ rack-mount (0.6.13)
69
+ rack (>= 1.0.0)
70
+ rack-test (0.5.6)
71
+ rack (>= 1.0)
72
+ rails (3.0.2)
73
+ actionmailer (= 3.0.2)
74
+ actionpack (= 3.0.2)
75
+ activerecord (= 3.0.2)
76
+ activeresource (= 3.0.2)
77
+ activesupport (= 3.0.2)
78
+ bundler (~> 1.0.0)
79
+ railties (= 3.0.2)
80
+ railties (3.0.2)
81
+ actionpack (= 3.0.2)
82
+ activesupport (= 3.0.2)
83
+ rake (>= 0.8.7)
84
+ thor (~> 0.14.4)
85
+ rake (0.8.7)
86
+ rcov (0.9.9)
87
+ rspec (2.1.0)
88
+ rspec-core (~> 2.1.0)
89
+ rspec-expectations (~> 2.1.0)
90
+ rspec-mocks (~> 2.1.0)
91
+ rspec-core (2.1.0)
92
+ rspec-expectations (2.1.0)
93
+ diff-lcs (~> 1.1.2)
94
+ rspec-mocks (2.1.0)
95
+ thor (0.14.4)
96
+ treetop (1.4.9)
97
+ polyglot (>= 0.3.1)
98
+ tzinfo (0.3.23)
99
+ yui-compressor (0.9.1)
100
+
101
+ PLATFORMS
102
+ ruby
103
+
104
+ DEPENDENCIES
105
+ bundler (~> 1.0.0)
106
+ capistrano
107
+ jammit
108
+ jeweler (~> 1.5.1)
109
+ rails (>= 3.0.0)
110
+ rcov
111
+ rspec (~> 2.1.0)
data/LICENSE.txt ADDED
@@ -0,0 +1,20 @@
1
+ Copyright (c) 2010 Steve Hoeksema
2
+
3
+ Permission is hereby granted, free of charge, to any person obtaining
4
+ a copy of this software and associated documentation files (the
5
+ "Software"), to deal in the Software without restriction, including
6
+ without limitation the rights to use, copy, modify, merge, publish,
7
+ distribute, sublicense, and/or sell copies of the Software, and to
8
+ permit persons to whom the Software is furnished to do so, subject to
9
+ the following conditions:
10
+
11
+ The above copyright notice and this permission notice shall be
12
+ included in all copies or substantial portions of the Software.
13
+
14
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
15
+ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
16
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
17
+ NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
18
+ LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
19
+ OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
20
+ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
data/README.rdoc ADDED
@@ -0,0 +1,36 @@
1
+ = fingerjam
2
+
3
+ Fingerjam uploads your Jammit-compressed assets with fingerprinted filenames so they can be cached indefinitely.
4
+
5
+ Fingerjam will install a capistrano task to package assets with Jammit, write config/assets.lock.yml, and upload the files to the web.
6
+
7
+ == Usage
8
+
9
+ * Configure Capistrano & Jammit
10
+
11
+ * Add code similar to the following to config/deploy.rb:
12
+
13
+ set :cache_to, "/srv/www/cache.example.com/public/"
14
+ require "fingerjam/capistrano"
15
+
16
+ * Add code similar to the following to config/initializers/fingerjam.rb:
17
+
18
+ Fingerjam::Base.configure(:host => "cache.example.com")
19
+
20
+ * Execute cap deploy
21
+
22
+ bundle exec cap deploy
23
+
24
+ == Contributing to fingerjam
25
+
26
+ * Check out the latest master to make sure the feature hasn't been implemented or the bug hasn't been fixed yet
27
+ * Check out the issue tracker to make sure someone already hasn't requested it and/or contributed it
28
+ * Fork the project
29
+ * Start a feature/bugfix branch
30
+ * Commit and push until you are happy with your contribution
31
+ * Make sure to add tests for it. This is important so I don't break it in a future version unintentionally.
32
+ * Please try not to mess with the Rakefile, version, or history. If you want to have your own version, or is otherwise necessary, that is fine, but please isolate to its own commit so I can cherry-pick around it.
33
+
34
+ == Copyright
35
+
36
+ Copyright (c) 2010 Steve Hoeksema. See LICENSE.txt for further details.
data/Rakefile ADDED
@@ -0,0 +1,50 @@
1
+ require 'rubygems'
2
+ require 'bundler'
3
+ begin
4
+ Bundler.setup(:default, :development)
5
+ rescue Bundler::BundlerError => e
6
+ $stderr.puts e.message
7
+ $stderr.puts "Run `bundle install` to install missing gems"
8
+ exit e.status_code
9
+ end
10
+ require 'rake'
11
+
12
+ require 'jeweler'
13
+ Jeweler::Tasks.new do |gem|
14
+ # gem is a Gem::Specification... see http://docs.rubygems.org/read/chapter/20 for more options
15
+ gem.name = "fingerjam"
16
+ gem.homepage = "http://github.com/steveh/fingerjam"
17
+ gem.license = "MIT"
18
+ gem.summary = %Q{Fingerjam uploads your Jammit-compressed assets with fingerprinted filenames so they can be cached indefinitely}
19
+ gem.description = %Q{Fingerjam uploads your Jammit-compressed assets with fingerprinted filenames so they can be cached indefinitely}
20
+ gem.email = "steve@seven.net.nz"
21
+ gem.authors = ["Steve Hoeksema"]
22
+ # Include your dependencies below. Runtime dependencies are required when using your gem,
23
+ # and development dependencies are only needed for development (ie running rake tasks, tests, etc)
24
+ # gem.add_runtime_dependency 'jabber4r', '> 0.1'
25
+ # gem.add_development_dependency 'rspec', '> 1.2.3'
26
+ end
27
+ Jeweler::RubygemsDotOrgTasks.new
28
+
29
+ require 'rspec/core'
30
+ require 'rspec/core/rake_task'
31
+ RSpec::Core::RakeTask.new(:spec) do |spec|
32
+ spec.pattern = FileList['spec/**/*_spec.rb']
33
+ end
34
+
35
+ RSpec::Core::RakeTask.new(:rcov) do |spec|
36
+ spec.pattern = 'spec/**/*_spec.rb'
37
+ spec.rcov = true
38
+ end
39
+
40
+ task :default => :spec
41
+
42
+ require 'rake/rdoctask'
43
+ Rake::RDocTask.new do |rdoc|
44
+ version = File.exist?('VERSION') ? File.read('VERSION') : ""
45
+
46
+ rdoc.rdoc_dir = 'rdoc'
47
+ rdoc.title = "fingerjam #{version}"
48
+ rdoc.rdoc_files.include('README*')
49
+ rdoc.rdoc_files.include('lib/**/*.rb')
50
+ end
data/VERSION ADDED
@@ -0,0 +1 @@
1
+ 0.1.0
data/fingerjam.gemspec ADDED
@@ -0,0 +1,80 @@
1
+ # Generated by jeweler
2
+ # DO NOT EDIT THIS FILE DIRECTLY
3
+ # Instead, edit Jeweler::Tasks in Rakefile, and run 'rake gemspec'
4
+ # -*- encoding: utf-8 -*-
5
+
6
+ Gem::Specification.new do |s|
7
+ s.name = %q{fingerjam}
8
+ s.version = "0.1.0"
9
+
10
+ s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
+ s.authors = ["Steve Hoeksema"]
12
+ s.date = %q{2010-11-16}
13
+ s.description = %q{Fingerjam uploads your Jammit-compressed assets with fingerprinted filenames so they can be cached indefinitely}
14
+ s.email = %q{steve@seven.net.nz}
15
+ s.extra_rdoc_files = [
16
+ "LICENSE.txt",
17
+ "README.rdoc"
18
+ ]
19
+ s.files = [
20
+ ".document",
21
+ ".rspec",
22
+ "Gemfile",
23
+ "Gemfile.lock",
24
+ "LICENSE.txt",
25
+ "README.rdoc",
26
+ "Rakefile",
27
+ "VERSION",
28
+ "fingerjam.gemspec",
29
+ "lib/fingerjam.rb",
30
+ "lib/fingerjam/base.rb",
31
+ "lib/fingerjam/capistrano.rb",
32
+ "lib/fingerjam/helpers.rb",
33
+ "lib/fingerjam/jammit.rb",
34
+ "lib/fingerjam/railtie.rb",
35
+ "lib/tasks/fingerjam.rake",
36
+ "spec/fingerjam_spec.rb",
37
+ "spec/spec_helper.rb"
38
+ ]
39
+ s.homepage = %q{http://github.com/steveh/fingerjam}
40
+ s.licenses = ["MIT"]
41
+ s.require_paths = ["lib"]
42
+ s.rubygems_version = %q{1.3.7}
43
+ s.summary = %q{Fingerjam uploads your Jammit-compressed assets with fingerprinted filenames so they can be cached indefinitely}
44
+ s.test_files = [
45
+ "spec/fingerjam_spec.rb",
46
+ "spec/spec_helper.rb"
47
+ ]
48
+
49
+ if s.respond_to? :specification_version then
50
+ current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION
51
+ s.specification_version = 3
52
+
53
+ if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
54
+ s.add_runtime_dependency(%q<rails>, [">= 3.0.0"])
55
+ s.add_runtime_dependency(%q<jammit>, [">= 0"])
56
+ s.add_runtime_dependency(%q<capistrano>, [">= 0"])
57
+ s.add_development_dependency(%q<rspec>, ["~> 2.1.0"])
58
+ s.add_development_dependency(%q<bundler>, ["~> 1.0.0"])
59
+ s.add_development_dependency(%q<jeweler>, ["~> 1.5.1"])
60
+ s.add_development_dependency(%q<rcov>, [">= 0"])
61
+ else
62
+ s.add_dependency(%q<rails>, [">= 3.0.0"])
63
+ s.add_dependency(%q<jammit>, [">= 0"])
64
+ s.add_dependency(%q<capistrano>, [">= 0"])
65
+ s.add_dependency(%q<rspec>, ["~> 2.1.0"])
66
+ s.add_dependency(%q<bundler>, ["~> 1.0.0"])
67
+ s.add_dependency(%q<jeweler>, ["~> 1.5.1"])
68
+ s.add_dependency(%q<rcov>, [">= 0"])
69
+ end
70
+ else
71
+ s.add_dependency(%q<rails>, [">= 3.0.0"])
72
+ s.add_dependency(%q<jammit>, [">= 0"])
73
+ s.add_dependency(%q<capistrano>, [">= 0"])
74
+ s.add_dependency(%q<rspec>, ["~> 2.1.0"])
75
+ s.add_dependency(%q<bundler>, ["~> 1.0.0"])
76
+ s.add_dependency(%q<jeweler>, ["~> 1.5.1"])
77
+ s.add_dependency(%q<rcov>, [">= 0"])
78
+ end
79
+ end
80
+
@@ -0,0 +1,51 @@
1
+ require "digest/md5"
2
+ require "yaml"
3
+
4
+ module Fingerjam
5
+ class Base
6
+
7
+ cattr_accessor :host
8
+ cattr_accessor :lockfile
9
+ cattr_accessor :enabled
10
+ cattr_accessor :hashes
11
+
12
+ class << self
13
+
14
+ def configure(opts = {})
15
+ self.host = opts.delete(:host)
16
+ self.lockfile = opts.delete(:lockfile) || File.join(Rails.root, "config", "assets.lock.yml")
17
+ self.hashes = YAML.load_file(lockfile)
18
+ self.enabled = hashes.present? && Rails.env.production?
19
+ rescue Errno::ENOENT
20
+ self.hashes = {}
21
+ self.enabled = false
22
+ end
23
+
24
+ def enabled?
25
+ enabled
26
+ end
27
+
28
+ def hashed?(relative_path)
29
+ hashes.has_key?(relative_path)
30
+ end
31
+
32
+ def hashed_path(relative_path)
33
+ generate_path(relative_path, hashes[relative_path])
34
+ end
35
+
36
+ def generate_path(relative_path, hash)
37
+ "http://%s/%s%s" % [host, hashes[relative_path], relative_path]
38
+ end
39
+
40
+ def extensions
41
+ %w{js css png jpg gif}
42
+ end
43
+
44
+ def generate_hash(absolute_path)
45
+ Digest::MD5.hexdigest(absolute_path.to_s)
46
+ end
47
+
48
+ end
49
+
50
+ end
51
+ end
@@ -0,0 +1,27 @@
1
+ Capistrano::Configuration.instance(:must_exist).load do
2
+
3
+ namespace :fingerjam do
4
+
5
+ desc "Package, lock and upload assets"
6
+ task :upload, { :roles => :web } do
7
+ run_locally "rake fingerjam:package"
8
+ run_locally "rake fingerjam:lock"
9
+
10
+ lockfile = File.realpath(File.join("config", "assets.lock.yml"))
11
+ public_path = File.realpath(File.join("public"))
12
+
13
+ YAML.load_file(lockfile).each do |path, hash|
14
+ local_path = File.join(public_path, path)
15
+ remote_path = File.join(cache_to, hash, path)
16
+ run "mkdir -p #{File.dirname(remote_path)}"
17
+ top.upload(local_path, remote_path)
18
+ end
19
+
20
+ top.upload(lockfile, File.join(release_path, "config", "assets.lock.yml"))
21
+ end
22
+
23
+ end
24
+
25
+ after "deploy:finalize_update", "fingerjam:upload"
26
+
27
+ end
@@ -0,0 +1,23 @@
1
+ module Fingerjam
2
+ module Helpers
3
+
4
+ # Used by Rails view helpers
5
+ def rewrite_asset_path(source, path = nil)
6
+ return Fingerjam::Base.hashed_path(source) if Fingerjam::Base.enabled? && Fingerjam::Base.hashed?(source)
7
+
8
+ if path && path.respond_to?(:call)
9
+ return path.call(source)
10
+ elsif path && path.is_a?(String)
11
+ return path % [source]
12
+ end
13
+
14
+ asset_id = rails_asset_id(source)
15
+ if asset_id.blank?
16
+ source
17
+ else
18
+ source + "?#{asset_id}"
19
+ end
20
+ end
21
+
22
+ end
23
+ end
@@ -0,0 +1,13 @@
1
+ module Jammit
2
+ class Compressor
3
+
4
+ # Used by rake fingerjam:package
5
+ def rewrite_asset_path(path, file_path)
6
+ return Fingerjam::Base.generate_path(path, Fingerjam::Base.generate_hash(file_path))
7
+
8
+ asset_id = rails_asset_id(file_path)
9
+ (!asset_id || asset_id == '') ? path : "#{path}?#{asset_id}"
10
+ end
11
+
12
+ end
13
+ end
@@ -0,0 +1,14 @@
1
+ require "fingerjam"
2
+ require "rails"
3
+
4
+ module Fingerjam
5
+ class Railtie < Rails::Railtie
6
+ initializer "fingerjam.configure_rails_initialization" do
7
+ ActionView::Base.send(:include, Fingerjam::Helpers)
8
+ end
9
+
10
+ rake_tasks do
11
+ load "tasks/fingerjam.rake"
12
+ end
13
+ end
14
+ end
data/lib/fingerjam.rb ADDED
@@ -0,0 +1,4 @@
1
+ require "fingerjam/base"
2
+ require "fingerjam/helpers"
3
+ require "fingerjam/jammit"
4
+ require "fingerjam/railtie.rb"
@@ -0,0 +1,28 @@
1
+ require "pathname"
2
+ require "yaml"
3
+ require "jammit"
4
+
5
+ namespace :fingerjam do
6
+
7
+ desc "Package assets with Jammit"
8
+ task :package => :environment do
9
+ Jammit.package!(:force => true)
10
+ end
11
+
12
+ desc "Lock packages to assets.lock.yml"
13
+ task :lock => :environment do
14
+ relative_root = Pathname.new(Rails.root) + "public"
15
+
16
+ hashes = {}
17
+
18
+ Pathname.glob(relative_root + "**" + "*.{#{Fingerjam::Base.extensions.join(",")}}").each do |absolute_path|
19
+ relative_path = "/" + absolute_path.relative_path_from(relative_root).to_s
20
+ hashes[relative_path] = Fingerjam::Base.generate_hash(absolute_path)
21
+ end
22
+
23
+ File.open(Fingerjam::Base.lockfile, "w") do |lockfile|
24
+ lockfile.puts hashes.to_yaml
25
+ end
26
+ end
27
+
28
+ end
@@ -0,0 +1,7 @@
1
+ require File.expand_path(File.dirname(__FILE__) + '/spec_helper')
2
+
3
+ describe "Fingerjam" do
4
+ it "fails" do
5
+ fail "hey buddy, you should probably rename this file and start specing for real"
6
+ end
7
+ end
@@ -0,0 +1,12 @@
1
+ $LOAD_PATH.unshift(File.join(File.dirname(__FILE__), '..', 'lib'))
2
+ $LOAD_PATH.unshift(File.dirname(__FILE__))
3
+ require 'rspec'
4
+ require 'fingerjam'
5
+
6
+ # Requires supporting files with custom matchers and macros, etc,
7
+ # in ./support/ and its subdirectories.
8
+ Dir["#{File.dirname(__FILE__)}/support/**/*.rb"].each {|f| require f}
9
+
10
+ RSpec.configure do |config|
11
+
12
+ end
metadata ADDED
@@ -0,0 +1,182 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: fingerjam
3
+ version: !ruby/object:Gem::Version
4
+ prerelease: false
5
+ segments:
6
+ - 0
7
+ - 1
8
+ - 0
9
+ version: 0.1.0
10
+ platform: ruby
11
+ authors:
12
+ - Steve Hoeksema
13
+ autorequire:
14
+ bindir: bin
15
+ cert_chain: []
16
+
17
+ date: 2010-11-16 00:00:00 +13:00
18
+ default_executable:
19
+ dependencies:
20
+ - !ruby/object:Gem::Dependency
21
+ name: rails
22
+ requirement: &id001 !ruby/object:Gem::Requirement
23
+ none: false
24
+ requirements:
25
+ - - ">="
26
+ - !ruby/object:Gem::Version
27
+ segments:
28
+ - 3
29
+ - 0
30
+ - 0
31
+ version: 3.0.0
32
+ type: :runtime
33
+ prerelease: false
34
+ version_requirements: *id001
35
+ - !ruby/object:Gem::Dependency
36
+ name: jammit
37
+ requirement: &id002 !ruby/object:Gem::Requirement
38
+ none: false
39
+ requirements:
40
+ - - ">="
41
+ - !ruby/object:Gem::Version
42
+ segments:
43
+ - 0
44
+ version: "0"
45
+ type: :runtime
46
+ prerelease: false
47
+ version_requirements: *id002
48
+ - !ruby/object:Gem::Dependency
49
+ name: capistrano
50
+ requirement: &id003 !ruby/object:Gem::Requirement
51
+ none: false
52
+ requirements:
53
+ - - ">="
54
+ - !ruby/object:Gem::Version
55
+ segments:
56
+ - 0
57
+ version: "0"
58
+ type: :runtime
59
+ prerelease: false
60
+ version_requirements: *id003
61
+ - !ruby/object:Gem::Dependency
62
+ name: rspec
63
+ requirement: &id004 !ruby/object:Gem::Requirement
64
+ none: false
65
+ requirements:
66
+ - - ~>
67
+ - !ruby/object:Gem::Version
68
+ segments:
69
+ - 2
70
+ - 1
71
+ - 0
72
+ version: 2.1.0
73
+ type: :development
74
+ prerelease: false
75
+ version_requirements: *id004
76
+ - !ruby/object:Gem::Dependency
77
+ name: bundler
78
+ requirement: &id005 !ruby/object:Gem::Requirement
79
+ none: false
80
+ requirements:
81
+ - - ~>
82
+ - !ruby/object:Gem::Version
83
+ segments:
84
+ - 1
85
+ - 0
86
+ - 0
87
+ version: 1.0.0
88
+ type: :development
89
+ prerelease: false
90
+ version_requirements: *id005
91
+ - !ruby/object:Gem::Dependency
92
+ name: jeweler
93
+ requirement: &id006 !ruby/object:Gem::Requirement
94
+ none: false
95
+ requirements:
96
+ - - ~>
97
+ - !ruby/object:Gem::Version
98
+ segments:
99
+ - 1
100
+ - 5
101
+ - 1
102
+ version: 1.5.1
103
+ type: :development
104
+ prerelease: false
105
+ version_requirements: *id006
106
+ - !ruby/object:Gem::Dependency
107
+ name: rcov
108
+ requirement: &id007 !ruby/object:Gem::Requirement
109
+ none: false
110
+ requirements:
111
+ - - ">="
112
+ - !ruby/object:Gem::Version
113
+ segments:
114
+ - 0
115
+ version: "0"
116
+ type: :development
117
+ prerelease: false
118
+ version_requirements: *id007
119
+ description: Fingerjam uploads your Jammit-compressed assets with fingerprinted filenames so they can be cached indefinitely
120
+ email: steve@seven.net.nz
121
+ executables: []
122
+
123
+ extensions: []
124
+
125
+ extra_rdoc_files:
126
+ - LICENSE.txt
127
+ - README.rdoc
128
+ files:
129
+ - .document
130
+ - .rspec
131
+ - Gemfile
132
+ - Gemfile.lock
133
+ - LICENSE.txt
134
+ - README.rdoc
135
+ - Rakefile
136
+ - VERSION
137
+ - fingerjam.gemspec
138
+ - lib/fingerjam.rb
139
+ - lib/fingerjam/base.rb
140
+ - lib/fingerjam/capistrano.rb
141
+ - lib/fingerjam/helpers.rb
142
+ - lib/fingerjam/jammit.rb
143
+ - lib/fingerjam/railtie.rb
144
+ - lib/tasks/fingerjam.rake
145
+ - spec/fingerjam_spec.rb
146
+ - spec/spec_helper.rb
147
+ has_rdoc: true
148
+ homepage: http://github.com/steveh/fingerjam
149
+ licenses:
150
+ - MIT
151
+ post_install_message:
152
+ rdoc_options: []
153
+
154
+ require_paths:
155
+ - lib
156
+ required_ruby_version: !ruby/object:Gem::Requirement
157
+ none: false
158
+ requirements:
159
+ - - ">="
160
+ - !ruby/object:Gem::Version
161
+ hash: 3890504782789243124
162
+ segments:
163
+ - 0
164
+ version: "0"
165
+ required_rubygems_version: !ruby/object:Gem::Requirement
166
+ none: false
167
+ requirements:
168
+ - - ">="
169
+ - !ruby/object:Gem::Version
170
+ segments:
171
+ - 0
172
+ version: "0"
173
+ requirements: []
174
+
175
+ rubyforge_project:
176
+ rubygems_version: 1.3.7
177
+ signing_key:
178
+ specification_version: 3
179
+ summary: Fingerjam uploads your Jammit-compressed assets with fingerprinted filenames so they can be cached indefinitely
180
+ test_files:
181
+ - spec/fingerjam_spec.rb
182
+ - spec/spec_helper.rb