vagrant-repo-configure 0.0.4 → 0.0.5

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: e008643aa3b1bd98eec0e45b0422e25cd87efcee
4
- data.tar.gz: 468156493b0c3d5d813d51affda072e8808dff8d
3
+ metadata.gz: ef76233ddd58b2e4e4707ad3e6bf6dd396cb6b2a
4
+ data.tar.gz: 86cc8261315af0ea4342e43b4c673e54461f2c4c
5
5
  SHA512:
6
- metadata.gz: 504af59f72b4f223c1133908008fc99b8412f2d629b3cf40de51536e7ce0558387233510219af88696e3b46c5c5274404c51969ec0da5c8a320372560b957a2e
7
- data.tar.gz: 08b9df42651d97771aa99a5a8a28bdb32ac9fad6d07c5dc008c07d7dd49a467fbb82d50a2e2ab48773f65449b990efc3f1fea61c9284e9ecf0bde2a019588675
6
+ metadata.gz: db072971ba86b162de3512c7b4818eae33e32e3f6a1ae5189f03965bc340fcfc856b5881beee7d4421f94753f92a2c3b9ac46e4d492e22f28260021c075b2c12
7
+ data.tar.gz: 744a9a8a0df17c71fb41f6b544ba259a2d5bb6df133e7cfbf3dc6236cb3996453cec3da34858aca7c69f9db93fb3a3d9e0cba57b02f6d485e15e7316505fab55
@@ -9,6 +9,13 @@ module Vagrant
9
9
  @apt_lines = UNSET_VALUE
10
10
  end
11
11
 
12
+ def use_ubuntu_mirror(mirror,release)
13
+ @apt_lines = [] if @apt_lines == UNSET_VALUE
14
+ @apt_lines << "deb #{mirror} #{release} main restricted universe multiverse"
15
+ @apt_lines << "deb #{mirror} #{release}-security main restricted universe multiverse"
16
+ @apt_lines << "deb #{mirror} #{release}-updates main restricted universe multiverse"
17
+ end
18
+
12
19
  def add(line)
13
20
  @apt_lines = [] if @apt_lines == UNSET_VALUE
14
21
 
@@ -1,5 +1,5 @@
1
1
  module Vagrant
2
2
  module RepoConfigure
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: vagrant-repo-configure
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.4
4
+ version: 0.0.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Syntactic Vexation