vagrant-proxyconf 1.5.2 → 2.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (60) hide show
  1. checksums.yaml +4 -4
  2. data/.gitignore +1 -0
  3. data/.travis.yml +15 -14
  4. data/CHANGELOG.md +19 -0
  5. data/Gemfile +25 -7
  6. data/LICENSE.txt +1 -1
  7. data/README.md +117 -18
  8. data/Rakefile +1 -27
  9. data/development/Dockerfile +40 -0
  10. data/development/README.md +2 -0
  11. data/development/Vagrantfile.example +156 -9
  12. data/development/install-c7.sh +46 -0
  13. data/development/install-debian.sh +55 -0
  14. data/development/tinyproxy.conf +333 -0
  15. data/lib/vagrant-proxyconf/action.rb +15 -7
  16. data/lib/vagrant-proxyconf/action/base.rb +47 -5
  17. data/lib/vagrant-proxyconf/action/configure_apt_proxy.rb +17 -0
  18. data/lib/vagrant-proxyconf/action/configure_chef_proxy.rb +32 -27
  19. data/lib/vagrant-proxyconf/action/configure_docker_proxy.rb +113 -12
  20. data/lib/vagrant-proxyconf/action/configure_env_proxy.rb +58 -11
  21. data/lib/vagrant-proxyconf/action/configure_git_proxy.rb +25 -9
  22. data/lib/vagrant-proxyconf/action/configure_npm_proxy.rb +14 -6
  23. data/lib/vagrant-proxyconf/action/configure_pear_proxy.rb +15 -8
  24. data/lib/vagrant-proxyconf/action/configure_svn_proxy.rb +15 -8
  25. data/lib/vagrant-proxyconf/action/configure_yum_proxy.rb +16 -0
  26. data/lib/vagrant-proxyconf/cap/linux/chef_proxy_conf.rb +17 -0
  27. data/lib/vagrant-proxyconf/cap/linux/docker_proxy_conf.rb +2 -1
  28. data/lib/vagrant-proxyconf/cap/linux/yum_proxy_conf.rb +19 -0
  29. data/lib/vagrant-proxyconf/cap/util.rb +4 -5
  30. data/lib/vagrant-proxyconf/capability.rb +10 -0
  31. data/lib/vagrant-proxyconf/config.rb +20 -0
  32. data/lib/vagrant-proxyconf/config/chef_proxy.rb +25 -0
  33. data/lib/vagrant-proxyconf/config/docker_proxy.rb +25 -0
  34. data/lib/vagrant-proxyconf/config/git_proxy.rb +3 -0
  35. data/lib/vagrant-proxyconf/config/npm_proxy.rb +25 -0
  36. data/lib/vagrant-proxyconf/config/pear_proxy.rb +19 -0
  37. data/lib/vagrant-proxyconf/version.rb +1 -1
  38. data/locales/en.yml +38 -0
  39. data/resources/yum_config.awk +1 -0
  40. data/spec/spec_helper.rb +27 -9
  41. data/spec/unit/fixtures/docker_client_config_json_enabled_proxy +9 -0
  42. data/spec/unit/fixtures/docker_client_config_json_no_proxy +5 -0
  43. data/spec/unit/fixtures/etc_environment_only_http_proxy.conf +9 -0
  44. data/spec/unit/fixtures/yum_with_repository_and_proxy_containing_special_chars.conf +10 -0
  45. data/spec/unit/vagrant-proxyconf/action/base_spec.rb +191 -0
  46. data/spec/unit/vagrant-proxyconf/action/configure_apt_proxy_spec.rb +162 -0
  47. data/spec/unit/vagrant-proxyconf/action/configure_chef_proxy_spec.rb +32 -0
  48. data/spec/unit/vagrant-proxyconf/action/configure_docker_proxy_spec.rb +489 -0
  49. data/spec/unit/vagrant-proxyconf/action/configure_env_proxy_spec.rb +105 -4
  50. data/spec/unit/vagrant-proxyconf/action/configure_git_proxy_spec.rb +116 -0
  51. data/spec/unit/vagrant-proxyconf/action/configure_npm_proxy_spec.rb +67 -0
  52. data/spec/unit/vagrant-proxyconf/action/configure_pear_proxy_spec.rb +116 -0
  53. data/spec/unit/vagrant-proxyconf/action/configure_svn_proxy_spec.rb +85 -0
  54. data/spec/unit/vagrant-proxyconf/action/configure_yum_proxy_spec.rb +100 -0
  55. data/spec/unit/vagrant-proxyconf/cap/linux/docker_proxy_conf_spec.rb +1 -1
  56. data/spec/unit/vagrant-proxyconf/cap/util_spec.rb +2 -2
  57. data/spec/unit/vagrant-proxyconf/config/key_mixin_spec.rb +1 -1
  58. data/spec/unit/vagrant-proxyconf/resources/yum_config_spec.rb +14 -0
  59. data/travis/before_install +26 -0
  60. metadata +24 -4
@@ -1,6 +1,15 @@
1
1
  require 'spec_helper'
2
2
  require 'vagrant-proxyconf/action/configure_svn_proxy'
3
3
 
4
+ def mock_write_config(machine)
5
+ allow(machine).to receive_message_chain(:communicate, :sudo).with("rm -f /tmp/vagrant-proxyconf", error_check: false)
6
+ allow(machine).to receive_message_chain(:communicate, :upload)
7
+ allow(machine).to receive_message_chain(:communicate, :sudo).with("chmod 0644 /tmp/vagrant-proxyconf")
8
+ allow(machine).to receive_message_chain(:communicate, :sudo).with("chown root:root /tmp/vagrant-proxyconf")
9
+ allow(machine).to receive_message_chain(:communicate, :sudo).with("mkdir -p /etc/subversion")
10
+ allow(machine).to receive_message_chain(:communicate, :sudo).with("mv -f /tmp/vagrant-proxyconf /etc/subversion/servers")
11
+ end
12
+
4
13
  describe VagrantPlugins::ProxyConf::Action::ConfigureSvnProxy do
5
14
 
6
15
  describe '#config_name' do
@@ -8,6 +17,82 @@ describe VagrantPlugins::ProxyConf::Action::ConfigureSvnProxy do
8
17
  it { is_expected.to eq 'svn_proxy' }
9
18
  end
10
19
 
20
+ describe "#configure_machine" do
21
+ let(:config) { OpenStruct.new }
22
+ let(:machine) { double('machine') }
23
+
24
+ subject do
25
+ svn_proxy = described_class.new(nil, nil)
26
+ svn_proxy.instance_variable_set(:@machine, machine)
27
+
28
+ allow(svn_proxy).to receive(:config) { config }
29
+ allow(machine).to receive_message_chain(:guest, :capability?).with(:svn_proxy_conf).and_return(@supported)
30
+ allow(machine).to receive_message_chain(:guest, :capability).with(:svn_proxy_conf).and_return(@supported)
31
+
32
+ mock_write_config(machine)
33
+
34
+ svn_proxy.send(:configure_machine)
35
+ end
36
+
37
+ it 'returns nil, when not supported' do
38
+ @supported = false
39
+
40
+ config.http = 'http://some-svn-proxy:8080'
41
+ config.no_proxy = 'localhost'
42
+
43
+ is_expected.to eq nil
44
+ end
45
+
46
+ it 'returns true, when supported' do
47
+ @supported = true
48
+
49
+ config.http = 'http://some-svn-proxy:8080'
50
+ config.no_proxy = 'localhost'
51
+
52
+ is_expected.to eq true
53
+ end
54
+
55
+ end
56
+
57
+ describe "#unconfigure_machine" do
58
+ let(:config) { OpenStruct.new }
59
+ let(:machine) { double('machine') }
60
+
61
+ subject do
62
+ svn_proxy = described_class.new(nil, nil)
63
+ svn_proxy.instance_variable_set(:@machine, machine)
64
+
65
+ allow(svn_proxy).to receive(:config) { config }
66
+ allow(machine).to receive_message_chain(:guest, :capability?).with(:svn_proxy_conf).and_return(@supported)
67
+ allow(machine).to receive_message_chain(:guest, :capability).with(:svn_proxy_conf).and_return(@supported)
68
+
69
+ allow(machine).to receive_message_chain(:communicate, :sudo).with("touch /etc/subversion/servers")
70
+ allow(machine).to receive_message_chain(:communicate, :sudo).with("sed -i.bak -e '/^http-proxy-/d' /etc/subversion/servers")
71
+ allow(machine).to receive_message_chain(:communicate, :sudo).with("chown root:root /etc/subversion/servers")
72
+ allow(machine).to receive_message_chain(:communicate, :sudo).with("chmod 0644 /etc/subversion/servers")
73
+
74
+ svn_proxy.send(:unconfigure_machine)
75
+ end
76
+
77
+ it 'returns nil, when not supported' do
78
+ @supported = false
79
+
80
+ config.http = 'http://some-svn-proxy:8080'
81
+ config.no_proxy = 'localhost'
82
+
83
+ is_expected.to eq nil
84
+ end
85
+
86
+ it 'returns true, when supported' do
87
+ @supported = true
88
+
89
+ config.http = 'http://some-svn-proxy:8080'
90
+ config.no_proxy = 'localhost'
91
+
92
+ is_expected.to eq true
93
+ end
94
+ end
95
+
11
96
  describe '#svn_config' do
12
97
  subject do
13
98
  action = described_class.new(nil, nil)
@@ -41,4 +41,104 @@ describe VagrantPlugins::ProxyConf::Action::ConfigureYumProxy do
41
41
  it { is_expected.to eq %q{-v proxy=http://proxy.com:8080 -v user=foo\% -v pass=abc\#123} }
42
42
  end
43
43
  end
44
+
45
+ describe "#configure_machine" do
46
+ let(:machine) { double('machine') }
47
+ let(:config) { OpenStruct.new }
48
+
49
+ context "when not supported" do
50
+ subject do
51
+ yum_proxy = described_class.new(nil, nil)
52
+ yum_proxy.instance_variable_set(:@machine, machine)
53
+
54
+ allow(yum_proxy).to receive(:config) { config }
55
+ allow(machine).to receive_message_chain(:guest, :capability?).with(:yum_proxy_conf).and_return(false)
56
+ allow(machine).to receive_message_chain(:guest, :capability).with(:yum_proxy_conf).and_return(nil)
57
+
58
+ yum_proxy.send(:configure_machine)
59
+ end
60
+
61
+ it 'returns nil' do
62
+ is_expected.to eq nil
63
+ end
64
+ end
65
+
66
+ context "when supported" do
67
+ subject do
68
+ yum_proxy = described_class.new(nil, nil)
69
+ yum_proxy.instance_variable_set(:@machine, machine)
70
+
71
+ config.http = "http://username:pass@some-yum-proxy-server:8080"
72
+
73
+ allow(yum_proxy).to receive(:config) { config }
74
+ allow(machine).to receive_message_chain(:guest, :capability?).with(:yum_proxy_conf).and_return(true)
75
+ allow(machine).to receive_message_chain(:guest, :capability).with(:yum_proxy_conf).and_return("/etc/yum.conf")
76
+
77
+ allow(machine).to receive_message_chain(:communicate, :sudo).with("rm -f /tmp/vagrant-proxyconf", error_check: false)
78
+ allow(machine).to receive_message_chain(:communicate, :upload)
79
+ allow(machine).to receive_message_chain(:communicate, :sudo).with("touch /etc/yum.conf")
80
+ allow(machine).to receive_message_chain(:communicate, :sudo).with("gawk -f /tmp/vagrant-proxyconf -v proxy=http://some-yum-proxy-server:8080 -v user=username -v pass=pass /etc/yum.conf > /etc/yum.conf.new")
81
+ allow(machine).to receive_message_chain(:communicate, :sudo).with("chmod 0644 /etc/yum.conf.new")
82
+ allow(machine).to receive_message_chain(:communicate, :sudo).with("chown root:root /etc/yum.conf.new")
83
+ allow(machine).to receive_message_chain(:communicate, :sudo).with("mv -f /etc/yum.conf.new /etc/yum.conf")
84
+ allow(machine).to receive_message_chain(:communicate, :sudo).with("rm -f /tmp/vagrant-proxyconf")
85
+
86
+ yum_proxy.send(:configure_machine)
87
+ end
88
+
89
+ it 'returns true' do
90
+ is_expected.to eq true
91
+ end
92
+
93
+ end
94
+ end
95
+
96
+ describe "#unconfigure_machine" do
97
+ let(:machine) { double('machine') }
98
+ let(:config) { OpenStruct.new }
99
+
100
+ context "when not supported" do
101
+ subject do
102
+ yum_proxy = described_class.new(nil, nil)
103
+ yum_proxy.instance_variable_set(:@machine, machine)
104
+
105
+ allow(yum_proxy).to receive(:config) { config }
106
+ allow(machine).to receive_message_chain(:guest, :capability?).with(:yum_proxy_conf).and_return(false)
107
+ allow(machine).to receive_message_chain(:guest, :capability).with(:yum_proxy_conf).and_return(nil)
108
+
109
+ yum_proxy.send(:unconfigure_machine)
110
+ end
111
+
112
+ it 'returns nil' do
113
+ is_expected.to eq nil
114
+ end
115
+ end
116
+
117
+ context "when supported" do
118
+ subject do
119
+ yum_proxy = described_class.new(nil, nil)
120
+ yum_proxy.instance_variable_set(:@machine, machine)
121
+
122
+ config.proxy = OpenStruct.new
123
+ config.proxy.enabled = false
124
+ config.http = "http://username:pass@some-yum-proxy-server:8080"
125
+
126
+ allow(yum_proxy).to receive(:config) { config }
127
+ allow(machine).to receive(:config) { config }
128
+
129
+ allow(machine).to receive_message_chain(:guest, :capability?).with(:yum_proxy_conf).and_return(true)
130
+ allow(machine).to receive_message_chain(:guest, :capability).with(:yum_proxy_conf).and_return("/etc/yum.conf")
131
+
132
+ allow(machine).to receive_message_chain(:communicate, :test).with("grep '^proxy' /etc/yum.conf").and_return(true)
133
+ allow(machine).to receive_message_chain(:communicate, :sudo).with("sed -i.bak -e '/^proxy/d' /etc/yum.conf")
134
+
135
+ yum_proxy.send(:unconfigure_machine)
136
+ end
137
+
138
+ it 'returns true' do
139
+ is_expected.to eq true
140
+ end
141
+ end
142
+ end
143
+
44
144
  end
@@ -17,7 +17,7 @@ describe VagrantPlugins::ProxyConf::Cap::Linux::DockerProxyConf do
17
17
  (c == 'docker') ? '/path/to/docker' : false
18
18
  end
19
19
  allow(communicator).to receive(:test) do |c|
20
- c == 'cat /etc/redhat-release'
20
+ c == '[ -f /etc/redhat-release ]'
21
21
  end
22
22
 
23
23
  expect(described_class.docker_proxy_conf(machine)).to eq '/etc/sysconfig/docker'
@@ -13,7 +13,7 @@ describe VagrantPlugins::ProxyConf::Cap::Util do
13
13
 
14
14
  it "returns the path when the command is installed" do
15
15
  expect(communicator).to receive(:execute).
16
- with('which foo', error_check: false).
16
+ with('command -v foo', error_check: false).
17
17
  and_yield(:stdout, "/path/to/foo\n").
18
18
  and_yield(:stdout, "PROMPT\n").
19
19
  and_yield(:stderr, "not foo\n").
@@ -23,7 +23,7 @@ describe VagrantPlugins::ProxyConf::Cap::Util do
23
23
 
24
24
  it "returns false when the command is not installed" do
25
25
  expect(communicator).to receive(:execute).
26
- with('which bar', error_check: false).
26
+ with('command -v bar', error_check: false).
27
27
  and_return(1)
28
28
  expect(described_class.which(machine, 'bar')).to be_falsey
29
29
  end
@@ -9,7 +9,7 @@ describe VagrantPlugins::ProxyConf::Config::KeyMixin do
9
9
  key :bar
10
10
 
11
11
  # Hack to keep rspec 3 description generation happy
12
- def respond_to?(method)
12
+ def respond_to?(method, include_all = false)
13
13
  return false if method == :to_ary
14
14
  super
15
15
  end
@@ -69,6 +69,20 @@ describe 'resources/yum_config.awk' do
69
69
  end
70
70
  end
71
71
 
72
+ context "with old proxy conf containing special characters" do
73
+ let(:old_conf) { 'yum_with_repository_and_proxy_containing_special_chars.conf' }
74
+
75
+ it "replaces existing proxy and userinfo" do
76
+ conf = { proxy: 'http://proxy.example.com:3128/', user: 'foo', pass: 'bar' }
77
+ expect(configure(conf)).to eq fixture('yum_with_repository_and_proxy.conf')
78
+ end
79
+
80
+ it "disables existing proxy" do
81
+ conf = { proxy: '', user: 'baz', pass: 'bar' }
82
+ expect(configure(conf)).to eq fixture('yum_with_repository_and_disabled_proxy.conf')
83
+ end
84
+ end
85
+
72
86
  context "without userinfo" do
73
87
  let(:old_conf) { 'yum_with_repository_and_proxy_without_userinfo.conf' }
74
88
 
@@ -0,0 +1,26 @@
1
+ #!/bin/bash
2
+
3
+ set -eu -o pipefail
4
+
5
+ remove_default_specs() {
6
+ echo "Removing default gemspec"
7
+ find /home/travis/.rvm/rubies -wholename '*default/bundler-*.gemspec' -delete
8
+ }
9
+
10
+ install_bundler() {
11
+ echo "Uninstalling current Bundler versions"
12
+ rvm @global do gem uninstall bundler --all --executables
13
+ gem uninstall bundler --all --executables
14
+ echo "Installing Bundler '$BUNDLER_VERSION'"
15
+ gem install bundler --version "$BUNDLER_VERSION"
16
+ }
17
+
18
+ print_bundler_version() {
19
+ bundler --version
20
+ }
21
+
22
+ if [ -n "${BUNDLER_VERSION:-}" ]; then
23
+ remove_default_specs
24
+ install_bundler
25
+ print_bundler_version
26
+ fi
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: vagrant-proxyconf
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.5.2
4
+ version: 2.0.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Teemu Matilainen
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-10-01 00:00:00.000000000 Z
11
+ date: 2019-01-04 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description: A Vagrant plugin that configures the virtual machine to use proxy servers
14
14
  email:
@@ -27,8 +27,12 @@ files:
27
27
  - README.md
28
28
  - Rakefile
29
29
  - development/.gitignore
30
+ - development/Dockerfile
30
31
  - development/README.md
31
32
  - development/Vagrantfile.example
33
+ - development/install-c7.sh
34
+ - development/install-debian.sh
35
+ - development/tinyproxy.conf
32
36
  - lib/vagrant-proxyconf.rb
33
37
  - lib/vagrant-proxyconf/action.rb
34
38
  - lib/vagrant-proxyconf/action/base.rb
@@ -46,22 +50,28 @@ files:
46
50
  - lib/vagrant-proxyconf/cap/coreos/docker_proxy_conf.rb
47
51
  - lib/vagrant-proxyconf/cap/debian/apt_proxy_conf.rb
48
52
  - lib/vagrant-proxyconf/cap/debian/docker_proxy_conf.rb
53
+ - lib/vagrant-proxyconf/cap/linux/chef_proxy_conf.rb
49
54
  - lib/vagrant-proxyconf/cap/linux/docker_proxy_conf.rb
50
55
  - lib/vagrant-proxyconf/cap/linux/env_proxy_conf.rb
51
56
  - lib/vagrant-proxyconf/cap/linux/git_proxy_conf.rb
52
57
  - lib/vagrant-proxyconf/cap/linux/npm_proxy_conf.rb
53
58
  - lib/vagrant-proxyconf/cap/linux/pear_proxy_conf.rb
54
59
  - lib/vagrant-proxyconf/cap/linux/svn_proxy_conf.rb
60
+ - lib/vagrant-proxyconf/cap/linux/yum_proxy_conf.rb
55
61
  - lib/vagrant-proxyconf/cap/redhat/yum_proxy_conf.rb
56
62
  - lib/vagrant-proxyconf/cap/util.rb
57
63
  - lib/vagrant-proxyconf/cap/windows/env_proxy_conf.rb
58
64
  - lib/vagrant-proxyconf/capability.rb
59
65
  - lib/vagrant-proxyconf/config.rb
60
66
  - lib/vagrant-proxyconf/config/apt_proxy.rb
67
+ - lib/vagrant-proxyconf/config/chef_proxy.rb
68
+ - lib/vagrant-proxyconf/config/docker_proxy.rb
61
69
  - lib/vagrant-proxyconf/config/env_proxy.rb
62
70
  - lib/vagrant-proxyconf/config/git_proxy.rb
63
71
  - lib/vagrant-proxyconf/config/key.rb
64
72
  - lib/vagrant-proxyconf/config/key_mixin.rb
73
+ - lib/vagrant-proxyconf/config/npm_proxy.rb
74
+ - lib/vagrant-proxyconf/config/pear_proxy.rb
65
75
  - lib/vagrant-proxyconf/config/proxy.rb
66
76
  - lib/vagrant-proxyconf/config/svn_proxy.rb
67
77
  - lib/vagrant-proxyconf/config/yum_proxy.rb
@@ -74,7 +84,10 @@ files:
74
84
  - locales/en.yml
75
85
  - resources/yum_config.awk
76
86
  - spec/spec_helper.rb
87
+ - spec/unit/fixtures/docker_client_config_json_enabled_proxy
88
+ - spec/unit/fixtures/docker_client_config_json_no_proxy
77
89
  - spec/unit/fixtures/empty
90
+ - spec/unit/fixtures/etc_environment_only_http_proxy.conf
78
91
  - spec/unit/fixtures/yum_only_disabled_proxy.conf
79
92
  - spec/unit/fixtures/yum_only_main.conf
80
93
  - spec/unit/fixtures/yum_only_main_with_disabled_proxy.conf
@@ -85,9 +98,11 @@ files:
85
98
  - spec/unit/fixtures/yum_with_repository_and_disabled_proxy.conf
86
99
  - spec/unit/fixtures/yum_with_repository_and_new_proxy.conf
87
100
  - spec/unit/fixtures/yum_with_repository_and_proxy.conf
101
+ - spec/unit/fixtures/yum_with_repository_and_proxy_containing_special_chars.conf
88
102
  - spec/unit/fixtures/yum_with_repository_and_proxy_without_userinfo.conf
89
103
  - spec/unit/support/fixture.rb
90
104
  - spec/unit/support/shared/apt_proxy_config.rb
105
+ - spec/unit/vagrant-proxyconf/action/base_spec.rb
91
106
  - spec/unit/vagrant-proxyconf/action/configure_apt_proxy_spec.rb
92
107
  - spec/unit/vagrant-proxyconf/action/configure_chef_proxy_spec.rb
93
108
  - spec/unit/vagrant-proxyconf/action/configure_docker_proxy_spec.rb
@@ -123,6 +138,7 @@ files:
123
138
  - spec/unit/vagrant-proxyconf/resource_spec.rb
124
139
  - spec/unit/vagrant-proxyconf/resources/yum_config_spec.rb
125
140
  - spec/unit/vagrant-proxyconf/userinfo_uri_spec.rb
141
+ - travis/before_install
126
142
  - vagrant-proxyconf.gemspec
127
143
  homepage: http://tmatilai.github.io/vagrant-proxyconf/
128
144
  licenses:
@@ -144,13 +160,16 @@ required_rubygems_version: !ruby/object:Gem::Requirement
144
160
  version: '0'
145
161
  requirements: []
146
162
  rubyforge_project:
147
- rubygems_version: 2.4.5.1
163
+ rubygems_version: 2.6.14.1
148
164
  signing_key:
149
165
  specification_version: 4
150
166
  summary: A Vagrant plugin that configures the virtual machine to use proxy servers
151
167
  test_files:
152
168
  - spec/spec_helper.rb
169
+ - spec/unit/fixtures/docker_client_config_json_enabled_proxy
170
+ - spec/unit/fixtures/docker_client_config_json_no_proxy
153
171
  - spec/unit/fixtures/empty
172
+ - spec/unit/fixtures/etc_environment_only_http_proxy.conf
154
173
  - spec/unit/fixtures/yum_only_disabled_proxy.conf
155
174
  - spec/unit/fixtures/yum_only_main.conf
156
175
  - spec/unit/fixtures/yum_only_main_with_disabled_proxy.conf
@@ -161,9 +180,11 @@ test_files:
161
180
  - spec/unit/fixtures/yum_with_repository_and_disabled_proxy.conf
162
181
  - spec/unit/fixtures/yum_with_repository_and_new_proxy.conf
163
182
  - spec/unit/fixtures/yum_with_repository_and_proxy.conf
183
+ - spec/unit/fixtures/yum_with_repository_and_proxy_containing_special_chars.conf
164
184
  - spec/unit/fixtures/yum_with_repository_and_proxy_without_userinfo.conf
165
185
  - spec/unit/support/fixture.rb
166
186
  - spec/unit/support/shared/apt_proxy_config.rb
187
+ - spec/unit/vagrant-proxyconf/action/base_spec.rb
167
188
  - spec/unit/vagrant-proxyconf/action/configure_apt_proxy_spec.rb
168
189
  - spec/unit/vagrant-proxyconf/action/configure_chef_proxy_spec.rb
169
190
  - spec/unit/vagrant-proxyconf/action/configure_docker_proxy_spec.rb
@@ -199,4 +220,3 @@ test_files:
199
220
  - spec/unit/vagrant-proxyconf/resource_spec.rb
200
221
  - spec/unit/vagrant-proxyconf/resources/yum_config_spec.rb
201
222
  - spec/unit/vagrant-proxyconf/userinfo_uri_spec.rb
202
- has_rdoc: