geordi 5.2.4 → 5.3.0
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 -0
- data/Gemfile.lock +1 -1
- data/lib/geordi/dump_loader.rb +4 -0
- data/lib/geordi/remote.rb +1 -1
- data/lib/geordi/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 693551524b9b50f70e2daf649cd8184cc197b1576153beaf675ebaae01a88e84
|
4
|
+
data.tar.gz: 915a4c3e1449f0883e31bd828a850354db26bcdcf57523ffdf28ade6e51bee1e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: bcbd43ffb224b54a7ba553c6bbcab6931d06b15df4a5e2e3eb9a93fe019187df47174bb2b61030a54d2408fb80235a1937eae7ff0a0f3c17e58756d3cbfc94b0
|
7
|
+
data.tar.gz: 03ef92df5d677f51ee70bec10bf035034824980b5c16c15c38e587de5b2a2cf683ddbce64067695e566fc9ee207d26af6f1986d909210b9fda61d9570bb91add
|
data/CHANGELOG.md
CHANGED
@@ -9,6 +9,11 @@ This project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html
|
|
9
9
|
### Compatible changes
|
10
10
|
### Breaking changes
|
11
11
|
|
12
|
+
## 5.3.0 2021-02-01
|
13
|
+
|
14
|
+
### Compatible changes
|
15
|
+
* Changed: Dumping and loading a database will not keep the database dump in `tmp/` but delete it once the operation finishes successfully. Example: `geordi dump staging -l` will remove the file `tmp/staging.dump` after it loaded the dump.
|
16
|
+
|
12
17
|
|
13
18
|
## 5.2.4 2021-01-29
|
14
19
|
|
data/Gemfile.lock
CHANGED
data/lib/geordi/dump_loader.rb
CHANGED
@@ -58,6 +58,10 @@ module Geordi
|
|
58
58
|
|
59
59
|
source_command = send("#{config['adapter']}_command")
|
60
60
|
Util.run! source_command, fail_message: "An error occured loading #{File.basename(dump_file)}"
|
61
|
+
|
62
|
+
Interaction.announce 'Clean up'
|
63
|
+
Interaction.note 'Removing: ' + dump_file
|
64
|
+
Util.run!("rm #{dump_file}")
|
61
65
|
end
|
62
66
|
|
63
67
|
end
|
data/lib/geordi/remote.rb
CHANGED
@@ -59,7 +59,7 @@ module Geordi
|
|
59
59
|
server_option = options[:select_server]
|
60
60
|
server_number = server_option.to_i
|
61
61
|
|
62
|
-
server =
|
62
|
+
server = if server_option == 'select_server'
|
63
63
|
select_server
|
64
64
|
elsif server_number != 0 && server_number <= @config.servers.count
|
65
65
|
server_index = server_number - 1
|
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: 5.
|
4
|
+
version: 5.3.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Henning Koch
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2021-01
|
11
|
+
date: 2021-02-01 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: thor
|
@@ -118,7 +118,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
118
118
|
- !ruby/object:Gem::Version
|
119
119
|
version: '0'
|
120
120
|
requirements: []
|
121
|
-
rubygems_version: 3.
|
121
|
+
rubygems_version: 3.0.8
|
122
122
|
signing_key:
|
123
123
|
specification_version: 4
|
124
124
|
summary: Collection of command line tools we use in our daily work with Ruby, Rails
|