sensors_analytics_sdk 1.5.0 → 1.6.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/.gitignore +38 -0
- data/.ruby-version +1 -0
- data/Gemfile +5 -0
- data/Gemfile.lock +30 -0
- data/LICENSE +201 -0
- data/README.md +59 -0
- data/Rakefile +10 -0
- data/changeslog.md +6 -0
- data/examples/demo.rb +129 -0
- data/lib/sensors_analytics/client.rb +319 -0
- data/lib/sensors_analytics/consumers.rb +129 -0
- data/lib/sensors_analytics/errors.rb +22 -0
- data/lib/sensors_analytics/http.rb +65 -0
- data/lib/sensors_analytics/version.rb +4 -0
- data/lib/sensors_analytics_sdk.rb +6 -439
- data/sensors_analytics_sdk.gemspec +24 -0
- metadata +79 -8
@@ -0,0 +1,24 @@
|
|
1
|
+
lib = File.expand_path('../lib', __FILE__)
|
2
|
+
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
3
|
+
require 'sensors_analytics/version'
|
4
|
+
|
5
|
+
Gem::Specification.new do |spec|
|
6
|
+
spec.name = 'sensors_analytics_sdk'
|
7
|
+
spec.version = SensorsAnalytics::VERSION
|
8
|
+
spec.summary = "SensorsAnalyticsSDK"
|
9
|
+
spec.description = "This is the official Ruby SDK for Sensors Analytics."
|
10
|
+
spec.authors = ["Yuhan ZOU", "Vincent"]
|
11
|
+
spec.email = 'zouyuhan@sensorsdata.cn'
|
12
|
+
|
13
|
+
spec.homepage = 'https://github.com/sensorsdata/sa-sdk-ruby'
|
14
|
+
|
15
|
+
spec.files = `git ls-files -z`.split("\x0").reject do |f|
|
16
|
+
f.match(%r{^(test|spec|features)/})
|
17
|
+
end
|
18
|
+
spec.require_paths = ["lib"]
|
19
|
+
|
20
|
+
spec.add_development_dependency "bundler", "~> 1.10"
|
21
|
+
spec.add_development_dependency "rake", "~> 10.0"
|
22
|
+
spec.add_development_dependency "minitest", "~> 5.0"
|
23
|
+
spec.add_development_dependency "mocha"
|
24
|
+
end
|
metadata
CHANGED
@@ -1,23 +1,95 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: sensors_analytics_sdk
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.6.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Yuhan ZOU
|
8
|
+
- Vincent
|
8
9
|
autorequire:
|
9
10
|
bindir: bin
|
10
11
|
cert_chain: []
|
11
|
-
date:
|
12
|
-
dependencies:
|
12
|
+
date: 2020-12-01 00:00:00.000000000 Z
|
13
|
+
dependencies:
|
14
|
+
- !ruby/object:Gem::Dependency
|
15
|
+
name: bundler
|
16
|
+
requirement: !ruby/object:Gem::Requirement
|
17
|
+
requirements:
|
18
|
+
- - "~>"
|
19
|
+
- !ruby/object:Gem::Version
|
20
|
+
version: '1.10'
|
21
|
+
type: :development
|
22
|
+
prerelease: false
|
23
|
+
version_requirements: !ruby/object:Gem::Requirement
|
24
|
+
requirements:
|
25
|
+
- - "~>"
|
26
|
+
- !ruby/object:Gem::Version
|
27
|
+
version: '1.10'
|
28
|
+
- !ruby/object:Gem::Dependency
|
29
|
+
name: rake
|
30
|
+
requirement: !ruby/object:Gem::Requirement
|
31
|
+
requirements:
|
32
|
+
- - "~>"
|
33
|
+
- !ruby/object:Gem::Version
|
34
|
+
version: '10.0'
|
35
|
+
type: :development
|
36
|
+
prerelease: false
|
37
|
+
version_requirements: !ruby/object:Gem::Requirement
|
38
|
+
requirements:
|
39
|
+
- - "~>"
|
40
|
+
- !ruby/object:Gem::Version
|
41
|
+
version: '10.0'
|
42
|
+
- !ruby/object:Gem::Dependency
|
43
|
+
name: minitest
|
44
|
+
requirement: !ruby/object:Gem::Requirement
|
45
|
+
requirements:
|
46
|
+
- - "~>"
|
47
|
+
- !ruby/object:Gem::Version
|
48
|
+
version: '5.0'
|
49
|
+
type: :development
|
50
|
+
prerelease: false
|
51
|
+
version_requirements: !ruby/object:Gem::Requirement
|
52
|
+
requirements:
|
53
|
+
- - "~>"
|
54
|
+
- !ruby/object:Gem::Version
|
55
|
+
version: '5.0'
|
56
|
+
- !ruby/object:Gem::Dependency
|
57
|
+
name: mocha
|
58
|
+
requirement: !ruby/object:Gem::Requirement
|
59
|
+
requirements:
|
60
|
+
- - ">="
|
61
|
+
- !ruby/object:Gem::Version
|
62
|
+
version: '0'
|
63
|
+
type: :development
|
64
|
+
prerelease: false
|
65
|
+
version_requirements: !ruby/object:Gem::Requirement
|
66
|
+
requirements:
|
67
|
+
- - ">="
|
68
|
+
- !ruby/object:Gem::Version
|
69
|
+
version: '0'
|
13
70
|
description: This is the official Ruby SDK for Sensors Analytics.
|
14
71
|
email: zouyuhan@sensorsdata.cn
|
15
72
|
executables: []
|
16
73
|
extensions: []
|
17
74
|
extra_rdoc_files: []
|
18
75
|
files:
|
76
|
+
- ".gitignore"
|
77
|
+
- ".ruby-version"
|
78
|
+
- Gemfile
|
79
|
+
- Gemfile.lock
|
80
|
+
- LICENSE
|
81
|
+
- README.md
|
82
|
+
- Rakefile
|
83
|
+
- changeslog.md
|
84
|
+
- examples/demo.rb
|
85
|
+
- lib/sensors_analytics/client.rb
|
86
|
+
- lib/sensors_analytics/consumers.rb
|
87
|
+
- lib/sensors_analytics/errors.rb
|
88
|
+
- lib/sensors_analytics/http.rb
|
89
|
+
- lib/sensors_analytics/version.rb
|
19
90
|
- lib/sensors_analytics_sdk.rb
|
20
|
-
|
91
|
+
- sensors_analytics_sdk.gemspec
|
92
|
+
homepage: https://github.com/sensorsdata/sa-sdk-ruby
|
21
93
|
licenses: []
|
22
94
|
metadata: {}
|
23
95
|
post_install_message:
|
@@ -26,17 +98,16 @@ require_paths:
|
|
26
98
|
- lib
|
27
99
|
required_ruby_version: !ruby/object:Gem::Requirement
|
28
100
|
requirements:
|
29
|
-
- -
|
101
|
+
- - ">="
|
30
102
|
- !ruby/object:Gem::Version
|
31
103
|
version: '0'
|
32
104
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
33
105
|
requirements:
|
34
|
-
- -
|
106
|
+
- - ">="
|
35
107
|
- !ruby/object:Gem::Version
|
36
108
|
version: '0'
|
37
109
|
requirements: []
|
38
|
-
|
39
|
-
rubygems_version: 2.0.14.1
|
110
|
+
rubygems_version: 3.0.3
|
40
111
|
signing_key:
|
41
112
|
specification_version: 4
|
42
113
|
summary: SensorsAnalyticsSDK
|