ga_collector_pusher 0.2.7 → 0.2.8

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 04884778a7c20cea46872127570bc9e925c570c2
4
- data.tar.gz: 6208dcf63f2cf4ac9cd1c6017bd1d3ab5410cc66
3
+ metadata.gz: 0b981258db5e5c9e90737754124585e3299b748a
4
+ data.tar.gz: d3288366443862b26e4e391b11c0626e36bc2ef3
5
5
  SHA512:
6
- metadata.gz: de8b04bea7570e9a0f741501c809b07a4ab1dc8cbefac4800a7741fee9ab4276196b0646c35a56c5986f050bf45dabd1091eb7fe09a4b2a67e082e886f7a6cf7
7
- data.tar.gz: bee1e822937dcc14963bd2adedebd7e574790a9aea7d7e57327fefd1c7ed2eb2e3618712daf6b6c75a2637dac0ac0feed18db0ff1e7df174ab2c1a784e28af78
6
+ metadata.gz: 1da7d20922b63e99de3f73c57187f26bc51fe5d338587fcdec3c1b53b178b787ffa7c38a06a69850597405b60aa5401adf6093af034d1696450b5be1037b3403
7
+ data.tar.gz: fa06f6cfa87f08ffb2bd4991dba2d095cc70886fb7ea52773bd9a9a202f7c7657bf907f960d780a2b8980b58cd9874558b2350c14c7aff4427605d427ed12082
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- ga_collector_pusher (0.2.5)
4
+ ga_collector_pusher (0.2.8)
5
5
  activesupport
6
6
  rest-client
7
7
 
@@ -96,7 +96,7 @@ module GACollectorPusher
96
96
  @params.merge! mandatory_fields
97
97
 
98
98
  begin
99
- response = RestClient.post 'http://www.google-analytics.com/collect', params: @params, timeout: self.timeout, open_timeout: self.open_timeout
99
+ response = RestClient.get 'http://www.google-analytics.com/collect', params: @params, timeout: self.timeout, open_timeout: self.open_timeout
100
100
  puts "GACollectorPusher Sent params: #{@params.inspect}. Response from GA: #{response.force_encoding('utf-8').encode.to_s} with Code: #{response.code}" if GACollectorPusher::Config.verbose
101
101
 
102
102
  if (200..207).to_a.include? response.code
@@ -1,3 +1,3 @@
1
1
  module GACollectorPusher
2
- VERSION = "0.2.7"
2
+ VERSION = "0.2.8"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ga_collector_pusher
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.7
4
+ version: 0.2.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - Girts Kesteris