Sha256: 95ca1b9859b9ed5abe61f7f5d2c7c1adc7b3525bf4b3f20f43adc804af4b24b0
Contents?: true
Size: 902 Bytes
Versions: 1
Compression:
Stored size: 902 Bytes
Contents
# TODO: Switch to Vagrant.require_version before 1.0.0 # see: https://github.com/mitchellh/vagrant/blob/bc55081e9ffaa6820113e449a9f76b293a29b27d/lib/vagrant.rb#L202-L228 unless Gem::Requirement.new('>= 1.4.0').satisfied_by?(Gem::Version.new(Vagrant::VERSION)) raise 'docker-provider requires Vagrant >= 1.4.0 in order to work!' end I18n.load_path << File.expand_path(File.dirname(__FILE__) + '/../../locales/en.yml') I18n.reload! module VagrantPlugins module DockerProvider class Plugin < Vagrant.plugin("2") name "docker-provider" provider(:docker, parallel: true) do require_relative 'provider' Provider end config(:docker, :provider) do require_relative 'config' Config end synced_folder(:docker) do require File.expand_path("../synced_folder", __FILE__) SyncedFolder end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
docker-provider-0.1.0 | lib/docker-provider/plugin.rb |