zimbra_intercepting_proxy 0.0.4 → 0.0.4.1

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: 13014cbc0b2f8729c3079254f548839e8b428c59
4
- data.tar.gz: 98d5d9e8bba077cda0e506f0247ba78b6443dd18
3
+ metadata.gz: 1f345ce94138c1ff8efc2cd1b020262f422b6b28
4
+ data.tar.gz: 912237b2a69c2ff996817eec4ecbc002c9f378ca
5
5
  SHA512:
6
- metadata.gz: 922b9a8f8e97c8b1c3c2f8bb603583db06d2327356bf7bc5e63c0f9dd737f838de0f4b3dfa2cf8ad00bd35e8aa41bfab29c44ca61da0dd0ad290e5bdacd51dd6
7
- data.tar.gz: 0812af25372e6c557b8e1c36d83f119fbf5df04866613929a397149e26c20d7bf1c8d72f0d110694f8477f1d7891d1a87154d529b012e951adf12f25b372600e
6
+ metadata.gz: 651eddbf023bc51e68eb5de039d69d17d97366b694e7e52c6f287eab7206c56f15eb3d53c58d59ad2495fb3b55ac365e6af778af0c8ab52bb60b8241b3bcaf28
7
+ data.tar.gz: 8fed88b3459e1068fd4bdc0d8b8b5f482185fe2256268286598a6cbbc757ffceaaaf04ee0b21d728fd36856eb7ef5db3043c823e6f7af1a6eebff6c72ca73319
data/README.md CHANGED
@@ -10,6 +10,11 @@ TODO: Write a gem description
10
10
  3. Iniciar el segundo plano
11
11
  4. Paquetizar
12
12
 
13
+ ## Configuracion de Zimbra Proxy
14
+
15
+ 1. Editar Templates
16
+
17
+ 2. Cambiar zimbraMtaAuthHost: localhost
13
18
 
14
19
  ## Installation
15
20
 
@@ -50,8 +50,10 @@ module ZimbraInterceptingProxy
50
50
  end
51
51
 
52
52
  conn.on_response do |backend, resp|
53
- regex = Regexp.new "Auth-Server: #{new_mbx_local_ip_regex}*"
54
- new_resp = resp.gsub(regex, "Auth-Server: #{ZimbraInterceptingProxy::Config.new_backend}")
53
+ if backend = ZimbraInterceptingProxy::Config.new_backend
54
+ regex = Regexp.new "Auth-Server: #{new_mbx_local_ip_regex}*"
55
+ new_resp = resp.gsub(regex, "Auth-Server: #{ZimbraInterceptingProxy::Config.new_backend}")
56
+ end
55
57
  debug.logger [:on_response, backend, new_resp]
56
58
  new_resp
57
59
  end
@@ -1,3 +1,3 @@
1
1
  module ZimbraInterceptingProxy
2
- VERSION = "0.0.4"
2
+ VERSION = "0.0.4.1"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: zimbra_intercepting_proxy
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.4
4
+ version: 0.0.4.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Patricio Bruna
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-04-13 00:00:00.000000000 Z
11
+ date: 2015-04-14 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: em-proxy