carrierwave-tencent_cos 0.1.2 → 0.1.3

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: 2dd76665f9af68097ca41a1f431d25bc1a657733
4
- data.tar.gz: bbaa24dff67f96062225054e18e24229bb764370
3
+ metadata.gz: 1ffdcb46f7d74066f1bddcd3d727c9bfbe7434a1
4
+ data.tar.gz: e04dc86f9af89ecb3cd55f17b85f8899c0f506c5
5
5
  SHA512:
6
- metadata.gz: 937c22c6381ebfbe80e1892cc78489170f8eedc5949bc25a3b4f8d2241f518aa798e9934c68e48b03ba61f8f5bf7a5f689146aedeebf83341ff8e02f6e3d5390
7
- data.tar.gz: 872e7d3835a6c802943a4e30a3e567b5e4b7f8fe5f77ef3871d19c6fdb86aadc5b660f65c82a0eedbf4702d224f50aeebdf2af605c8899e8e7ae4f31209d0743
6
+ metadata.gz: ea32e4b088f70b34e844cdf5831ba0262b06ab6afe5ac20b2208b8b66085d450de9b25885ccbeac377eb5aac323d2f67515533fd0f452dfaedd306d187c4370c
7
+ data.tar.gz: b8fcec893638c3585f8ec65b730006db3eb2350804caade94213deebc9eba3c833f64ff923662ffd246f6e9309bab8ae027f8f81072df59feac8314264d7722e
data/README.md CHANGED
@@ -62,6 +62,6 @@ Everyone interacting in the CarrierWave::TencentCos project’s codebases, issue
62
62
 
63
63
  ## Links
64
64
 
65
- * [ruby gem carrierwave-tencent_cos](https://rubygems.org/gems/carrierwave-tencent_cos)
66
- * [ruby gem tencent_cos_sdk](https://rubygems.org/gems/tencent_cos_sdk)
67
- * [carrierwave](https://github.com/carrierwaveuploader/carrierwave)
65
+ * [ruby gem carrierwave-tencent_cos](https://github.com/xxjapp/carrierwave-tencent_cos)
66
+ * [ruby gem tencent_cos_sdk](https://github.com/xxjapp/tencent_cos_sdk)
67
+ * [ruby gem carrierwave](https://github.com/carrierwaveuploader/carrierwave)
@@ -27,11 +27,7 @@ module CarrierWave
27
27
  end
28
28
 
29
29
  def store(new_file)
30
- options = { file: new_file.path }
31
-
32
- options[:log_debug] = !!CarrierWave::Uploader::Base.options[:log_debug]
33
-
34
- TencentCosSdk.put @path, options
30
+ TencentCosSdk.put @path, file: new_file.path
35
31
  end
36
32
 
37
33
  def url
@@ -1,5 +1,5 @@
1
1
  module CarrierWave
2
2
  module TencentCos
3
- VERSION = "0.1.2"
3
+ VERSION = "0.1.3"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: carrierwave-tencent_cos
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.2
4
+ version: 0.1.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - xia xiongjun