gxapi_rails 0.0.6 → 0.1.0
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 +4 -4
- data/lib/gxapi.rb +5 -1
- data/lib/gxapi/base.rb +9 -1
- data/lib/gxapi/google_analytics.rb +25 -25
- data/lib/gxapi/version.rb +1 -1
- data/lib/tasks/gxapi.rake +7 -1
- data/spec/dummy/app/models/post.rb +0 -1
- data/spec/dummy/config/application.rb +0 -8
- data/spec/dummy/config/environments/development.rb +1 -3
- data/spec/dummy/config/environments/production.rb +1 -0
- data/spec/dummy/config/environments/test.rb +1 -3
- data/spec/dummy/log/test.log +636 -1762
- data/spec/dummy/tmp/cache/D9A/F00/gxapi-google-analytics-experiments +1 -0
- data/spec/features/display_variant_js_spec.rb +26 -2
- data/spec/fixtures/analytics_discovery.json +6697 -0
- data/spec/helpers/gxapi_helper_spec.rb +8 -8
- data/spec/lib/gxapi/base_spec.rb +35 -11
- data/spec/lib/gxapi/experiment_identifier_spec.rb +3 -3
- data/spec/lib/gxapi/google_analytics_spec.rb +118 -31
- data/spec/lib/gxapi_spec.rb +3 -3
- data/spec/spec_helper.rb +8 -2
- metadata +77 -47
- data/spec/dummy/log/development.log +0 -44
@@ -1,44 +0,0 @@
|
|
1
|
-
Connecting to database specified by database.yml
|
2
|
-
Connecting to database specified by database.yml
|
3
|
-
Connecting to database specified by database.yml
|
4
|
-
Connecting to database specified by database.yml
|
5
|
-
Connecting to database specified by database.yml
|
6
|
-
Connecting to database specified by database.yml
|
7
|
-
Connecting to database specified by database.yml
|
8
|
-
Connecting to database specified by database.yml
|
9
|
-
Connecting to database specified by database.yml
|
10
|
-
Connecting to database specified by database.yml
|
11
|
-
Connecting to database specified by database.yml
|
12
|
-
Connecting to database specified by database.yml
|
13
|
-
Connecting to database specified by database.yml
|
14
|
-
Connecting to database specified by database.yml
|
15
|
-
Connecting to database specified by database.yml
|
16
|
-
Connecting to database specified by database.yml
|
17
|
-
Google::APIClient - Initializing client with options {}
|
18
|
-
Google::APIClient - Please provide :application_name and :application_version when initializing the client
|
19
|
-
Google::APIClient::Request Sending API request get https://www.googleapis.com/discovery/v1/apis/analytics/v3/rest {"User-Agent"=>"google-api-ruby-client/0.6.4 Mac OS X/10.8.5"}
|
20
|
-
Google::APIClient::Request Result: 200 {"expires"=>"Sun, 03 Nov 2013 16:39:41 GMT", "date"=>"Sun, 03 Nov 2013 16:34:41 GMT", "etag"=>"\"DGgqtFnjgu83tuwvvVNNUhOiHWk/IpWtXM-SYuOWKLGlpsQELRW73lI\"", "content-type"=>"application/json; charset=UTF-8", "x-content-type-options"=>"nosniff", "x-frame-options"=>"SAMEORIGIN", "x-xss-protection"=>"1; mode=block", "server"=>"GSE", "age"=>"55", "cache-control"=>"public, max-age=300, must-revalidate, no-transform", "alternate-protocol"=>"443:quic", "connection"=>"close"}
|
21
|
-
Google::APIClient::Request Sending API request get https://www.googleapis.com/analytics/v3/management/accounts/2633140/webproperties/UA-2633140-6/profiles/73788770/experiments {"User-Agent"=>"google-api-ruby-client/0.6.4 Mac OS X/10.8.5", "Authorization"=>"Bearer ya29.AHES6ZQLcmyA0dMoq6cCFbV3Abx5LovZZzmTwXtFQGzkneME0A", "Cache-Control"=>"no-store"}
|
22
|
-
Google::APIClient::Request Result: 200 {"expires"=>"Sun, 03 Nov 2013 16:35:37 GMT", "date"=>"Sun, 03 Nov 2013 16:35:37 GMT", "cache-control"=>"private, max-age=0, must-revalidate, no-transform", "etag"=>"\"yw9_eWYH7O9SphOYdTrh7l9T458/AY1ok-SnzMKmiDcm5ZadMNt1hQU\"", "content-type"=>"application/json; charset=UTF-8", "x-content-type-options"=>"nosniff", "x-frame-options"=>"SAMEORIGIN", "x-xss-protection"=>"1; mode=block", "server"=>"GSE", "alternate-protocol"=>"443:quic", "connection"=>"close"}
|
23
|
-
Connecting to database specified by database.yml
|
24
|
-
Reloading Gxapi Experiments
|
25
|
-
Google::APIClient - Initializing client with options {}
|
26
|
-
Google::APIClient - Please provide :application_name and :application_version when initializing the client
|
27
|
-
Google::APIClient::Request Sending API request get https://www.googleapis.com/discovery/v1/apis/analytics/v3/rest {"User-Agent"=>"google-api-ruby-client/0.6.4 Mac OS X/10.8.5"}
|
28
|
-
Google::APIClient::Request Result: 200 {"expires"=>"Sun, 03 Nov 2013 16:39:41 GMT", "date"=>"Sun, 03 Nov 2013 16:34:41 GMT", "etag"=>"\"DGgqtFnjgu83tuwvvVNNUhOiHWk/IpWtXM-SYuOWKLGlpsQELRW73lI\"", "content-type"=>"application/json; charset=UTF-8", "x-content-type-options"=>"nosniff", "x-frame-options"=>"SAMEORIGIN", "x-xss-protection"=>"1; mode=block", "server"=>"GSE", "age"=>"88", "cache-control"=>"public, max-age=300, must-revalidate, no-transform", "alternate-protocol"=>"443:quic", "connection"=>"close"}
|
29
|
-
Google::APIClient::Request Sending API request get https://www.googleapis.com/analytics/v3/management/accounts/2633140/webproperties/UA-2633140-6/profiles/73788770/experiments {"User-Agent"=>"google-api-ruby-client/0.6.4 Mac OS X/10.8.5", "Authorization"=>"Bearer ya29.AHES6ZQ0fSa3-ELUJpVlwv2AvbFMXTcDD7sqlP4qB0XuZtDeJA", "Cache-Control"=>"no-store"}
|
30
|
-
Google::APIClient::Request Result: 200 {"expires"=>"Sun, 03 Nov 2013 16:36:09 GMT", "date"=>"Sun, 03 Nov 2013 16:36:09 GMT", "cache-control"=>"private, max-age=0, must-revalidate, no-transform", "etag"=>"\"yw9_eWYH7O9SphOYdTrh7l9T458/AY1ok-SnzMKmiDcm5ZadMNt1hQU\"", "content-type"=>"application/json; charset=UTF-8", "x-content-type-options"=>"nosniff", "x-frame-options"=>"SAMEORIGIN", "x-xss-protection"=>"1; mode=block", "server"=>"GSE", "alternate-protocol"=>"443:quic", "connection"=>"close"}
|
31
|
-
Reloading Gxapi Experiments Complete!
|
32
|
-
Connecting to database specified by database.yml
|
33
|
-
Connecting to database specified by database.yml
|
34
|
-
Connecting to database specified by database.yml
|
35
|
-
Connecting to database specified by database.yml
|
36
|
-
Google::APIClient - Initializing client with options {}
|
37
|
-
Google::APIClient - Please provide :application_name and :application_version when initializing the client
|
38
|
-
Connecting to database specified by database.yml
|
39
|
-
Google::APIClient - Initializing client with options {}
|
40
|
-
Google::APIClient - Please provide :application_name and :application_version when initializing the client
|
41
|
-
Google::APIClient::Request Sending API request get https://www.googleapis.com/discovery/v1/apis/analytics/v3/rest {"User-Agent"=>"google-api-ruby-client/0.6.4 Mac OS X/10.9.2"}
|
42
|
-
Google::APIClient::Request Result: 200 {"expires"=>"Thu, 20 Mar 2014 18:11:39 GMT", "date"=>"Thu, 20 Mar 2014 18:06:39 GMT", "etag"=>"\"PoXr25DWmmN6KaMjdGmecv0bPt8/dNY8WM7wPjnPhJN2ODTycMHNAas\"", "content-type"=>"application/json; charset=UTF-8", "x-content-type-options"=>"nosniff", "x-frame-options"=>"SAMEORIGIN", "x-xss-protection"=>"1; mode=block", "content-length"=>"148296", "server"=>"GSE", "age"=>"182", "cache-control"=>"public, max-age=300, must-revalidate, no-transform", "alternate-protocol"=>"443:quic", "connection"=>"close"}
|
43
|
-
Google::APIClient::Request Sending API request get https://www.googleapis.com/analytics/v3/management/accounts/2633140/webproperties/UA-2633140-6/profiles/73788770/experiments {"User-Agent"=>"google-api-ruby-client/0.6.4 Mac OS X/10.9.2", "Authorization"=>"Bearer ya29.1.AADtN_XmUtgWupcw4Ut_3J3OafZBx9-eBz--D-jZdpcjozVeTkJ9VMI-sZYv4O92Cg", "Cache-Control"=>"no-store"}
|
44
|
-
Google::APIClient::Request Result: 200 {"expires"=>"Thu, 20 Mar 2014 18:09:42 GMT", "date"=>"Thu, 20 Mar 2014 18:09:42 GMT", "cache-control"=>"private, max-age=0, must-revalidate, no-transform", "etag"=>"\"a71WwETdQwAtQQlKuH-J4PTJUJc/AY1ok-SnzMKmiDcm5ZadMNt1hQU\"", "content-type"=>"application/json; charset=UTF-8", "x-content-type-options"=>"nosniff", "x-frame-options"=>"SAMEORIGIN", "x-xss-protection"=>"1; mode=block", "content-length"=>"2236", "server"=>"GSE", "alternate-protocol"=>"443:quic", "connection"=>"close"}
|