capistrano-local-precompile 1.0.1 → 1.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +1 -1
- data/capistrano-local-precompile.gemspec +1 -1
- data/lib/capistrano/local_precompile.rb +2 -0
- metadata +9 -9
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e14c7904039f124222a5185d24c2a55cf36248ab
|
4
|
+
data.tar.gz: 03b74aeb2039dba3c770ceb20b230cad5bcc4378
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 363958e3e9e7984b4eff1c80cceaaa168d72f66b3a935065e4e49dfd3d438bb8243a3caa6add1de72cb5bcb34b9afb77bda7778d1c97da963d6d2e7c9578c5b8
|
7
|
+
data.tar.gz: 8f2e7b8395e1cf516d761008fdae48ff21e9507217a2b2f8672124f259554a86f01234f70cb711b71376e048fee5352b7b1732fe6c0b1965ed8a4d759d4e473d
|
data/README.md
CHANGED
@@ -9,7 +9,7 @@ Add capistrano-local-precompile to your Gemfile:
|
|
9
9
|
```ruby
|
10
10
|
group :development do
|
11
11
|
# Capistrano v2 should use '~> 0.0.5'
|
12
|
-
# Capistrano v3 should use '~> 1.0.
|
12
|
+
# Capistrano v3 should use '~> 1.0.0'
|
13
13
|
gem 'capistrano-local-precompile', '~> 1.0.0', require: false
|
14
14
|
end
|
15
15
|
```
|
@@ -4,7 +4,7 @@ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
|
4
4
|
|
5
5
|
Gem::Specification.new do |gem|
|
6
6
|
gem.name = 'capistrano-local-precompile'
|
7
|
-
gem.version = '1.0
|
7
|
+
gem.version = '1.1.0'
|
8
8
|
gem.homepage = 'https://github.com/spagalloco/capistrano-local-precompile'
|
9
9
|
|
10
10
|
gem.author = "Steve Agalloco, Tom Caflisch"
|
@@ -4,6 +4,7 @@ namespace :load do
|
|
4
4
|
task :defaults do
|
5
5
|
set :precompile_env, fetch(:rails_env) || 'production'
|
6
6
|
set :assets_dir, "public/assets"
|
7
|
+
set :packs_dir, "public/packs"
|
7
8
|
set :rsync_cmd, "rsync -av --delete"
|
8
9
|
|
9
10
|
after "bundler:install", "deploy:assets:prepare"
|
@@ -52,6 +53,7 @@ namespace :deploy do
|
|
52
53
|
local_manifest_path.strip!
|
53
54
|
|
54
55
|
run_locally "#{fetch(:rsync_cmd)} ./#{fetch(:assets_dir)}/ #{user}@#{server}:#{release_path}/#{fetch(:assets_dir)}/"
|
56
|
+
run_locally "#{fetch(:rsync_cmd)} ./#{fetch(:packs_dir)}/ #{user}@#{server}:#{release_path}/#{fetch(:packs_dir)}/" #TODO: Check if exists
|
55
57
|
run_locally "#{fetch(:rsync_cmd)} ./#{local_manifest_path} #{user}@#{server}:#{release_path}/assets_manifest#{File.extname(local_manifest_path)}"
|
56
58
|
end
|
57
59
|
end
|
metadata
CHANGED
@@ -1,27 +1,27 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: capistrano-local-precompile
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0
|
4
|
+
version: 1.1.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Steve Agalloco, Tom Caflisch
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-
|
11
|
+
date: 2017-09-18 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: capistrano
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
|
-
- -
|
17
|
+
- - '>='
|
18
18
|
- !ruby/object:Gem::Version
|
19
19
|
version: '3'
|
20
20
|
type: :runtime
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
|
-
- -
|
24
|
+
- - '>='
|
25
25
|
- !ruby/object:Gem::Version
|
26
26
|
version: '3'
|
27
27
|
description: Local asset-pipeline precompilation for Capstrano
|
@@ -30,14 +30,14 @@ executables: []
|
|
30
30
|
extensions: []
|
31
31
|
extra_rdoc_files: []
|
32
32
|
files:
|
33
|
-
-
|
33
|
+
- .yardopts
|
34
34
|
- LICENSE.md
|
35
35
|
- README.md
|
36
36
|
- Rakefile
|
37
37
|
- capistrano-local-precompile.gemspec
|
38
|
-
- lib/capistrano-local-precompile.rb
|
39
38
|
- lib/capistrano/capistrano-local-precompile/tasks.rb
|
40
39
|
- lib/capistrano/local_precompile.rb
|
40
|
+
- lib/capistrano-local-precompile.rb
|
41
41
|
- spec/configuration_spec.rb
|
42
42
|
- spec/integration_spec.rb
|
43
43
|
- spec/spec_helper.rb
|
@@ -51,17 +51,17 @@ require_paths:
|
|
51
51
|
- lib
|
52
52
|
required_ruby_version: !ruby/object:Gem::Requirement
|
53
53
|
requirements:
|
54
|
-
- -
|
54
|
+
- - '>='
|
55
55
|
- !ruby/object:Gem::Version
|
56
56
|
version: '0'
|
57
57
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
58
58
|
requirements:
|
59
|
-
- -
|
59
|
+
- - '>='
|
60
60
|
- !ruby/object:Gem::Version
|
61
61
|
version: '0'
|
62
62
|
requirements: []
|
63
63
|
rubyforge_project:
|
64
|
-
rubygems_version: 2.
|
64
|
+
rubygems_version: 2.0.14.1
|
65
65
|
signing_key:
|
66
66
|
specification_version: 4
|
67
67
|
summary: Local asset-pipeline precompilation for Capstrano
|