aws-broker 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 +5 -5
- data/README.md +2 -2
- data/lib/aws/broker/base.rb +1 -1
- data/lib/aws/broker/config.rb +8 -1
- data/lib/aws/broker/subscriber.rb +4 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: a88b2c21b2a20a23d03a1badc49a10db16b588d40e1c14dfc28b46a3b4e5efa1
|
4
|
+
data.tar.gz: e1ec7ecdf127d7e4c6517905c74197707ee973704497a1d2105494ac59bcd737
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 68528a6ca4ed9d966a539ebded2b49627353d590282f4bb493593497054a217c6f37b1a4d9f8c52e1822016a1e121d75de752ac6d356fbe24db29bebd4343be9
|
7
|
+
data.tar.gz: 695e1931bd3f5457a6b4fc4ffe9d13d9b7d8ab0ad87a56bdbc84cbe56af847c5488954fbc4d3400a08e9294652fcadc2dea5a5fe860684ee223c551908870873
|
data/README.md
CHANGED
@@ -4,7 +4,7 @@
|
|
4
4
|
|
5
5
|
* * *
|
6
6
|
|
7
|
-
[![CircleCI](https://circleci.com/gh/
|
7
|
+
[![CircleCI](https://circleci.com/gh/thanx/aws-broker.svg?style=svg)](https://circleci.com/gh/thanx/aws-broker)
|
8
8
|
|
9
9
|
### Background
|
10
10
|
|
@@ -74,7 +74,7 @@ The above is essentially shorthand for
|
|
74
74
|
|
75
75
|
### Usage Details
|
76
76
|
|
77
|
-
See the [wiki](https://github.com/
|
77
|
+
See the [wiki](https://github.com/thanx/aws-broker/wiki) for an in-depth
|
78
78
|
overview of usage and configuration options.
|
79
79
|
|
80
80
|
### Inspiration
|
data/lib/aws/broker/base.rb
CHANGED
data/lib/aws/broker/config.rb
CHANGED
@@ -2,7 +2,7 @@ module Aws
|
|
2
2
|
class Broker
|
3
3
|
class Config
|
4
4
|
|
5
|
-
attr_accessor :enabled, :queue_prefix, :topic_prefix
|
5
|
+
attr_accessor :enabled, :queue_prefix, :topic_prefix, :sqs, :sns
|
6
6
|
alias_method :enabled?, :enabled
|
7
7
|
|
8
8
|
def initialize
|
@@ -11,6 +11,13 @@ module Aws
|
|
11
11
|
self.topic_prefix = nil
|
12
12
|
end
|
13
13
|
|
14
|
+
def sqs
|
15
|
+
@sqs ||= Aws::SQS::Client.new
|
16
|
+
end
|
17
|
+
|
18
|
+
def sns
|
19
|
+
@sns ||= Aws::SNS::Client.new
|
20
|
+
end
|
14
21
|
end
|
15
22
|
end
|
16
23
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: aws-broker
|
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
|
- Eng @ Thanx
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2018-05-23 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-sns
|
@@ -75,7 +75,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
75
75
|
version: '0'
|
76
76
|
requirements: []
|
77
77
|
rubyforge_project:
|
78
|
-
rubygems_version: 2.
|
78
|
+
rubygems_version: 2.7.3
|
79
79
|
signing_key:
|
80
80
|
specification_version: 4
|
81
81
|
summary: AWS Broker
|