bib-vagrant 0.0.2 → 0.1.0
Sign up to get free protection for your applications and to get access to all the features.
- data/Gemfile +5 -0
- data/LICENSE.txt +19 -19
- data/Vagrantfile +7 -0
- data/bib-vagrant.gemspec +2 -2
- data/lib/bib/vagrant/config.rb +1 -1
- data/lib/bib/vagrant/plugin.rb +28 -0
- data/lib/bib/vagrant/version.rb +1 -1
- data/lib/bib-vagrant.rb +7 -0
- metadata +7 -4
data/Gemfile
CHANGED
@@ -1,4 +1,9 @@
|
|
1
1
|
source 'https://rubygems.org'
|
2
2
|
|
3
3
|
# Specify your gem's dependencies in bib-vagrant.gemspec
|
4
|
+
# (no idea how to get the github-reference below in .gemspec)
|
4
5
|
gemspec
|
6
|
+
|
7
|
+
group :development do
|
8
|
+
gem "vagrant", git: "git://github.com/mitchellh/vagrant.git", tag: "v1.3.5"
|
9
|
+
end
|
data/LICENSE.txt
CHANGED
@@ -1,22 +1,22 @@
|
|
1
|
-
Copyright (c) 2013
|
1
|
+
Copyright (c) 2013 Till Klampaeckel, Florian Holzhauer, ImagineEasy Solutions LLC
|
2
|
+
All rights reserved.
|
2
3
|
|
3
|
-
|
4
|
+
Redistribution and use in source and binary forms, with or without modification,
|
5
|
+
are permitted provided that the following conditions are met:
|
4
6
|
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
permit persons to whom the Software is furnished to do so, subject to
|
11
|
-
the following conditions:
|
7
|
+
* Redistributions of source code must retain the above copyright notice, this
|
8
|
+
list of conditions and the following disclaimer.
|
9
|
+
* Redistributions in binary form must reproduce the above copyright notice,
|
10
|
+
this list of conditions and the following disclaimer in the documentation
|
11
|
+
and/or other materials provided with the distribution.
|
12
12
|
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
THE
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
13
|
+
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
|
14
|
+
ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
|
15
|
+
WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
|
16
|
+
IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT,
|
17
|
+
INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
|
18
|
+
BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
|
19
|
+
DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
|
20
|
+
LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE
|
21
|
+
OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
|
22
|
+
OF THE POSSIBILITY OF SUCH DAMAGE.
|
data/Vagrantfile
ADDED
data/bib-vagrant.gemspec
CHANGED
@@ -6,12 +6,12 @@ require 'bib/vagrant/version'
|
|
6
6
|
Gem::Specification.new do |spec|
|
7
7
|
spec.name = "bib-vagrant"
|
8
8
|
spec.version = Bib::Vagrant::VERSION
|
9
|
-
spec.authors = ["
|
9
|
+
spec.authors = ["tillk", "fh"]
|
10
10
|
spec.email = ["till@php.net"]
|
11
11
|
spec.description = "A rubygem to centralize configuration and setup in every project's Vagrantfile"
|
12
12
|
spec.summary = "Centralize configuration and setup"
|
13
13
|
spec.homepage = "https://github.com/easybiblabs/bib-vagrant"
|
14
|
-
spec.license = "BSD"
|
14
|
+
spec.license = "New BSD License"
|
15
15
|
|
16
16
|
spec.files = `git ls-files`.split($/)
|
17
17
|
spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
|
data/lib/bib/vagrant/config.rb
CHANGED
@@ -0,0 +1,28 @@
|
|
1
|
+
begin
|
2
|
+
require "vagrant"
|
3
|
+
rescue LoadError
|
4
|
+
raise "This is a vagrant plugin, do not use standalone."
|
5
|
+
end
|
6
|
+
|
7
|
+
if Vagrant::VERSION < "1.2.0"
|
8
|
+
raise "This vagrant plugin needs vagrant 1.2.0+"
|
9
|
+
end
|
10
|
+
|
11
|
+
require_relative 'config'
|
12
|
+
require_relative 'version'
|
13
|
+
|
14
|
+
module VagrantPlugins
|
15
|
+
module Bib
|
16
|
+
module Vagrant
|
17
|
+
class Plugin < ::Vagrant.plugin("2")
|
18
|
+
|
19
|
+
puts "MEH"
|
20
|
+
name "bib-vagrant"
|
21
|
+
description <<-DESC
|
22
|
+
This is a fake plugin to get bib::vagrant into vagrant
|
23
|
+
DESC
|
24
|
+
|
25
|
+
end
|
26
|
+
end
|
27
|
+
end
|
28
|
+
end
|
data/lib/bib/vagrant/version.rb
CHANGED
data/lib/bib-vagrant.rb
ADDED
metadata
CHANGED
@@ -1,16 +1,16 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: bib-vagrant
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0
|
4
|
+
version: 0.1.0
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
8
|
-
-
|
8
|
+
- tillk
|
9
9
|
- fh
|
10
10
|
autorequire:
|
11
11
|
bindir: bin
|
12
12
|
cert_chain: []
|
13
|
-
date: 2013-
|
13
|
+
date: 2013-12-02 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: thor
|
@@ -138,15 +138,18 @@ files:
|
|
138
138
|
- LICENSE.txt
|
139
139
|
- README.md
|
140
140
|
- Rakefile
|
141
|
+
- Vagrantfile
|
141
142
|
- bib-vagrant.gemspec
|
142
143
|
- bin/bib-vagrant
|
144
|
+
- lib/bib-vagrant.rb
|
143
145
|
- lib/bib/vagrant.rb
|
144
146
|
- lib/bib/vagrant/config.rb
|
147
|
+
- lib/bib/vagrant/plugin.rb
|
145
148
|
- lib/bib/vagrant/version.rb
|
146
149
|
- test/config_test.rb
|
147
150
|
homepage: https://github.com/easybiblabs/bib-vagrant
|
148
151
|
licenses:
|
149
|
-
- BSD
|
152
|
+
- New BSD License
|
150
153
|
post_install_message:
|
151
154
|
rdoc_options: []
|
152
155
|
require_paths:
|