geordi 2.9.0 → 2.10.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 +7 -1
- data/Gemfile.lock +1 -1
- data/lib/geordi/db_cleaner.rb +3 -3
- 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: 02e5f45f334a240e117f4cbcca10d6e17ebc8f077eb256b8c0ff8257a7886915
|
4
|
+
data.tar.gz: 4d567ce58cbcd578749ddcef2273db8e851211d5f630d3b45453bfc6885c3d58
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ba66b7e3f475395408b79f692c79843a61f0271ea299ed98e02d407c56d5db1f373af294e516537460f64170937f6d4a206517108ac14778daded4f6bbc63a47
|
7
|
+
data.tar.gz: 3733cc93bc188eada1b81fb17799b7a4fd109dfaa486fe86e14ad45339307e837bc92ca4ff6c731067d66c228dc3333a17bda07e72d6bcb05c3717c36d46e6b4
|
data/CHANGELOG.md
CHANGED
@@ -9,12 +9,18 @@ This project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html
|
|
9
9
|
### Breaking changes
|
10
10
|
|
11
11
|
|
12
|
+
## 2.10.0 2020-02-11
|
13
|
+
|
14
|
+
### Compatible changes
|
15
|
+
- Fixes [#78](https://github.com/makandra/geordi/pull/78): Add compatibility for more than 9 CPU cores in
|
16
|
+
`geordi drop-databases`.
|
17
|
+
|
18
|
+
|
12
19
|
## 2.9.0 2020-01-03
|
13
20
|
|
14
21
|
### Compatible changes
|
15
22
|
- Fixes [#37](https://github.com/makandra/geordi/issues/37): `geordi cucumber` crashes with `--format=pretty`
|
16
23
|
- Fixes [#27](https://github.com/makandra/geordi/issues/27): Cucumber rerun switch does work when passing files
|
17
|
-
### Breaking changes
|
18
24
|
|
19
25
|
|
20
26
|
## 2.8.0 2020-01-02
|
data/Gemfile.lock
CHANGED
data/lib/geordi/db_cleaner.rb
CHANGED
@@ -12,7 +12,7 @@ module Geordi
|
|
12
12
|
puts ' and `sudo mysql` for MariaDB (which uses PAM auth)'
|
13
13
|
`sudo true`
|
14
14
|
fail 'sudo access is required for database operations as database users' if $? != 0
|
15
|
-
@derivative_dbname = /_(test\d
|
15
|
+
@derivative_dbname = /_(test\d*|development|cucumber)$/
|
16
16
|
base_directory = ENV['XDG_CONFIG_HOME']
|
17
17
|
base_directory = "#{Dir.home}" if base_directory.nil?
|
18
18
|
@whitelist_directory = File.join(base_directory, '.config', 'geordi', 'whitelists')
|
@@ -34,7 +34,7 @@ module Geordi
|
|
34
34
|
tmp.write <<-HEREDOC
|
35
35
|
# Put each whitelisted database on a new line.
|
36
36
|
# System databases will never be deleted.
|
37
|
-
# When you whitelist foo, foo_development and foo_test\\d
|
37
|
+
# When you whitelist foo, foo_development and foo_test\\d* are whitelisted, too.
|
38
38
|
# This works even if foo does not exist. Also, you will only see foo in this list.
|
39
39
|
#
|
40
40
|
# Syntax: keep foo
|
@@ -253,7 +253,7 @@ HEREDOC
|
|
253
253
|
# Allow explicit whitelisting of derivative databases like projectname_test2
|
254
254
|
if whitelist_content.include? database_name
|
255
255
|
true
|
256
|
-
# whitelisting `projectname` also whitelists `projectname_test\d
|
256
|
+
# whitelisting `projectname` also whitelists `projectname_test\d*`, `projectname_development`
|
257
257
|
elsif whitelist_content.include? database_name.sub(@derivative_dbname, '')
|
258
258
|
true
|
259
259
|
else
|
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: 2.
|
4
|
+
version: 2.10.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Henning Koch
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-
|
11
|
+
date: 2020-02-11 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: thor
|