plausible_api 0.1.2 → 0.1.3

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: 56e5dc3ef2295b911db3855a3dd745f9f6bfe964fd9744fca791071785dcfe10
4
- data.tar.gz: 90f4ee8e828ed9318e2a990bc4f9ed928af6e828c073020a179bb656ad4538c6
3
+ metadata.gz: 61ec37015a39b48b8ef1a5ff88f98452a87c590232ee527f03591d9fe3928a8d
4
+ data.tar.gz: d8a7df06ccea331230058b18a900b41c850a55ca18d9e850d1cc2fbf7fa7bbcc
5
5
  SHA512:
6
- metadata.gz: 8f76963510fbb456467cd9cca3cbfdb7100ddddf0b7aaf38848153386b5d09dd1617839416a52bf59b8cf755b829913748335826c908ed1826f496d7b164f29e
7
- data.tar.gz: a0750f809ecd8982532cc8a325361a660d0152610b37dd8c34ad83179b08ea3468a8e3eac8c6c92c37e54468cbe7f55e7b74b005e346e32f9d8d16b15de3742a
6
+ metadata.gz: a0ce1d1dc380b44136fc38f193e307ee7b84872e6835043c02ebe89497c702daaf404efafe855c9b11f867569c612fe260ac0f1c79c959b30359d39df192d08c
7
+ data.tar.gz: 0b28a11d857c1b2a9b83f5336fc833abb722e9492d602172f829c0bb12956c9aba7c426649ed01428a65f88d4c49ea421d44b09a808c639aa43c83b8453f8ada
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- plausible_api (0.1.2)
4
+ plausible_api (0.1.3)
5
5
 
6
6
  GEM
7
7
  remote: https://rubygems.org/
data/README.md CHANGED
@@ -10,6 +10,10 @@ gem 'plausible_api'
10
10
  Then you need to initialize a Client with your `site_id` (the domain) and your `token`.
11
11
  ```rb
12
12
  c = PlausibleApi::Client.new('dailytics.com', '123123')
13
+
14
+ # Test if the site and token are valid
15
+ c.valid?
16
+ => true
13
17
  ```
14
18
 
15
19
  ### Stats > Aggregate
@@ -31,7 +31,7 @@ module PlausibleApi
31
31
  call PlausibleApi::Stats::Realtime::Visitors.new
32
32
  end
33
33
 
34
- def test
34
+ def valid?
35
35
  realtime_visitors.is_a? Integer
36
36
  end
37
37
 
@@ -1,3 +1,3 @@
1
1
  module PlausibleApi
2
- VERSION = "0.1.2"
2
+ VERSION = "0.1.3"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: plausible_api
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.2
4
+ version: 0.1.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Gustavo Garcia