reactive-record 0.7.40 → 0.7.41
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
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 8204cd5f1b74a0cee310cdb8400be3cab0a2d14b
|
|
4
|
+
data.tar.gz: 9848560e9cb3a3d6462086d807c22f6130a6946b
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 9e3f8c5e621ef8c70e7b87aaf21fb5d3b34e8407b99a1de93d314f64fed69f7aa02b027e05f70c121539bff9b427b45c307fc5688d98c554e4d8e726c389d997
|
|
7
|
+
data.tar.gz: 8d2ce6815649d8fdc379f3184d5b7bf53b75d963ced3108d60ff1fa049d52b83ff2daaaa26380f63e248f7ed783f07520d700a96f12c252e952992f0049b295c
|
|
@@ -132,9 +132,9 @@ module ActiveRecord
|
|
|
132
132
|
def _react_param_conversion(param, opt = nil)
|
|
133
133
|
# defines how react will convert incoming json to this ActiveRecord model
|
|
134
134
|
#TIMING times = {start: Time.now.to_f, json_start: 0, json_end: 0, db_load_start: 0, db_load_end: 0}
|
|
135
|
-
param_is_native = !param.respond_to?(:is_a?) rescue true
|
|
136
135
|
#TIMING times[:json_start] = Time.now.to_f
|
|
137
|
-
param =
|
|
136
|
+
param = Native(param)
|
|
137
|
+
param = JSON.from_object(param.to_n) if param.is_a? Native::Object
|
|
138
138
|
#TIMING times[:json_end] = Time.now.to_f
|
|
139
139
|
result = if param.is_a? self
|
|
140
140
|
param
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: reactive-record
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.7.
|
|
4
|
+
version: 0.7.41
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Mitch VanDuyn
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2016-02-
|
|
11
|
+
date: 2016-02-03 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: rails
|