capistrano-rails-console 1.0.1 → 1.0.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 +5 -1
- data/lib/capistrano/rails/console/tasks/remote.cap +3 -4
- data/lib/capistrano/rails/console/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 28df9dd56e64741c6c5fbf00e96e0657ec1ee9dc
|
4
|
+
data.tar.gz: b0f6f288d6a2e6cc3a3c4ab89ca469721d572ebb
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: fe29712b0796ee81a00c1ae34302de5eb892430a52ca36eb7663a72adbc8a0c78cf80d110e4c0daf645b0073155ebd010f26187e2911674d1e67f7cd02ed3bf0
|
7
|
+
data.tar.gz: a8819ba78eb4d1b7c82a58a413f4e0fd5a8cf5c08e0e686458cfef5079c72c3e59752bce77258b0dbf8aace13ee71da64b5c8907535c66e7185c13a0e03aa146
|
data/CHANGELOG.md
CHANGED
@@ -27,9 +27,6 @@ namespace :rails do
|
|
27
27
|
|
28
28
|
rails_env = fetch(:rails_env, fetch(:stage, 'production'))
|
29
29
|
|
30
|
-
cmd = SSHKit::Command.new(:rails, :console, rails_env, *rails_console_args, host: host)
|
31
|
-
SSHKit.config.output << cmd
|
32
|
-
|
33
30
|
port = host.port || (host.ssh_options || {})[:port]
|
34
31
|
ssh_cmd_args << "-p #{port}" if port
|
35
32
|
|
@@ -45,9 +42,11 @@ namespace :rails do
|
|
45
42
|
ssh_cmd_args << "-i #{identity}"
|
46
43
|
end
|
47
44
|
|
45
|
+
cmd = SSHKit::Command.new(:rails, :console, rails_env, *rails_console_args, host: host)
|
46
|
+
|
48
47
|
ssh_cmd = %Q(ssh #{ssh_cmd_args.join(' ')} -t '$SHELL -l -c "cd #{current_path} && (#{cmd.environment_string} #{cmd})"')
|
49
48
|
|
50
|
-
debug("Running #{ssh_cmd
|
49
|
+
debug("Running #{ssh_cmd} on #{host.hostname}")
|
51
50
|
|
52
51
|
exec(ssh_cmd)
|
53
52
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: capistrano-rails-console
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Florian Schwab
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-
|
11
|
+
date: 2015-12-06 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: capistrano
|