eventq_aws 1.14.2 → 1.15.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: afb003736ee1e2a8265bcb1e8e1f2a0f04c7059f
4
- data.tar.gz: b8d8d2191357ca4d83f11cc7f6b57da0e3c62b72
3
+ metadata.gz: 04f5ec8190a31b30710f951eaf7ea18c3d75983f
4
+ data.tar.gz: 031a62530d57a5e78f54c2e72688e7518ee5f346
5
5
  SHA512:
6
- metadata.gz: 1cfcfd954057eeb495feed92afa0b59349bc5a1dfe4d5883fd0a55edbcf110395883407f02e6882e26db032b0bb2d165143797d8379affc1f9f61711a86cddd6
7
- data.tar.gz: 78708e8ccad6b9a544a3f32e540493923035f63aa169c1f6314e36db2c106a7f5def6d5e69a2fc5a90412e17bc7327346bdc40eb554010d2b8810fafaa04afb7
6
+ metadata.gz: 321c0ff5a21da6fe732cc3a952ed70ba2ce2d1e4c186894924684dc75ef8920146809b9668fe07af1979e4c5f251c3bb472340595120394df1be08f14ca8ee63
7
+ data.tar.gz: 823af5a93e696e75e246d129f931a8d180fd6868b677e885acb882f8f6d69f1cad37b598ec137d93c95d5a21bade5bdd482f0d3f32c3eb8f7b5e2e07d42068f7
@@ -13,6 +13,9 @@ module EventQ
13
13
 
14
14
  @aws_account = options[:aws_account_number]
15
15
 
16
+ @sns_keep_alive_timeout = options[:sns_keep_alive_timeout] || 15
17
+ @sns_continue_timeout = options[:sns_continue_timeout] || 5
18
+
16
19
  if options.has_key?(:aws_region)
17
20
  @aws_region = options[:aws_region]
18
21
  Aws.config[:region] = @aws_region
@@ -28,7 +31,10 @@ module EventQ
28
31
 
29
32
  # Returns the AWS SNS Client
30
33
  def sns
31
- @sns ||= Aws::SNS::Client.new
34
+ @sns ||= Aws::SNS::Client.new(
35
+ http_idle_timeout: @sns_keep_alive_timeout,
36
+ http_continue_timeout: @sns_continue_timeout
37
+ )
32
38
  end
33
39
 
34
40
  def get_topic_arn(event_type)
@@ -62,7 +68,6 @@ module EventQ
62
68
  def aws_safe_name(name)
63
69
  return name[0..79].gsub(/[^a-zA-Z\d_\-]/,'')
64
70
  end
65
-
66
71
  end
67
72
  end
68
73
  end
@@ -2,6 +2,6 @@
2
2
 
3
3
  module EventQ
4
4
  module Amazon
5
- VERSION = "1.14.2"
5
+ VERSION = "1.15.0"
6
6
  end
7
7
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: eventq_aws
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.14.2
4
+ version: 1.15.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - vaughanbrittonsage
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2018-03-08 00:00:00.000000000 Z
11
+ date: 2018-03-30 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -82,7 +82,7 @@ dependencies:
82
82
  version: '1.15'
83
83
  description: This is the aws implementation for EventQ
84
84
  email:
85
- - vaughanbritton@gmail.com
85
+ - vaughan.britton@sage.com
86
86
  executables: []
87
87
  extensions: []
88
88
  extra_rdoc_files: []
@@ -98,7 +98,7 @@ files:
98
98
  - lib/eventq_aws/aws_subscription_manager.rb
99
99
  - lib/eventq_aws/jruby/aws_queue_worker.rb
100
100
  - lib/eventq_aws/version.rb
101
- homepage: https://github.com/vaughanbrittonsage/eventq
101
+ homepage: https://github.com/sage/eventq
102
102
  licenses:
103
103
  - MIT
104
104
  metadata: {}
@@ -118,7 +118,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
118
118
  version: '0'
119
119
  requirements: []
120
120
  rubyforge_project:
121
- rubygems_version: 2.5.1
121
+ rubygems_version: 2.5.2.1
122
122
  signing_key:
123
123
  specification_version: 4
124
124
  summary: This is the aws implementation for EventQ