capistrano-exfel 0.0.19 → 0.0.20
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/lib/capistrano/exfel/version.rb +1 -1
- data/lib/capistrano/tasks/assets.rake +5 -14
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 863c072eaf83bac26e4f01edcfaafbfade077c2a
|
4
|
+
data.tar.gz: e601f8573118b9f59a8508d1a90d331d4e6ad67d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ea8a33d892bb74dd3178b90c2224adb418a1ae63c6c7e30ada574d503cd341d7accb59ae4431afd469a13e7c5994bac16180a2dc6ffa1fe1cefb31bb61729c49
|
7
|
+
data.tar.gz: 87a187411b66dc8ed1f677d3fa7327068d3b63d84e41875a95b0bebf1234fd8a32ed0aa828624439d0bef20231c13f3da857fce640bc516de2cd8c1412b252f4
|
data/README.md
CHANGED
@@ -1,20 +1,11 @@
|
|
1
1
|
# avoid asset precompilation in dev environment
|
2
2
|
|
3
|
-
Rake::Task['deploy:
|
3
|
+
Rake::Task['deploy:compile_assets'].clear_actions
|
4
4
|
namespace :deploy do
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
with rails_env: fetch(:rails_env), rails_groups: fetch(:rails_assets_groups) do
|
10
|
-
if %w[production test].include?(fetch(:rails_env).to_s)
|
11
|
-
execute :rake, 'assets:precompile'
|
12
|
-
else
|
13
|
-
info 'Skipping asset pre-compilation in dev environment'
|
14
|
-
end
|
15
|
-
end
|
16
|
-
end
|
17
|
-
end
|
5
|
+
task :compile_assets => [:set_rails_env] do
|
6
|
+
if %w[production test].include?(fetch(:rails_env).to_s)
|
7
|
+
invoke 'deploy:assets:precompile'
|
8
|
+
invoke 'deploy:assets:backup_manifest'
|
18
9
|
end
|
19
10
|
end
|
20
11
|
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: capistrano-exfel
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.20
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Luis Maia
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2017-
|
12
|
+
date: 2017-07-29 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: bundler
|