tea_core 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 +4 -4
- data/README.md +17 -4
- data/lib/tea_core.rb +2 -2
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e35f137aefb48a4ac0890630ec60eca1cf3d29e15407297b8fe2c12ab0451aa7
|
4
|
+
data.tar.gz: b4db600bca2ebc01bb237c1fbd5012a13f9a8cc786da2231920a9fe3b84741a9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d83026f3777fd4ab371c4644f96ab60feae5270bea31055e0beca5930adf9d9ff0be78f52673d33fdb3010b8e3ac738cd73714738a81a178bc0ba7a8884866ac
|
7
|
+
data.tar.gz: 579e43e579dda0ca1596ac5086db5faaaf1c01ad920df2df0abedabd52fa131fdea9406589c5e6ac79fe08efed9da3cad88604c0a88ff20a1e693d3ce444faea
|
data/README.md
CHANGED
@@ -1,8 +1,21 @@
|
|
1
|
-
|
2
|
-
|
1
|
+
<p align="center">
|
2
|
+
<a href="https://www.alibabacloud.com"><img src="https://aliyunsdk-pages.alicdn.com/icons/AlibabaCloud.svg"></a>
|
3
|
+
</p>
|
3
4
|
|
4
|
-
|
5
|
+
<h1 align="center">Tea Core SDK for Ruby</h1>
|
6
|
+
|
7
|
+
<p align="center">
|
8
|
+
<a href="https://badge.fury.io/rb/tea_core"><img src="https://badge.fury.io/rb/tea_core.svg" alt="Gem Version"></a>
|
9
|
+
<a href="https://travis-ci.org/aliyun/tea-ruby"><img src="https://travis-ci.org/aliyun/tea-ruby.svg?branch=master" alt="Build Status"></a>
|
10
|
+
<a href="https://ci.appveyor.com/project/aliyun/tea-ruby/branch/master"><img src="https://ci.appveyor.com/api/projects/status/m9ajph663tjyq1wk/branch/master?svg=true" alt="Build status"></a>
|
11
|
+
<a href="https://codecov.io/gh/aliyun/tea-ruby"><img src="https://codecov.io/gh/aliyun/tea-ruby/branch/master/graph/badge.svg" alt="codecov"></a>
|
12
|
+
</p>
|
13
|
+
|
14
|
+
## Installation
|
5
15
|
|
6
16
|
```sh
|
7
|
-
$ gem install
|
17
|
+
$ gem install tea_core
|
8
18
|
```
|
19
|
+
|
20
|
+
## License
|
21
|
+
The Apache 2.0 License.
|
data/lib/tea_core.rb
CHANGED
@@ -4,7 +4,7 @@ require 'net/http'
|
|
4
4
|
|
5
5
|
# The Tea module
|
6
6
|
module Tea
|
7
|
-
VERSION = '0.0.
|
7
|
+
VERSION = '0.0.2'
|
8
8
|
|
9
9
|
module_function
|
10
10
|
|
@@ -96,7 +96,7 @@ module Tea
|
|
96
96
|
uri
|
97
97
|
end
|
98
98
|
|
99
|
-
def do_request(request)
|
99
|
+
def do_request(request, runtime = nil)
|
100
100
|
uri = to_uri(request)
|
101
101
|
case request['method'].downcase || 'get'
|
102
102
|
when 'get'
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: tea_core
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Alibaba Cloud SDK
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2019-
|
11
|
+
date: 2019-08-21 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: codecov
|