vagrant-properties 0.0.3 → 0.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/vagrant-properties.rb +14 -2
- data/lib/vagrant-properties/config.rb +1 -1
- data/lib/vagrant-properties/version.rb +2 -2
- data/vagrant-properties.gemspec +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 6162f9a24d57a0d54dc5be0daadc900c62b984d2
|
4
|
+
data.tar.gz: 8f7a5d24218933eda6f9e6650c257a134c2b5a0c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 539665ea9635d2699d598d138730dd31cc485c8181f9c922f5c1783e58b064f60be5144476fc16d0bdaf89de6100fdb492505b95c5b93e4054b15f3e53b65894
|
7
|
+
data.tar.gz: a36b776c5c9afcf8d60d5b528ffb2febc472f0aa5eacd33c1a21403f200ca8643722542be5800aaaae9a5c5806a7971cfdb929345b9bca2f6399bb3639bc4cf7
|
data/lib/vagrant-properties.rb
CHANGED
@@ -1,12 +1,24 @@
|
|
1
1
|
require 'vagrant-properties/version'
|
2
2
|
|
3
3
|
module VagrantPlugins
|
4
|
+
module Properties
|
5
|
+
class << self
|
6
|
+
def enable
|
7
|
+
@enabled = true
|
8
|
+
end
|
9
|
+
|
10
|
+
def enabled?
|
11
|
+
@enabled
|
12
|
+
end
|
13
|
+
end
|
14
|
+
end
|
15
|
+
|
4
16
|
module Kernel_V2
|
5
17
|
class Plugin < Vagrant.plugin('2')
|
6
18
|
config('properties') do
|
7
19
|
require File.expand_path('../vagrant-properties/config', __FILE__)
|
8
|
-
|
9
|
-
end
|
20
|
+
Properties::Config
|
21
|
+
end if VagrantPlugins::Properties.enabled?
|
10
22
|
end
|
11
23
|
end
|
12
24
|
end
|
data/vagrant-properties.gemspec
CHANGED
@@ -5,7 +5,7 @@ require 'vagrant-properties/version'
|
|
5
5
|
|
6
6
|
Gem::Specification.new do |spec|
|
7
7
|
spec.name = "vagrant-properties"
|
8
|
-
spec.version =
|
8
|
+
spec.version = VagrantPlugins::Properties::VERSION
|
9
9
|
spec.authors = ["linyows"]
|
10
10
|
spec.email = ["linyows@gmail.com"]
|
11
11
|
spec.summary = %q{Mnagement multiple machines.}
|