shiny-sdk 1.0.0 → 1.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/shiny-sdk.rb +2 -2
- data/shiny-sdk.gemspec +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4ceb21863668c3a7158714e36e3709957cce037a367f9ecbe479dac9f8689cd9
|
4
|
+
data.tar.gz: f061060f01852165ce8cb0fb252870f264ad4c11556279fec20d2de7431046c0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 963aec7fc3249ad37eb360c0205ba019325960a8b6680d4a7c69a76651f101f2af111832c78d42053067ffe6525445e141dc7c802fe173c821baea835bb26465
|
7
|
+
data.tar.gz: b5c36700ce726312c66cf21aebf649863e2362a6e22d05e1429e572a5e65457e7e0a3e05d7cc0bd52a15c37b4328ae8319e8d10b56a7b646b601664f2e92f57d
|
data/lib/shiny-sdk.rb
CHANGED
@@ -86,7 +86,7 @@ class Shiny
|
|
86
86
|
# 添加多个事件
|
87
87
|
def add_many(events)
|
88
88
|
payload = {}
|
89
|
-
url = @API_HOST + "Data/add"
|
89
|
+
url = @API_HOST + "/Data/add"
|
90
90
|
events.each do |event|
|
91
91
|
if event[:hash].nil?
|
92
92
|
if event[:data].nil?
|
@@ -152,7 +152,7 @@ class Shiny
|
|
152
152
|
end
|
153
153
|
|
154
154
|
def report(job_id, status)
|
155
|
-
url = @API_HOST + "Job/report"
|
155
|
+
url = @API_HOST + "/Job/report"
|
156
156
|
payload = {
|
157
157
|
"jobId": job_id,
|
158
158
|
"status": status
|
data/shiny-sdk.gemspec
CHANGED