g_ruby 0.0.9 → 0.0.10

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.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/lib/g_ruby/analytics.rb +1 -1
  3. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: df51aa83935268f502348839d9624ed7f6dc3f07
4
- data.tar.gz: 5783605bd9e6cde0bd1896445cc13c11a1b408b2
3
+ metadata.gz: 626901939ecbb09aead104c0e92e24602433499c
4
+ data.tar.gz: 9fb539d39e86b990aae5a3d48cd5e0ab1699e457
5
5
  SHA512:
6
- metadata.gz: 3a2dc266f66fdb42353e816be5aa90d9d0826f2fde42cdd83eefc96ffdc3a8ba73012b1be500e07d0550200e4fedcdf78b222fe7c8bbc92ce55a33389b655cc9
7
- data.tar.gz: 5714a97de802f0d87030addbd50e1a738b06691d06c39a67342a94335e760bfabfbc106d553784d698b63c1d52f3b1da77e47f59d55e66f3d86ce8a204c73464
6
+ metadata.gz: 5cf9ed69eb58c92fa821438c201cca7980726e6eb2557e52114d2a983df32324eb3d46cfe21a743a8682c565a7e58bd4bae2649c4f03a49d607e6e253a5fa08e
7
+ data.tar.gz: a6bc65ab581708208cbfffd9901045e6b9ab9c66adcd42369043880206812024b471c2c2aa52c38b460b73b6de0148d05bd695ae65124eb4f3be2c7de240edaa
@@ -104,7 +104,7 @@ class GRuby::Analytics
104
104
  date_today = Time.now.strftime("%Y-%m-%d")
105
105
 
106
106
  a0 = GRuby::Analytics.get(access_token, start_date, end_date, profile_id, metrics, dimensions, sort, limit)
107
- if a0.blank?
107
+ if !a0.blank?
108
108
  a30 = GRuby::Analytics.get(access_token, d30_days_ago, date_today, profile_id, metrics, dimensions, sort, nil)
109
109
  a60 = GRuby::Analytics.get(access_token, d60_days_ago, d30_days_ago, profile_id, metrics, dimensions, sort, nil)
110
110
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: g_ruby
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.9
4
+ version: 0.0.10
5
5
  platform: ruby
6
6
  authors:
7
7
  - Pykih Software