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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: a0545ee7c006b54aaedd28b162ee6eb06647b0812bfbbdcb3b5846a78d6cdd68
4
- data.tar.gz: 9cf0a020aaeabaf9d659549b3045fe9ba2b4a758ee40106163a6aead95c7a778
3
+ metadata.gz: bddfb319d58a0263077f4ecd1599d859e429b06762cd32af84220540ab0c87b9
4
+ data.tar.gz: 3addf61fbe07c2ea578a873a3aa515b31e8ad6b141cd45b53c7902ab72c83b9d
5
5
  SHA512:
6
- metadata.gz: 33e82c2fbba3856af1019a61bc1cf181e6f74383824895ab667d76aedd1994a04af5e69534c73f379ba2b64f333748319767290511f97eaefb13fbb75e674b83
7
- data.tar.gz: dacd253d2915316b2549f6ea4196354055f0abd4b504b14c9e6980ecab11f83d676a1868e81751c785ee813fd242bd256361daaae475c5078eda6c227364d0aa
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.0] - Unreleased
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.
@@ -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
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Deckard
4
- VERSION = "0.3.0"
4
+ VERSION = "0.3.1"
5
5
  end
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.0
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.21
93
+ rubygems_version: 4.0.16
94
94
  specification_version: 4
95
95
  summary: Stream ActiveRecord objects between Rails environments
96
96
  test_files: []