karo 2.3.9 → 2.4.0
Sign up to get free protection for your applications and to get access to all the features.
Potentially problematic release.
This version of karo might be problematic. Click here for more details.
- checksums.yaml +4 -4
- data/CHANGELOG.md +6 -0
- data/lib/karo/cli.rb +3 -4
- data/lib/karo/db.rb +1 -1
- data/lib/karo/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: fbeb1f9c5e56fee1bea90c65450a76c0ab858cba
|
4
|
+
data.tar.gz: 58367c6670b6e0f4fbea5f413f6f2484aa31c772
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8a03825f62d18efe8a602251879da563c90c5e9662929043b63be388579b9ca59710f2d4303a494edecc52bdaf06bc3c020fb175028bbee86ea1bdd36bbff02e
|
7
|
+
data.tar.gz: d7af6df0076b05dd3c6e3f00c70e467f28c3face513daf16d55bab1626dd154ba09332a8a7105bd45f33066e7a77b92bcc9d9623b0fa2fffe7042413860ab198
|
data/CHANGELOG.md
CHANGED
data/lib/karo/cli.rb
CHANGED
@@ -155,8 +155,7 @@ module Karo
|
|
155
155
|
configuration = Config.load_configuration(options)
|
156
156
|
|
157
157
|
path = File.join(configuration["path"], "current")
|
158
|
-
cmd = "cd #{path};
|
159
|
-
export RACK_ENV=#{options[:environment]}; $SHELL"
|
158
|
+
cmd = "cd #{path}; $SHELL --login"
|
160
159
|
|
161
160
|
invoke :server, [cmd]
|
162
161
|
end
|
@@ -166,7 +165,7 @@ module Karo
|
|
166
165
|
configuration = Config.load_configuration(options)
|
167
166
|
|
168
167
|
path = File.join(configuration["path"], "current")
|
169
|
-
cmd = "cd #{path} && bundle exec rails console
|
168
|
+
cmd = "cd #{path} && $SHELL --login -c \"bundle exec rails console\""
|
170
169
|
|
171
170
|
invoke :server, [cmd]
|
172
171
|
end
|
@@ -176,7 +175,7 @@ module Karo
|
|
176
175
|
configuration = Config.load_configuration(options)
|
177
176
|
|
178
177
|
path = File.join(configuration["path"], "current")
|
179
|
-
cmd = "cd #{path} &&
|
178
|
+
cmd = "cd #{path} && $SHELL --login -c \"bundle exec rake #{command}\""
|
180
179
|
|
181
180
|
invoke :server, [cmd, extras]
|
182
181
|
end
|
data/lib/karo/db.rb
CHANGED
@@ -42,7 +42,7 @@ module Karo
|
|
42
42
|
ssh = "ssh #{configuration["user"]}@#{configuration["host"]}"
|
43
43
|
ssh << " -t" if options[:tty]
|
44
44
|
|
45
|
-
command = "cd #{path} && bundle exec rails dbconsole
|
45
|
+
command = "cd #{path} && $SHELL --login -c \"bundle exec rails dbconsole -p\""
|
46
46
|
|
47
47
|
run_it "#{ssh} '#{command}'", options[:verbose]
|
48
48
|
end
|
data/lib/karo/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: karo
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.
|
4
|
+
version: 2.4.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Rahul Trikha
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-
|
11
|
+
date: 2014-11-05 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: pry
|