deckard 0.3.0 → 0.3.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/CHANGELOG.md +8 -1
- data/README.md +4 -0
- data/lib/deckard/model_config.rb +3 -0
- data/lib/deckard/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: bddfb319d58a0263077f4ecd1599d859e429b06762cd32af84220540ab0c87b9
|
|
4
|
+
data.tar.gz: 3addf61fbe07c2ea578a873a3aa515b31e8ad6b141cd45b53c7902ab72c83b9d
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 1b393a27053d774049cd08ec8e4792124e733e68479ee22305ff83c9f2bfe825a5b21753165218d19574107dd9309ec332d14b26470fbd631a2ecadd275ea541
|
|
7
|
+
data.tar.gz: 8be46ba56f0c582f16db7e73d46d5b4970f8b93a9e8d61c3582ea1af8f9a3d315266deaa07eb9ca76268755b27dd0c5afb57bf576139af46d8cb38767ff1daec
|
data/CHANGELOG.md
CHANGED
|
@@ -5,7 +5,14 @@ All notable changes to deckard are recorded here. The format follows
|
|
|
5
5
|
[Semantic Versioning](https://semver.org/). Before 1.0, minor versions may
|
|
6
6
|
change the stream format and the Ruby API.
|
|
7
7
|
|
|
8
|
-
## [0.3.
|
|
8
|
+
## [0.3.1] - 2026-10-10
|
|
9
|
+
|
|
10
|
+
### Fixed
|
|
11
|
+
|
|
12
|
+
- Reject unknown names in `omit_associations` with a `ConfigurationError`,
|
|
13
|
+
so a typo cannot silently leave an association included in a dump.
|
|
14
|
+
|
|
15
|
+
## [0.3.0] - 2026-09-30
|
|
9
16
|
|
|
10
17
|
### Added
|
|
11
18
|
|
data/README.md
CHANGED
|
@@ -211,3 +211,7 @@ manual runs using Ruby 4.0.6 and an isolated PostgreSQL 18.6 service. The
|
|
|
211
211
|
workflow is in `.crow/ruby.yaml`; it covers specs, Standard lint, and the
|
|
212
212
|
style ratchet. The Docker end-to-end harness and performance suite remain
|
|
213
213
|
separate local tasks.
|
|
214
|
+
|
|
215
|
+
Release automation uses a version increase and matching changelog notes in a
|
|
216
|
+
pull request. See [Releasing Deckard](docs/releasing.md) for the shared workflow
|
|
217
|
+
and one-time RubyGems trusted publisher setup.
|
data/lib/deckard/model_config.rb
CHANGED
|
@@ -105,6 +105,9 @@ module Deckard
|
|
|
105
105
|
"which deckard does not support; replicate :#{reflection.through_reflection.name} instead"
|
|
106
106
|
end
|
|
107
107
|
end
|
|
108
|
+
problems += @omitted_associations.filter_map do |name|
|
|
109
|
+
"#{model} has no #{name.inspect} association" unless model.reflect_on_association(name)
|
|
110
|
+
end
|
|
108
111
|
attributes = @natural_key_attributes + @omitted_fields
|
|
109
112
|
unless attributes.empty? || model.abstract_class?
|
|
110
113
|
missing = attributes - model.attribute_names
|
data/lib/deckard/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: deckard
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.3.
|
|
4
|
+
version: 0.3.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Rob Sanheim
|
|
@@ -90,7 +90,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
90
90
|
- !ruby/object:Gem::Version
|
|
91
91
|
version: '0'
|
|
92
92
|
requirements: []
|
|
93
|
-
rubygems_version: 4.0.
|
|
93
|
+
rubygems_version: 4.0.16
|
|
94
94
|
specification_version: 4
|
|
95
95
|
summary: Stream ActiveRecord objects between Rails environments
|
|
96
96
|
test_files: []
|