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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 90ff94f8d7ab6c058d1ac5ad0353b30b3758e18f
4
- data.tar.gz: 7b6f62ca16ffd550b6c3739ef667ea4eb9e5ecd4
3
+ metadata.gz: 0ccc77c68ecea563ea22e3fcfbb6853707eb9b7d
4
+ data.tar.gz: 79ff4aeed38499d8251a2caa0a4eb6396a7436e5
5
5
  SHA512:
6
- metadata.gz: 12773d9362aae3c0ff67e95a2bc7ccb6e6edd48b2f546170e41917afca22348095277d9c47ae0967db43846956b6e363701ec985cf26a8ff794991188f36c950
7
- data.tar.gz: a46b20389fa85e4bdc5bb65c13e0c790fdcc9aa65936993b6c45007cd09742da1880d1493cf993169bf3068e79f5230d2143ded056a60a3c23e02a5a5ab943fe
6
+ metadata.gz: f1fc8e75a4e9a2d41eec189fa414fa7d773a282100d5757c965d414d81e64754b6378ddf7ba42dcec36e15a4e5e6664de900694dbbbac0a845398a8edee1e965
7
+ data.tar.gz: 25bcb5ab648a093c7f9d6871f61848450db0f54d3cc8d6eed566581055f1a004907d39c047e148538a0eccc3512e3c9dce9fe202d98a3f38e175b3b461c354df
@@ -1,3 +1,7 @@
1
+ ## Circuitry Middleware 3.0.0 (Feb 19, 2016)
2
+
3
+ * Added compatibility with circuitry-3.0.0
4
+
1
5
  ## Circuitry Middleware 1.1.1 (Feb 19, 2016)
2
6
 
3
7
  * Replaced required version of circuitry to not allow v3.0.0
@@ -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', ['>= 1.1.0', '< 3.0.0']
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.config.publish_async_strategy = options.fetch(:publish_async_strategy, :batch)
10
- Circuitry.config.subscribe_async_strategy = options.fetch(:subscribe_async_strategy, :thread)
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)
@@ -1,5 +1,5 @@
1
1
  module Circuitry
2
2
  module Middleware
3
- VERSION = '1.1.1'
3
+ VERSION = '3.0.0'
4
4
  end
5
5
  end
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: 1.1.1
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: []