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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 6192f58153405cf12f27d74ac798f2458a8cdb2b
4
- data.tar.gz: 1ff0fe61868810cea406153644c0fcc93d2b4bef
3
+ metadata.gz: 6162f9a24d57a0d54dc5be0daadc900c62b984d2
4
+ data.tar.gz: 8f7a5d24218933eda6f9e6650c257a134c2b5a0c
5
5
  SHA512:
6
- metadata.gz: 8f4ae42c1468dfce1315dee16eb3020f6964399dc84e4e08b425b1d65f6b1f840a1ed96f5fdbb5ae173ed7adc27dec5786aa205567c37986bcdecef7d4328f31
7
- data.tar.gz: 840068ad7f69440d903d9c018a205e827cf5d5833a03cca2cad6cc7cba602332f797c4e72086257fbf51f2bbc67c5dffff3c8c8875b05720bc294d353fbd13a6
6
+ metadata.gz: 539665ea9635d2699d598d138730dd31cc485c8181f9c922f5c1783e58b064f60be5144476fc16d0bdaf89de6100fdb492505b95c5b93e4054b15f3e53b65894
7
+ data.tar.gz: a36b776c5c9afcf8d60d5b528ffb2febc472f0aa5eacd33c1a21403f200ca8643722542be5800aaaae9a5c5806a7971cfdb929345b9bca2f6399bb3639bc4cf7
@@ -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
- Property::Config
9
- end
20
+ Properties::Config
21
+ end if VagrantPlugins::Properties.enabled?
10
22
  end
11
23
  end
12
24
  end
@@ -2,7 +2,7 @@ require 'vagrant'
2
2
  require 'yaml'
3
3
 
4
4
  module VagrantPlugins
5
- module Property
5
+ module Properties
6
6
  class Config < Vagrant.plugin('2', :config)
7
7
  attr_accessor :properties
8
8
 
@@ -1,5 +1,5 @@
1
- module Vagrant
1
+ module VagrantPlugins
2
2
  module Properties
3
- VERSION = '0.0.3'
3
+ VERSION = '0.1.0'
4
4
  end
5
5
  end
@@ -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 = Vagrant::Properties::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.}
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: vagrant-properties
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.3
4
+ version: 0.1.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - linyows