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.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/lib/shiny-sdk.rb +2 -2
  3. data/shiny-sdk.gemspec +1 -1
  4. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: a6e8b4f3ec25fb2c30b0dcc9b8255d1c5d3d372b02cfe882deac9b376d4d4281
4
- data.tar.gz: 28aa69a85ef6a4dd6cd3f98a8ab8f7fdac212ba67c5f265488927d430b31675e
3
+ metadata.gz: 4ceb21863668c3a7158714e36e3709957cce037a367f9ecbe479dac9f8689cd9
4
+ data.tar.gz: f061060f01852165ce8cb0fb252870f264ad4c11556279fec20d2de7431046c0
5
5
  SHA512:
6
- metadata.gz: 3b4d3eb499dea9119c4a5792063247bd2e2e70629bbc8c526d1ae9bfcfc9d00d2c3f14b8c653cd3bdbd6c31a6b9bc685bb2dcc425adaa0ce081290b95fa44a37
7
- data.tar.gz: 27773500cbe7fb9aeceaf6c8c3650e385c1317366e2c7da111a73af4a28854b78a828865d3f77f29596c0efb8e5fdb071a246572b3e1f8f29d7e13b7b1df814d
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
@@ -1,6 +1,6 @@
1
1
  Gem::Specification.new do |s|
2
2
  s.name = 'shiny-sdk'
3
- s.version = '1.0.0'
3
+ s.version = '1.0.1'
4
4
  s.date = `git log --pretty="%ai" -n 1`.split(" ").first
5
5
  s.summary = "Shiny SDK"
6
6
  s.description = "Shiny Ruby SDK"
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: shiny-sdk
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0
4
+ version: 1.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Koell