vagrantup 1.1.3 → 1.1.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +6 -0
- data/lib/vagrant/version.rb +1 -1
- data/plugins/providers/virtualbox/model/forwarded_port.rb +1 -1
- metadata +1 -2
- data/vagrant.gemspecbak +0 -69
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 12a6e07d7d2eba0ff03ab162c02b3daff9f97cdb
|
4
|
+
data.tar.gz: 387693ee15903b29e42f23f1ad26fc6f959476c5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 47ca730fcf1d243537a119d47d75a63a3a416e04606d45c28eac6673331bb5d1fc6c44a402360a56af6060ad01c07376359b138d2d76e1cb1f7c3b2533c3d527
|
7
|
+
data.tar.gz: 11955428a309644f4553312ed1b774f1ea111524f4faca47d34d0d904ea6a10e858864bbf29c977f483f82bb56fbda96cb572bd8f3e2700655d26a9bc08fb6d6
|
data/CHANGELOG.md
CHANGED
data/lib/vagrant/version.rb
CHANGED
@@ -42,7 +42,7 @@ module VagrantPlugins
|
|
42
42
|
options ||= {}
|
43
43
|
@auto_correct = true
|
44
44
|
@auto_correct = options[:auto_correct] if options.has_key?(:auto_correct)
|
45
|
-
@adapter = options[:adapter]
|
45
|
+
@adapter = (options[:adapter] || 1).to_i
|
46
46
|
@protocol = options[:protocol] || "tcp"
|
47
47
|
end
|
48
48
|
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: vagrantup
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.1.
|
4
|
+
version: 1.1.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Mitchell Hashimoto
|
@@ -630,7 +630,6 @@ files:
|
|
630
630
|
- test/unit/vagrant/util/which_test.rb
|
631
631
|
- test/unit/vagrant_test.rb
|
632
632
|
- vagrant.gemspec
|
633
|
-
- vagrant.gemspecbak
|
634
633
|
homepage: http://vagrantup.com
|
635
634
|
licenses: []
|
636
635
|
metadata: {}
|
data/vagrant.gemspecbak
DELETED
@@ -1,69 +0,0 @@
|
|
1
|
-
$:.unshift File.expand_path("../lib", __FILE__)
|
2
|
-
require "vagrant/version"
|
3
|
-
|
4
|
-
Gem::Specification.new do |s|
|
5
|
-
s.name = "vagrant"
|
6
|
-
s.version = Vagrant::VERSION
|
7
|
-
s.platform = Gem::Platform::RUBY
|
8
|
-
s.authors = ["Mitchell Hashimoto", "John Bender"]
|
9
|
-
s.email = ["mitchell.hashimoto@gmail.com", "john.m.bender@gmail.com"]
|
10
|
-
s.homepage = "http://vagrantup.com"
|
11
|
-
s.summary = "Build and distribute virtualized development environments."
|
12
|
-
s.description = "Vagrant is a tool for building and distributing virtualized development environments."
|
13
|
-
|
14
|
-
s.required_rubygems_version = ">= 1.3.6"
|
15
|
-
s.rubyforge_project = "vagrant"
|
16
|
-
|
17
|
-
s.add_dependency "childprocess", "~> 0.3.7"
|
18
|
-
s.add_dependency "erubis", "~> 2.7.0"
|
19
|
-
s.add_dependency "i18n", "~> 0.6.0"
|
20
|
-
s.add_dependency "json", ">= 1.5.1", "< 1.8.0"
|
21
|
-
s.add_dependency "log4r", "~> 1.1.9"
|
22
|
-
s.add_dependency "net-ssh", "~> 2.6.6"
|
23
|
-
s.add_dependency "net-scp", "~> 1.1.0"
|
24
|
-
|
25
|
-
s.add_development_dependency "rake"
|
26
|
-
s.add_development_dependency "contest", ">= 0.1.2"
|
27
|
-
s.add_development_dependency "minitest", "~> 2.5.1"
|
28
|
-
s.add_development_dependency "mocha"
|
29
|
-
# This has problems on Windows, we need to find a better way:
|
30
|
-
# s.add_development_dependency "sys-proctable", "~> 0.9.0"
|
31
|
-
s.add_development_dependency "rspec-core", "~> 2.11.0"
|
32
|
-
s.add_development_dependency "rspec-expectations", "~> 2.11.0"
|
33
|
-
s.add_development_dependency "rspec-mocks", "~> 2.11.0"
|
34
|
-
|
35
|
-
# The following block of code determines the files that should be included
|
36
|
-
# in the gem. It does this by reading all the files in the directory where
|
37
|
-
# this gemspec is, and parsing out the ignored files from the gitignore.
|
38
|
-
# Note that the entire gitignore(5) syntax is not supported, specifically
|
39
|
-
# the "!" syntax, but it should mostly work correctly.
|
40
|
-
root_path = File.dirname(__FILE__)
|
41
|
-
all_files = Dir.chdir(root_path) { Dir.glob("**/{*,.*}") }
|
42
|
-
all_files.reject! { |file| [".", ".."].include?(File.basename(file)) }
|
43
|
-
gitignore_path = File.join(root_path, ".gitignore")
|
44
|
-
gitignore = File.readlines(gitignore_path)
|
45
|
-
gitignore.map! { |line| line.chomp.strip }
|
46
|
-
gitignore.reject! { |line| line.empty? || line =~ /^(#|!)/ }
|
47
|
-
|
48
|
-
unignored_files = all_files.reject do |file|
|
49
|
-
# Ignore any directories, the gemspec only cares about files
|
50
|
-
next true if File.directory?(file)
|
51
|
-
|
52
|
-
# Ignore any paths that match anything in the gitignore. We do
|
53
|
-
# two tests here:
|
54
|
-
#
|
55
|
-
# - First, test to see if the entire path matches the gitignore.
|
56
|
-
# - Second, match if the basename does, this makes it so that things
|
57
|
-
# like '.DS_Store' will match sub-directories too (same behavior
|
58
|
-
# as git).
|
59
|
-
#
|
60
|
-
gitignore.any? do |ignore|
|
61
|
-
File.fnmatch(ignore, file, File::FNM_PATHNAME) ||
|
62
|
-
File.fnmatch(ignore, File.basename(file), File::FNM_PATHNAME)
|
63
|
-
end
|
64
|
-
end
|
65
|
-
|
66
|
-
s.files = unignored_files
|
67
|
-
s.executables = unignored_files.map { |f| f[/^bin\/(.*)/, 1] }.compact
|
68
|
-
s.require_path = 'lib'
|
69
|
-
end
|