arql 0.1.3 → 0.1.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/Gemfile.lock +3 -1
- data/arql.gemspec +1 -0
- data/lib/arql/cli.rb +0 -4
- data/lib/arql/commands/info.rb +2 -2
- data/lib/arql/definition.rb +1 -0
- data/lib/arql/version.rb +1 -1
- data/lib/arql.rb +1 -0
- metadata +15 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 5ab8f5f261c0a207fa3d1d44798ec7f86864a0ff28fbb162bae3aa6abdae2311
|
|
4
|
+
data.tar.gz: 8c8a4238ad33800d565ff9546539213233a0c71f7759d77ad3f273825352f94c
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 3d4e836e5b0622c66ec1295bac29faa5ec6aa671fe6f88be30be69bb13366b150cf81193085d1618b6f9f63222996b750166e72fa2b944da6a9010f72314315e
|
|
7
|
+
data.tar.gz: 7f6ba7270d4b9125906dff1d4c7a0d4a22b806a97b2ffbbecec7036524a9d53b0e1b2f7bd3f09d4d966dfc2cb625602631291b6074d0c5c8e22eed6266e7beb2
|
data/Gemfile.lock
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
PATH
|
|
2
2
|
remote: .
|
|
3
3
|
specs:
|
|
4
|
-
arql (0.1.
|
|
4
|
+
arql (0.1.4)
|
|
5
5
|
activerecord (~> 6.0.3)
|
|
6
6
|
activesupport (~> 6.0.3)
|
|
7
7
|
mysql2 (~> 0.5.3)
|
|
@@ -10,6 +10,7 @@ PATH
|
|
|
10
10
|
pry-byebug (~> 3.9.0)
|
|
11
11
|
pry-doc (~> 1.1.0)
|
|
12
12
|
rainbow (~> 3.0.0)
|
|
13
|
+
table_print (~> 1.5.6)
|
|
13
14
|
terminal-table (~> 1.8.0)
|
|
14
15
|
|
|
15
16
|
GEM
|
|
@@ -48,6 +49,7 @@ GEM
|
|
|
48
49
|
yard (~> 0.9.11)
|
|
49
50
|
rainbow (3.0.0)
|
|
50
51
|
rake (12.3.3)
|
|
52
|
+
table_print (1.5.6)
|
|
51
53
|
terminal-table (1.8.0)
|
|
52
54
|
unicode-display_width (~> 1.1, >= 1.1.1)
|
|
53
55
|
thread_safe (0.3.6)
|
data/arql.gemspec
CHANGED
data/lib/arql/cli.rb
CHANGED
|
@@ -39,10 +39,6 @@ module Arql
|
|
|
39
39
|
@options.env = env
|
|
40
40
|
end
|
|
41
41
|
|
|
42
|
-
opts.on('-jJAVA_CONFIG', '--java-conf=JAVA_CONFIG', 'Use JDBC config in JAVA_CONFIG file, if directory sepcified, first *.properties/*.yml file found in the directory will be used') do |config_file|
|
|
43
|
-
@options.config_file = config_file
|
|
44
|
-
end
|
|
45
|
-
|
|
46
42
|
opts.on('-aDB_ADAPTER', '--db-adapter=DB_ADAPTER', 'Specify database Adapter, default is mysql2') do |db_adapter|
|
|
47
43
|
@options.dapter = db_adapter
|
|
48
44
|
end
|
data/lib/arql/commands/info.rb
CHANGED
|
@@ -8,7 +8,7 @@ module Arql::Commands
|
|
|
8
8
|
Host: #{Arql::App.config[:host]}
|
|
9
9
|
Port: #{Arql::App.config[:port]}
|
|
10
10
|
Username: #{Arql::App.config[:username]}
|
|
11
|
-
Password: #{Arql::App.config[:password].gsub(/./, '*')}
|
|
11
|
+
Password: #{(Arql::App.config[:password] || '').gsub(/./, '*')}
|
|
12
12
|
Database: #{Arql::App.config[:database]}
|
|
13
13
|
Adapter: #{Arql::App.config[:adapter]}
|
|
14
14
|
Encoding: #{Arql::App.config[:encoding]}
|
|
@@ -23,7 +23,7 @@ module Arql::Commands
|
|
|
23
23
|
Host: #{Arql::App.config[:ssh][:host]}
|
|
24
24
|
Port: #{Arql::App.config[:ssh][:port]}
|
|
25
25
|
Username: #{Arql::App.config[:ssh][:user]}
|
|
26
|
-
Password: #{Arql::App.config[:ssh][:password].gsub(/./, '*')}
|
|
26
|
+
Password: #{(Arql::App.config[:ssh][:password] || '').gsub(/./, '*')}
|
|
27
27
|
Local Port: #{Arql::App.local_ssh_proxy_port}
|
|
28
28
|
EOF
|
|
29
29
|
end
|
data/lib/arql/definition.rb
CHANGED
data/lib/arql/version.rb
CHANGED
data/lib/arql.rb
CHANGED
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: arql
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.1.
|
|
4
|
+
version: 0.1.4
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Liu Xiang
|
|
@@ -136,6 +136,20 @@ dependencies:
|
|
|
136
136
|
- - "~>"
|
|
137
137
|
- !ruby/object:Gem::Version
|
|
138
138
|
version: 1.8.0
|
|
139
|
+
- !ruby/object:Gem::Dependency
|
|
140
|
+
name: table_print
|
|
141
|
+
requirement: !ruby/object:Gem::Requirement
|
|
142
|
+
requirements:
|
|
143
|
+
- - "~>"
|
|
144
|
+
- !ruby/object:Gem::Version
|
|
145
|
+
version: 1.5.6
|
|
146
|
+
type: :runtime
|
|
147
|
+
prerelease: false
|
|
148
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
149
|
+
requirements:
|
|
150
|
+
- - "~>"
|
|
151
|
+
- !ruby/object:Gem::Version
|
|
152
|
+
version: 1.5.6
|
|
139
153
|
description: Use ActiveRecord and Pry as your favorite SQL query editor.
|
|
140
154
|
email:
|
|
141
155
|
- liuxiang921@gmail.com
|