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 +4 -4
- data/lib/company_scope/railtie.rb +1 -1
- data/lib/company_scope/version.rb +1 -1
- data/log/test.log +8 -0
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 0233271ae1b9214f853b98bc5f6e2bec008eca3b
|
|
4
|
+
data.tar.gz: 1b7a95239b3f0107bc4fcb95bd82433397d71276
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
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
|
|
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)
|
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
|