penthouse 0.9.0 → 0.10.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: ddf585328bcdfaa3c9899c24c391500330ddcc84
4
- data.tar.gz: 1b1ab82b1efdb9fd4e9defb3819317d47ae4e4f0
3
+ metadata.gz: 630e16a626e98056947ee452543c51b346c8f824
4
+ data.tar.gz: 874cfaac96eadc4c2422fd89fb560d24631785ff
5
5
  SHA512:
6
- metadata.gz: 0c3a1758e69b996836f73cdb094217bec0ae9b8584692e678708579e05ff9589ef8d48abd285fcc8f4c085c0a67f2331992db879b372f54e6531ad6e9ae472fe
7
- data.tar.gz: 43f988b517f943dd75d4924dc78016f1ccadd1255e7e4a48e9668738933f7e76a489f8964df2f186689563ad2f747dd4d1e7e85211e9e4aa6a15a3d57dfa2d0c
6
+ metadata.gz: 4712d7689969aa7d49c699154f142003a67342350b6d2f4f54151c2c6874d5f0552028a3aee600ca2f0715c77c9427ac3246923725dee64344cb38efadb011f1
7
+ data.tar.gz: 360452921333e1e31542dc0934dd04b2a37a86dcf8b5c8ded4209d99882df6651ed2f582f17174fd5440e5da9f449a12ac27614d804bfb5ce35977faff786b6e
@@ -1,8 +1,12 @@
1
- module Penthouse::Sidekiq::Middleware
2
- class Client
3
- def call(worker_class, item, queue, redis_pool=nil)
4
- item['tenant'] ||= Penthouse.current_tenant
5
- yield
1
+ module Penthouse
2
+ module Sidekiq
3
+ module Middleware
4
+ class Client
5
+ def call(worker_class, item, queue, redis_pool=nil)
6
+ item['tenant'] ||= Penthouse.current_tenant
7
+ yield
8
+ end
9
+ end
6
10
  end
7
11
  end
8
12
  end
@@ -1,8 +1,12 @@
1
- module Apartment::Sidekiq::Middleware
2
- class Server
3
- def call(worker_class, item, queue)
4
- Penthouse.router.switch(item['tenant']) do
5
- yield
1
+ module Penthouse
2
+ module Sidekiq
3
+ module Middleware
4
+ class Server
5
+ def call(worker_class, item, queue)
6
+ Penthouse.switch(item['tenant']) do
7
+ yield
8
+ end
9
+ end
6
10
  end
7
11
  end
8
12
  end
@@ -1,3 +1,3 @@
1
1
  module Penthouse
2
- VERSION = "0.9.0"
2
+ VERSION = "0.10.0"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: penthouse
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.9.0
4
+ version: 0.10.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ryan Townsend