mobility_active_storage 0.1.0 → 0.1.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: d4544d367fbdc080f61260f4706289e6fa009088ab73399ee5ee4efbe1597f2f
4
- data.tar.gz: cb31f79f1ba41e277fe74bd2a707e3a861a756b1e6c4659434ae5dac4312a19c
3
+ metadata.gz: f4973582dfa47dc2c6bdd8f1003bf6b3e4347be60ab61ab653e588629cee3588
4
+ data.tar.gz: fbc607bf032ac1c19dc3f73ce41ceabba5ce8372e2cb71977158a8f17bc45e55
5
5
  SHA512:
6
- metadata.gz: 260385aedbb5bf84fa7c244a669b108fa3b6a7671d48228e70f617fa2656c53bf03fc90ee1993ee3d9513b26701226dad5572afdcea6be1dd53e00253eb8c941
7
- data.tar.gz: 8ffb358c2898f8ae304c43f135e97ad4105e9fa97ba419b1c6af823e8afe26f621c85f343b2f092273441f777a1f1bc50d84089ddb440283dc7283005d2337bf
6
+ metadata.gz: 7cc3a587ed7f117a685b9d7236597a3b50eef206537e83554e27b32ac9d803560d08f93f99e2df554afee1af1cf558d6025942da2b9bd8c4514d36d63e6cde49
7
+ data.tar.gz: fbb2f83b8e98ea1f26019a2302fab216dd7fd9b6b677a09e5fb1b785766ed149e6df0c5479e27cac85f92748474f49637791e47953c51fae215ba1bc61e69abe
data/CHANGELOG.md CHANGED
@@ -1,8 +1,22 @@
1
1
  # Changelog
2
2
 
3
- ## [Unreleased]
3
+ ## [0.1.1] - 2026-08-10
4
4
 
5
- Pre-release fixes from a security review of the initial commit.
5
+ - No user-facing changes. Released to verify the trusted-publishing workflow; the packaged files
6
+ are identical to 0.1.0.
7
+
8
+ ## [0.1.0] - 2026-08-10
9
+
10
+ - Initial release.
11
+ - `has_one_translated_attached` and `has_many_translated_attached` macros on Active Record models.
12
+ - `Mobility::Backends` registrations for `:active_storage` and `:active_storage_many`.
13
+ - Per-locale attachments stored under locale-suffixed Active Storage attachment names
14
+ (`document_en`, `document_fr`), requiring no migration.
15
+ - Opt-in per-attribute fallbacks, where reads resolve through the fallback chain while writes
16
+ stay in the current locale.
17
+ - `#{attribute}_locales` and a current-locale `with_attached_#{attribute}` scope.
18
+
19
+ Fixes from a security review of the initial commit, all included in this release:
6
20
 
7
21
  - A `fallback:` read option is now honoured only where the attribute actually configures
8
22
  fallbacks. Previously `document(fallback: :ja)` cross-read another locale even on an attribute
@@ -28,14 +42,3 @@ Pre-release fixes from a security review of the initial commit.
28
42
  - CI runs a Rails 7.2/8.0/latest matrix on Ruby 3.2 through 4.0, plus `bundler-audit`. Actions are
29
43
  pinned by SHA.
30
44
  - README: strong-parameters guidance for the per-locale writers, and Rails version security notes.
31
-
32
- ## [0.1.0] - 2026-08-07
33
-
34
- - Initial release.
35
- - `has_one_translated_attached` and `has_many_translated_attached` macros on Active Record models.
36
- - `Mobility::Backends` registrations for `:active_storage` and `:active_storage_many`.
37
- - Per-locale attachments stored under locale-suffixed Active Storage attachment names
38
- (`document_en`, `document_fr`), requiring no migration.
39
- - Opt-in per-attribute fallbacks, where reads resolve through the fallback chain while writes
40
- stay in the current locale.
41
- - `#{attribute}_locales` and a current-locale `with_attached_#{attribute}` scope.
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module MobilityActiveStorage
4
- VERSION = "0.1.0"
4
+ VERSION = "0.1.1"
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mobility_active_storage
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Glen Barnes
@@ -103,7 +103,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
103
103
  - !ruby/object:Gem::Version
104
104
  version: '0'
105
105
  requirements: []
106
- rubygems_version: 4.0.17
106
+ rubygems_version: 4.0.16
107
107
  specification_version: 4
108
108
  summary: Translated Active Storage attachments for Mobility.
109
109
  test_files: []