multi_client 3.0.1 → 3.1.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: 2538011340ad66349a9205fd71a55cf24c067428
4
- data.tar.gz: 8b2748a9dc1b8231e539b58edf1e16be071cbbdc
3
+ metadata.gz: ee973e7a43f9052c0584bd35622074e9454978e0
4
+ data.tar.gz: dbd4564e532229f97fe85972aed59cfbb8e01b29
5
5
  SHA512:
6
- metadata.gz: c816cf4a83d224b08b5c455b7c48536a6658e02cf2821affbd7b37d6bced3215efd7c2941054a3c4891d7d7d876207c54ab210af9d2a0c807ecc2d473bbde0c8
7
- data.tar.gz: 0758a3f27307c09496f866c3ad36449eef6c654c151f6616399a7296ad2f2766ed1eac65bf25b5fe747dc805e55befdae662c1807606439f6ab10680d6e2457b
6
+ metadata.gz: 2e6387041fa8d3823bb1aea9ee3a1d0e4ca1f1bfd720bbee7dc56e16e2c248367ecbd5d2e23f7844d3b76880eda87f59ac0a9221133bbe7b4ec4bc0e4a9c1dd8
7
+ data.tar.gz: 4986730268411211e589f8605b51360fe78e86a88853ec0fc252b9da286941c0911950def3a00bff6df17ae93782ebe8a02b81de46e95206b039ef0bac4b34db
@@ -0,0 +1,12 @@
1
+ module MultiClient
2
+ class NonMasterSubdomain
3
+ def self.matches?(request)
4
+ case request.subdomain
5
+ when 'master'
6
+ false
7
+ else
8
+ true
9
+ end
10
+ end
11
+ end
12
+ end
@@ -1,3 +1,3 @@
1
1
  module MultiClient
2
- VERSION = '3.0.1'.freeze
2
+ VERSION = '3.1.0'.freeze
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: multi_client
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.1
4
+ version: 3.1.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Roberto Vasquez Angel
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-05-01 00:00:00.000000000 Z
11
+ date: 2016-05-23 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails
@@ -157,6 +157,7 @@ files:
157
157
  - lib/multi_client/engine.rb
158
158
  - lib/multi_client/master_subdomain.rb
159
159
  - lib/multi_client/no_subdomain.rb
160
+ - lib/multi_client/non_master_subdomain.rb
160
161
  - lib/multi_client/spec_helper.rb
161
162
  - lib/multi_client/subdomain.rb
162
163
  - lib/multi_client/version.rb