shiny-sdk 0.0.1 → 0.0.2

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: 9ee39d9d2a94e37f2b00feb70b58c5a0f119403a
4
- data.tar.gz: a9d53d30f8f1fe139a58ca0dffdd657d000705bf
3
+ metadata.gz: 4417beee129d43df1bce23a3baa0550a414a64d8
4
+ data.tar.gz: 4991de25eb9cb7a85fa1aa61d35feb93ef907076
5
5
  SHA512:
6
- metadata.gz: 419dde01f47ad477467888114188faeb6af59a74ae64bf094c6eea3693e25bca27a54e80a65da14016014b37038feb6f287b35f0f8bf7ad7a7eae7e8dc920ce9
7
- data.tar.gz: cecfdac5bddd2f8980f2eddc245ec0fd6061f7a50f20f7efd2e8bd199f028b908d8c3dd2539f869f8f856c4b070ecf3cc40246f34ef988f23d571dca4d00b689
6
+ metadata.gz: 3f20740dc89742d4c7419a29288f4c95e3a6a988d4295bcb8769fa6624bc6c45fe1c2501aeccf5de155116e6c1570b8be926f958e3274a8b5b4ab5b89a23bd82
7
+ data.tar.gz: 152e231db508e10fe5113faba4f8a94e353bddaf7957b419b3afa7d7f95b830a1d4f98eee02122042476543ca58416df6add72a9d501556456669128b6154790
data/LICENSE CHANGED
File without changes
data/README.md CHANGED
@@ -3,4 +3,17 @@
3
3
  ## 安装
4
4
  ```bash
5
5
  gem install shiny-sdk
6
+ ```
7
+
8
+ ## 使用
9
+ ```ruby
10
+ require 'shiny-sdk'
11
+
12
+ shiny = Shiny.new('apikey', 'api_secret_key', 'api_host')
13
+
14
+ # 获取最新项目
15
+ shiny.recent
16
+
17
+ # 添加数据
18
+ shiny.add
6
19
  ```
File without changes
@@ -1,6 +1,6 @@
1
1
  Gem::Specification.new do |s|
2
2
  s.name = 'shiny-sdk'
3
- s.version = '0.0.1'
3
+ s.version = '0.0.2'
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"
@@ -9,6 +9,6 @@ Gem::Specification.new do |s|
9
9
  s.files = `git ls-files -z`.split("\0")
10
10
  s.homepage = 'https://shiny.kotori.moe'
11
11
  s.license = 'MIT'
12
- s.add_dependency(%q<rest-client>, ["~> 2.0.0"])
12
+ s.add_dependency(%q<rest-client>, ["~> 2.0"])
13
13
  s.required_ruby_version = '>= 2.0.0'
14
14
  end
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: 0.0.1
4
+ version: 0.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Koell
@@ -16,14 +16,14 @@ dependencies:
16
16
  requirements:
17
17
  - - "~>"
18
18
  - !ruby/object:Gem::Version
19
- version: 2.0.0
19
+ version: '2.0'
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
24
  - - "~>"
25
25
  - !ruby/object:Gem::Version
26
- version: 2.0.0
26
+ version: '2.0'
27
27
  description: Shiny Ruby SDK
28
28
  email: i@wug.moe
29
29
  executables: []
@@ -32,8 +32,8 @@ extra_rdoc_files: []
32
32
  files:
33
33
  - LICENSE
34
34
  - README.md
35
- - lib/shiny_sdk.rb
36
- - shiny_sdk.gemspec
35
+ - lib/shiny-sdk.rb
36
+ - shiny-sdk.gemspec
37
37
  homepage: https://shiny.kotori.moe
38
38
  licenses:
39
39
  - MIT