sensors_analytics_sdk 1.5.2 → 1.5.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/sensors_analytics_sdk.rb +2 -2
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4b99ecbef9d60ba74901058b45579148c0fcfb28
|
4
|
+
data.tar.gz: 8575e4e46d12bc8465ad9a8ed2313d77b9e725d0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: cbfabe6112d4d03cbe3b768af27a429db2e3abb22292169d49b072ef7900cc6d52f18fb425f3719b7e26bf3443ac76cc07ae7329b82dbdab1b8b728c0d59254a
|
7
|
+
data.tar.gz: 11a5eac240c5530d95fae2d429e9cb30972f17c1bca2f6fd9e5c429b85e51e5db6089b5197cd4be4d26bfae04fd633367e3fb1462f84cb8d7c6082fc16980584
|
@@ -5,9 +5,9 @@ require 'zlib'
|
|
5
5
|
|
6
6
|
module SensorsAnalytics
|
7
7
|
|
8
|
-
VERSION = '1.5.
|
8
|
+
VERSION = '1.5.3'
|
9
9
|
|
10
|
-
KEY_PATTERN = /^((?!^distinct_id$|^original_id$|^time$|^properties$|^id$|^first_id$|^second_id$|^users$|^events$|^event$|^user_id$|^date$|^datetime$)[a-zA-Z_$][a-zA-Z
|
10
|
+
KEY_PATTERN = /^((?!^distinct_id$|^original_id$|^time$|^properties$|^id$|^first_id$|^second_id$|^users$|^events$|^event$|^user_id$|^date$|^datetime$)[a-zA-Z_$][a-zA-Z\d_$]{0,99})$/
|
11
11
|
|
12
12
|
# Sensors Analytics SDK 的异常
|
13
13
|
# 使用 Sensors Analytics SDK 时,应该捕获 IllegalDataError、ConnectionError 和 ServerError。Debug 模式下,会抛出 DebugModeError 用于校验数据导入是否正确,线上运行时不需要捕获 DebugModeError
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: sensors_analytics_sdk
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.5.
|
4
|
+
version: 1.5.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Yuhan ZOU
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-
|
11
|
+
date: 2016-10-14 00:00:00.000000000 Z
|
12
12
|
dependencies: []
|
13
13
|
description: This is the official Ruby SDK for Sensors Analytics.
|
14
14
|
email: zouyuhan@sensorsdata.cn
|