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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 6bc31c81dbbf351fcb3670d1a496b65815149a0e06ef61ad0b80c0700e8183f5
4
- data.tar.gz: 9ffe2b98d9601f4b44634aab0d95076abdfc645c0746548ff32ca7a2518578ef
3
+ metadata.gz: 8aabbac9cbd5d4ce1c8b7201690802466c79f380b5d98535e9c8a3201773a5e8
4
+ data.tar.gz: bed5187c564efca3b4e50f8976cc1c097dda9e3015dd0bbf91d6e8a445cf5074
5
5
  SHA512:
6
- metadata.gz: 79864388a7142e25ecdcfffde243c61bde9702f08a276c7b99a3d343c1f2ff2a70ee20e0a68f7fed7782ca9235b5c4b371fd20905f8ef3c20f89eec5dc9246c4
7
- data.tar.gz: 3a0044c57cbc5e56e6ac3b92f716b5ec2f497d539dce256cbab0e7d71093e04747f06354fc30ea71a204c3187262004c16fc5e8b46c0e67d3df3559ec880ca7b
6
+ metadata.gz: 680364a17d2971034fdcd6e998060433fa23db9572fc9718f364b73d24620619bec3b6c3d004e73f9e0b4b7d335e5c244a84f1dc592057ec7ce2079d7e1ad9dd
7
+ data.tar.gz: 7ecf151b6799902e90850d95102fed634221e53efa2b39a882e61fc648690b784941868618f00de6619d6dd9c08bdd8e5e2949c2fee7294da0af56ca324bd2fd
@@ -1,7 +1,17 @@
1
- ## Unreleased
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
- - Upgrade rake dependency to ~>13.0
14
+ - Add rake as a runtime dependency
5
15
 
6
16
  ## [0.6.0] - 2020-01-13
7
17
  ### Added
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- capistrano-opscomplete (0.6.1)
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.2)
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.1.1)
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
- return fetch(:opscomplete_ruby_version)
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
- return capture(:cat, release_ruby_version_file_path)
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
- return File.read('.ruby-version').strip
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 |task_name, args|
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
 
@@ -1,5 +1,5 @@
1
1
  module Capistrano
2
2
  module Opscomplete
3
- VERSION = '0.6.1'.freeze
3
+ VERSION = '0.6.2'.freeze
4
4
  end
5
5
  end
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.1
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-04-16 00:00:00.000000000 Z
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.1.2
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.
@@ -1,10 +0,0 @@
1
- namespace :deploy do
2
- desc 'Show deployed revision'
3
- task :revision do
4
- on roles :app do
5
- within current_path do
6
- info "Revision: #{capture(:cat, 'REVISION')}"
7
- end
8
- end
9
- end
10
- end