[DRE-commits] [vagrant-libvirt] 45/104: restrict version of ruby for use

Antonio Terceiro terceiro at moszumanska.debian.org
Sun Apr 24 13:55:43 UTC 2016


This is an automated email from the git hooks/post-receive script.

terceiro pushed a commit to annotated tag 0.0.11
in repository vagrant-libvirt.

commit 89198f27f6b3f7c33b8d1e5069c1b5c39b45d36a
Author: dima <pronix.service at gmail.com>
Date:   Wed May 22 00:37:49 2013 +0200

    restrict version of ruby for use
---
 lib/vagrant-libvirt/provider.rb | 1 +
 1 file changed, 1 insertion(+)

diff --git a/lib/vagrant-libvirt/provider.rb b/lib/vagrant-libvirt/provider.rb
index 1b18aef..451ee50 100644
--- a/lib/vagrant-libvirt/provider.rb
+++ b/lib/vagrant-libvirt/provider.rb
@@ -9,6 +9,7 @@ module VagrantPlugins
     class Provider < Vagrant.plugin('2', :provider)
       def initialize(machine)
         @machine = machine
+        raise 'REQUIRE USE RUBY >= 1.9.3 VERSION' if RUBY_VERSION < '1.9.3'
       end
 
       # This should return an action callable for the given name.

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-ruby-extras/vagrant-libvirt.git



More information about the Pkg-ruby-extras-commits mailing list