bakery-core 0.0.5 → 0.0.6
Sign up to get free protection for your applications and to get access to all the features.
- data/app/models/platform/site_manager.rb +1 -1
- data/lib/bakery-core/version.rb +1 -1
- metadata +3 -3
@@ -50,7 +50,7 @@ class Platform::SiteManager
|
|
50
50
|
def configuration_for options
|
51
51
|
options.assert_valid_keys(:site, :host)
|
52
52
|
raise ArgumentError.new("You must provide either :site or :host option") if !!options.has_key?(:site) == !!options.has_key?(:host)
|
53
|
-
site = determine_site_by_hostname
|
53
|
+
site = determine_site_by_hostname options[:host] if options[:host]
|
54
54
|
site ||= options[:site]
|
55
55
|
Platform::SiteConfiguration.new(self, site)
|
56
56
|
end
|
data/lib/bakery-core/version.rb
CHANGED
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: bakery-core
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 19
|
5
5
|
prerelease: false
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 0
|
9
|
-
-
|
10
|
-
version: 0.0.
|
9
|
+
- 6
|
10
|
+
version: 0.0.6
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Matthijs Groen
|