shiny-sdk 0.0.3 → 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: b07e4ffae3c7771790ed6e89ee7397a558196e08
4
- data.tar.gz: 3a568514c8bf86834f0da965d82ede96b0363fc3
3
+ metadata.gz: ce2e040cbcb073f37fb3a6672548e3d56cf4909a
4
+ data.tar.gz: d53b769c3775c9becdbdc83906584b529670f576
5
5
  SHA512:
6
- metadata.gz: e9894341a1c99428a99133160de8778809b05056d5bf61241b63689d964f143dac897bc837433119c4fb4812bfb5361995697f9f034f8615e1b8ac9a91fe1731
7
- data.tar.gz: eb1509fff3848c92314f7c8547fa429c1024b6cbe1da05aebb500bf2da7e7632755de91f4725e0b9d101bb9ba4079d5421e8224c57bf689d0dda7032b64fde07
6
+ metadata.gz: b25d88ae0c69bb46135c643720c2eccd8c826052f86d230b7a49a69903e2e2ed1cf9aa8b137fabd808ea5a6e2aa2fb0a3126acb664d1c8eafa24f9f80f7e99fc
7
+ data.tar.gz: 1afce962640999f10870e4f0da7e6629471064ab932d598919ac4dc5ba67c1376c9f055ff86f2ccc1eb23d51c63f637ae2c8a9fe0eeb7787d2f977f3ee470c61
data/README.md CHANGED
@@ -15,5 +15,7 @@ shiny = Shiny.new('apikey', 'api_secret_key', 'api_host')
15
15
  shiny.recent
16
16
 
17
17
  # 添加数据
18
- shiny.add
19
- ```
18
+ shiny.add(spider_name, level, data, hash)
19
+ # 其中三项为必填,hash为选填。
20
+ # 不填写hash 默认把data MD5 一次做hash。
21
+ ```
@@ -1,5 +1,4 @@
1
1
  require 'json'
2
- require 'net/http'
3
2
  require 'digest/md5'
4
3
  require 'digest/sha1'
5
4
  require 'rest-client'
@@ -1,6 +1,6 @@
1
1
  Gem::Specification.new do |s|
2
2
  s.name = 'shiny-sdk'
3
- s.version = '0.0.3'
3
+ s.version = '0.1.0'
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,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: shiny-sdk
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.3
4
+ version: 0.1.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Koell
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-10-20 00:00:00.000000000 Z
11
+ date: 2016-10-22 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rest-client