capistrano-faster-rails 1.1.0 → 1.1.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/capistrano-faster-rails.gemspec +1 -1
- data/lib/capistrano/tasks/faster-rails.rake +2 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b25380f6cda59d575b9e7e40bff508a0e4d19c59f0fd305bba15ca3a5f01d794
|
4
|
+
data.tar.gz: 3267c1c789360c0119aaaa750581c31b1180a7cdabf7a311aa915c3c98b13d88
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 95eb47697d2869ecc56f5b48e594a176416b038fb401209eda9b72011dd622403bcba86d023e54e2dc8a7382bd6409391d03d686dcc1f6d925786d58c4aed955
|
7
|
+
data.tar.gz: 6e2eeed56352561fb6c4a769ebfa410d30043321d7be0c7fc689e4da648eb6b65e87e9d75886bc4929464c3f38e9dc98512bdf17dcca200653abfa119c2e0e32
|
@@ -40,7 +40,7 @@ namespace :deploy do
|
|
40
40
|
previous_revision = fetch(:previous_revision) rescue ''
|
41
41
|
current_revision = fetch(:current_revision)
|
42
42
|
previous_revision.to_s.empty? ||
|
43
|
-
!capture("cd #{repo_path} && git diff --name-only #{previous_revision} #{current_revision} -- #{asset_files}").empty?
|
43
|
+
!capture("cd #{repo_path} && git diff --name-only #{previous_revision} #{current_revision} -- #{asset_files} | head -n 3").empty?
|
44
44
|
}
|
45
45
|
if asset_changed
|
46
46
|
within(release_path) do
|
@@ -84,6 +84,7 @@ namespace :bundler do
|
|
84
84
|
execute :bundle, :install, *options
|
85
85
|
else
|
86
86
|
log "[bundler:install] Skip `bundle install` (Gemfile and Gemfile.lock not changed)"
|
87
|
+
execute :mkdir, "-p", ".bundle"
|
87
88
|
execute :echo, %Q['BUNDLE_FROZEN: "true"\nBUNDLE_WITHOUT: "development:test"'], '>>', '.bundle/config'
|
88
89
|
end
|
89
90
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: capistrano-faster-rails
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.1.
|
4
|
+
version: 1.1.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- lifuzhong
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2024-10-16 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -80,7 +80,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
80
80
|
- !ruby/object:Gem::Version
|
81
81
|
version: '0'
|
82
82
|
requirements: []
|
83
|
-
rubygems_version: 3.
|
83
|
+
rubygems_version: 3.4.10
|
84
84
|
signing_key:
|
85
85
|
specification_version: 4
|
86
86
|
summary: Speedup deploy Ruby On Rails project when using capistrano
|