capistrano-bundler 1.2.0 → 1.3.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
  SHA1:
3
- metadata.gz: dad2fda55a7ff2ba45994bdb2006b580c6eb02b9
4
- data.tar.gz: 59d5e76aa5c93e97ef4099c0cb88197851267869
3
+ metadata.gz: 9b1c1916ab0e176f784186ee7ea028c18b0559c1
4
+ data.tar.gz: ecbe8ef7523ca08be476d843f15e49ca87521265
5
5
  SHA512:
6
- metadata.gz: f34798db9356c5c5ea4665c20bc297a9c6a373bd3277a2051543bf855e84e032a98db11f202b0b036d44e7dccc65a4f46d660eed2acdee9ea683a5188129780a
7
- data.tar.gz: fdc68e85d87d94b2a7d1a281c5cbc5978f3e4d69459ab326bcfd852bf5c7f8019e04fe69d9f734d1d65cdeb75b7d3f4fe4fc24571dd0f00dfbfeb0c7b40e8c7c
6
+ metadata.gz: 77a72d5a04ae297c6e9197c0e5b9bd12eb36df53b378d7c30260e9c237df941a0665518125af959697591f71d6e05eaecd22bff3f03d72e5e3be2795ab065d02
7
+ data.tar.gz: 05d8115080a4bc9280d67995ef6a7e64bfbea7be550988c8e340ec80907a687d758843bf18edb6c579f77886d66b77a7eaccdf4490a24fb2581c5dc2d7f22f77
data/.gitignore CHANGED
@@ -1 +1,2 @@
1
1
  *.gem
2
+ Gemfile.lock
@@ -0,0 +1,6 @@
1
+ sudo: false
2
+ language: ruby
3
+ rvm:
4
+ - 2.3.3
5
+ before_install: gem install bundler -v '~> 1.14' --conservative
6
+ before_script: bundle exec danger
@@ -2,9 +2,25 @@
2
2
 
3
3
  * Your contribution here!
4
4
 
5
+ # [1.3.0][] (22 Sep 2017)
6
+
7
+ Breaking changes
8
+
9
+ * None
10
+
11
+ Added
12
+
13
+ * Set all variables in `load:defaults` task so they are recognised as valid Capistrano settings when using `doctor:variables` and ensure defaults for `bundle_env_variables` and `bundle_clean_options` are set once in the same place as the other defaults.
14
+
5
15
  # [1.2.0][] (1 Oct 2016)
6
16
 
7
- * Added a `bundle clean` task. There are no default hooks for it.
17
+ Breaking changes
18
+
19
+ * None
20
+
21
+ Added
22
+
23
+ * A `bundle clean` task. There are no default hooks for it.
8
24
  * Use `bundle check` to check if we can skip `bundle install`
9
25
  * Run `bundle:install` on rollback (`deploy:reverted`)
10
26
  * You can now `require "capistrano/bundler/tasks"` to load the tasks only without the hooks
@@ -41,5 +57,6 @@
41
57
 
42
58
  Initial release
43
59
 
44
- [Unreleased]: https://github.com/capistrano/bundler/compare/v1.2.0...HEAD
60
+ [Unreleased]: https://github.com/capistrano/bundler/compare/v1.3.0...HEAD
61
+ [1.3.0]: https://github.com/capistrano/bundler/compare/v1.2.0...v1.3.0
45
62
  [1.2.0]: https://github.com/capistrano/bundler/compare/v1.1.4...v1.2.0
@@ -0,0 +1 @@
1
+ danger.import_dangerfile(github: "capistrano/danger")
data/README.md CHANGED
@@ -10,11 +10,11 @@ It also prefixes certain binaries to use `bundle exec`.
10
10
 
11
11
  ## Installation
12
12
 
13
- Add these lines to your application's Gemfile:
13
+ Add these lines to your application's Gemfile **[Recommended]**:
14
14
 
15
15
  ```ruby
16
- gem 'capistrano', '~> 3.1'
17
- gem 'capistrano-bundler', '~> 1.1.2'
16
+ gem 'capistrano', '~> 3.6'
17
+ gem 'capistrano-bundler', '~> 1.3'
18
18
  ```
19
19
 
20
20
  And then execute:
data/Rakefile CHANGED
@@ -1 +1,4 @@
1
1
  require "bundler/gem_tasks"
2
+
3
+ # Do nothing by default
4
+ task :default
@@ -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.2.0'
7
+ spec.version = '1.3.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}
@@ -21,5 +21,6 @@ Gem::Specification.new do |spec|
21
21
  spec.add_dependency 'sshkit', '~> 1.2'
22
22
 
23
23
  spec.add_development_dependency 'bundler', '~> 1.3'
24
+ spec.add_development_dependency 'danger'
24
25
  spec.add_development_dependency 'rake'
25
26
  end
@@ -24,7 +24,7 @@ namespace :bundler do
24
24
  task :install do
25
25
  on fetch(:bundle_servers) do
26
26
  within release_path do
27
- with fetch(:bundle_env_variables, {}) do
27
+ with fetch(:bundle_env_variables) 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)
@@ -52,12 +52,12 @@ namespace :bundler do
52
52
  end
53
53
  end
54
54
 
55
- desc "Remove unused gems intalled by bundler"
55
+ desc "Remove unused gems installed by bundler"
56
56
  task :clean do
57
57
  on fetch(:bundle_servers) do
58
58
  within release_path do
59
- with fetch(:bundle_env_variables, {}) do
60
- execute :bundle, :clean, fetch(:bundle_clean_options, "")
59
+ with fetch(:bundle_env_variables) do
60
+ execute :bundle, :clean, fetch(:bundle_clean_options)
61
61
  end
62
62
  end
63
63
  end
@@ -74,8 +74,13 @@ namespace :load do
74
74
 
75
75
  set :bundle_roles, :all
76
76
  set :bundle_servers, -> { release_roles(fetch(:bundle_roles)) }
77
+ set :bundle_binstubs, nil
78
+ set :bundle_gemfile, nil
77
79
  set :bundle_path, -> { shared_path.join('bundle') }
78
80
  set :bundle_without, %w{development test}.join(' ')
79
81
  set :bundle_flags, '--deployment --quiet'
82
+ set :bundle_jobs, nil
83
+ set :bundle_env_variables, {}
84
+ set :bundle_clean_options, ""
80
85
  end
81
86
  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.2.0
4
+ version: 1.3.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: 2016-10-01 00:00:00.000000000 Z
13
+ date: 2017-09-22 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: capistrano
@@ -54,6 +54,20 @@ dependencies:
54
54
  - - "~>"
55
55
  - !ruby/object:Gem::Version
56
56
  version: '1.3'
57
+ - !ruby/object:Gem::Dependency
58
+ name: danger
59
+ requirement: !ruby/object:Gem::Requirement
60
+ requirements:
61
+ - - ">="
62
+ - !ruby/object:Gem::Version
63
+ version: '0'
64
+ type: :development
65
+ prerelease: false
66
+ version_requirements: !ruby/object:Gem::Requirement
67
+ requirements:
68
+ - - ">="
69
+ - !ruby/object:Gem::Version
70
+ version: '0'
57
71
  - !ruby/object:Gem::Dependency
58
72
  name: rake
59
73
  requirement: !ruby/object:Gem::Requirement
@@ -78,7 +92,9 @@ extensions: []
78
92
  extra_rdoc_files: []
79
93
  files:
80
94
  - ".gitignore"
95
+ - ".travis.yml"
81
96
  - CHANGELOG.md
97
+ - Dangerfile
82
98
  - Gemfile
83
99
  - LICENSE
84
100
  - README.md
@@ -110,7 +126,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
110
126
  version: '0'
111
127
  requirements: []
112
128
  rubyforge_project:
113
- rubygems_version: 2.6.6
129
+ rubygems_version: 2.6.13
114
130
  signing_key:
115
131
  specification_version: 4
116
132
  summary: Bundler support for Capistrano 3.x