cabbage_doc 0.1.0 → 0.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/cabbage_doc/client.rb +7 -0
- data/lib/cabbage_doc/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 07192d64517a805bfb047aa83db53300693f536b
|
4
|
+
data.tar.gz: cd5706e70532b54d62d70c9d55796234def32579
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: dd317702ce28ff77f3fa69b90663482bcf5140b379bfb9d945ba22e22ecbbfdc79df3a17de5aa91aef290b940ae1f2a6da861d99befc31db004eae21662f30f7
|
7
|
+
data.tar.gz: 67e4049149210bb756668167bf252060c4956e1896d3df789e0f47dee231673aaeb944aa0f29230a43616b3f5f2ef715caf003fe4d2504ac6cf3786bec3518b9
|
data/lib/cabbage_doc/client.rb
CHANGED
@@ -4,6 +4,13 @@ module CabbageDoc
|
|
4
4
|
class Client
|
5
5
|
include HTTParty
|
6
6
|
|
7
|
+
class CustomParser < HTTParty::Parser
|
8
|
+
def json
|
9
|
+
JSON.parse(body, :quirks_mode => true, :allow_nan => true)
|
10
|
+
end
|
11
|
+
end
|
12
|
+
parser CustomParser
|
13
|
+
|
7
14
|
class << self
|
8
15
|
def new(auth)
|
9
16
|
Class.new(self) do |klass|
|
data/lib/cabbage_doc/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: cabbage_doc
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Mihail Szabolcs
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-05-
|
11
|
+
date: 2017-05-19 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: redcarpet
|
@@ -244,7 +244,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
244
244
|
version: '0'
|
245
245
|
requirements: []
|
246
246
|
rubyforge_project:
|
247
|
-
rubygems_version: 2.
|
247
|
+
rubygems_version: 2.6.6
|
248
248
|
signing_key:
|
249
249
|
specification_version: 4
|
250
250
|
summary: Interactive API documentation generator.
|