capistrano-bundler 1.5.0 → 1.6.0

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: 45bcc529d057f88a5c5a050e5bf42f80eb6d58d4c6374b1b4bf90de61ff019cf
4
- data.tar.gz: f916d9aa33e2d792fc9efb777ee3894bf111bb0c1d3f17aeec20b773ec67e8c6
3
+ metadata.gz: 780794935cf4421e6c6ca628207e7fa7fca0f42c8f856727b4ca26acc410246a
4
+ data.tar.gz: d7bf7372a9def4a6d90525f2e09292908b0a1390303e1688ec69024e02ad832c
5
5
  SHA512:
6
- metadata.gz: 2722aca67da82efb9e6974b93d5b59a8d39da64259a6abb64ce8de9ef477ad7342956a192376ac8aefeea284c9b23da29bf055444581a686af04dbdec647ac43
7
- data.tar.gz: 0e20f66e8568d6fe6f0dd6696aa374291aede99ca6b9b1c1b48f950e5db96ec1dbdd924d09e3aac937186efba44f45f4bc4f4f56aa268c926db2a82fd816500a
6
+ metadata.gz: 03262ebc4a0d68aa83cc12cc42a620ac76c0872753d5625b37e854551b7776f4d1da575f9bec8407b7496c37b43ac73128fb4ed4ecf2220a4714ebfefe5dc09b
7
+ data.tar.gz: 675812f770b249ce6e3c010796713b422d6f9bf9866dd2b1c7bb7af7fb9931cdde5720aa98cedd40b5efceccb2e06d8c68c0278797f61ad7ddfc42caeef0a88a
@@ -2,6 +2,10 @@
2
2
 
3
3
  * Your contribution here!
4
4
 
5
+ # [1.6.0][] (2 Jul 2019)
6
+
7
+ * Added `bundle_check_before_install` option to allow bypassing the `bundle install test` in the `bundler:install` task.
8
+
5
9
  # [1.5.0][] (23 Dec 2018)
6
10
 
7
11
  Changes to default behavior
@@ -77,7 +81,8 @@ Added
77
81
 
78
82
  Initial release
79
83
 
80
- [Unreleased]: https://github.com/capistrano/bundler/compare/v1.5.0...HEAD
84
+ [Unreleased]: https://github.com/capistrano/bundler/compare/v1.6.0...HEAD
85
+ [1.6.0]: https://github.com/capistrano/bundler/compare/v1.5.0...v1.6.0
81
86
  [1.5.0]: https://github.com/capistrano/bundler/compare/v1.4.0...v1.5.0
82
87
  [1.4.0]: https://github.com/capistrano/bundler/compare/v1.3.0...v1.4.0
83
88
  [1.3.0]: https://github.com/capistrano/bundler/compare/v1.2.0...v1.3.0
data/README.md CHANGED
@@ -14,7 +14,7 @@ Add these lines to your application's Gemfile **[Recommended]**:
14
14
 
15
15
  ```ruby
16
16
  gem 'capistrano', '~> 3.6'
17
- gem 'capistrano-bundler', '~> 1.5'
17
+ gem 'capistrano-bundler', '~> 1.6'
18
18
  ```
19
19
 
20
20
  And then execute:
@@ -80,6 +80,7 @@ set :bundle_without, %w{development test}.join(' ') # this is defaul
80
80
  set :bundle_flags, '--deployment --quiet' # this is default
81
81
  set :bundle_env_variables, {} # this is default
82
82
  set :bundle_clean_options, "" # this is default. Use "--dry-run" if you just want to know what gems would be deleted, without actually deleting them
83
+ set :bundle_check_before_install, true # default: true. Set this to false to bypass running `bundle check` before executing `bundle install`
83
84
  ```
84
85
 
85
86
  You can parallelize the installation of gems with bundler's jobs feature.
@@ -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-bundler'
7
- spec.version = '1.5.0'
7
+ spec.version = '1.6.0'
8
8
  spec.authors = ['Tom Clements', 'Lee Hambley', 'Kir Shatrov']
9
9
  spec.email = ['seenmyfate@gmail.com', 'lee.hambley@gmail.com', 'shatrov@me.com']
10
10
  spec.description = %q{Bundler support for Capistrano 3.x}
@@ -28,7 +28,8 @@ namespace :bundler do
28
28
  options = []
29
29
  options << "--gemfile #{fetch(:bundle_gemfile)}" if fetch(:bundle_gemfile)
30
30
  options << "--path #{fetch(:bundle_path)}" if fetch(:bundle_path)
31
- if test(:bundle, :check, *options)
31
+
32
+ if fetch(:bundle_check_before_install) && test(:bundle, :check, *options)
32
33
  info "The Gemfile's dependencies are satisfied, skipping installation"
33
34
  else
34
35
  options << "--binstubs #{fetch(:bundle_binstubs)}" if fetch(:bundle_binstubs)
@@ -84,5 +85,6 @@ namespace :load do
84
85
  set :bundle_jobs, 4
85
86
  set :bundle_env_variables, {}
86
87
  set :bundle_clean_options, ""
88
+ set :bundle_check_before_install, true
87
89
  end
88
90
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: capistrano-bundler
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.5.0
4
+ version: 1.6.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tom Clements
@@ -10,7 +10,7 @@ authors:
10
10
  autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
- date: 2018-12-23 00:00:00.000000000 Z
13
+ date: 2019-07-02 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: capistrano
@@ -111,8 +111,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
111
111
  - !ruby/object:Gem::Version
112
112
  version: '0'
113
113
  requirements: []
114
- rubyforge_project:
115
- rubygems_version: 2.7.8
114
+ rubygems_version: 3.0.4
116
115
  signing_key:
117
116
  specification_version: 4
118
117
  summary: Bundler support for Capistrano 3.x