tencent_cos_sdk 0.1.0 → 0.1.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 361ffba4ae566df9f3e6e074fe194838e00e00ac
4
- data.tar.gz: de1ce852ddbce85956e9c4d7b34e5a09d6320797
3
+ metadata.gz: 94b56311af13f4138cd03eeae50262add8df1e8d
4
+ data.tar.gz: 9ffa785075032b71da999acb7e90787c5f9edcef
5
5
  SHA512:
6
- metadata.gz: c91588a62d53627002f7b6f5ee4d5945d25e3478510c60f8cedeb29fea9fb72d12b245ceda65375e4478ec38c9c382057a5c91ca378109d03fe9f787329a83de
7
- data.tar.gz: 77bde746b3ef3cc24c6c9c86fb241f589cb3eb69095654e0ed02dfa5deb5860f8a569ff66e768481bd17813bcfdfff6d0f7fd09a4231f6e435fee444d9a2d2d4
6
+ metadata.gz: 7bb2dd50deaa61daca9d4d186c83174bd9a9564022b3d1bbfa44ca70eeae723908a6a29346e7938201a1a10e53a110fadcabec6fd0f863eddf314255f1fe4f46
7
+ data.tar.gz: 8e661b3aa084817359c75782f8bdce660b985ccc4d434630ece8521f809aaf76bf1485d441c6b38cfeb628a9b01af9bebbc89ed5414fcc915bc450450f4cc6ce
data/README.md CHANGED
@@ -20,7 +20,7 @@ Or install it yourself as:
20
20
 
21
21
  ## Usage
22
22
 
23
- 1. Configuration
23
+ 1. Configure TencentCosSdk using your own SECRET_ID, SECRET_KEY, HOST and parent_path
24
24
 
25
25
  ```ruby
26
26
  TencentCosSdk.configure do |conf|
@@ -31,7 +31,8 @@ TencentCosSdk.configure do |conf|
31
31
  end
32
32
  ```
33
33
 
34
- 2. Call APIs
34
+ 2. Call APIs to upload, download or delete files
35
+
35
36
  ```ruby
36
37
  response = TencentCosSdk.put '1/abc.txt', body: 'abc123'
37
38
  response = TencentCosSdk.put '1/abc.txt', file: __FILE__
@@ -47,7 +48,7 @@ To install this gem onto your local machine, run `bundle exec rake install`. To
47
48
 
48
49
  ## Contributing
49
50
 
50
- Bug reports and pull requests are welcome on GitHub at https://github.com/[USERNAME]/tencent_cos_sdk. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [Contributor Covenant](http://contributor-covenant.org) code of conduct.
51
+ Bug reports and pull requests are welcome on GitHub at https://github.com/xxjapp/tencent_cos_sdk. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [Contributor Covenant](http://contributor-covenant.org) code of conduct.
51
52
 
52
53
  ## License
53
54
 
@@ -55,4 +56,4 @@ The gem is available as open source under the terms of the [MIT License](https:/
55
56
 
56
57
  ## Code of Conduct
57
58
 
58
- Everyone interacting in the TencentCosSdk project’s codebases, issue trackers, chat rooms and mailing lists is expected to follow the [code of conduct](https://github.com/[USERNAME]/tencent_cos_sdk/blob/master/CODE_OF_CONDUCT.md).
59
+ Everyone interacting in the TencentCosSdk project’s codebases, issue trackers, chat rooms and mailing lists is expected to follow the [code of conduct](https://github.com/xxjapp/tencent_cos_sdk/blob/master/CODE_OF_CONDUCT.md).
@@ -1,3 +1,3 @@
1
1
  module TencentCosSdk
2
- VERSION = "0.1.0"
2
+ VERSION = "0.1.1"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tencent_cos_sdk
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - xia xiongjun