store_model 0.12.0 → 0.13.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/lib/store_model/model.rb +1 -1
- data/lib/store_model/version.rb +1 -1
- metadata +7 -7
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: f02467ba044729f1a4196b520ae35b90157cd09b8de8a41db53673f74bd24481
|
|
4
|
+
data.tar.gz: f893737770e749558b124154c81d3400b2f7a6defcfccee7164ad7fc667ba797
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 8b3357e13f694420ebc0e58018fe247ed28cf7cab32345b24208c49751e119561a4413f11bb39cf80bab99f54cbfbd818dbcd54a4f6e801c16dd9cf22f7c5392
|
|
7
|
+
data.tar.gz: 9679bf7228ac2156f6704a4ac457db2d39f8837d428a04607bbb9a09e07dfeaa843ff91d929e04690ef6c1b65e1d2b318b4a98cc4beaba125f48e16659b82c16
|
data/lib/store_model/model.rb
CHANGED
|
@@ -29,7 +29,7 @@ module StoreModel
|
|
|
29
29
|
#
|
|
30
30
|
# @return [Hash]
|
|
31
31
|
def as_json(options = {})
|
|
32
|
-
attributes.with_indifferent_access.as_json(options)
|
|
32
|
+
attributes.with_indifferent_access.merge(unknown_attributes).as_json(options)
|
|
33
33
|
end
|
|
34
34
|
|
|
35
35
|
# Compares two StoreModel::Model instances
|
data/lib/store_model/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: store_model
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.
|
|
4
|
+
version: 0.13.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- DmitryTsepelev
|
|
8
|
-
autorequire:
|
|
8
|
+
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date:
|
|
11
|
+
date: 2022-02-11 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: activerecord
|
|
@@ -120,7 +120,7 @@ homepage: https://github.com/DmitryTsepelev/store_model
|
|
|
120
120
|
licenses:
|
|
121
121
|
- MIT
|
|
122
122
|
metadata: {}
|
|
123
|
-
post_install_message:
|
|
123
|
+
post_install_message:
|
|
124
124
|
rdoc_options: []
|
|
125
125
|
require_paths:
|
|
126
126
|
- lib
|
|
@@ -128,15 +128,15 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
|
128
128
|
requirements:
|
|
129
129
|
- - ">="
|
|
130
130
|
- !ruby/object:Gem::Version
|
|
131
|
-
version: '2.
|
|
131
|
+
version: '2.6'
|
|
132
132
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
133
133
|
requirements:
|
|
134
134
|
- - ">="
|
|
135
135
|
- !ruby/object:Gem::Version
|
|
136
136
|
version: '0'
|
|
137
137
|
requirements: []
|
|
138
|
-
rubygems_version: 3.1
|
|
139
|
-
signing_key:
|
|
138
|
+
rubygems_version: 3.0.3.1
|
|
139
|
+
signing_key:
|
|
140
140
|
specification_version: 4
|
|
141
141
|
summary: Gem for working with JSON-backed attributes as ActiveRecord models
|
|
142
142
|
test_files: []
|