data_taster 0.5.0 → 0.5.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/docs/CHANGELOG.md +15 -11
- data/gemfiles/rails_7_1.gemfile.lock +1 -1
- data/gemfiles/rails_7_2.gemfile.lock +1 -1
- data/lib/data_taster/adapters/file_output.rb +3 -2
- data/lib/data_taster/version.rb +1 -1
- data/lib/data_taster.rb +1 -0
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: a78a2fcd415d03830f1fdd08ed9ae8230c284501f265594b9ba9295b6d26e3b4
|
|
4
|
+
data.tar.gz: 381f2629b8577df802de57d63d9cd46a4ab053e171b067f3ce1e5d8584b4b76d
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 13a97b5ee7cff7b8250a41719e0818bb828e76e509fac19727045f5f73a314e53efdf79269e7ad92a19ec0a0201a62a8d2e56dc0ab8b2bb4dfe41ae327c9302d
|
|
7
|
+
data.tar.gz: 1e75e66bda81aebadacac1d28b257596d0960ad239ee64a725ddc3708f9a5939a80950ddb561dc24f3f9b3ddbf24d2ba0a0a2b1308be43a0c695c1a9b3ed7786
|
data/Gemfile.lock
CHANGED
data/docs/CHANGELOG.md
CHANGED
|
@@ -1,6 +1,18 @@
|
|
|
1
1
|
## [Unreleased]
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
### Dependencies and platform support
|
|
4
|
+
|
|
5
|
+
- Update rainbow to v3.x [#372](https://github.com/powerhome/power-tools/pull/372)
|
|
6
|
+
- Update yard to 0.9.38 to address [Cross-site Scripting vulnerability](https://github.com/powerhome/power-tools/security/dependabot/544) [#394](https://github.com/powerhome/power-tools/pull/394)
|
|
7
|
+
- Drop support for Ruby < 3.3 and Rails < 7.1 [#396](https://github.com/powerhome/power-tools/pull/396)
|
|
8
|
+
- Remove more Rails 6.0 config handling
|
|
9
|
+
- Standardize all libs to support ruby 3.0, ruby 3.3 x rails 6.1 through rails 7.2 [#359](https://github.com/powerhome/power-tools/pull/359)
|
|
10
|
+
- Lock activesupport requirement to ~> 7.0.8
|
|
11
|
+
- Setup test environment and add simple specs
|
|
12
|
+
- Fix issue reading database config to support Rails 6.0
|
|
13
|
+
- Add more specs, including actual run of a dump for default sanitization
|
|
14
|
+
|
|
15
|
+
## [0.5.1] - 2026-07-16
|
|
4
16
|
|
|
5
17
|
### Breaking changes
|
|
6
18
|
|
|
@@ -29,17 +41,9 @@
|
|
|
29
41
|
|
|
30
42
|
- Correctly treat JSON column values as quoted strings instead of binary hex literals
|
|
31
43
|
|
|
32
|
-
|
|
44
|
+
## [0.5.0] - 2026-07-08
|
|
33
45
|
|
|
34
|
-
-
|
|
35
|
-
- Update yard to 0.9.38 to address [Cross-site Scripting vulnerability](https://github.com/powerhome/power-tools/security/dependabot/544) [#394](https://github.com/powerhome/power-tools/pull/394)
|
|
36
|
-
- Drop support for Ruby < 3.3 and Rails < 7.1 [#396](https://github.com/powerhome/power-tools/pull/396)
|
|
37
|
-
- Remove more Rails 6.0 config handling
|
|
38
|
-
- Standardize all libs to support ruby 3.0, ruby 3.3 x rails 6.1 through rails 7.2 [#359](https://github.com/powerhome/power-tools/pull/359)
|
|
39
|
-
- Lock activesupport requirement to ~> 7.0.8
|
|
40
|
-
- Setup test environment and add simple specs
|
|
41
|
-
- Fix issue reading database config to support Rails 6.0
|
|
42
|
-
- Add more specs, including actual run of a dump for default sanitization
|
|
46
|
+
- Published in the wrong order and produced errors. Use 0.5.1 instead.
|
|
43
47
|
|
|
44
48
|
## [0.4.3] - 2025-07-28
|
|
45
49
|
|
|
@@ -6,9 +6,8 @@ module DataTaster
|
|
|
6
6
|
|
|
7
7
|
def sample!
|
|
8
8
|
start_export
|
|
9
|
-
|
|
10
9
|
process_export
|
|
11
|
-
|
|
10
|
+
ensure
|
|
12
11
|
finish_export
|
|
13
12
|
end
|
|
14
13
|
|
|
@@ -48,6 +47,8 @@ module DataTaster
|
|
|
48
47
|
end
|
|
49
48
|
|
|
50
49
|
def finish_export
|
|
50
|
+
return unless @io && !@io.closed?
|
|
51
|
+
|
|
51
52
|
@io.puts "SET FOREIGN_KEY_CHECKS=1;"
|
|
52
53
|
@io.close
|
|
53
54
|
end
|
data/lib/data_taster/version.rb
CHANGED
data/lib/data_taster.rb
CHANGED