thinkingdata-ruby 1.2.1 → 2.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.gitignore +58 -58
- data/CHANGELOG.md +21 -15
- data/Gemfile +7 -7
- data/LICENSE +201 -201
- data/README.md +11 -10
- data/demo/demo.rb +104 -105
- data/lib/thinkingdata-ruby/{tracker.rb → td_analytics.rb} +495 -409
- data/lib/thinkingdata-ruby/{batch_consumer.rb → td_batch_consumer.rb} +142 -118
- data/lib/thinkingdata-ruby/{debug_consumer.rb → td_debug_consumer.rb} +73 -67
- data/lib/thinkingdata-ruby/{errors.rb → td_errors.rb} +37 -29
- data/lib/thinkingdata-ruby/{logger_consumer.rb → td_logger_consumer.rb} +76 -65
- data/lib/thinkingdata-ruby/td_version.rb +3 -0
- data/lib/thinkingdata-ruby.rb +5 -5
- data/thinkingdata-ruby.gemspec +16 -16
- metadata +12 -12
- data/lib/thinkingdata-ruby/version.rb +0 -3
data/thinkingdata-ruby.gemspec
CHANGED
@@ -1,16 +1,16 @@
|
|
1
|
-
require File.join(File.dirname(__FILE__), 'lib/thinkingdata-ruby/
|
2
|
-
|
3
|
-
spec = Gem::Specification.new do |spec|
|
4
|
-
spec.name = 'thinkingdata-ruby'
|
5
|
-
spec.version =
|
6
|
-
spec.files = Dir.glob(`git ls-files`.split("\n"))
|
7
|
-
spec.require_paths = ['lib']
|
8
|
-
spec.summary = 'Official ThinkingData Analytics API for ruby'
|
9
|
-
spec.description = 'The official ThinkingData Analytics API for ruby'
|
10
|
-
spec.authors = [ 'ThinkingData' ]
|
11
|
-
spec.email = 'sdk@thinkingdata.cn'
|
12
|
-
spec.homepage = 'https://github.com/ThinkingDataAnalytics/ruby-sdk'
|
13
|
-
spec.license = 'Apache-2.0'
|
14
|
-
|
15
|
-
spec.required_ruby_version = '>= 2.0.0'
|
16
|
-
end
|
1
|
+
require File.join(File.dirname(__FILE__), 'lib/thinkingdata-ruby/td_version.rb')
|
2
|
+
|
3
|
+
spec = Gem::Specification.new do |spec|
|
4
|
+
spec.name = 'thinkingdata-ruby'
|
5
|
+
spec.version = ThinkingData::VERSION
|
6
|
+
spec.files = Dir.glob(`git ls-files`.split("\n"))
|
7
|
+
spec.require_paths = ['lib']
|
8
|
+
spec.summary = 'Official ThinkingData Analytics API for ruby'
|
9
|
+
spec.description = 'The official ThinkingData Analytics API for ruby'
|
10
|
+
spec.authors = [ 'ThinkingData' ]
|
11
|
+
spec.email = 'sdk@thinkingdata.cn'
|
12
|
+
spec.homepage = 'https://github.com/ThinkingDataAnalytics/ruby-sdk'
|
13
|
+
spec.license = 'Apache-2.0'
|
14
|
+
|
15
|
+
spec.required_ruby_version = '>= 2.0.0'
|
16
|
+
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: thinkingdata-ruby
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version:
|
4
|
+
version: 2.0.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- ThinkingData
|
8
|
-
autorequire:
|
8
|
+
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-
|
11
|
+
date: 2023-10-26 00:00:00.000000000 Z
|
12
12
|
dependencies: []
|
13
13
|
description: The official ThinkingData Analytics API for ruby
|
14
14
|
email: sdk@thinkingdata.cn
|
@@ -23,18 +23,18 @@ files:
|
|
23
23
|
- README.md
|
24
24
|
- demo/demo.rb
|
25
25
|
- lib/thinkingdata-ruby.rb
|
26
|
-
- lib/thinkingdata-ruby/
|
27
|
-
- lib/thinkingdata-ruby/
|
28
|
-
- lib/thinkingdata-ruby/
|
29
|
-
- lib/thinkingdata-ruby/
|
30
|
-
- lib/thinkingdata-ruby/
|
31
|
-
- lib/thinkingdata-ruby/
|
26
|
+
- lib/thinkingdata-ruby/td_analytics.rb
|
27
|
+
- lib/thinkingdata-ruby/td_batch_consumer.rb
|
28
|
+
- lib/thinkingdata-ruby/td_debug_consumer.rb
|
29
|
+
- lib/thinkingdata-ruby/td_errors.rb
|
30
|
+
- lib/thinkingdata-ruby/td_logger_consumer.rb
|
31
|
+
- lib/thinkingdata-ruby/td_version.rb
|
32
32
|
- thinkingdata-ruby.gemspec
|
33
33
|
homepage: https://github.com/ThinkingDataAnalytics/ruby-sdk
|
34
34
|
licenses:
|
35
35
|
- Apache-2.0
|
36
36
|
metadata: {}
|
37
|
-
post_install_message:
|
37
|
+
post_install_message:
|
38
38
|
rdoc_options: []
|
39
39
|
require_paths:
|
40
40
|
- lib
|
@@ -49,8 +49,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
49
49
|
- !ruby/object:Gem::Version
|
50
50
|
version: '0'
|
51
51
|
requirements: []
|
52
|
-
rubygems_version: 3.
|
53
|
-
signing_key:
|
52
|
+
rubygems_version: 3.4.6
|
53
|
+
signing_key:
|
54
54
|
specification_version: 4
|
55
55
|
summary: Official ThinkingData Analytics API for ruby
|
56
56
|
test_files: []
|