capistrano-opscomplete 0.6.1 → 0.6.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +12 -2
- data/Gemfile.lock +3 -3
- data/lib/capistrano/dsl/opscomplete.rb +4 -4
- data/lib/capistrano/opscomplete/supervisor.rake +2 -2
- data/lib/capistrano/opscomplete/version.rb +1 -1
- metadata +3 -4
- data/lib/capistrano/opscomplete/deploy.rake +0 -10
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 8aabbac9cbd5d4ce1c8b7201690802466c79f380b5d98535e9c8a3201773a5e8
|
4
|
+
data.tar.gz: bed5187c564efca3b4e50f8976cc1c097dda9e3015dd0bbf91d6e8a445cf5074
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 680364a17d2971034fdcd6e998060433fa23db9572fc9718f364b73d24620619bec3b6c3d004e73f9e0b4b7d335e5c244a84f1dc592057ec7ce2079d7e1ad9dd
|
7
|
+
data.tar.gz: 7ecf151b6799902e90850d95102fed634221e53efa2b39a882e61fc648690b784941868618f00de6619d6dd9c08bdd8e5e2949c2fee7294da0af56ca324bd2fd
|
data/CHANGELOG.md
CHANGED
@@ -1,7 +1,17 @@
|
|
1
|
-
##
|
1
|
+
## [0.6.2] - 2020-07-23
|
2
|
+
|
3
|
+
### Fixed
|
4
|
+
- rbenv-build changed behaviour of `--list` ([#20](https://github.com/makandra/capistrano-opscomplete/issues/20))
|
5
|
+
|
6
|
+
### Changed
|
7
|
+
- Bumped rack dependency from 2.1.1 to 2.2.3
|
8
|
+
|
9
|
+
## [0.6.1] - 2020-04-16
|
10
|
+
### Added
|
11
|
+
- Use Ruby 2.6 for development
|
2
12
|
|
3
13
|
### Changed
|
4
|
-
-
|
14
|
+
- Add rake as a runtime dependency
|
5
15
|
|
6
16
|
## [0.6.0] - 2020-01-13
|
7
17
|
### Added
|
data/Gemfile.lock
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
capistrano-opscomplete (0.6.
|
4
|
+
capistrano-opscomplete (0.6.2)
|
5
5
|
capistrano (>= 3.0, < 4.0.0)
|
6
6
|
rake
|
7
7
|
|
@@ -17,7 +17,7 @@ GEM
|
|
17
17
|
rake (>= 10.0.0)
|
18
18
|
sshkit (>= 1.9.0)
|
19
19
|
concurrent-ruby (1.1.6)
|
20
|
-
i18n (1.8.
|
20
|
+
i18n (1.8.4)
|
21
21
|
concurrent-ruby (~> 1.0)
|
22
22
|
jaro_winkler (1.5.4)
|
23
23
|
makandra-rubocop (4.2.0)
|
@@ -29,7 +29,7 @@ GEM
|
|
29
29
|
parallel (1.19.1)
|
30
30
|
parser (2.7.0.2)
|
31
31
|
ast (~> 2.4.0)
|
32
|
-
rack (2.
|
32
|
+
rack (2.2.3)
|
33
33
|
rainbow (3.0.0)
|
34
34
|
rake (13.0.1)
|
35
35
|
rubocop (0.76.0)
|
@@ -24,17 +24,17 @@ module Capistrano
|
|
24
24
|
# 1) Get version from capistrano configuration (highest precedence, 'override')
|
25
25
|
if fetch(:opscomplete_ruby_version)
|
26
26
|
debug("Using version from :opscomplete_ruby_version setting: #{fetch(:opscomplete_ruby_version)}.")
|
27
|
-
|
27
|
+
fetch(:opscomplete_ruby_version)
|
28
28
|
|
29
29
|
# 2) Get version from .ruby-version in release dir (after deploy:updating, before deploy:updated)
|
30
30
|
elsif test("[ -f #{release_ruby_version_file_path} ]")
|
31
31
|
debug("Using version from server's release_dir/.ruby-version file: #{capture(:cat, release_ruby_version_file_path)}")
|
32
|
-
|
32
|
+
capture(:cat, release_ruby_version_file_path)
|
33
33
|
|
34
34
|
# 3) Get version from local checkout/cwd
|
35
35
|
elsif File.readable?('.ruby-version')
|
36
36
|
debug("Using version from local (cwd) .ruby-version file: #{File.read('.ruby-version').strip}")
|
37
|
-
|
37
|
+
File.read('.ruby-version').strip
|
38
38
|
|
39
39
|
# FAIL: We have no idea which version to use
|
40
40
|
else
|
@@ -65,7 +65,7 @@ module Capistrano
|
|
65
65
|
end
|
66
66
|
|
67
67
|
def rbenv_installable_rubies
|
68
|
-
rbenv_installable_rubies = capture(:rbenv, :install, '--list').split("\n")
|
68
|
+
rbenv_installable_rubies = capture(:rbenv, :install, '--list-all').split("\n")
|
69
69
|
rbenv_installable_rubies.map!(&:strip)
|
70
70
|
rbenv_installable_rubies.delete('Available version:')
|
71
71
|
rbenv_installable_rubies
|
@@ -27,7 +27,7 @@ namespace :opscomplete do
|
|
27
27
|
end
|
28
28
|
end
|
29
29
|
end
|
30
|
-
|
30
|
+
|
31
31
|
# Can be used for example to quiet sidekiq with a task like this:
|
32
32
|
#
|
33
33
|
# namespace :sidekiq do
|
@@ -41,7 +41,7 @@ namespace :opscomplete do
|
|
41
41
|
# end
|
42
42
|
# end
|
43
43
|
desc 'Sends the signal (e.g. USR1 or TSTP) to all programs or if specified to program_name.'
|
44
|
-
task :signal_procs, :signal, :program_name do |
|
44
|
+
task :signal_procs, :signal, :program_name do |_task_name, args|
|
45
45
|
signal = args.fetch(:signal)
|
46
46
|
program_name = args.fetch(:program_name, nil)
|
47
47
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: capistrano-opscomplete
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.6.
|
4
|
+
version: 0.6.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Makandra Operations
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-
|
11
|
+
date: 2020-07-23 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: makandra-rubocop
|
@@ -91,7 +91,6 @@ files:
|
|
91
91
|
- capistrano-opscomplete.gemspec
|
92
92
|
- lib/capistrano/dsl/opscomplete.rb
|
93
93
|
- lib/capistrano/opscomplete.rb
|
94
|
-
- lib/capistrano/opscomplete/deploy.rake
|
95
94
|
- lib/capistrano/opscomplete/ruby.rake
|
96
95
|
- lib/capistrano/opscomplete/supervisor.rake
|
97
96
|
- lib/capistrano/opscomplete/version.rb
|
@@ -118,7 +117,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
118
117
|
- !ruby/object:Gem::Version
|
119
118
|
version: 2.0.1
|
120
119
|
requirements: []
|
121
|
-
rubygems_version: 3.
|
120
|
+
rubygems_version: 3.0.3
|
122
121
|
signing_key:
|
123
122
|
specification_version: 4
|
124
123
|
summary: Capistrano tasks for easy deployment to a makandra opscomplete environment.
|