company_scope 0.2.0 → 0.2.1

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: 0233271ae1b9214f853b98bc5f6e2bec008eca3b
4
- data.tar.gz: 1b7a95239b3f0107bc4fcb95bd82433397d71276
3
+ metadata.gz: 67f97ee18ea2db521a006698af04ac418b25f655
4
+ data.tar.gz: 7aadddea2aba3eb1f1401489b8641875f804bcab
5
5
  SHA512:
6
- metadata.gz: c87fbb9bd3f1536c19b7ab04f2364066404e4e7c87e78647a6b596e86f931249318d449849d0d5382fe0e085b956e7d961ab62542ad3cdac4ab85ca6d8ed3fbc
7
- data.tar.gz: 7ba0420d725284ce478d5a4ba7e6b51300bf6da628a24c861f5414bde570f8223aab55952482d70a53a10ff4941e6618b476cabd3a79acab16bc317fb9b77265
6
+ metadata.gz: efef00d3736d4fda3be69119dd086f4610c023c5f421ed0fc532cc7f675e7047405d8e6f3e333ec285959f897c6fda35515772d5ce70ea8a910cbe75408d8411
7
+ data.tar.gz: 95167ad9bd1ae66d7beb473eb44e8daa91eab2c4ec3985ff8c451d639c29b506e13e9f2d08c14a58a59b0819d512b630e3574dc88f9783bb2c0f5a23c8a21a65
@@ -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 Rack::Lock, Custom::MultiCompany, company_config, company_name_matcher
19
+ app.config.middleware.insert_before Rack::Runtime, 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.2.0"
2
+ VERSION = "0.2.1"
3
3
  end
data/log/test.log CHANGED
@@ -350,3 +350,11 @@ Processing by DummyApplicationController#index as HTML
350
350
  Completed 200 OK in 0ms (Views: 0.2ms)
351
351
  Processing by DummyApplicationController#index as HTML
352
352
  Completed 500 Internal Server Error in 0ms
353
+ Processing by DummyApplicationController#index as HTML
354
+ Completed 200 OK in 0ms (Views: 0.2ms)
355
+ Processing by DummyApplicationController#index as HTML
356
+ Completed 200 OK in 0ms (Views: 0.1ms)
357
+ Processing by DummyApplicationController#index as HTML
358
+ Completed 200 OK in 0ms (Views: 0.1ms)
359
+ Processing by DummyApplicationController#index as HTML
360
+ 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.2.0
4
+ version: 0.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Steve Forkin