circuitry-middleware 1.1.1 → 3.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +4 -0
- data/circuitry-middleware.gemspec +3 -3
- data/lib/circuitry/middleware/rack.rb +2 -2
- data/lib/circuitry/middleware/version.rb +1 -1
- metadata +3 -7
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 0ccc77c68ecea563ea22e3fcfbb6853707eb9b7d
|
4
|
+
data.tar.gz: 79ff4aeed38499d8251a2caa0a4eb6396a7436e5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f1fc8e75a4e9a2d41eec189fa414fa7d773a282100d5757c965d414d81e64754b6378ddf7ba42dcec36e15a4e5e6664de900694dbbbac0a845398a8edee1e965
|
7
|
+
data.tar.gz: 25bcb5ab648a093c7f9d6871f61848450db0f54d3cc8d6eed566581055f1a004907d39c047e148538a0eccc3512e3c9dce9fe202d98a3f38e175b3b461c354df
|
data/CHANGELOG.md
CHANGED
@@ -6,8 +6,8 @@ require 'circuitry/middleware/version'
|
|
6
6
|
Gem::Specification.new do |spec|
|
7
7
|
spec.name = 'circuitry-middleware'
|
8
8
|
spec.version = Circuitry::Middleware::VERSION
|
9
|
-
spec.authors = ['Matt Huggins']
|
10
|
-
spec.email = ['matt.huggins@kapost.com']
|
9
|
+
spec.authors = ['Matt Huggins', 'Brandon Croft']
|
10
|
+
spec.email = ['matt.huggins@kapost.com', 'brandon@kapost.com']
|
11
11
|
|
12
12
|
spec.summary = %q{Rails/Rack middleware for batching circuitry notifications.}
|
13
13
|
spec.description = %q{Batches and flushes circuitry SNS messages after a request finishes processing.}
|
@@ -19,7 +19,7 @@ Gem::Specification.new do |spec|
|
|
19
19
|
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
|
20
20
|
spec.require_paths = ['lib']
|
21
21
|
|
22
|
-
spec.add_dependency 'circuitry',
|
22
|
+
spec.add_dependency 'circuitry', '>= 3.0.0'
|
23
23
|
spec.add_dependency 'rack', '>= 1.4.5'
|
24
24
|
|
25
25
|
spec.add_development_dependency 'pry-nav'
|
@@ -6,8 +6,8 @@ module Circuitry
|
|
6
6
|
class Rack
|
7
7
|
def initialize(app, options = {})
|
8
8
|
@app = app
|
9
|
-
Circuitry.
|
10
|
-
Circuitry.
|
9
|
+
Circuitry.publisher_config.async_strategy = options.fetch(:publish_async_strategy, :batch)
|
10
|
+
Circuitry.subscriber_config.async_strategy = options.fetch(:subscribe_async_strategy, :thread)
|
11
11
|
end
|
12
12
|
|
13
13
|
def call(env)
|
metadata
CHANGED
@@ -1,10 +1,11 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: circuitry-middleware
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version:
|
4
|
+
version: 3.0.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Matt Huggins
|
8
|
+
- Brandon Croft
|
8
9
|
autorequire:
|
9
10
|
bindir: exe
|
10
11
|
cert_chain: []
|
@@ -15,9 +16,6 @@ dependencies:
|
|
15
16
|
requirement: !ruby/object:Gem::Requirement
|
16
17
|
requirements:
|
17
18
|
- - ">="
|
18
|
-
- !ruby/object:Gem::Version
|
19
|
-
version: 1.1.0
|
20
|
-
- - "<"
|
21
19
|
- !ruby/object:Gem::Version
|
22
20
|
version: 3.0.0
|
23
21
|
type: :runtime
|
@@ -25,9 +23,6 @@ dependencies:
|
|
25
23
|
version_requirements: !ruby/object:Gem::Requirement
|
26
24
|
requirements:
|
27
25
|
- - ">="
|
28
|
-
- !ruby/object:Gem::Version
|
29
|
-
version: 1.1.0
|
30
|
-
- - "<"
|
31
26
|
- !ruby/object:Gem::Version
|
32
27
|
version: 3.0.0
|
33
28
|
- !ruby/object:Gem::Dependency
|
@@ -117,6 +112,7 @@ dependencies:
|
|
117
112
|
description: Batches and flushes circuitry SNS messages after a request finishes processing.
|
118
113
|
email:
|
119
114
|
- matt.huggins@kapost.com
|
115
|
+
- brandon@kapost.com
|
120
116
|
executables: []
|
121
117
|
extensions: []
|
122
118
|
extra_rdoc_files: []
|