geordi 4.0.1 → 4.1.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: e713daa0ffee8f9a861ebdc77dcfb4bffe177f2342b05ae7fc442494d4384c18
4
- data.tar.gz: 36b09dd4952b71a1f3851b6cbcb9e5f823d575a707b6ebae9bdd4e459d366a68
3
+ metadata.gz: e69ce9156f933f0ae381e109b7359fe4da6243036028093ab9ce0f79408bfaad
4
+ data.tar.gz: d6d16d8a1aca0fecc4669aa0b28251c508574f7d4d5ba3fae5d82d92385894fd
5
5
  SHA512:
6
- metadata.gz: c1f9c002b9035c57ccef219eae0a1f51b64b22ef74ed37ec2a18257b6c230ab3dd1d2f457f93a60df0bf409b5c4ab69b02af9bf2f43ea8c9ba0fe44799616b57
7
- data.tar.gz: 6c74ac5333a1a44b3c5ecd8522829e3984b7e1c2fdd2c37d29c99fe5e450a95945a6d8de6c8103ab5b3d58f09ef83f137f2b95bc8c3ea68163cf8c2fba0451f8
6
+ metadata.gz: 8d514a744b90c1d637a91db63ca3c58a36262e3493844a268eea48c920779f98ead441eeff42a9d544e0b0feb6baeb0d9314906531c1b9c3955bbb0758b2e316
7
+ data.tar.gz: c75477cfb8ffb09895f1b6214ef762218e85b831adb4348ea58ed4cae6dd70a213feb7e2df3dc0740a97b0e70394be4878abeff57fb4aefd47a50eed7af5f10d
@@ -9,10 +9,17 @@ This project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html
9
9
  ### Breaking changes
10
10
 
11
11
 
12
+ ## 4.1.0 2020-08-18
13
+
14
+ ### Compatible changes
15
+
16
+ - Added dumple option `--compress` to compress after dumping
17
+
12
18
  ## 4.0.1 2020-08-11
19
+
13
20
  ### Compatible changes
14
21
 
15
- * Fix `geordi migrate` command, that fails with:
22
+ - Fix `geordi migrate` command, that fails with:
16
23
 
17
24
  ```
18
25
  Don't know how to build task 'db:migrate parallel:prepare'
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- geordi (4.0.1)
4
+ geordi (4.1.0)
5
5
  thor (~> 1)
6
6
 
7
7
  GEM
data/exe/dumple CHANGED
@@ -3,6 +3,7 @@
3
3
  require 'erb'
4
4
 
5
5
  fail_gently = ARGV.include?("--fail-gently")
6
+ compress = ARGV.include?("--compress")
6
7
 
7
8
  if ARGV.include?("-i")
8
9
  puts "*******************************************************"
@@ -96,6 +97,15 @@ begin
96
97
 
97
98
  system "chmod 600 #{dump_path}"
98
99
 
100
+ if compress
101
+ puts "> Compressing the dump ..."
102
+
103
+ # gzip compresses in place
104
+ compress_success = system("gzip #{dump_path}")
105
+ compress_success or raise "Compressing the dump failed"
106
+ dump_path << ".gz"
107
+ end
108
+
99
109
  dump_size_kb = (File.size(dump_path) / 1024).round
100
110
 
101
111
  puts "> Dumped to #{dump_path} (#{dump_size_kb} KB)"
@@ -1,3 +1,3 @@
1
1
  module Geordi
2
- VERSION = '4.0.1'.freeze
2
+ VERSION = '4.1.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: 4.0.1
4
+ version: 4.1.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: 2020-08-11 00:00:00.000000000 Z
11
+ date: 2020-08-18 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.0.8
121
+ rubygems_version: 3.1.4
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