lh-vagrant-dns 0.0.4 → 0.0.5

Sign up to get free protection for your applications and to get access to all the features.
data/Gemfile CHANGED
@@ -3,5 +3,6 @@ source 'https://rubygems.org'
3
3
  gemspec
4
4
 
5
5
  group :development do
6
- gem "vagrant", git: "git://github.com/mitchellh/vagrant.git", tag: "v1.1.5"
6
+ gem "vagrant", git: "git://github.com/mitchellh/vagrant.git", tag: "v1.2.1"
7
+ # gem "vagrant", git: "git://github.com/mitchellh/vagrant.git", tag: "v1.1.5"
7
8
  end
@@ -20,7 +20,12 @@ module VagrantPlugins
20
20
  attr_accessor :dns_server
21
21
 
22
22
  def initialize
23
- @ui = ::Vagrant::UI::Colored.new("dns")
23
+ # Make it compatible with both 1.1.5 and 1.2.x
24
+ @ui = begin
25
+ ::Vagrant::UI::Colored.new("dns")
26
+ rescue ArgumentError
27
+ ::Vagrant::UI::Colored.new.scope("dns")
28
+ end
24
29
  end
25
30
 
26
31
  def tmp_path
@@ -1,5 +1,5 @@
1
1
  module VagrantPlugins
2
2
  module DNS
3
- VERSION = "0.0.4"
3
+ VERSION = "0.0.5"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: lh-vagrant-dns
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.4
4
+ version: 0.0.5
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2013-04-14 00:00:00.000000000 Z
12
+ date: 2013-04-17 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rubydns