capistrano-opscomplete 0.4.0 → 0.6.3

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
- SHA1:
3
- metadata.gz: 0743d3bbb02bac9362a1729bf5821a4d4a0bd59e
4
- data.tar.gz: b045d4e90dd46e866c4b4647ebefff9a74e69d35
2
+ SHA256:
3
+ metadata.gz: 8ab19048934d110250b8fafc444f686dba2467f8d3dec1a70cfebe206f2fb801
4
+ data.tar.gz: 49fd120dc3b325fe7356eb1eb7200030e16bb1077a223b6570b53d1f8a1d2b9b
5
5
  SHA512:
6
- metadata.gz: 287c4b000c0de702f2055bd29cf94a37d4578ea730cf2676c8f2f42b12dd77be6edcee232b33b0a0fc2f5716c36e3b4393199d444ea49898f2b526db91e7f93b
7
- data.tar.gz: 823a06e3d2f3f533e3a9d70f1ee84eea7719d10a8eb90dcd89fa86156776dee71d265809ae50ac15ab8b97645d6c281966c8b2dc03373cd0155e0465eca5ea70
6
+ metadata.gz: 1c287a757274a0961a0038b0f20cc1d145ae96645b063565b85cbe4742cb04c554adf2a4ea5ff5a663d7d4c16e9ee54f929af61f49db156942ab78e14d1ed94b
7
+ data.tar.gz: cc172a2a4c4c14f053096e1a94bd4c32b711fbeeb1ac6bcbf1ace135c0afe515b1251b712d47d66f71a3ccf1a8a5c5b94e2d737cafdab712e3497d8738bbe90a
@@ -0,0 +1 @@
1
+ 2.6.6
@@ -1,3 +1,33 @@
1
+ ## [0.6.3] - 2020-07-23
2
+
3
+ ### Fixed
4
+ - regression after ([#18](https://github.com/makandra/capistrano-opscomplete/issues/18)) was merged
5
+
6
+ ## [0.6.2] - 2020-07-23
7
+
8
+ ### Fixed
9
+ - rbenv-build changed behaviour of `--list` ([#20](https://github.com/makandra/capistrano-opscomplete/issues/20))
10
+
11
+ ### Changed
12
+ - Bumped rack dependency from 2.1.1 to 2.2.3
13
+
14
+ ## [0.6.1] - 2020-04-16
15
+ ### Added
16
+ - Use Ruby 2.6 for development
17
+
18
+ ### Changed
19
+ - Add rake as a runtime dependency
20
+
21
+ ## [0.6.0] - 2020-01-13
22
+ ### Added
23
+
24
+ - Support for Procfiles/supervisord. See [this makandra card](https://makandracards.com/opscomplete/67829-procfile-support) for more information.
25
+
26
+ ## [0.5.0] - 2019-12-09
27
+ ### Changed
28
+ - Install the bundler version that was used to create the `Gemfile.lock` (`BUNDLED WITH`) if it is present. Can be overwritten by `set :bundler_version`.
29
+ - Reword some info output
30
+
1
31
  ## [0.4.0] - 2019-09-23
2
32
  ### Added
3
33
  - ruby-build now honors the :tmp_dir setting
@@ -6,7 +36,6 @@
6
36
  - Allow using --force when installing a gem e.g. overwrite binaries
7
37
  - Quote some shell arguments
8
38
 
9
-
10
39
  ## [0.3.0] - 2019-04-05
11
40
  ### Added
12
41
  - You can now specify the rubygems and bundler version to be installed. (#4)
@@ -35,6 +64,8 @@
35
64
  ### Added
36
65
  - Initial release.
37
66
 
67
+ [0.6.0]: https://github.com/makandra/capistrano-opscomplete/compare/v0.5.0...v0.6.0
68
+ [0.5.0]: https://github.com/makandra/capistrano-opscomplete/compare/v0.4.0...v0.5.0
38
69
  [0.4.0]: https://github.com/makandra/capistrano-opscomplete/compare/v0.3.0...v0.4.0
39
70
  [0.3.0]: https://github.com/makandra/capistrano-opscomplete/compare/v0.2.0...v0.3.0
40
71
  [0.2.0]: https://github.com/makandra/capistrano-opscomplete/compare/v0.1.0...v0.2.0
@@ -0,0 +1,60 @@
1
+ PATH
2
+ remote: .
3
+ specs:
4
+ capistrano-opscomplete (0.6.3)
5
+ capistrano (>= 3.0, < 4.0.0)
6
+ rake
7
+
8
+ GEM
9
+ remote: https://rubygems.org/
10
+ specs:
11
+ airbrussh (1.4.0)
12
+ sshkit (>= 1.6.1, != 1.7.0)
13
+ ast (2.4.0)
14
+ capistrano (3.11.2)
15
+ airbrussh (>= 1.0.0)
16
+ i18n
17
+ rake (>= 10.0.0)
18
+ sshkit (>= 1.9.0)
19
+ concurrent-ruby (1.1.6)
20
+ i18n (1.8.4)
21
+ concurrent-ruby (~> 1.0)
22
+ jaro_winkler (1.5.4)
23
+ makandra-rubocop (4.2.0)
24
+ rubocop (~> 0.76.0)
25
+ rubocop-rails (~> 2.3.2)
26
+ net-scp (2.0.0)
27
+ net-ssh (>= 2.6.5, < 6.0.0)
28
+ net-ssh (5.2.0)
29
+ parallel (1.19.1)
30
+ parser (2.7.0.2)
31
+ ast (~> 2.4.0)
32
+ rack (2.2.3)
33
+ rainbow (3.0.0)
34
+ rake (13.0.1)
35
+ rubocop (0.76.0)
36
+ jaro_winkler (~> 1.5.1)
37
+ parallel (~> 1.10)
38
+ parser (>= 2.6)
39
+ rainbow (>= 2.2.2, < 4.0)
40
+ ruby-progressbar (~> 1.7)
41
+ unicode-display_width (>= 1.4.0, < 1.7)
42
+ rubocop-rails (2.3.2)
43
+ rack (>= 1.1)
44
+ rubocop (>= 0.72.0)
45
+ ruby-progressbar (1.10.1)
46
+ sshkit (1.20.0)
47
+ net-scp (>= 1.1.2)
48
+ net-ssh (>= 2.8.0)
49
+ unicode-display_width (1.6.0)
50
+
51
+ PLATFORMS
52
+ ruby
53
+
54
+ DEPENDENCIES
55
+ bundler (~> 2)
56
+ capistrano-opscomplete!
57
+ makandra-rubocop (~> 4)
58
+
59
+ BUNDLED WITH
60
+ 2.1.4
data/README.md CHANGED
@@ -28,13 +28,45 @@ Verify the gem was installed and tasks are available:
28
28
 
29
29
  $ bundle exec cap -T opscomplete
30
30
 
31
- Now, add some [hooks](#using-capistrano-hooks) in your capistrano configuration. An example configuration could look like this:
31
+ Now, add some [hooks](#using-capistrano-hooks) in your capistrano configuration (e.g. `deploy.rb`).
32
+ An example configuration could look like this:
32
33
 
33
34
  ```ruby
34
35
  # After unpacking your release, before bundling, compiling assets, ...
35
36
  after 'deploy:updating', 'opscomplete:ruby:ensure'
36
37
  ```
37
38
 
39
+ and in case you enabled [`Procfile support`](https://makandracards.com/opscomplete/67829-procfile-support) you can use the following tasks:
40
+
41
+ opscomplete:supervisor:gen_config
42
+ opscomplete:supervisor:restart_procs
43
+ opscomplete:supervisor:stop_procs
44
+ opscomplete:supervisor:signal_procs
45
+
46
+ e.g. like this:
47
+
48
+ ```ruby
49
+ # Update and Restart supervisor config
50
+ after 'deploy:updating', 'opscomplete:supervisor:gen_config'
51
+ after 'deploy:published', 'opscomplete:supervisor:restart_procs'
52
+ ```
53
+
54
+ Using the default configuration, these tasks will run on all Servers where role is `:app` using the Procfile called `Procfile`.
55
+ To change the role where these tasks will get executed, set `:procfile_role` in e.g. your `config/deploy.rb` like:
56
+
57
+ ```ruby
58
+ # Use supervisor tasks only for sidekiq role
59
+ set :procfile_role, :sidekiq
60
+ ```
61
+
62
+ If you want to run different Procfiles on different servers, you can set the `:procfile` property in your `config/deploy/${env}.rb`:
63
+
64
+ ```
65
+ # In this example, `Procfile` will get used for supervisor on srv2.example.com and `Procfile.sidekiq` for supervisor on srv1.example.com.
66
+ server "srv1.example.com", user: "deploy-example_s", roles: %w{app web}, procfile: "Procfile.sidekiq"
67
+ server "srv2.example.com", user: "deploy-example_s", roles: %w{app web}
68
+ ```
69
+
38
70
  ## Usage
39
71
 
40
72
  If you encounter any errors, please make sure you have the newest version of the capistrano-opscomplete gem installed. Don't hesitate to contact the OpsComplete for Ruby team for further support.
@@ -75,7 +107,8 @@ More specifically this task will:
75
107
  3) A file in the current working directory of your local checkout (e.g. `/home/user/code/myapp/.ruby-version`)
76
108
  - If the desired version is not installed, it checks if it can be installed using `ruby-build` and installs it.
77
109
  - Check if `rbenv global` version is set according to application's `.ruby-version` file. Change it if required.
78
- - Install the `bundler` and `geordi` gem if required.
110
+ - Install `bundler`. It is tried to determine the version that was used to create the `Gemfile.lock` (`BUNDLED WITH`) if it is present.
111
+ - Install `geordi` gem if required.
79
112
  - Run `rbenv rehash` if required.
80
113
 
81
114
  **Note:** If, for any reason, no `.ruby-version` file can be found in your release or current working directory, you may set the following option in `deploy.rb`:
@@ -92,12 +125,18 @@ set :rbenv_roles, :web
92
125
  set :rbenv_roles, [:web, :worker]
93
126
  ```
94
127
 
95
- **Optional:** If you want a specific bundler version available for your release, set it in your `deploy.rb`, e.g '~>2' if you need bundler version 2.x:
128
+ **Optional:** If you want a specific bundler version other than the one that is set in `Gemfile.lock` available for your release, set it in your `deploy.rb`:
96
129
 
97
130
  ```ruby
98
131
  set :bundler_version, '<VERSION>'
99
132
  ```
100
133
 
134
+ e.g. if you need bundler version 2.x:
135
+
136
+ ```ruby
137
+ set :bundler_version, '~>2'
138
+ ```
139
+
101
140
  **Optional:** By default, the rubygems version defined by the ruby-build manifest will be installed. If you want a specific rubygems version available for your release, set it in your `deploy.rb`:
102
141
 
103
142
  ```ruby
@@ -8,13 +8,18 @@ Gem::Specification.new do |spec|
8
8
  spec.authors = ['Makandra Operations']
9
9
  spec.email = ['ops@makandra.de']
10
10
 
11
- spec.summary = %q(Capistrano tasks for easy deployment to a makandra opscomplete environment.)
11
+ spec.summary = 'Capistrano tasks for easy deployment to a makandra opscomplete environment.'
12
12
  spec.homepage = 'https://opscomplete.com/ruby'
13
13
 
14
14
  spec.license = 'MIT'
15
15
 
16
16
  if spec.respond_to?(:metadata)
17
- spec.metadata['allowed_push_host'] = 'https://rubygems.org'
17
+ spec.metadata = {
18
+ 'allowed_push_host' => 'https://rubygems.org',
19
+ 'bug_tracker_uri' => 'https://github.com/makandra/capistrano-opscomplete/issues',
20
+ 'changelog_uri' => 'https://github.com/makandra/capistrano-opscomplete/blob/master/CHANGELOG.md',
21
+ 'source_code_uri' => 'https://github.com/makandra/capistrano-opscomplete',
22
+ }
18
23
  else
19
24
  raise 'RubyGems 2.0 or newer is required to protect against ' \
20
25
  'public gem pushes.'
@@ -31,9 +36,9 @@ Gem::Specification.new do |spec|
31
36
 
32
37
  spec.required_rubygems_version = '>=2.0.1'
33
38
 
34
- spec.add_development_dependency 'makandra-rubocop', '~> 0'
35
- spec.add_development_dependency 'bundler', '~> 1.16'
36
- spec.add_development_dependency 'rake', '~> 10.0'
39
+ spec.add_development_dependency 'makandra-rubocop', '~> 4'
40
+ spec.add_development_dependency 'bundler', '~> 2'
37
41
 
42
+ spec.add_dependency 'rake'
38
43
  spec.add_dependency 'capistrano', '>=3.0', '<4.0.0'
39
44
  end
@@ -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
@@ -42,8 +42,30 @@ module Capistrano
42
42
  end
43
43
  end
44
44
 
45
+ def app_gemfile_bundled_with_version
46
+ release_gemfile_lock_file_path = release_path.join('Gemfile.lock').to_s
47
+
48
+ if test("[ -f #{release_gemfile_lock_file_path} ]")
49
+ debug('found release_dir/Gemfile.lock')
50
+
51
+ grep_command = [:grep, '-A', '1', '"BUNDLED WITH"', release_gemfile_lock_file_path]
52
+
53
+ if test(*grep_command)
54
+ bundled_with_lines = capture(*grep_command)
55
+ version = bundled_with_lines.split.last
56
+ debug("Using version #{version.inspect} from server's release_dir/Gemfile.lock file.")
57
+ version
58
+ else
59
+ # old bundler versions did not write "BUNDLED WITH"
60
+ debug('Gemfile.lock was found but did not contain "BUNDLED WITH"-section')
61
+ end
62
+ else
63
+ debug('There was no Gemfile.lock to parse the bundler version')
64
+ end
65
+ end
66
+
45
67
  def rbenv_installable_rubies
46
- rbenv_installable_rubies = capture(:rbenv, :install, '--list').split("\n")
68
+ rbenv_installable_rubies = capture(:rbenv, :install, '--list-all').split("\n")
47
69
  rbenv_installable_rubies.map!(&:strip)
48
70
  rbenv_installable_rubies.delete('Available version:')
49
71
  rbenv_installable_rubies
@@ -1,4 +1,7 @@
1
1
  require 'capistrano/opscomplete/version'
2
2
 
3
- load File.expand_path('opscomplete/tasks.rake', __dir__)
4
- load File.expand_path('opscomplete/deploy.rake', __dir__)
3
+ # Need to require rake before we can use the Rake DSL (task do ..., namespace do, ...)
4
+ require 'rake'
5
+
6
+ load File.expand_path('opscomplete/ruby.rake', __dir__)
7
+ load File.expand_path('opscomplete/supervisor.rake', __dir__)
@@ -16,15 +16,15 @@ namespace :opscomplete do
16
16
  end
17
17
  end
18
18
 
19
- desc 'Check if rbenv global ruby is set according to application\'s .ruby-version.'
19
+ desc 'Check if rbenv global Ruby version is set according to application\'s .ruby-version.'
20
20
  task :check do
21
21
  on roles fetch(:rbenv_roles, :all) do |host|
22
- warn("#{host}: Managed ruby environment! Won't do any changes to ruby version.") if managed_ruby?
22
+ warn("#{host}: Managed Ruby environment! Won't do any changes to ruby version.") if managed_ruby?
23
23
  unless capture(:rbenv, :global) == app_ruby_version
24
24
  raise Capistrano::ValidationError,
25
25
  "#{host}: Ruby version is not set according to application\'s .ruby-version file. Use cap opscomplete:ruby:ensure."
26
26
  end
27
- info("#{host}: Required ruby version '#{app_ruby_version}' is installed.")
27
+ info("#{host}: Ruby #{app_ruby_version} is installed.")
28
28
  end
29
29
  end
30
30
 
@@ -52,9 +52,12 @@ namespace :opscomplete do
52
52
  # desc 'Install bundler gem'
53
53
  task :install_bundler do
54
54
  on roles fetch(:rbenv_roles, :all) do
55
- if fetch(:bundler_version, false)
55
+ # manually specified version will take precedence
56
+ specific_bundler_version = fetch(:bundler_version, app_gemfile_bundled_with_version)
57
+
58
+ if specific_bundler_version
56
59
  # We have to set force = true to overwrite the binary
57
- gem_install('bundler', fetch(:bundler_version), true) unless gem_installed?('bundler', fetch(:bundler_version))
60
+ gem_install('bundler', specific_bundler_version, true) unless gem_installed?('bundler', specific_bundler_version)
58
61
  else
59
62
  gem_install('bundler') unless gem_installed?('bundler')
60
63
  end
@@ -89,19 +92,19 @@ namespace :opscomplete do
89
92
  invoke('opscomplete:ruby:update_ruby_build')
90
93
  on roles fetch(:rbenv_roles, :all) do |host|
91
94
  if managed_ruby?
92
- raise Capistrano::ValidationError, "#{host}: Managed ruby environment! Won't do any changes to ruby version."
95
+ raise Capistrano::ValidationError, "#{host}: Managed Ruby environment! Won't do any changes to Ruby version."
93
96
  end
94
97
  if rbenv_installed_rubies.include?(app_ruby_version)
95
- info("#{host}: Required ruby version '#{app_ruby_version}' is installed.")
98
+ info("#{host}: Ruby #{app_ruby_version} is installed.")
96
99
  elsif rbenv_installable_rubies.include?(app_ruby_version)
97
- info("#{host}: Required ruby version is not installed, but available for installation.")
100
+ info("#{host}: Configured Ruby version is not installed, but available for installation.")
98
101
  with tmpdir: fetch(:tmp_dir) do
99
102
  execute(:rbenv, :install, "'#{app_ruby_version}'")
100
103
  end
101
104
  set :rbenv_needs_rehash, true
102
105
  else
103
106
  raise Capistrano::ValidationError,
104
- "#{host}: Ruby version required by application is neither installed nor installable using ruby-install."
107
+ "#{host}: Configured Ruby version is neither installed nor installable using ruby-install."
105
108
  end
106
109
  execute(:rbenv, :global, "'#{app_ruby_version}'") unless capture(:rbenv, :global) == app_ruby_version
107
110
  end
@@ -0,0 +1,59 @@
1
+ # vim: filetype=ruby
2
+ namespace :opscomplete do
3
+ namespace :supervisor do
4
+ desc '(Re-)Generate the supervisor configuration (e.g. for supervisord).'
5
+ task :gen_config do
6
+ on roles fetch(:procfile_role, :app) do |host|
7
+ within release_path do
8
+ execute :supervisor_gen_config, host.properties.procfile
9
+ end
10
+ end
11
+ end
12
+
13
+ desc 'Reread the supervisor configuration and (re)start all Procfile processes'
14
+ task :restart_procs do
15
+ on roles fetch(:procfile_role, :app) do
16
+ within release_path do
17
+ execute :supervisor_restart_procs
18
+ end
19
+ end
20
+ end
21
+
22
+ desc 'Stop all Procfile processes in case you want to them to be stopped while your deployment runs'
23
+ task :stop_procs do
24
+ on roles fetch(:procfile_role, :app) do
25
+ within release_path do
26
+ execute :supervisor_stop_procs
27
+ end
28
+ end
29
+ end
30
+
31
+ # Can be used for example to quiet sidekiq with a task like this:
32
+ #
33
+ # namespace :sidekiq do
34
+ # desc 'quiet all sidekiq processes so they stop accepting new jobs.'
35
+ # task :quiet do
36
+ # on roles :cron do
37
+ # # The TSTP signal tells sidekiq to quiet all workers.
38
+ # # see: https://github.com/mperham/sidekiq/wiki/Signals#tstp
39
+ # invoke('supervisor:signal_procs', 'TSTP', 'sidekiq')
40
+ # end
41
+ # end
42
+ # end
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|
45
+ signal = args.fetch(:signal)
46
+ program_name = args.fetch(:program_name, nil)
47
+
48
+ on roles fetch(:procfile_role, :app) do
49
+ within release_path do
50
+ if program_name
51
+ execute :supervisor_signal_procs, signal, program_name
52
+ else
53
+ execute :supervisor_signal_procs, signal
54
+ end
55
+ end
56
+ end
57
+ end
58
+ end
59
+ end
@@ -1,5 +1,5 @@
1
1
  module Capistrano
2
2
  module Opscomplete
3
- VERSION = '0.4.0'.freeze
3
+ VERSION = '0.6.3'.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.4.0
4
+ version: 0.6.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Makandra Operations
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2019-09-23 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
@@ -16,42 +16,42 @@ dependencies:
16
16
  requirements:
17
17
  - - "~>"
18
18
  - !ruby/object:Gem::Version
19
- version: '0'
19
+ version: '4'
20
20
  type: :development
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
24
  - - "~>"
25
25
  - !ruby/object:Gem::Version
26
- version: '0'
26
+ version: '4'
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: bundler
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
31
  - - "~>"
32
32
  - !ruby/object:Gem::Version
33
- version: '1.16'
33
+ version: '2'
34
34
  type: :development
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
38
  - - "~>"
39
39
  - !ruby/object:Gem::Version
40
- version: '1.16'
40
+ version: '2'
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: rake
43
43
  requirement: !ruby/object:Gem::Requirement
44
44
  requirements:
45
- - - "~>"
45
+ - - ">="
46
46
  - !ruby/object:Gem::Version
47
- version: '10.0'
48
- type: :development
47
+ version: '0'
48
+ type: :runtime
49
49
  prerelease: false
50
50
  version_requirements: !ruby/object:Gem::Requirement
51
51
  requirements:
52
- - - "~>"
52
+ - - ">="
53
53
  - !ruby/object:Gem::Version
54
- version: '10.0'
54
+ version: '0'
55
55
  - !ruby/object:Gem::Dependency
56
56
  name: capistrano
57
57
  requirement: !ruby/object:Gem::Requirement
@@ -79,8 +79,10 @@ executables: []
79
79
  extensions: []
80
80
  extra_rdoc_files: []
81
81
  files:
82
+ - ".ruby-version"
82
83
  - CHANGELOG.md
83
84
  - Gemfile
85
+ - Gemfile.lock
84
86
  - LICENSE
85
87
  - README.md
86
88
  - Rakefile
@@ -89,14 +91,17 @@ files:
89
91
  - capistrano-opscomplete.gemspec
90
92
  - lib/capistrano/dsl/opscomplete.rb
91
93
  - lib/capistrano/opscomplete.rb
92
- - lib/capistrano/opscomplete/deploy.rake
93
- - lib/capistrano/opscomplete/tasks.rake
94
+ - lib/capistrano/opscomplete/ruby.rake
95
+ - lib/capistrano/opscomplete/supervisor.rake
94
96
  - lib/capistrano/opscomplete/version.rb
95
97
  homepage: https://opscomplete.com/ruby
96
98
  licenses:
97
99
  - MIT
98
100
  metadata:
99
101
  allowed_push_host: https://rubygems.org
102
+ bug_tracker_uri: https://github.com/makandra/capistrano-opscomplete/issues
103
+ changelog_uri: https://github.com/makandra/capistrano-opscomplete/blob/master/CHANGELOG.md
104
+ source_code_uri: https://github.com/makandra/capistrano-opscomplete
100
105
  post_install_message:
101
106
  rdoc_options: []
102
107
  require_paths:
@@ -112,8 +117,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
112
117
  - !ruby/object:Gem::Version
113
118
  version: 2.0.1
114
119
  requirements: []
115
- rubyforge_project:
116
- rubygems_version: 2.6.13
120
+ rubygems_version: 3.0.3
117
121
  signing_key:
118
122
  specification_version: 4
119
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