active_typed_store 2.4.0 → 2.6.0
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 +4 -4
- data/lib/active_typed_store/disallow_symbol_keys.rb +1 -1
- data/lib/active_typed_store/store.rb +1 -1
- data/lib/active_typed_store/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: 50bbecd62a4d3aa891d342f43de9e619b0d01a767b975a4fd12b4b529a3c1255
|
|
4
|
+
data.tar.gz: bb70b58ecadd380b1510be0687fc2a89ce709a53f3176538ccedb6cb0393cade
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 47d26171b7aac604865a99ec2bca566093b49314eba00543b75a82e3d415ee2b89a55cbce121086689b4827bcd88937983c1ec24225a6948d7393f984f1aa09e
|
|
7
|
+
data.tar.gz: c8ddba819be92a726cda8ff7cb00cfe2054c4afd69564790899079d85c00c0a395dbca979f32381923e58aed1b76cb55327bcf1319924bc58b43282a2c9e24e5
|
data/Gemfile.lock
CHANGED
|
@@ -22,7 +22,7 @@ GIT
|
|
|
22
22
|
PATH
|
|
23
23
|
remote: .
|
|
24
24
|
specs:
|
|
25
|
-
active_typed_store (2.
|
|
25
|
+
active_typed_store (2.5.0)
|
|
26
26
|
activemodel
|
|
27
27
|
activerecord
|
|
28
28
|
activesupport
|
|
@@ -75,6 +75,7 @@ GEM
|
|
|
75
75
|
json (2.7.2)
|
|
76
76
|
language_server-protocol (3.17.0.3)
|
|
77
77
|
logger (1.6.1)
|
|
78
|
+
mini_portile2 (2.8.9)
|
|
78
79
|
minitest (5.25.1)
|
|
79
80
|
parallel (1.26.3)
|
|
80
81
|
parser (3.3.5.0)
|
|
@@ -130,9 +131,8 @@ GEM
|
|
|
130
131
|
ruby-progressbar (1.13.0)
|
|
131
132
|
rumoji (0.5.0)
|
|
132
133
|
securerandom (0.3.1)
|
|
133
|
-
sqlite3 (1.7.3
|
|
134
|
-
|
|
135
|
-
sqlite3 (1.7.3-x86_64-linux)
|
|
134
|
+
sqlite3 (1.7.3)
|
|
135
|
+
mini_portile2 (~> 2.8.0)
|
|
136
136
|
timeout (0.4.1)
|
|
137
137
|
tzinfo (2.0.6)
|
|
138
138
|
concurrent-ruby (~> 1.0)
|
|
@@ -19,7 +19,7 @@ module ActiveTypedStore
|
|
|
19
19
|
|
|
20
20
|
# Same interface as ActiveRecord::Store::HashAccessor
|
|
21
21
|
# Optimized by using object.read_attribute(attribute) instead of object.send(attribute)
|
|
22
|
-
class StoreHashAccessor
|
|
22
|
+
class StoreHashAccessor < ActiveRecord::Store::StringKeyedHashAccessor
|
|
23
23
|
def self.read(object, attribute, key)
|
|
24
24
|
prepare(object, attribute)
|
|
25
25
|
object.read_attribute(attribute)[key]
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: active_typed_store
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 2.
|
|
4
|
+
version: 2.6.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Ermolaev Andrey
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: exe
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date:
|
|
11
|
+
date: 2026-06-29 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: activemodel
|