geordi 4.2.0 → 4.2.1
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 +1 -1
- data/lib/geordi/commands/create_database_yml.rb +1 -1
- data/lib/geordi/util.rb +6 -4
- data/lib/geordi/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 143cfb8cfd0cc7fb52b39eb7a41d22fb1af259f78f817fa55742cec61271b117
|
|
4
|
+
data.tar.gz: 2bde738375417d40af0545c582c290c85a67cff890679fe58521054eb9f80d67
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 418c1c83487f4b807346a576fa3a9ee08e890c01075df6937e47bc2669cbe4031829c4a9d797223e747ed93ba209e5f689eab0fc8c722c1bb8067fd5c25af538
|
|
7
|
+
data.tar.gz: 5a979db241a56d199d496becb9a2966dbb92adfe90125a6d026b0b323f3b24111810876aaf2bc70b2d111450412230b9f00be4939dd7548bae7c311d36fe96b2
|
data/Gemfile.lock
CHANGED
|
@@ -7,7 +7,7 @@ def create_database_yml
|
|
|
7
7
|
Interaction.announce 'Creating ' + real_yml
|
|
8
8
|
|
|
9
9
|
sample = File.read(sample_yml)
|
|
10
|
-
adapter = sample.match(/adapter: (\w+)
|
|
10
|
+
adapter = sample.match(/adapter: (\w+)/).captures.first
|
|
11
11
|
|
|
12
12
|
print "Please enter your #{adapter} password: "
|
|
13
13
|
db_password = STDIN.gets.strip
|
data/lib/geordi/util.rb
CHANGED
|
@@ -43,13 +43,14 @@ module Geordi
|
|
|
43
43
|
if command.is_a?(Array)
|
|
44
44
|
real_command, *arguments = *command
|
|
45
45
|
command = [real_command.split(' '), arguments].flatten
|
|
46
|
-
|
|
46
|
+
show_command = command
|
|
47
47
|
else
|
|
48
|
-
|
|
48
|
+
show_command = [command]
|
|
49
49
|
end
|
|
50
50
|
|
|
51
51
|
if show_cmd
|
|
52
|
-
|
|
52
|
+
# Join with spaces for better readability and copy-pasting
|
|
53
|
+
Interaction.note_cmd show_command.join(' ')
|
|
53
54
|
end
|
|
54
55
|
|
|
55
56
|
if confirm
|
|
@@ -57,7 +58,8 @@ module Geordi
|
|
|
57
58
|
end
|
|
58
59
|
|
|
59
60
|
if testing?
|
|
60
|
-
|
|
61
|
+
# Join with commas for precise argument distinction
|
|
62
|
+
puts "Util.run! #{show_command.join(', ')}"
|
|
61
63
|
else
|
|
62
64
|
# Remove Geordi's Bundler environment when running commands.
|
|
63
65
|
success = if !defined?(Bundler)
|
data/lib/geordi/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: geordi
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 4.2.
|
|
4
|
+
version: 4.2.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Henning Koch
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: exe
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2020-
|
|
11
|
+
date: 2020-11-06 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: thor
|