foundries 0.1.7 → 0.1.8
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/CHANGELOG.md +6 -7
- data/lib/foundries/snapshot.rb +3 -2
- data/lib/foundries/version.rb +2 -2
- 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: ab6babf4d677507688b1d7bd9019f61a9b02e7d2c0b8ecc0e6b5a62c066509fd
|
|
4
|
+
data.tar.gz: 28c8aa33144c3fca2d424a44faa42ba72e453db04a7ddcd5dd4e7024d8e5591c
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 6f68876b0a0b4628c92d4e05eb5f7ede24d4cdb2b52c0a033e213900d90059c7fe695310d408b5ce2240cae7fed2a818338b6d503994b5316af7aa961a9e0eef
|
|
7
|
+
data.tar.gz: '087ee2693cd1ef2ef8eee07a547676e6ef90385509e5e5564c6002a2b7f4452eb36a4329f3c9497518c0102326ea3cb73deef9fc9abc1eb312f7b0ce44e71fa1'
|
data/CHANGELOG.md
CHANGED
|
@@ -5,6 +5,12 @@ All notable changes to this project will be documented in this file.
|
|
|
5
5
|
The format is based on [Keep a Changelog](http://keepachangelog.com/)
|
|
6
6
|
and this project adheres to [Semantic Versioning](http://semver.org/).
|
|
7
7
|
|
|
8
|
+
## [0.1.8] - 2026-10-05
|
|
9
|
+
|
|
10
|
+
### Fixed
|
|
11
|
+
|
|
12
|
+
- Restore snapshots on the caller's current connection (460b709)
|
|
13
|
+
|
|
8
14
|
## [0.1.7] - 2026-09-10
|
|
9
15
|
|
|
10
16
|
### Added
|
|
@@ -17,10 +23,3 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
|
|
|
17
23
|
- Reject incomplete snapshots before restoring rows (fe91e06)
|
|
18
24
|
- Clean staging directories after failed snapshot captures (fe91e06)
|
|
19
25
|
- Restore parent context when a nested blueprint block raises (7fd6e4b)
|
|
20
|
-
|
|
21
|
-
## [0.1.6] - 2026-08-25
|
|
22
|
-
|
|
23
|
-
### Fixed
|
|
24
|
-
|
|
25
|
-
- Snapshot files are read and written in binary, so captured data with non-ASCII bytes round-trips (6a7d3a3)
|
|
26
|
-
- Restoring a snapshot no longer rewinds a sequence below its current value (df66836)
|
data/lib/foundries/snapshot.rb
CHANGED
|
@@ -43,12 +43,13 @@ module Foundries
|
|
|
43
43
|
ENV["FOUNDRIES_CACHE"] == "1"
|
|
44
44
|
end
|
|
45
45
|
|
|
46
|
+
# Built per call so a restore always runs on the caller's current
|
|
47
|
+
# connection, inside its transaction.
|
|
46
48
|
def adapter
|
|
47
|
-
|
|
49
|
+
Adapter.for(connection)
|
|
48
50
|
end
|
|
49
51
|
|
|
50
52
|
def reset!
|
|
51
|
-
@adapter = nil
|
|
52
53
|
@source_paths = nil
|
|
53
54
|
end
|
|
54
55
|
end
|
data/lib/foundries/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: foundries
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.1.
|
|
4
|
+
version: 0.1.8
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- John Dowd
|
|
@@ -93,7 +93,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
93
93
|
- !ruby/object:Gem::Version
|
|
94
94
|
version: '0'
|
|
95
95
|
requirements: []
|
|
96
|
-
rubygems_version: 4.0.
|
|
96
|
+
rubygems_version: 4.0.20
|
|
97
97
|
specification_version: 4
|
|
98
98
|
summary: Declarative trees of related data using factory_bot
|
|
99
99
|
test_files: []
|