opener-callback-handler 1.0.1 → 1.0.2

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: a06ed876840e9fe655df80d0b7e8576a76a1f998
4
- data.tar.gz: e5c1c80d34da600a44d0e9ed6c45f55a96edb0d5
3
+ metadata.gz: 0c43eb8c8cbde3f398e7ec0f25ff584365630455
4
+ data.tar.gz: c0fbf54889d79b749f3b5378273aa09351643375
5
5
  SHA512:
6
- metadata.gz: af08ccf1192fe3205e54f14cd6317f87d3574e11bea823b7ccd02f212fdb8a1f08b8b98adae06f3a8733a720ab381c884186cb94961c847e4cecf25764157b5b
7
- data.tar.gz: 2439100232b3c922de67fd52f5b6657c8aa7ee924630fe366a259bdc1c6e6c290ce367a28eeeb2e41197e99ef140ffe55dcf8e3091e71c9011d8101b8dd4b926
6
+ metadata.gz: dd67df8a7290bed1aebe1c77d625077594f833b082eb94413385e0e2948bdb502e43e2a43da59b34ad679980a8b0c68dd0f0ca7cae2110c0cc0aa555bd0b4130
7
+ data.tar.gz: 90ea8f276077f96bb6d33a85df64b508fb5e6767ee2536ec245ff5446c5ac3ea0c2f01fba47d2bfe121bf9e9759da2e0a62a3bf6554618d80b7e6e2f522a0ce3
@@ -1,6 +1,7 @@
1
1
  require 'json'
2
2
  require 'aws-sdk'
3
3
  require 'httpclient'
4
+ require 'addressable/uri'
4
5
 
5
6
  require_relative 'callback_handler/version'
6
7
  require_relative 'callback_handler/strategies/amazon_sqs'
@@ -42,7 +42,7 @@ module Opener
42
42
  # @return [AWS::SQS::Queue]
43
43
  #
44
44
  def queue_for_uri(uri)
45
- parsed = URI.parse(uri)
45
+ parsed = Addressable::URI.parse(uri)
46
46
 
47
47
  return queue_for_name(parsed.host)
48
48
  end
@@ -1,5 +1,5 @@
1
1
  module Opener
2
2
  class CallbackHandler
3
- VERSION = '1.0.1'
3
+ VERSION = '1.0.2'
4
4
  end
5
5
  end
@@ -18,6 +18,7 @@ Gem::Specification.new do |spec|
18
18
 
19
19
  spec.add_dependency 'aws-sdk', '~> 1.0'
20
20
  spec.add_dependency 'httpclient'
21
+ spec.add_dependency 'addressable'
21
22
 
22
23
  spec.add_development_dependency 'bundler'
23
24
  spec.add_development_dependency 'rake'
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: opener-callback-handler
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.1
4
+ version: 1.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - development@olery.com
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-11-26 00:00:00.000000000 Z
11
+ date: 2014-12-05 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk
@@ -38,6 +38,20 @@ dependencies:
38
38
  - - ">="
39
39
  - !ruby/object:Gem::Version
40
40
  version: '0'
41
+ - !ruby/object:Gem::Dependency
42
+ name: addressable
43
+ requirement: !ruby/object:Gem::Requirement
44
+ requirements:
45
+ - - ">="
46
+ - !ruby/object:Gem::Version
47
+ version: '0'
48
+ type: :runtime
49
+ prerelease: false
50
+ version_requirements: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - ">="
53
+ - !ruby/object:Gem::Version
54
+ version: '0'
41
55
  - !ruby/object:Gem::Dependency
42
56
  name: bundler
43
57
  requirement: !ruby/object:Gem::Requirement