simple_ga_reporting 1.1.9 → 1.2.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +3 -0
- data/lib/simple_ga_reporting/simple_ga_reports.rb +7 -2
- data/lib/simple_ga_reporting/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f221a740b8c7c09dca3d7610864ec4d7593eb14ee85a7f263d76576880d5ee1c
|
4
|
+
data.tar.gz: 40473825da12f440658e5f140ab0f06cd4eb70632a7247f7fec06e65a7fdf58c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5fa0a15cde2dc0ee6df4b6f763a99bc4197c8315833398f079cee538cfd3ffdafe5aaf170299de50df2195dd81c0019980416c47eef463c2172d7d1c1673ddc2
|
7
|
+
data.tar.gz: a3029692fb6e0ebf7a2a7fbbef3d27318d1dfb82d7bdf9f7d15a2e57dda6530d821c4907ce4fa5a87eabe6fa98796884ed88ab1103e71fcb2ad57d6443143fa5
|
data/CHANGELOG.md
CHANGED
@@ -6,10 +6,15 @@ class SimpleGaReports
|
|
6
6
|
end
|
7
7
|
|
8
8
|
class << SimpleGaReports
|
9
|
-
def configure(report_config: 'config/ga_reporting_config.yml', filters:
|
9
|
+
def configure(report_config: 'config/ga_reporting_config.yml', filters: nil, **options)
|
10
10
|
# TODO: oh... global variable...
|
11
11
|
$model_config = YAML.load_file(report_config)
|
12
|
-
|
12
|
+
|
13
|
+
if filters.nil?
|
14
|
+
$filters_file = File.expand_path('../config/filters.rb', __FILE__)
|
15
|
+
else
|
16
|
+
$filters_file = filters
|
17
|
+
end
|
13
18
|
|
14
19
|
require 'simple_ga_reporting/legato_ga_model'
|
15
20
|
query_parameters($model_config, options)
|