kmts 3.0.1 → 3.0.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (5) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile.lock +1 -1
  3. data/lib/kmts.rb +3 -1
  4. data/lib/kmts/version.rb +1 -1
  5. metadata +15 -15
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: d062019c23e872496154215188aa3303a540f16d
4
- data.tar.gz: d0ac18313b30ebada5046e7f391e66b2cb21b41c
3
+ metadata.gz: b7cea3dbe986a635818981086f08127570b5b1b7
4
+ data.tar.gz: 768126e3f70c78e8e5e342272adde5ad6af6501d
5
5
  SHA512:
6
- metadata.gz: 543a825b9ab4943ff00682fac683d48d9f8bd2e510d9a72de30857db9e23544ad5d5d7fc0b007ef3a42a7afc41250ebeb0fc63ff4988e2aac3d6acc4d1402508
7
- data.tar.gz: d94347a16e24ba5f6370cae4629f38ce68f117f42d8718e53acaf4ad0795f75d2a6f8f878b6e2040331d341b41760300ffd561d83f1b81c0a42af87bb69018ff
6
+ metadata.gz: 94a5cfd5609c38154298a1719d957652d10180d0e75578a2d3bba35c8785619e9a36bc7edd8d9c0f225ac4d6e830a80548495a50cb325440c8cfdd55872bc6bd
7
+ data.tar.gz: 2528d34134a6908a251b8b8772bddd8d30237a48616206adc02bf3cdd3cd8770b4c69d684c69666e9d8d85e499c952a3474c59a8cd4af32d4dd4a838de7f9114
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- kmts (3.0.1)
4
+ kmts (3.0.2)
5
5
 
6
6
  GEM
7
7
  remote: https://rubygems.org/
@@ -150,7 +150,9 @@ class KMTS
150
150
  when :sent
151
151
  fname = "kissmetrics#{env}_sent.log"
152
152
  when :send
153
- fname = Time.now.to_i.to_s + "kissmetrics_#{env}_sending.log"
153
+ now = Time.now.to_i
154
+ id = rand(2**64).to_s(16)
155
+ fname = "#{now}_#{id}_kissmetrics_#{env}_sending.log"
154
156
  end
155
157
  @logs[type] = File.join(@log_dir,fname)
156
158
  end
@@ -1,3 +1,3 @@
1
1
  class KMTS
2
- VERSION = "3.0.1"
2
+ VERSION = "3.0.2"
3
3
  end
metadata CHANGED
@@ -1,69 +1,69 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: kmts
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.1
4
+ version: 3.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Kissmetrics
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-01-06 00:00:00.000000000 Z
11
+ date: 2017-10-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - "~>"
17
+ - - ~>
18
18
  - !ruby/object:Gem::Version
19
19
  version: '1.13'
20
20
  type: :development
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
- - - "~>"
24
+ - - ~>
25
25
  - !ruby/object:Gem::Version
26
26
  version: '1.13'
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: rspec
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
- - - "~>"
31
+ - - ~>
32
32
  - !ruby/object:Gem::Version
33
33
  version: '3.5'
34
34
  type: :development
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
- - - "~>"
38
+ - - ~>
39
39
  - !ruby/object:Gem::Version
40
40
  version: '3.5'
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: rake
43
43
  requirement: !ruby/object:Gem::Requirement
44
44
  requirements:
45
- - - "~>"
45
+ - - ~>
46
46
  - !ruby/object:Gem::Version
47
47
  version: '12.0'
48
48
  type: :development
49
49
  prerelease: false
50
50
  version_requirements: !ruby/object:Gem::Requirement
51
51
  requirements:
52
- - - "~>"
52
+ - - ~>
53
53
  - !ruby/object:Gem::Version
54
54
  version: '12.0'
55
55
  - !ruby/object:Gem::Dependency
56
56
  name: json
57
57
  requirement: !ruby/object:Gem::Requirement
58
58
  requirements:
59
- - - "~>"
59
+ - - ~>
60
60
  - !ruby/object:Gem::Version
61
61
  version: '2.0'
62
62
  type: :development
63
63
  prerelease: false
64
64
  version_requirements: !ruby/object:Gem::Requirement
65
65
  requirements:
66
- - - "~>"
66
+ - - ~>
67
67
  - !ruby/object:Gem::Version
68
68
  version: '2.0'
69
69
  description: A threadsafe Ruby gem that can be used to interact with the Kissmetrics
@@ -75,8 +75,8 @@ executables:
75
75
  extensions: []
76
76
  extra_rdoc_files: []
77
77
  files:
78
- - ".gitignore"
79
- - ".travis.yml"
78
+ - .gitignore
79
+ - .travis.yml
80
80
  - CHANGELOG
81
81
  - Gemfile
82
82
  - Gemfile.lock
@@ -157,17 +157,17 @@ require_paths:
157
157
  - lib
158
158
  required_ruby_version: !ruby/object:Gem::Requirement
159
159
  requirements:
160
- - - ">="
160
+ - - '>='
161
161
  - !ruby/object:Gem::Version
162
162
  version: '0'
163
163
  required_rubygems_version: !ruby/object:Gem::Requirement
164
164
  requirements:
165
- - - ">="
165
+ - - '>='
166
166
  - !ruby/object:Gem::Version
167
167
  version: 1.3.6
168
168
  requirements: []
169
169
  rubyforge_project: kissmetrics
170
- rubygems_version: 2.5.1
170
+ rubygems_version: 2.0.14.1
171
171
  signing_key:
172
172
  specification_version: 4
173
173
  summary: Threadsafe Ruby gem for Kissmetrics tracking API