source_route 0.1.3 → 0.1.4

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: 1a153562bb55ebdbeed1c374089561c69be101a5
4
- data.tar.gz: 326bc1d36580221a021630ddd59ce66ea2cedfc2
3
+ metadata.gz: 53ca6ceb4707f51a82dae6898626acc4d48a833d
4
+ data.tar.gz: f7195096abe06dbf7be4de3c50ec29cd778be20e
5
5
  SHA512:
6
- metadata.gz: 1265a2077f7420311560c804169c50c369639c5c0882453549bee819ceb429bfa4713d3e545fca2c079076bce45911b7fe3db03547811dfb28f1a4acee3255ee
7
- data.tar.gz: 381f9a950f6b582edded7df76c30934f123c14fcbf51b4853b6062333d48c42a40d393543ec20b5c3c63682d4d0d65fe296f0ecb8e1ffe11d706c62fd5a9989f
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
- def to_json(options = nil)
16
- JSON.dump(to_s)
17
- end
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
@@ -1,3 +1,3 @@
1
1
  module SourceRoute
2
- VERSION = "0.1.3"
2
+ VERSION = "0.1.4"
3
3
  end
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.3
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-28 00:00:00.000000000 Z
11
+ date: 2014-12-02 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: awesome_print