aliyun-mq-sdk 0.1.0 → 0.1.1

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: 7c88e32a55ec205ddfbf23c19f37cc971bfcf405
4
- data.tar.gz: 1e395ce21b064b01b7ed75c4dd67c27c7ef0d802
3
+ metadata.gz: e0234da9604d8afe5547b3499dca021e32f888f7
4
+ data.tar.gz: e71043982f2b0363ec722a7efacd9c07393c2edf
5
5
  SHA512:
6
- metadata.gz: 497829709bfa3d47b9f3f16a64a3af402bd790ce08993631d0779589a242d56ba3a2d1f5522f707064ac5d2af0eb521ac714b7e01ef4e8c476df37dea84c5506
7
- data.tar.gz: fe56a0a82de859363d4de9f2c87225013c1d516f611dbdf56c0b3eec579e54e680253bab64726d1abc2111f67f7cc2263e273cc69ea12c6ee9b8d2a1fa87e9ac
6
+ metadata.gz: ee2203bf6c0324d78656aac9cf4ef82157ffb287abbfa459d2b89d2378e4d19f44e7d896eedf6f9f23edb2aaa5be853b2212816fceb37486a1e2e606ca18a1c7
7
+ data.tar.gz: 583cb280d2a0710bf85bd9a23ef4d75a01d7467c4be94d3c038c8e1b951f979cc0f928af3278d1ed126e3c2bbd76ffc34fb8834e02a946d7ba9fc8ab6f3a1af6
@@ -14,6 +14,14 @@ Gem::Specification.new do |spec|
14
14
  spec.homepage = "http://agideo.com"
15
15
  spec.license = "MIT"
16
16
 
17
+ # Prevent pushing this gem to RubyGems.org. To allow pushes either set the 'allowed_push_host'
18
+ # to allow pushing to a single host or delete this section to allow pushing to any host.
19
+ if spec.respond_to?(:metadata)
20
+ spec.metadata['allowed_push_host'] = "https://rubygems.org"
21
+ else
22
+ raise "RubyGems 2.0 or newer is required to protect against public gem pushes."
23
+ end
24
+
17
25
  spec.files = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
18
26
  spec.bindir = "exe"
19
27
  spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
@@ -33,8 +33,6 @@ module Aliyun::Mq::Sdk
33
33
  else
34
34
  rslt = {success: false, msg: res.response}
35
35
  end
36
- p res
37
- p rslt
38
36
  rslt
39
37
  end
40
38
 
@@ -48,7 +46,6 @@ module Aliyun::Mq::Sdk
48
46
  query = {"topic" => topic, "msgHandle" => msg_handle, "time" => @time}
49
47
 
50
48
  res = self.class.delete(region_url, headers: headers, query: query)
51
- p query
52
49
  if res.code === 204
53
50
  rslt = {success: true}
54
51
  else
@@ -2,7 +2,6 @@ require "digest"
2
2
  require "base64"
3
3
  require "openssl"
4
4
  require 'digest/sha1'
5
- Digest::SHA1.hexdigest 'foo'
6
5
 
7
6
  module Aliyun::Mq::Sdk
8
7
  class Utils
@@ -1,7 +1,7 @@
1
1
  module Aliyun
2
2
  module Mq
3
3
  module Sdk
4
- VERSION = "0.1.0"
4
+ VERSION = "0.1.1"
5
5
  end
6
6
  end
7
7
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aliyun-mq-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
  - Jim
@@ -134,7 +134,8 @@ files:
134
134
  homepage: http://agideo.com
135
135
  licenses:
136
136
  - MIT
137
- metadata: {}
137
+ metadata:
138
+ allowed_push_host: https://rubygems.org
138
139
  post_install_message:
139
140
  rdoc_options: []
140
141
  require_paths: