soda-ruby 0.2.7 → 0.2.8

Sign up to get free protection for your applications and to get access to all the features.
data/CHANGELOG.mkd CHANGED
@@ -4,3 +4,4 @@
4
4
  0.2.4 - Point release including tests that are now mocked properly
5
5
  0.2.6 - Code cleanup from @raykao
6
6
  0.2.7 - Removing dead code and an un-needed dependency
7
+ 0.2.8 - Removing the nesting limit on the JSON parser
data/lib/soda/client.rb CHANGED
@@ -83,7 +83,7 @@ module SODA
83
83
  else
84
84
  if response["Content-Type"].include?("application/json")
85
85
  # Return a bunch of mashes if we're JSON
86
- response = JSON::parse(response.body)
86
+ response = JSON::parse(response.body, :max_nesting => false)
87
87
  if response.is_a? Array
88
88
  return response.collect { |r| Hashie::Mash.new(r) }
89
89
  else
data/lib/soda/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module SODA
2
- VERSION = "0.2.7"
2
+ VERSION = "0.2.8"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: soda-ruby
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.7
4
+ version: 0.2.8
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2014-01-10 00:00:00.000000000 Z
12
+ date: 2014-02-06 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: hashie