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 +4 -4
- data/aliyun-mq-sdk.gemspec +8 -0
- data/lib/aliyun/mq/sdk/consumer.rb +0 -3
- data/lib/aliyun/mq/sdk/utils.rb +0 -1
- data/lib/aliyun/mq/sdk/version.rb +1 -1
- metadata +3 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e0234da9604d8afe5547b3499dca021e32f888f7
|
4
|
+
data.tar.gz: e71043982f2b0363ec722a7efacd9c07393c2edf
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ee2203bf6c0324d78656aac9cf4ef82157ffb287abbfa459d2b89d2378e4d19f44e7d896eedf6f9f23edb2aaa5be853b2212816fceb37486a1e2e606ca18a1c7
|
7
|
+
data.tar.gz: 583cb280d2a0710bf85bd9a23ef4d75a01d7467c4be94d3c038c8e1b951f979cc0f928af3278d1ed126e3c2bbd76ffc34fb8834e02a946d7ba9fc8ab6f3a1af6
|
data/aliyun-mq-sdk.gemspec
CHANGED
@@ -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
|
data/lib/aliyun/mq/sdk/utils.rb
CHANGED
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.
|
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:
|