dlss-capistrano 3.4.1 → 3.5.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
- SHA1:
3
- metadata.gz: 1b74a6c50403e39323f83ea80333984e8bd3e267
4
- data.tar.gz: 3c4420ab6d8a8db35cdbc91821764b133486c8bd
2
+ SHA256:
3
+ metadata.gz: 9cccccc5b5eaf3803ab7126c36e158c7261e39e6008a5b0d41779c9b1899efdc
4
+ data.tar.gz: 0d047c34a9dd98823e0d4febf90324f4f0bd677885c28a2532cbe4bfdc2d4c9a
5
5
  SHA512:
6
- metadata.gz: 11eb0f1820d5ec7f050d68401ef4ad38dd4d0b8af3dca50a8e52e5299fe63c24aa45081e28f9dffe81a5d9f32065264e72c63269c61604c49c574d2c1ca4cb96
7
- data.tar.gz: 0e840c201dc0f30db7d3fc9a536b5d19cadaf88a79be5f91ed57038b96005c78441bd11b6a71e59ec6c30af975668aa7d3e7d1e89490d92ffc5d49a966f89caa
6
+ metadata.gz: 4ef5f0bb20fad9adfa66175b7cbbbedf9113b346f2e321ef8514659fe868f3c77aa304c9f4c1cbd73ce686d5c7dde0ca7c0908681c3246df77c5022bfc2b71e6
7
+ data.tar.gz: 909936827f0f18dd5d864b16ca865db074ce16cc1b264abdb2e4495195f32c19ee0b2cc04dd6511db26d2e95743f92caf537e65c5dd0ab39e147b7f6562b383a
@@ -4,7 +4,7 @@ $:.unshift lib unless $:.include?(lib)
4
4
 
5
5
  Gem::Specification.new do |s|
6
6
  s.name = "dlss-capistrano"
7
- s.version = "3.4.1"
7
+ s.version = "3.5.0"
8
8
 
9
9
  s.platform = Gem::Platform::RUBY
10
10
  s.authors = ["Chris Beer","Willy Mene"]
@@ -1,3 +1,5 @@
1
1
  require 'capistrano/one_time_key'
2
2
  require 'capistrano/bundle_audit'
3
3
  require 'capistrano/shared_configs'
4
+
5
+ load File.expand_path('../capistrano/tasks/ssh.rake', __FILE__)
@@ -0,0 +1,8 @@
1
+ desc "ssh to the current directory on the server"
2
+ task :ssh do
3
+ on roles(:app), :primary => true do |host|
4
+ command = "cd #{fetch(:deploy_to)}/current && exec $SHELL -l"
5
+ puts command if fetch(:log_level) == :debug
6
+ exec "ssh -l #{host.user} #{host.hostname} -p #{host.port || 22} -t '#{command}'"
7
+ end
8
+ end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: dlss-capistrano
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.4.1
4
+ version: 3.5.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Chris Beer
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2017-04-03 00:00:00.000000000 Z
12
+ date: 2019-04-01 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: capistrano
@@ -83,6 +83,7 @@ files:
83
83
  - dlss-capistrano.gemspec
84
84
  - lib/dlss.rb
85
85
  - lib/dlss/capistrano.rb
86
+ - lib/dlss/capistrano/tasks/ssh.rake
86
87
  - lib/lyberteam-capistrano-devel.rb
87
88
  homepage:
88
89
  licenses:
@@ -104,7 +105,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
104
105
  version: 1.3.6
105
106
  requirements: []
106
107
  rubyforge_project:
107
- rubygems_version: 2.5.2
108
+ rubygems_version: 2.7.6
108
109
  signing_key:
109
110
  specification_version: 4
110
111
  summary: Capistrano recipies for use in SUL/DLSS projects