analytics-ruby 2.0.13 → 2.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +15 -15
- data/History.md +15 -0
- data/Makefile +1 -1
- data/analytics-ruby-2.0.13.gem +0 -0
- data/analytics-ruby-2.1.0.gem +0 -0
- data/lib/segment/analytics.rb +1 -1
- data/lib/segment/analytics/client.rb +19 -2
- data/lib/segment/analytics/version.rb +1 -1
- data/lib/segment/analytics/worker.rb +2 -2
- data/spec/segment/analytics/client_spec.rb +160 -140
- data/spec/segment/analytics/request_spec.rb +191 -0
- data/spec/segment/analytics/response_spec.rb +30 -0
- data/spec/segment/analytics/worker_spec.rb +33 -27
- data/spec/segment/analytics_spec.rb +40 -29
- metadata +25 -21
metadata
CHANGED
@@ -1,55 +1,55 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: analytics-ruby
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.0
|
4
|
+
version: 2.1.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Segment.io
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2016-06-17 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rake
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
|
-
- -
|
17
|
+
- - ~>
|
18
18
|
- !ruby/object:Gem::Version
|
19
19
|
version: '10.3'
|
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: '10.3'
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: wrong
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
30
30
|
requirements:
|
31
|
-
- -
|
31
|
+
- - ~>
|
32
32
|
- !ruby/object:Gem::Version
|
33
33
|
version: '0.0'
|
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: '0.0'
|
41
41
|
- !ruby/object:Gem::Dependency
|
42
42
|
name: rspec
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|
44
44
|
requirements:
|
45
|
-
- -
|
45
|
+
- - ~>
|
46
46
|
- !ruby/object:Gem::Version
|
47
47
|
version: '2.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: '2.0'
|
55
55
|
- !ruby/object:Gem::Dependency
|
@@ -70,20 +70,20 @@ dependencies:
|
|
70
70
|
name: activesupport
|
71
71
|
requirement: !ruby/object:Gem::Requirement
|
72
72
|
requirements:
|
73
|
-
- -
|
73
|
+
- - '>='
|
74
74
|
- !ruby/object:Gem::Version
|
75
75
|
version: 3.0.0
|
76
|
-
- -
|
76
|
+
- - <
|
77
77
|
- !ruby/object:Gem::Version
|
78
78
|
version: 4.0.0
|
79
79
|
type: :development
|
80
80
|
prerelease: false
|
81
81
|
version_requirements: !ruby/object:Gem::Requirement
|
82
82
|
requirements:
|
83
|
-
- -
|
83
|
+
- - '>='
|
84
84
|
- !ruby/object:Gem::Version
|
85
85
|
version: 3.0.0
|
86
|
-
- -
|
86
|
+
- - <
|
87
87
|
- !ruby/object:Gem::Version
|
88
88
|
version: 4.0.0
|
89
89
|
description: The Segment.io ruby analytics library
|
@@ -92,15 +92,12 @@ executables: []
|
|
92
92
|
extensions: []
|
93
93
|
extra_rdoc_files: []
|
94
94
|
files:
|
95
|
+
- analytics-ruby-2.0.13.gem
|
96
|
+
- analytics-ruby-2.1.0.gem
|
97
|
+
- analytics-ruby.gemspec
|
95
98
|
- Gemfile
|
96
99
|
- Gemfile.lock
|
97
100
|
- History.md
|
98
|
-
- Makefile
|
99
|
-
- README.md
|
100
|
-
- Rakefile
|
101
|
-
- analytics-ruby.gemspec
|
102
|
-
- lib/segment.rb
|
103
|
-
- lib/segment/analytics.rb
|
104
101
|
- lib/segment/analytics/client.rb
|
105
102
|
- lib/segment/analytics/defaults.rb
|
106
103
|
- lib/segment/analytics/logging.rb
|
@@ -109,7 +106,14 @@ files:
|
|
109
106
|
- lib/segment/analytics/utils.rb
|
110
107
|
- lib/segment/analytics/version.rb
|
111
108
|
- lib/segment/analytics/worker.rb
|
109
|
+
- lib/segment/analytics.rb
|
110
|
+
- lib/segment.rb
|
111
|
+
- Makefile
|
112
|
+
- Rakefile
|
113
|
+
- README.md
|
112
114
|
- spec/segment/analytics/client_spec.rb
|
115
|
+
- spec/segment/analytics/request_spec.rb
|
116
|
+
- spec/segment/analytics/response_spec.rb
|
113
117
|
- spec/segment/analytics/worker_spec.rb
|
114
118
|
- spec/segment/analytics_spec.rb
|
115
119
|
- spec/spec_helper.rb
|
@@ -123,17 +127,17 @@ require_paths:
|
|
123
127
|
- lib
|
124
128
|
required_ruby_version: !ruby/object:Gem::Requirement
|
125
129
|
requirements:
|
126
|
-
- -
|
130
|
+
- - '>='
|
127
131
|
- !ruby/object:Gem::Version
|
128
132
|
version: '0'
|
129
133
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
130
134
|
requirements:
|
131
|
-
- -
|
135
|
+
- - '>='
|
132
136
|
- !ruby/object:Gem::Version
|
133
137
|
version: '0'
|
134
138
|
requirements: []
|
135
139
|
rubyforge_project:
|
136
|
-
rubygems_version: 2.
|
140
|
+
rubygems_version: 2.0.14.1
|
137
141
|
signing_key:
|
138
142
|
specification_version: 4
|
139
143
|
summary: Segment.io analytics library
|