dory 0.3.10 → 0.3.11

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/lib/dory/proxy.rb +7 -2
  3. data/lib/dory/version.rb +2 -2
  4. metadata +30 -29
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 73984422dc1553831f1a1fe0af7f7ae2ba30da3b
4
- data.tar.gz: fea650237b20ad78f8755e48757636ab0fe6010f
3
+ metadata.gz: 2fe229155242d96775501058747764d20efd538e
4
+ data.tar.gz: f5a532c02a8967343d446f3aa017b1f3f0ece493
5
5
  SHA512:
6
- metadata.gz: da874eaa30251dd39b52eaa175cb3847b69bef30eebb3e89268654c949f5718e6da0813d195ada9721c62d98e001e899c17856f3551e5f1ef7f853b6861c7447
7
- data.tar.gz: 75570250f60ec2f7f71dd549766870974183989da90df3dca53ce94db13a68cb50d76f1f41257edc2c7147f0cd4958944222650591dfd5500d3f55e525d6be69
6
+ metadata.gz: 615eafda6a4d6be301db192656072cf7dfd34071f540dbf7bbd006d16251f85e63d4cc3763905efe77f2628440d7aef15676d9eced89e4a345397701a04e0c73
7
+ data.tar.gz: 09eed7aea3d2e71c812d4736b8e476595cc3e45e358dbde27ead70dcaf97387b984c6455ac0781bacf5bcb9c38893492f66ac3e70e60f9057d0d82f8d519d881
@@ -7,15 +7,20 @@ module Dory
7
7
  def self.dory_http_proxy_image_name
8
8
  setting = Dory::Config.settings[:dory][:nginx_proxy][:image]
9
9
  return setting if setting
10
- 'freedomben/dory-http-proxy:2.2.0.1'
10
+ certs_dir && !certs_dir.empty? \
11
+ ? 'codekitchen/dinghy-http-proxy:2.5.3' \
12
+ : 'freedomben/dory-http-proxy:2.2.0.1'
11
13
  end
12
14
 
13
15
  def self.container_name
14
16
  Dory::Config.settings[:dory][:nginx_proxy][:container_name]
15
17
  end
16
18
 
19
+ def self.certs_dir
20
+ Dory::Config.settings[:dory][:nginx_proxy][:ssl_certs_dir]
21
+ end
22
+
17
23
  def self.certs_arg
18
- certs_dir = Dory::Config.settings[:dory][:nginx_proxy][:ssl_certs_dir]
19
24
  if certs_dir && !certs_dir.empty?
20
25
  "-v #{certs_dir}:/etc/nginx/certs"
21
26
  else
@@ -1,4 +1,4 @@
1
1
  module Dory
2
- VERSION = '0.3.10'
3
- DATE = '2016-12-02'
2
+ VERSION = '0.3.11'
3
+ DATE = '2016-12-07'
4
4
  end
metadata CHANGED
@@ -1,125 +1,125 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: dory
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.10
4
+ version: 0.3.11
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ben Porter
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-12-02 00:00:00.000000000 Z
11
+ date: 2016-12-07 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: colorize
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - ~>
17
+ - - "~>"
18
18
  - !ruby/object:Gem::Version
19
19
  version: '0.8'
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
- - - ~>
24
+ - - "~>"
25
25
  - !ruby/object:Gem::Version
26
26
  version: '0.8'
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: thor
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
- - - ~>
31
+ - - "~>"
32
32
  - !ruby/object:Gem::Version
33
33
  version: '0.19'
34
34
  type: :runtime
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
- - - ~>
38
+ - - "~>"
39
39
  - !ruby/object:Gem::Version
40
40
  version: '0.19'
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: ptools
43
43
  requirement: !ruby/object:Gem::Requirement
44
44
  requirements:
45
- - - ~>
45
+ - - "~>"
46
46
  - !ruby/object:Gem::Version
47
47
  version: '1.3'
48
48
  type: :runtime
49
49
  prerelease: false
50
50
  version_requirements: !ruby/object:Gem::Requirement
51
51
  requirements:
52
- - - ~>
52
+ - - "~>"
53
53
  - !ruby/object:Gem::Version
54
54
  version: '1.3'
55
55
  - !ruby/object:Gem::Dependency
56
56
  name: activesupport
57
57
  requirement: !ruby/object:Gem::Requirement
58
58
  requirements:
59
- - - ~>
59
+ - - "~>"
60
60
  - !ruby/object:Gem::Version
61
61
  version: '4.2'
62
62
  type: :runtime
63
63
  prerelease: false
64
64
  version_requirements: !ruby/object:Gem::Requirement
65
65
  requirements:
66
- - - ~>
66
+ - - "~>"
67
67
  - !ruby/object:Gem::Version
68
68
  version: '4.2'
69
69
  - !ruby/object:Gem::Dependency
70
70
  name: rspec
71
71
  requirement: !ruby/object:Gem::Requirement
72
72
  requirements:
73
- - - ~>
73
+ - - "~>"
74
74
  - !ruby/object:Gem::Version
75
75
  version: '3.4'
76
76
  type: :development
77
77
  prerelease: false
78
78
  version_requirements: !ruby/object:Gem::Requirement
79
79
  requirements:
80
- - - ~>
80
+ - - "~>"
81
81
  - !ruby/object:Gem::Version
82
82
  version: '3.4'
83
83
  - !ruby/object:Gem::Dependency
84
84
  name: rake
85
85
  requirement: !ruby/object:Gem::Requirement
86
86
  requirements:
87
- - - ~>
87
+ - - "~>"
88
88
  - !ruby/object:Gem::Version
89
89
  version: '11.2'
90
90
  type: :development
91
91
  prerelease: false
92
92
  version_requirements: !ruby/object:Gem::Requirement
93
93
  requirements:
94
- - - ~>
94
+ - - "~>"
95
95
  - !ruby/object:Gem::Version
96
96
  version: '11.2'
97
97
  - !ruby/object:Gem::Dependency
98
98
  name: byebug
99
99
  requirement: !ruby/object:Gem::Requirement
100
100
  requirements:
101
- - - ~>
101
+ - - "~>"
102
102
  - !ruby/object:Gem::Version
103
103
  version: '9.0'
104
104
  type: :development
105
105
  prerelease: false
106
106
  version_requirements: !ruby/object:Gem::Requirement
107
107
  requirements:
108
- - - ~>
108
+ - - "~>"
109
109
  - !ruby/object:Gem::Version
110
110
  version: '9.0'
111
111
  - !ruby/object:Gem::Dependency
112
112
  name: codeclimate-test-reporter
113
113
  requirement: !ruby/object:Gem::Requirement
114
114
  requirements:
115
- - - ~>
115
+ - - "~>"
116
116
  - !ruby/object:Gem::Version
117
117
  version: '0.6'
118
118
  type: :development
119
119
  prerelease: false
120
120
  version_requirements: !ruby/object:Gem::Requirement
121
121
  requirements:
122
- - - ~>
122
+ - - "~>"
123
123
  - !ruby/object:Gem::Version
124
124
  version: '0.6'
125
125
  description: 'Dory lets you forget about IP addresses and port numbers while you are
@@ -133,19 +133,19 @@ executables:
133
133
  extensions: []
134
134
  extra_rdoc_files: []
135
135
  files:
136
+ - bin/dory
136
137
  - lib/dory.rb
137
- - lib/dory/shell.rb
138
138
  - lib/dory/config.rb
139
- - lib/dory/upgrade.rb
140
- - lib/dory/resolv.rb
141
- - lib/dory/version.rb
139
+ - lib/dory/dnsmasq.rb
140
+ - lib/dory/docker_service.rb
142
141
  - lib/dory/os.rb
142
+ - lib/dory/proxy.rb
143
+ - lib/dory/resolv.rb
143
144
  - lib/dory/resolv/linux.rb
144
145
  - lib/dory/resolv/macos.rb
145
- - lib/dory/proxy.rb
146
- - lib/dory/docker_service.rb
147
- - lib/dory/dnsmasq.rb
148
- - bin/dory
146
+ - lib/dory/shell.rb
147
+ - lib/dory/upgrade.rb
148
+ - lib/dory/version.rb
149
149
  homepage: https://github.com/FreedomBen/dory
150
150
  licenses:
151
151
  - MIT
@@ -156,18 +156,19 @@ require_paths:
156
156
  - lib
157
157
  required_ruby_version: !ruby/object:Gem::Requirement
158
158
  requirements:
159
- - - '>='
159
+ - - ">="
160
160
  - !ruby/object:Gem::Version
161
161
  version: 2.1.0
162
162
  required_rubygems_version: !ruby/object:Gem::Requirement
163
163
  requirements:
164
- - - '>='
164
+ - - ">="
165
165
  - !ruby/object:Gem::Version
166
166
  version: '0'
167
167
  requirements: []
168
168
  rubyforge_project:
169
- rubygems_version: 2.0.14
169
+ rubygems_version: 2.2.5
170
170
  signing_key:
171
171
  specification_version: 4
172
172
  summary: Your development proxy for Docker
173
173
  test_files: []
174
+ has_rdoc: