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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 07cc7d69931207649b20dc94e4d3522023a4e110
4
- data.tar.gz: 6c895b6844061cd9e054777cd19b369bccdca806
3
+ metadata.gz: ae5e043b856cd439056c369baeb1fdc3d12e7787
4
+ data.tar.gz: f4b4aedf522f93fa1e71a2ace2a1df482b310e90
5
5
  SHA512:
6
- metadata.gz: e638d676fc1ba7cab88664b90bdbd5be94db189800e5507799e42fa546f99f7ee4f5a6d823673e54f86d69b1b6faa2788164304589e18e64063dcc12ef678b66
7
- data.tar.gz: c6aebf4bffbe5d0f7a7fdc0025b4c121ff0f0fd01a4413d76e28f4575c3d156424d7a78a486a1cbfe87f142321e8dd100ac79390b20ad7abc01fe50ab2ed3434
6
+ metadata.gz: aa51a2e3bcde55667e86206db9d49043448618e07960ecbaa1a441287e7198137333e58bb62ee3ddfad11e4dc8a600d9d960456cb2a72c185d5d9fb7506ded42
7
+ data.tar.gz: edfb298a28ae9f4089b6d60e8deb36b3eed64e728284a08cfdce4520804e6a298fe810ab43f7aa1e689c7d97e20190e247aefbc49f11ecea27326a20af3ffe9e
@@ -1,3 +1,3 @@
1
1
  module FakeSQS
2
- VERSION = "0.0.10"
2
+ VERSION = "0.0.11"
3
3
  end
@@ -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.10
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: 2013-12-18 00:00:00.000000000 Z
11
+ date: 2014-01-16 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: sinatra