company_scope 0.1.9 → 0.2.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: c980a4acc86a05a0a90934da1b8b9e53fc3b1d90
4
- data.tar.gz: de6d8e76cdb5876b5c469cdfe7814a2b3e92e15c
3
+ metadata.gz: 0233271ae1b9214f853b98bc5f6e2bec008eca3b
4
+ data.tar.gz: 1b7a95239b3f0107bc4fcb95bd82433397d71276
5
5
  SHA512:
6
- metadata.gz: fbd4f6e1aac79bbeb431ccd31b84ec4c394d7a0c01b791308be24ed9cf87fbcb8bafeda067a53169dc15d8101460bcf25c7edaec40fef50bccbe3786a5766442
7
- data.tar.gz: 225c8f51f4fedf4076dcf2f90ee8e315f13f5996917b1275ae1fe7a089b48483bb876f83612488d980e9ffe442dddf331a5625d3ad30157079eab3155c834ffd
6
+ metadata.gz: c87fbb9bd3f1536c19b7ab04f2364066404e4e7c87e78647a6b596e86f931249318d449849d0d5382fe0e085b956e7d961ab62542ad3cdac4ab85ca6d8ed3fbc
7
+ data.tar.gz: 7ba0420d725284ce478d5a4ba7e6b51300bf6da628a24c861f5414bde570f8223aab55952482d70a53a10ff4941e6618b476cabd3a79acab16bc317fb9b77265
@@ -16,7 +16,7 @@ module CompanyScope
16
16
  #
17
17
  # - add MultiCompany Rack middleware to detect the company_name from the subdomain
18
18
  #app.config.middleware.insert_after Rack::Sendfile, Custom::MultiCompany, company_config, company_name_matcher
19
- app.config.middleware.insert_before ActionDispatch::Static, Custom::MultiCompany, company_config, company_name_matcher
19
+ app.config.middleware.insert_before Rack::Lock, Custom::MultiCompany, company_config, company_name_matcher
20
20
  # - the base module injects the default scope into company dependant models
21
21
  #
22
22
  ActiveRecord::Base.send(:include, CompanyScope::Base)
@@ -1,3 +1,3 @@
1
1
  module CompanyScope
2
- VERSION = "0.1.9"
2
+ VERSION = "0.2.0"
3
3
  end
data/log/test.log CHANGED
@@ -342,3 +342,11 @@ Processing by DummyApplicationController#index as HTML
342
342
  Completed 200 OK in 0ms (Views: 0.1ms)
343
343
  Processing by DummyApplicationController#index as HTML
344
344
  Completed 500 Internal Server Error in 0ms
345
+ Processing by DummyApplicationController#index as HTML
346
+ Completed 200 OK in 0ms (Views: 0.3ms)
347
+ Processing by DummyApplicationController#index as HTML
348
+ Completed 200 OK in 0ms (Views: 0.2ms)
349
+ Processing by DummyApplicationController#index as HTML
350
+ Completed 200 OK in 0ms (Views: 0.2ms)
351
+ Processing by DummyApplicationController#index as HTML
352
+ Completed 500 Internal Server Error in 0ms
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: company_scope
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.9
4
+ version: 0.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Steve Forkin