loco-liquid-filters 0.0.11 → 0.0.12

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,7 +1,7 @@
1
1
  module Loco
2
2
  module Liquid
3
3
  module Filters
4
- VERSION = "0.0.11"
4
+ VERSION = "0.0.12"
5
5
  end
6
6
  end
7
7
  end
@@ -4,6 +4,7 @@ require 'digest/md5'
4
4
  require 'sanitize'
5
5
  require 'uri'
6
6
  require 'net/https'
7
+ require 'json'
7
8
 
8
9
  module Loco
9
10
  module Liquid
@@ -54,7 +55,7 @@ module Loco
54
55
  req.basic_auth user, password
55
56
 
56
57
  resp = http.request(req)
57
- resp.body
58
+ JSON.parse(resp.body)
58
59
  end
59
60
  end
60
61
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: loco-liquid-filters
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.11
4
+ version: 0.0.12
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: