plek 0.1.13 → 0.1.14
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/plek.rb +1 -1
- data/lib/plek/version.rb +1 -1
- metadata +4 -4
data/lib/plek.rb
CHANGED
@@ -126,7 +126,7 @@ class Plek
|
|
126
126
|
host = SERVICES[service_key_for(name)]
|
127
127
|
host ||= SERVICES["#{environment}.#{DEFAULT_PATTERN}"].to_s % name
|
128
128
|
# FIXME: *Everything* should be SSL
|
129
|
-
if environment == '
|
129
|
+
if environment == 'preview' or evironment == 'production'
|
130
130
|
"https://#{host}"
|
131
131
|
else
|
132
132
|
"http://#{host}"
|
data/lib/plek/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: plek
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.14
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,11 +9,11 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2011-12-
|
12
|
+
date: 2011-12-29 00:00:00.000000000Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: builder
|
16
|
-
requirement: &
|
16
|
+
requirement: &70108736825520 !ruby/object:Gem::Requirement
|
17
17
|
none: false
|
18
18
|
requirements:
|
19
19
|
- - ! '>='
|
@@ -21,7 +21,7 @@ dependencies:
|
|
21
21
|
version: '0'
|
22
22
|
type: :runtime
|
23
23
|
prerelease: false
|
24
|
-
version_requirements: *
|
24
|
+
version_requirements: *70108736825520
|
25
25
|
description: Find the right hostname for each service in an environment-dependent
|
26
26
|
manner
|
27
27
|
email:
|