vagrant-vyatta 0.0.1 → 0.0.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.
- data/lib/vagrant-vyatta/version.rb +1 -1
- data/vagrant-vyatta.gemspec +19 -50
- metadata +12 -12
data/vagrant-vyatta.gemspec
CHANGED
@@ -1,55 +1,24 @@
|
|
1
|
-
#
|
2
|
-
|
3
|
-
require 'vagrant-vyatta/version'
|
1
|
+
# -*- encoding: utf-8 -*-
|
2
|
+
require File.expand_path('../lib/vagrant-vyatta/version', __FILE__)
|
4
3
|
|
5
|
-
Gem::Specification.new do |
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
4
|
+
Gem::Specification.new do |spec|
|
5
|
+
spec.name = "vagrant-vyatta"
|
6
|
+
spec.version = VagrantPlugins::GuestVyatta::VERSION
|
7
|
+
spec.authors = ["KUSAKABE Yuya"]
|
8
|
+
spec.email = ["yuya.kusakabe@gmail.com"]
|
9
|
+
spec.description = "Vyatta Guest Support for Vagrant"
|
10
|
+
spec.summary = "A small gem that adds Vyatta guest support to vagrant."
|
11
|
+
spec.homepage = ""
|
12
|
+
spec.license = "MIT"
|
14
13
|
|
15
|
-
|
16
|
-
|
14
|
+
spec.files = `git ls-files`.split($\)
|
15
|
+
spec.executables = spec.files.grep(%r{^bin/}).map{ |f| File.basename(f) }
|
16
|
+
spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
|
17
|
+
spec.require_paths = ["lib"]
|
17
18
|
|
18
|
-
|
19
|
-
|
19
|
+
spec.required_rubygems_version = ">= 1.8.23"
|
20
|
+
spec.rubyforge_project = "vagrant-vyatta"
|
20
21
|
|
21
|
-
|
22
|
-
|
23
|
-
# this gemspec is, and parsing out the ignored files from the gitignore.
|
24
|
-
# Note that the entire gitignore(5) syntax is not supported, specifically
|
25
|
-
# the "!" syntax, but it should mostly work correctly.
|
26
|
-
root_path = File.dirname(__FILE__)
|
27
|
-
all_files = Dir.chdir(root_path) { Dir.glob("**/{*,.*}") }
|
28
|
-
all_files.reject! { |file| [".", ".."].include?(File.basename(file)) }
|
29
|
-
gitignore_path = File.join(root_path, ".gitignore")
|
30
|
-
gitignore = File.readlines(gitignore_path)
|
31
|
-
gitignore.map! { |line| line.chomp.strip }
|
32
|
-
gitignore.reject! { |line| line.empty? || line =~ /^(#|!)/ }
|
33
|
-
|
34
|
-
unignored_files = all_files.reject do |file|
|
35
|
-
# Ignore any directories, the gemspec only cares about files
|
36
|
-
next true if File.directory?(file)
|
37
|
-
|
38
|
-
# Ignore any paths that match anything in the gitignore. We do
|
39
|
-
# two tests here:
|
40
|
-
#
|
41
|
-
# - First, test to see if the entire path matches the gitignore.
|
42
|
-
# - Second, match if the basename does, this makes it so that things
|
43
|
-
# like '.DS_Store' will match sub-directories too (same behavior
|
44
|
-
# as git).
|
45
|
-
#
|
46
|
-
gitignore.any? do |ignore|
|
47
|
-
File.fnmatch(ignore, file, File::FNM_PATHNAME) ||
|
48
|
-
File.fnmatch(ignore, File.basename(file), File::FNM_PATHNAME)
|
49
|
-
end
|
50
|
-
end
|
51
|
-
|
52
|
-
s.files = unignored_files
|
53
|
-
s.executables = unignored_files.map { |f| f[/^bin\/(.*)/, 1] }.compact
|
54
|
-
s.require_path = 'lib'
|
22
|
+
spec.add_development_dependency "bundler", "~> 1.3"
|
23
|
+
spec.add_development_dependency "rake"
|
55
24
|
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: vagrant-vyatta
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.2
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -43,27 +43,27 @@ dependencies:
|
|
43
43
|
- - ! '>='
|
44
44
|
- !ruby/object:Gem::Version
|
45
45
|
version: '0'
|
46
|
-
description:
|
46
|
+
description: Vyatta Guest Support for Vagrant
|
47
47
|
email:
|
48
48
|
- yuya.kusakabe@gmail.com
|
49
49
|
executables: []
|
50
50
|
extensions: []
|
51
51
|
extra_rdoc_files: []
|
52
52
|
files:
|
53
|
+
- .gitignore
|
53
54
|
- Gemfile
|
54
|
-
-
|
55
|
+
- LICENSE
|
55
56
|
- README.md
|
56
|
-
-
|
57
|
-
- lib/vagrant-vyatta
|
58
|
-
- lib/vagrant-vyatta/guest.rb
|
57
|
+
- Rakefile
|
58
|
+
- lib/vagrant-vyatta.rb
|
59
59
|
- lib/vagrant-vyatta/cap/change_host_name.rb
|
60
60
|
- lib/vagrant-vyatta/cap/configure_networks.rb
|
61
61
|
- lib/vagrant-vyatta/cap/halt.rb
|
62
|
-
- lib/vagrant-vyatta.rb
|
63
|
-
-
|
62
|
+
- lib/vagrant-vyatta/guest.rb
|
63
|
+
- lib/vagrant-vyatta/plugin.rb
|
64
|
+
- lib/vagrant-vyatta/version.rb
|
64
65
|
- vagrant-vyatta.gemspec
|
65
|
-
|
66
|
-
homepage: https://github.com/higebu/vagrant-vyatta
|
66
|
+
homepage: ''
|
67
67
|
licenses:
|
68
68
|
- MIT
|
69
69
|
post_install_message:
|
@@ -78,7 +78,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
78
78
|
version: '0'
|
79
79
|
segments:
|
80
80
|
- 0
|
81
|
-
hash:
|
81
|
+
hash: -422392049039402316
|
82
82
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
83
83
|
none: false
|
84
84
|
requirements:
|
@@ -90,5 +90,5 @@ rubyforge_project: vagrant-vyatta
|
|
90
90
|
rubygems_version: 1.8.23
|
91
91
|
signing_key:
|
92
92
|
specification_version: 3
|
93
|
-
summary:
|
93
|
+
summary: A small gem that adds Vyatta guest support to vagrant.
|
94
94
|
test_files: []
|