source_route 0.1.3 → 0.1.4
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: 53ca6ceb4707f51a82dae6898626acc4d48a833d
|
|
4
|
+
data.tar.gz: f7195096abe06dbf7be4de3c50ec29cd778be20e
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: f53ae0700478709b418e659d4a724a0ef5555a676ba8c8b51388d179467919ada812f5fee3523573943b74fa15ae8f5a3422016ca6e767c30739193b768d48ca
|
|
7
|
+
data.tar.gz: c54533ac8b57235ca3ef6a92911cf84a8d5cb22e15add32f16769eb0c2148499ce3016d56bf8102efac1d87484fcf9f9bafff9321fe5a1f2aca851de99c53254
|
|
@@ -12,9 +12,11 @@ if defined? ActiveRecord
|
|
|
12
12
|
|
|
13
13
|
# dump association can trigger ActiveSupport::JSON::Encoding::CircularReferenceError when use rails ~> 4.0.1
|
|
14
14
|
# I try other json gems to fix it, but all failed. That's why I override it here.
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
15
|
+
#
|
|
16
|
+
# it can affect the json output of rails AR. Not good solution
|
|
17
|
+
# def to_json(options = nil)
|
|
18
|
+
# JSON.dump(to_s)
|
|
19
|
+
# end
|
|
18
20
|
end
|
|
19
21
|
|
|
20
22
|
end
|
data/lib/source_route/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: source_route
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.1.
|
|
4
|
+
version: 0.1.4
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- raykin
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2014-
|
|
11
|
+
date: 2014-12-02 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: awesome_print
|