quandl_cassinatra 0.1.15 → 0.1.16

Sign up to get free protection for your applications and to get access to all the features.
data/UPGRADE.md CHANGED
@@ -1,3 +1,7 @@
1
+ ## 0.1.16
2
+
3
+ * parse_json responds with more informative error
4
+
1
5
  ## 0.1.15
2
6
 
3
7
  * add status, blank?, saved?, exists?
@@ -45,7 +45,7 @@ class ParseJSON < Faraday::Response::Middleware
45
45
  json = {
46
46
  id: 1,
47
47
  errors: {
48
- parse_error: "Invalid Cassinatra API response. status: #{env[:status]} (last JSON response was #{body.inspect})"
48
+ parse_error: "Quandl::Cassinatra::ParseJSON error. status: #{env[:status]}, body: #{body.inspect}"
49
49
  }
50
50
  }
51
51
  end
@@ -1,5 +1,5 @@
1
1
  module Quandl
2
2
  module Cassinatra
3
- VERSION = '0.1.15'
3
+ VERSION = '0.1.16'
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: quandl_cassinatra
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.15
4
+ version: 0.1.16
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: