plausible_api 0.1.7 → 0.1.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: ebd11c78c881b2281f10539221af3d8d73e354907d23a897c1b3802425cbeb83
4
- data.tar.gz: '0395a7e8e2f7e05f623c55cf3d328c759c55ad20d49451a547203fe13dd26509'
3
+ metadata.gz: 725e6a56e5cee867b7d2440667a399d13c9310b37acb54a910cb7f26087273f3
4
+ data.tar.gz: eea16b022039a10cf041030efab80f610ffe010a0adbbb561ceb9180ca6b9a81
5
5
  SHA512:
6
- metadata.gz: e4d725a1bab3837fd49afcdbe62a260f65ff181b2ce4f8867668a2b3dce396d246284acef7298e817adcbef765bdcaebbf259ace20d6afaa6225309761d402b7
7
- data.tar.gz: eacc77af2a71f266551b5378354adf44e222bcff5e0a95e0e3fc9dce390d93b4155a23db53bf5ad7a5eb24078ad81869083a586e5a1f66c18a56d4bd921e7dfe
6
+ metadata.gz: e760b16016faa8c19ec11698da4412d1432c36ab77569440cc4b532959c78489691ff238204c7e248973ce74a5d40aaaa54f7cfbfbaebaeb9e5cc28d7cebd438
7
+ data.tar.gz: 2e0a07adcb710d4133e44dac5cd8fa783553b1f5a8733b106f031fe63ff7a9fa6b3e22af0fdeeec13880274405f99de1417e3baf297b22d5187e8ab7eb12c78c
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- plausible_api (0.1.7)
4
+ plausible_api (0.1.8)
5
5
 
6
6
  GEM
7
7
  remote: https://rubygems.org/
@@ -15,7 +15,7 @@ module PlausibleApi
15
15
  end
16
16
 
17
17
  def parse_response(body)
18
- JSON.parse body
18
+ JSON.parse(body)['results']
19
19
  end
20
20
  end
21
21
  end
@@ -1,3 +1,3 @@
1
1
  module PlausibleApi
2
- VERSION = "0.1.7"
2
+ VERSION = "0.1.8"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: plausible_api
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.7
4
+ version: 0.1.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - Gustavo Garcia
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2021-02-26 00:00:00.000000000 Z
11
+ date: 2021-03-23 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description: A very humble wrapper for the new API by Plausible
14
14
  email: