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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 559fa220792042ae1d84411772b63a5f4526df68f5ac4eefbb008ac63705d72d
4
- data.tar.gz: e43a552812daed79454864bed854720537ee2e9d8d303212b5dde4d8ef0b1694
3
+ metadata.gz: 693551524b9b50f70e2daf649cd8184cc197b1576153beaf675ebaae01a88e84
4
+ data.tar.gz: 915a4c3e1449f0883e31bd828a850354db26bcdcf57523ffdf28ade6e51bee1e
5
5
  SHA512:
6
- metadata.gz: '0193eed8c9af5cadd36498a4b0eb5b6364a58e20e93ef3619af3dc934b16f61652b9b703e00049109592e6b324c7854d3d56cfe5aa14ca8948e5d6ed1320a548'
7
- data.tar.gz: d7afc3e6ac2b5c3255fedd1f6e2a3f8fa1469c822c64f1ed1471a46ab0208c1f1f6084ee17b0edee79f07d0bce1d64d7768dcfaddffed61dfdd6664863851a49
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
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- geordi (5.2.4)
4
+ geordi (5.3.0)
5
5
  thor (~> 1)
6
6
 
7
7
  GEM
@@ -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 = if server_option == 'select_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
@@ -1,3 +1,3 @@
1
1
  module Geordi
2
- VERSION = '5.2.4'.freeze
2
+ VERSION = '5.3.0'.freeze
3
3
  end
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.2.4
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-29 00:00:00.000000000 Z
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.1.4
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