vagrant-nixos-plugin 0.2.0 → 0.2.1

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: 1b888301e9de12a3856d4300228926f0f1364744
4
- data.tar.gz: 20deffa245d0c4e9013f2d4bed593362a8ef3a5e
3
+ metadata.gz: f852942d6057d5648837fdabb08f8052d24983ac
4
+ data.tar.gz: 1f3e29fe1a56ddfffd02e51447391f7f221e25d6
5
5
  SHA512:
6
- metadata.gz: 3a6b9a4375edfa85a0b9b4f445462fe758a42dbd43cdff71db8800a7297c76f99d0c320fb3d1e5283a5a4535fba44ca8cdf7c82ee50b4f6b208c3acea8e7e1bf
7
- data.tar.gz: bea6a48fd6bb2f463f10d72fcaa6fb5b590463a303d6c41b73956ba06e8e6ab442acae6d2b785c0a549a1f525552577d789a41d515bce990333fa26c1867eee2
6
+ metadata.gz: e1f811c4fcde6a40ae7f17d205104171882e7027cb3fa046abf11025612c21ed2e0c8e61a6cdec0f7fa285e7e9050325d2f3f9c050609c74be3013b0f7302b87
7
+ data.tar.gz: 93018b0f0a4df8c11b1cc4c6cb72ff9195bbd75d6b6600b38f6f73fc4a0bf9a0599712ef82dede6c140d6d28b7e03471f58e2d307b791b0687fe17f9110df035
data/History.md CHANGED
@@ -1,4 +1,9 @@
1
1
 
2
+ 0.2.1 / 2017-02-16
3
+ ==================
4
+
5
+ * Add trace option to pass --show-trace (thanks @rimmington, #11)
6
+
2
7
  0.2.0 / 2015-10-27
3
8
  ==================
4
9
 
@@ -21,6 +21,10 @@ module VagrantPlugins
21
21
  # @return [true, false]
22
22
  attr_accessor :verbose
23
23
 
24
+ # Pass --show-trace to nixos-rebuild
25
+ # @return [true, false]
26
+ attr_accessor :trace
27
+
24
28
  # Override the default NIX_PATH
25
29
  # @return [String, nil]
26
30
  attr_accessor :NIX_PATH
@@ -31,6 +35,7 @@ module VagrantPlugins
31
35
  @expression = UNSET_VALUE
32
36
  @include = UNSET_VALUE
33
37
  @verbose = UNSET_VALUE
38
+ @trace = UNSET_VALUE
34
39
  @NIX_PATH = UNSET_VALUE
35
40
  end
36
41
 
@@ -40,6 +45,7 @@ module VagrantPlugins
40
45
  @expression = nil if @expression == UNSET_VALUE
41
46
  @include = false if @include == UNSET_VALUE
42
47
  @verbose = false if @verbose == UNSET_VALUE
48
+ @trace = false if @trace == UNSET_VALUE
43
49
  @NIX_PATH = nil if @NIX_PATH == UNSET_VALUE
44
50
  end
45
51
 
@@ -32,6 +32,7 @@ module VagrantPlugins
32
32
 
33
33
  # rebuild
34
34
  rebuild_cmd = "nixos-rebuild switch"
35
+ rebuild_cmd = "#{rebuild_cmd} --show-trace" if config.trace
35
36
  rebuild_cmd = "#{rebuild_cmd} -I nixos-config=/etc/nixos/vagrant.nix" if config.include
36
37
  rebuild_cmd = "NIX_PATH=#{config.NIX_PATH}:$NIX_PATH #{rebuild_cmd}" if config.NIX_PATH
37
38
 
@@ -1,5 +1,5 @@
1
1
  module VagrantPlugins
2
2
  module Nixos
3
- VERSION = '0.2.0'
3
+ VERSION = '0.2.1'
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: vagrant-nixos-plugin
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
4
+ version: 0.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Chris Farmiloe
@@ -9,34 +9,34 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2015-10-27 00:00:00.000000000 Z
12
+ date: 2017-02-19 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: bundler
16
16
  requirement: !ruby/object:Gem::Requirement
17
17
  requirements:
18
- - - ~>
18
+ - - "~>"
19
19
  - !ruby/object:Gem::Version
20
20
  version: '1.5'
21
21
  type: :development
22
22
  prerelease: false
23
23
  version_requirements: !ruby/object:Gem::Requirement
24
24
  requirements:
25
- - - ~>
25
+ - - "~>"
26
26
  - !ruby/object:Gem::Version
27
27
  version: '1.5'
28
28
  - !ruby/object:Gem::Dependency
29
29
  name: rake
30
30
  requirement: !ruby/object:Gem::Requirement
31
31
  requirements:
32
- - - '>='
32
+ - - ">="
33
33
  - !ruby/object:Gem::Version
34
34
  version: '0'
35
35
  type: :development
36
36
  prerelease: false
37
37
  version_requirements: !ruby/object:Gem::Requirement
38
38
  requirements:
39
- - - '>='
39
+ - - ">="
40
40
  - !ruby/object:Gem::Version
41
41
  version: '0'
42
42
  description: Add basic nix configuration provisioning for NixOS guests in Vagrant
@@ -47,7 +47,7 @@ executables: []
47
47
  extensions: []
48
48
  extra_rdoc_files: []
49
49
  files:
50
- - .gitignore
50
+ - ".gitignore"
51
51
  - Gemfile
52
52
  - History.md
53
53
  - LICENSE.txt
@@ -70,17 +70,17 @@ require_paths:
70
70
  - lib
71
71
  required_ruby_version: !ruby/object:Gem::Requirement
72
72
  requirements:
73
- - - '>='
73
+ - - ">="
74
74
  - !ruby/object:Gem::Version
75
75
  version: '0'
76
76
  required_rubygems_version: !ruby/object:Gem::Requirement
77
77
  requirements:
78
- - - '>='
78
+ - - ">="
79
79
  - !ruby/object:Gem::Version
80
80
  version: '0'
81
81
  requirements: []
82
82
  rubyforge_project:
83
- rubygems_version: 2.0.14
83
+ rubygems_version: 2.6.8
84
84
  signing_key:
85
85
  specification_version: 4
86
86
  summary: Vagrant Nix provisioning plugin for NixOS