-
Notifications
You must be signed in to change notification settings - Fork 38
/
capistrano-faster-assets.gemspec
28 lines (23 loc) · 1.16 KB
/
capistrano-faster-assets.gemspec
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
# -*- encoding: utf-8 -*-
lib = File.expand_path('../lib', __FILE__)
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
require 'capistrano/faster_assets/version'
Gem::Specification.new do |gem|
gem.name = "capistrano-faster-assets"
gem.version = Capistrano::FasterAssets::VERSION
gem.authors = ["Andrew Thal", "Ruben Stranders"]
gem.email = ["[email protected]", "[email protected]"]
gem.description = <<-EOF.gsub(/^\s+/, '')
Speeds up asset compilation by skipping the assets:precompile task if none of the assets were changed since last release.
Works *only* with Capistrano 3+.
Based on https://coderwall.com/p/aridag
EOF
gem.summary = "Speeds up asset compilation if none of the assets were changed since last release."
gem.homepage = "https://github.com/capistrano-plugins/capistrano-faster-assets"
gem.files = `git ls-files`.split($/)
gem.executables = gem.files.grep(%r{^bin/}).map{ |f| File.basename(f) }
gem.test_files = gem.files.grep(%r{^(test|spec|features)/})
gem.require_paths = ["lib"]
gem.add_dependency "capistrano", ">= 3.1"
gem.add_development_dependency "rake"
end