duostack 0.4.0 → 0.5.0
Sign up to get free protection for your applications and to get access to all the features.
- data/bin/duostack +9 -2
- metadata +4 -4
data/bin/duostack
CHANGED
@@ -28,7 +28,7 @@ $client = File.basename(__FILE__)
|
|
28
28
|
module Duostack
|
29
29
|
class Client
|
30
30
|
|
31
|
-
VERSION = '0.
|
31
|
+
VERSION = '0.5.0'
|
32
32
|
DEPENDENCIES_LAST_MODIFIED = 1298683372
|
33
33
|
USER_AGENT = "duostack-#{VERSION}"
|
34
34
|
|
@@ -98,6 +98,12 @@ module Duostack
|
|
98
98
|
:display_type => 'database',
|
99
99
|
:display_name_suffix => ' (mongodb)',
|
100
100
|
:prompt => '> '
|
101
|
+
},
|
102
|
+
:redis => {
|
103
|
+
:target => 'cli-dbconsole@duostack.net',
|
104
|
+
:display_type => 'database',
|
105
|
+
:display_name_suffix => ' (redis)',
|
106
|
+
:prompt => 'redis> '
|
101
107
|
}
|
102
108
|
}
|
103
109
|
|
@@ -1167,6 +1173,7 @@ module Duostack
|
|
1167
1173
|
#{$client} console app launches interactive app console (Ruby apps only)
|
1168
1174
|
#{$client} console mysql launches interactive MySQL database console
|
1169
1175
|
#{$client} console mongodb launches interactive MongoDB database console
|
1176
|
+
#{$client} console redis launches interactive Redis database console
|
1170
1177
|
|
1171
1178
|
#{$client} console app "puts('hello world')"
|
1172
1179
|
#{$client} console mysql "SHOW TABLES;"
|
@@ -1186,7 +1193,7 @@ module Duostack
|
|
1186
1193
|
databases. If no argument is given, it connects to the app console itself
|
1187
1194
|
(applicable only to Ruby apps). If a database name is given, connects to a
|
1188
1195
|
database console session for that database. Valid database names are: mysql,
|
1189
|
-
mongodb.
|
1196
|
+
mongodb, redis.
|
1190
1197
|
|
1191
1198
|
You can use then use these interactive console sessions to make any action you
|
1192
1199
|
would normally make in your app or database console.
|
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: duostack
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 11
|
5
5
|
prerelease: false
|
6
6
|
segments:
|
7
7
|
- 0
|
8
|
-
-
|
8
|
+
- 5
|
9
9
|
- 0
|
10
|
-
version: 0.
|
10
|
+
version: 0.5.0
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Todd Eichel
|
@@ -15,7 +15,7 @@ autorequire:
|
|
15
15
|
bindir: bin
|
16
16
|
cert_chain: []
|
17
17
|
|
18
|
-
date: 2011-
|
18
|
+
date: 2011-04-30 00:00:00 -04:00
|
19
19
|
default_executable:
|
20
20
|
dependencies: []
|
21
21
|
|