snowplow-tracker 0.6.0 → 0.6.1.pre.beta.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +1 -1
- data/lib/snowplow-tracker/emitters.rb +2 -2
- data/lib/snowplow-tracker/version.rb +1 -1
- metadata +5 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 50009dcdad59680945025fb55c8cfb07d4ff6c98
|
4
|
+
data.tar.gz: 5ca7c16f22fecb905c3c5e035bf0c52225851282
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1accaf76db55f5a968d202cfa97ccf9cbba6a20b62031ebef34fa6db9f5324ab7bfb7d91a812fba9b1deb5ca8e6253d2062f29ef92cabac10110a083c9e50ddd
|
7
|
+
data.tar.gz: 9f8163550865409c1e3fce3789886c73f9efacf3066571a04e1dec0ee3cfb6d5b6515af003e7032a39a00d684a1d91c27d3486b619e58e497aa542950f3442d7
|
data/README.md
CHANGED
@@ -40,7 +40,7 @@ guest$ rspec
|
|
40
40
|
|
41
41
|
## Copyright and license
|
42
42
|
|
43
|
-
The Snowplow Ruby Tracker is copyright 2013-
|
43
|
+
The Snowplow Ruby Tracker is copyright 2013-2016 Snowplow Analytics Ltd.
|
44
44
|
|
45
45
|
Licensed under the **[Apache License, Version 2.0] [license]** (the "License");
|
46
46
|
you may not use this software except in compliance with the License.
|
@@ -114,14 +114,14 @@ module SnowplowTracker
|
|
114
114
|
LOGGER.info("Attempting to send #{evts.size} request#{evts.size == 1 ? '' : 's'}")
|
115
115
|
|
116
116
|
evts.each do |event|
|
117
|
-
event['stm'] = (Time.now.to_f * 1000).to_i # add the sent timestamp, overwrite if already exists
|
117
|
+
event['stm'] = (Time.now.to_f * 1000).to_i.to_s # add the sent timestamp, overwrite if already exists
|
118
118
|
end
|
119
119
|
|
120
120
|
if @method == 'post'
|
121
121
|
post_succeeded = false
|
122
122
|
begin
|
123
123
|
request = http_post(SelfDescribingJson.new(
|
124
|
-
'iglu:com.snowplowanalytics.snowplow/payload_data/jsonschema/1-0-
|
124
|
+
'iglu:com.snowplowanalytics.snowplow/payload_data/jsonschema/1-0-4',
|
125
125
|
evts
|
126
126
|
).to_json)
|
127
127
|
post_succeeded = is_good_status_code(request.code)
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: snowplow-tracker
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.6.
|
4
|
+
version: 0.6.1.pre.beta.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Alexander Dean
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2016-
|
12
|
+
date: 2016-12-26 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: contracts
|
@@ -92,12 +92,12 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
92
92
|
version: 2.0.0
|
93
93
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
94
94
|
requirements:
|
95
|
-
- - "
|
95
|
+
- - ">"
|
96
96
|
- !ruby/object:Gem::Version
|
97
|
-
version:
|
97
|
+
version: 1.3.1
|
98
98
|
requirements: []
|
99
99
|
rubyforge_project:
|
100
|
-
rubygems_version: 2.6.
|
100
|
+
rubygems_version: 2.6.8
|
101
101
|
signing_key:
|
102
102
|
specification_version: 4
|
103
103
|
summary: Ruby Analytics for Snowplow
|