saasable 5.0.0 → 5.0.1
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/VERSION +1 -1
- data/lib/saasable/mongoid/saas_document.rb +1 -1
- data/saasable.gemspec +3 -3
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 12004d4a4902003182aa50f87e890fa0b26a4598
|
|
4
|
+
data.tar.gz: 9a9fcfa6a0ca2efdffb24d40c42a082a98089cf8
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: f66608075b50cf12f3c9ff8956eb145731ddba05851798791c6ebc1b6bf2394a429df903331bcfe30d4253609269e7f25ae3a23e1597bc7b2b28c5d1470e397a
|
|
7
|
+
data.tar.gz: 9c04ddb052b52285ef601f462be1299fb9737dc10dbd0569dfbbc5154ef4818988dc0115aa5e2b5590374782c6b0922acf79cf65b0a2596f4548996ec669e5b8
|
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
5.0.
|
|
1
|
+
5.0.1
|
|
@@ -55,7 +55,7 @@ module Saasable::Mongoid::SaasDocument
|
|
|
55
55
|
raise Saasable::Errors::NoSaasDocuments, "you need to set one Saasable::SaasDocument"
|
|
56
56
|
end
|
|
57
57
|
|
|
58
|
-
possible_saas = Saasable::Mongoid::SaasDocument.saas_document.where(hosts: a_host
|
|
58
|
+
possible_saas = Saasable::Mongoid::SaasDocument.saas_document.where(hosts: a_host).to_a
|
|
59
59
|
if possible_saas.empty?
|
|
60
60
|
raise Saasable::Errors::SaasNotFound, "no #{Saasable::Mongoid::SaasDocument.saas_document.name} found for the host: \"#{a_host}\""
|
|
61
61
|
elsif possible_saas.count > 1
|
data/saasable.gemspec
CHANGED
|
@@ -2,16 +2,16 @@
|
|
|
2
2
|
# DO NOT EDIT THIS FILE DIRECTLY
|
|
3
3
|
# Instead, edit Jeweler::Tasks in Rakefile, and run 'rake gemspec'
|
|
4
4
|
# -*- encoding: utf-8 -*-
|
|
5
|
-
# stub: saasable 5.0.
|
|
5
|
+
# stub: saasable 5.0.1 ruby lib
|
|
6
6
|
|
|
7
7
|
Gem::Specification.new do |s|
|
|
8
8
|
s.name = "saasable"
|
|
9
|
-
s.version = "5.0.
|
|
9
|
+
s.version = "5.0.1"
|
|
10
10
|
|
|
11
11
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
|
12
12
|
s.require_paths = ["lib"]
|
|
13
13
|
s.authors = ["Educa2", "Rafael Gaspar"]
|
|
14
|
-
s.date = "2015-
|
|
14
|
+
s.date = "2015-12-18"
|
|
15
15
|
s.description = "A gem for making a Multi-Tenant SaaS using Mongoid"
|
|
16
16
|
s.email = "suporte@educa2.com.br"
|
|
17
17
|
s.extra_rdoc_files = [
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: saasable
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 5.0.
|
|
4
|
+
version: 5.0.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Educa2
|
|
@@ -9,7 +9,7 @@ authors:
|
|
|
9
9
|
autorequire:
|
|
10
10
|
bindir: bin
|
|
11
11
|
cert_chain: []
|
|
12
|
-
date: 2015-
|
|
12
|
+
date: 2015-12-18 00:00:00.000000000 Z
|
|
13
13
|
dependencies:
|
|
14
14
|
- !ruby/object:Gem::Dependency
|
|
15
15
|
name: mongoid
|