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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 09edf5a160b319e2e293ca4583bfeac466991990
4
- data.tar.gz: abe2cba4c1adfe3c1924c62d06c5f77ac0e9164a
3
+ metadata.gz: 50009dcdad59680945025fb55c8cfb07d4ff6c98
4
+ data.tar.gz: 5ca7c16f22fecb905c3c5e035bf0c52225851282
5
5
  SHA512:
6
- metadata.gz: 69808182a038139f1fdf3c032b1603b405ba3883ebdee3fcc694e4dd0796a7ba2ba60a45ecedb132861bdca05ad09825be20a44b327047ca4ede9650c7b60bb3
7
- data.tar.gz: 3159420b1dba13915f3cf8a7debf165b320a3b6d1141792f4d6984c2343c49d7ae93b7eb98c53466e3de60d8541e8f6dd2a94febe7cabbca643c3c0323e0760f
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-2014 Snowplow Analytics Ltd.
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-2',
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)
@@ -14,6 +14,6 @@
14
14
  # License:: Apache License Version 2.0
15
15
 
16
16
  module SnowplowTracker
17
- VERSION = '0.6.0'
17
+ VERSION = '0.6.1-beta.2'
18
18
  TRACKER_VERSION = "rb-#{VERSION}"
19
19
  end
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.0
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-08-18 00:00:00.000000000 Z
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: '0'
97
+ version: 1.3.1
98
98
  requirements: []
99
99
  rubyforge_project:
100
- rubygems_version: 2.6.6
100
+ rubygems_version: 2.6.8
101
101
  signing_key:
102
102
  specification_version: 4
103
103
  summary: Ruby Analytics for Snowplow