vagrant-proxyconf 1.3.1 → 1.3.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: fab817ae04277d81b46ac3d3a524347a75d5ec7b
4
- data.tar.gz: 8600468a7b7f912dca91810e2bddab0fc026fbc0
3
+ metadata.gz: 87b3ddc5133ada4016216defd4f705bdd86d6c21
4
+ data.tar.gz: ccaac1be3e9bf09356c8329217c3b06cdc444dc4
5
5
  SHA512:
6
- metadata.gz: d3c28090c36f9e0510d75a8b5200b85603d99831d99362ddb11dcd78eea73ba8ee916691641453c1cda2cd207d1cc96be36b29b1de21126c08640f1d179418d8
7
- data.tar.gz: e7a8e0903824e9c43015287de451c0b451051f553825a4b3056a9d5a61ba5f9043394f95e85e5b96be4661b316b3211e8827826309d2ef0c66e658994e134854
6
+ metadata.gz: 41b8fed86e10fd26473d69e2bbbb282922f5b5dae2ca5de57c4189afd56167cd49a3559aadb3c7d79cd5bea3f4c8e7b2a89d58cb2ed3fa79598a1d38ffa6ce45
7
+ data.tar.gz: e403b143e6462b46a7b34243a013aa7fd0b774624de8cfcdf79a61c67f039a2e12ed7167922cfdbd8c8a26ef29c9ce253ffc6532c2ab117b20fbbcb8189d1d30
data/.travis.yml CHANGED
@@ -7,9 +7,10 @@ before_install:
7
7
  bundler_args: --without=development
8
8
 
9
9
  rvm: 2.0.0
10
- env: VAGRANT_VERSION=v1.5.4
10
+ env: VAGRANT_VERSION=v1.6.3
11
11
  matrix:
12
12
  include:
13
+ - env: VAGRANT_VERSION=v1.5.4
13
14
  - env: VAGRANT_VERSION=v1.4.3
14
15
  - env: VAGRANT_VERSION=v1.3.5
15
16
  rvm: 1.9.3
data/CHANGELOG.md CHANGED
@@ -1,3 +1,13 @@
1
+ # 1.3.2 / 2014-05-30
2
+
3
+ Improvements:
4
+
5
+ - Ensure that the .npmrc file exists to work around [NPM-5065](https://github.com/npm/npm/issues/5065)
6
+
7
+ Bug fixes:
8
+
9
+ - Fix /etc/environment for empty end `false` values
10
+
1
11
  # 1.3.1 / 2014-05-09
2
12
 
3
13
  Improvements:
data/Gemfile CHANGED
@@ -2,7 +2,7 @@ source 'https://rubygems.org'
2
2
 
3
3
  gem 'vagrant',
4
4
  git: 'https://github.com/mitchellh/vagrant.git',
5
- ref: ENV.fetch('VAGRANT_VERSION', 'v1.5.4')
5
+ ref: ENV.fetch('VAGRANT_VERSION', 'v1.6.3')
6
6
 
7
7
  gem 'cane', '~> 2.6'
8
8
  gem 'coveralls', require: false
@@ -86,14 +86,14 @@ module VagrantPlugins
86
86
 
87
87
  def environment_config
88
88
  <<-CONFIG.gsub(/^\s+/, '')
89
- HTTP_PROXY=#{config.http}
90
- HTTPS_PROXY=#{config.https}
91
- FTP_PROXY=#{config.ftp}
92
- NO_PROXY=#{config.no_proxy}
93
- http_proxy=#{config.http}
94
- https_proxy=#{config.https}
95
- ftp_proxy=#{config.ftp}
96
- no_proxy=#{config.no_proxy}
89
+ HTTP_PROXY=#{config.http || ''}
90
+ HTTPS_PROXY=#{config.https || ''}
91
+ FTP_PROXY=#{config.ftp || ''}
92
+ NO_PROXY=#{config.no_proxy || ''}
93
+ http_proxy=#{config.http || ''}
94
+ https_proxy=#{config.https || ''}
95
+ ftp_proxy=#{config.ftp || ''}
96
+ no_proxy=#{config.no_proxy || ''}
97
97
  CONFIG
98
98
  end
99
99
  end
@@ -28,6 +28,10 @@ module VagrantPlugins
28
28
  command << "set #{key} #{escape(value)}"
29
29
  else
30
30
  command << "delete #{key}"
31
+
32
+ # ensure that the .npmrc file exists to work around
33
+ # https://github.com/npm/npm/issues/5065
34
+ @machine.communicate.sudo("touch ~/.npmrc")
31
35
  end
32
36
  @machine.communicate.sudo(command)
33
37
  end
@@ -44,7 +44,7 @@ module VagrantPlugins
44
44
 
45
45
  # Ensures a dependent plugin is loaded before us if it is installed.
46
46
  # Ignores Errors while loading, as Vagrant itself anyway shows them to
47
- # used when *it* tries to load the plugin.
47
+ # user when *it* tries to load the plugin.
48
48
  #
49
49
  # @param plugin [String] the plugin name
50
50
  def self.load_optional_dependency(plugin)
@@ -1,5 +1,5 @@
1
1
  module VagrantPlugins
2
2
  module ProxyConf
3
- VERSION = '1.3.1'
3
+ VERSION = '1.3.2'
4
4
  end
5
5
  end
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.3.1
4
+ version: 1.3.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Teemu Matilainen
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-05-09 00:00:00.000000000 Z
11
+ date: 2014-05-30 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:
@@ -17,9 +17,9 @@ executables: []
17
17
  extensions: []
18
18
  extra_rdoc_files: []
19
19
  files:
20
- - .gitignore
21
- - .travis.yml
22
- - .yardopts
20
+ - ".gitignore"
21
+ - ".travis.yml"
22
+ - ".yardopts"
23
23
  - CHANGELOG.md
24
24
  - Gemfile
25
25
  - Guardfile
@@ -128,17 +128,17 @@ require_paths:
128
128
  - lib
129
129
  required_ruby_version: !ruby/object:Gem::Requirement
130
130
  requirements:
131
- - - '>='
131
+ - - ">="
132
132
  - !ruby/object:Gem::Version
133
133
  version: '0'
134
134
  required_rubygems_version: !ruby/object:Gem::Requirement
135
135
  requirements:
136
- - - '>='
136
+ - - ">="
137
137
  - !ruby/object:Gem::Version
138
138
  version: '0'
139
139
  requirements: []
140
140
  rubyforge_project:
141
- rubygems_version: 2.0.14
141
+ rubygems_version: 2.2.2
142
142
  signing_key:
143
143
  specification_version: 4
144
144
  summary: A Vagrant plugin that configures the virtual machine to use proxy servers