standardapi 1.0.7 → 1.0.8
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 66354648d2de6e7c04dae84f74ff14ae1177cc00
|
4
|
+
data.tar.gz: 8c72fa4cb63ef3a50a03cc293029b863583b9933
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a402630ffaa502858e33fc90b9eaed5833b1d3b9a9d3e26a1a87203679fece54d293b92a8eccbd8e1ebdfcbf4a339f460b4c9657482f4a6389c51ca896c3b0b1
|
7
|
+
data.tar.gz: 9d43da149574805fe8bc950dd85f43da337023fdc9b823c65266cc298c347654d6887f1747b445f1814bd3d854e8f56e6d99fcb0d776a2ec87f47a9313178d15
|
@@ -83,9 +83,8 @@ module StandardAPI::TestCase
|
|
83
83
|
|
84
84
|
if model.column_types[attribute].is_a?(ActiveRecord::ConnectionAdapters::PostgreSQL::OID::Decimal)
|
85
85
|
"#{value.to_f}"
|
86
|
-
|
87
|
-
|
88
|
-
# value.as_json
|
86
|
+
elsif model.column_types[attribute].is_a?(ActiveRecord::AttributeMethods::TimeZoneConversion::TimeZoneConverter)
|
87
|
+
value.in_time_zone.as_json
|
89
88
|
else
|
90
89
|
value.as_json
|
91
90
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: standardapi
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.8
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- James Bracy
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-09-
|
11
|
+
date: 2015-09-15 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activerecord-sort
|