fake_sqs 0.0.10 → 0.0.11
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/fake_sqs/version.rb +1 -1
- data/lib/fake_sqs/web_interface.rb +5 -0
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ae5e043b856cd439056c369baeb1fdc3d12e7787
|
4
|
+
data.tar.gz: f4b4aedf522f93fa1e71a2ace2a1df482b310e90
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: aa51a2e3bcde55667e86206db9d49043448618e07960ecbaa1a441287e7198137333e58bb62ee3ddfad11e4dc8a600d9d960456cb2a72c185d5d9fb7506ded42
|
7
|
+
data.tar.gz: edfb298a28ae9f4089b6d60e8deb36b3eed64e728284a08cfdce4520804e6a298fe810ab43f7aa1e689c7d97e20190e247aefbc49f11ecea27326a20af3ffe9e
|
data/lib/fake_sqs/version.rb
CHANGED
@@ -30,6 +30,11 @@ module FakeSQS
|
|
30
30
|
end
|
31
31
|
|
32
32
|
post "/" do
|
33
|
+
if params['QueueUrl']
|
34
|
+
queue = URI.parse(params['QueueUrl']).path.gsub(/\//, '')
|
35
|
+
return settings.api.call(action, queue, params) unless queue.empty?
|
36
|
+
end
|
37
|
+
|
33
38
|
settings.api.call(action, params)
|
34
39
|
end
|
35
40
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: fake_sqs
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.11
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- iain
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2014-01-16 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: sinatra
|