plek 0.1.13 → 0.1.14

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. data/lib/plek.rb +1 -1
  2. data/lib/plek/version.rb +1 -1
  3. metadata +4 -4
@@ -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 == 'production' and name == 'assets'
129
+ if environment == 'preview' or evironment == 'production'
130
130
  "https://#{host}"
131
131
  else
132
132
  "http://#{host}"
@@ -1,3 +1,3 @@
1
1
  class Plek
2
- VERSION = '0.1.13'
2
+ VERSION = '0.1.14'
3
3
  end
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.13
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-28 00:00:00.000000000Z
12
+ date: 2011-12-29 00:00:00.000000000Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: builder
16
- requirement: &70185617351300 !ruby/object:Gem::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: *70185617351300
24
+ version_requirements: *70108736825520
25
25
  description: Find the right hostname for each service in an environment-dependent
26
26
  manner
27
27
  email: