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.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +17 -4
  3. data/lib/tea_core.rb +2 -2
  4. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 41582ad7a312554083300a83f5e387ed3c70c9141e042a85e81e172d7e27e7e0
4
- data.tar.gz: 50c5f4dabaf7e7e1a5445ebf0b8d9291b5f290bd3346a83fa479a8b8e9da8b0a
3
+ metadata.gz: e35f137aefb48a4ac0890630ec60eca1cf3d29e15407297b8fe2c12ab0451aa7
4
+ data.tar.gz: b4db600bca2ebc01bb237c1fbd5012a13f9a8cc786da2231920a9fe3b84741a9
5
5
  SHA512:
6
- metadata.gz: 0f8a334a2274e574ae11a6f877085a7e45f72fc6da90236f6c5cbec6ab0e6b13e1f2a9649a4b32d2d5fa9e62a5b6449d6f5b32ff118b5bc3753851824742fdf7
7
- data.tar.gz: cdae6e0f45d8b6f4c56c7d92da300d6951b7a8ff35e1da96bf054c04e60f659ea50e0e37382fb850d2c98341f95850ca6c218c969af4ddd3f21f3fd8f25e9089
6
+ metadata.gz: d83026f3777fd4ab371c4644f96ab60feae5270bea31055e0beca5930adf9d9ff0be78f52673d33fdb3010b8e3ac738cd73714738a81a178bc0ba7a8884866ac
7
+ data.tar.gz: 579e43e579dda0ca1596ac5086db5faaaf1c01ad920df2df0abedabd52fa131fdea9406589c5e6ac79fe08efed9da3cad88604c0a88ff20a1e693d3ce444faea
data/README.md CHANGED
@@ -1,8 +1,21 @@
1
- Tea Core SDK for Ruby
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
- Installation
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 tea
17
+ $ gem install tea_core
8
18
  ```
19
+
20
+ ## License
21
+ The Apache 2.0 License.
@@ -4,7 +4,7 @@ require 'net/http'
4
4
 
5
5
  # The Tea module
6
6
  module Tea
7
- VERSION = '0.0.1'
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.1
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-07-22 00:00:00.000000000 Z
11
+ date: 2019-08-21 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: codecov