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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: b4ed2a6d1f21699399e6a65cc8493a4d56e16672235bd22d8b72c49d21aa2740
4
- data.tar.gz: fbd80c284fa8602a2da858e0a1a56044a7baa37e324588420cd9c7b79e717f6b
3
+ metadata.gz: b25380f6cda59d575b9e7e40bff508a0e4d19c59f0fd305bba15ca3a5f01d794
4
+ data.tar.gz: 3267c1c789360c0119aaaa750581c31b1180a7cdabf7a311aa915c3c98b13d88
5
5
  SHA512:
6
- metadata.gz: 1e4bccf8693e0545413f6b1219d2fbb8dbca7bdee435326a6eac57cac7370b68320279f9c83fecfb3fc4e945bf89ca5cfcfe80026fad23444cf7e2bfed9264f1
7
- data.tar.gz: 4ada2ad4a76d535a8856d28a9a9e72bb66303bac813f928dc77a648554890fe874e2eead9e9523f49893d5107374c3f008845ab62c143cc43f2ef7bbd002c7ff
6
+ metadata.gz: 95eb47697d2869ecc56f5b48e594a176416b038fb401209eda9b72011dd622403bcba86d023e54e2dc8a7382bd6409391d03d686dcc1f6d925786d58c4aed955
7
+ data.tar.gz: 6e2eeed56352561fb6c4a769ebfa410d30043321d7be0c7fc689e4da648eb6b65e87e9d75886bc4929464c3f38e9dc98512bdf17dcca200653abfa119c2e0e32
@@ -4,7 +4,7 @@ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
4
4
 
5
5
  Gem::Specification.new do |spec|
6
6
  spec.name = "capistrano-faster-rails"
7
- spec.version = "1.1.0"
7
+ spec.version = "1.1.2"
8
8
  spec.authors = ["lifuzhong"]
9
9
  spec.email = ["lifuzho@126.com"]
10
10
 
@@ -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.0
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: 2021-11-24 00:00:00.000000000 Z
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.2.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