nugrant 0.0.11
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/.buildpath +6 -0
- data/.gitattributes +33 -0
- data/.gitignore +19 -0
- data/.project +17 -0
- data/CHANGELOG.md +35 -0
- data/Gemfile +4 -0
- data/LICENSE.txt +22 -0
- data/README.md +198 -0
- data/Rakefile +10 -0
- data/lib/nugrant.rb +12 -0
- data/lib/nugrant/config.rb +51 -0
- data/lib/nugrant/parameter_bag.rb +68 -0
- data/lib/nugrant/parameters.rb +104 -0
- data/lib/nugrant/vagrant/user_command.rb +86 -0
- data/lib/nugrant/vagrant/user_parameters.rb +27 -0
- data/lib/nugrant/version.rb +3 -0
- data/lib/vagrant_init.rb +7 -0
- data/nugrant.gemspec +31 -0
- data/test/lib/nugrant/test_config.rb +125 -0
- data/test/lib/nugrant/test_parameters.rb +205 -0
- data/test/lib/nugrant/test_parameters_bag.rb +164 -0
- data/test/resources/.vagrantuser +3 -0
- data/test/resources/README.md +52 -0
- data/test/resources/Vagrantfile +5 -0
- data/test/resources/json/params_combinations.json +81 -0
- data/test/resources/json/params_defaults_at_root.json +3 -0
- data/test/resources/json/params_defaults_not_at_root.json +5 -0
- data/test/resources/json/params_project_1.json +6 -0
- data/test/resources/json/params_project_2.json +29 -0
- data/test/resources/json/params_simple.json +3 -0
- data/test/resources/json/params_system_1.json +6 -0
- data/test/resources/json/params_system_2.json +29 -0
- data/test/resources/json/params_unix_eol.json +6 -0
- data/test/resources/json/params_user_1.json +6 -0
- data/test/resources/json/params_user_2.json +29 -0
- data/test/resources/json/params_windows_eol.json +6 -0
- data/test/resources/yml/params_combinations.yml +72 -0
- data/test/resources/yml/params_defaults_at_root.yml +1 -0
- data/test/resources/yml/params_defaults_not_at_root.yml +2 -0
- data/test/resources/yml/params_project_1.yml +4 -0
- data/test/resources/yml/params_project_2.yml +23 -0
- data/test/resources/yml/params_simple.yml +1 -0
- data/test/resources/yml/params_system_1.yml +4 -0
- data/test/resources/yml/params_system_2.yml +25 -0
- data/test/resources/yml/params_unix_eol.yml +3 -0
- data/test/resources/yml/params_user_1.yml +4 -0
- data/test/resources/yml/params_user_2.yml +23 -0
- data/test/resources/yml/params_windows_eol.yml +3 -0
- metadata +175 -0
@@ -0,0 +1,72 @@
|
|
1
|
+
"1.1.1": "base"
|
2
|
+
"1.1.0": "base"
|
3
|
+
"1.0.1": "base"
|
4
|
+
"0.1.1": "base"
|
5
|
+
"1.0.0": "base"
|
6
|
+
"0.1.0": "base"
|
7
|
+
"0.0.1": "base"
|
8
|
+
|
9
|
+
"1.1.1":
|
10
|
+
"1.1.1": "base"
|
11
|
+
"1.1.0": "base"
|
12
|
+
"1.0.1": "base"
|
13
|
+
"0.1.1": "base"
|
14
|
+
"1.0.0": "base"
|
15
|
+
"0.1.0": "base"
|
16
|
+
"0.0.1": "base"
|
17
|
+
|
18
|
+
"1.1.0":
|
19
|
+
"1.1.1": "base"
|
20
|
+
"1.1.0": "base"
|
21
|
+
"1.0.1": "base"
|
22
|
+
"0.1.1": "base"
|
23
|
+
"1.0.0": "base"
|
24
|
+
"0.1.0": "base"
|
25
|
+
"0.0.1": "base"
|
26
|
+
|
27
|
+
"1.0.1":
|
28
|
+
"1.1.1": "base"
|
29
|
+
"1.1.0": "base"
|
30
|
+
"1.0.1": "base"
|
31
|
+
"0.1.1": "base"
|
32
|
+
"1.0.0": "base"
|
33
|
+
"0.1.0": "base"
|
34
|
+
"0.0.1": "base"
|
35
|
+
|
36
|
+
"0.1.1":
|
37
|
+
"1.1.1": "base"
|
38
|
+
"1.1.0": "base"
|
39
|
+
"1.0.1": "base"
|
40
|
+
"0.1.1": "base"
|
41
|
+
"1.0.0": "base"
|
42
|
+
"0.1.0": "base"
|
43
|
+
"0.0.1": "base"
|
44
|
+
|
45
|
+
"1.0.0":
|
46
|
+
"1.1.1": "base"
|
47
|
+
"1.1.0": "base"
|
48
|
+
"1.0.1": "base"
|
49
|
+
"0.1.1": "base"
|
50
|
+
"1.0.0": "base"
|
51
|
+
"0.1.0": "base"
|
52
|
+
"0.0.1": "base"
|
53
|
+
|
54
|
+
"0.1.0":
|
55
|
+
"1.1.1": "base"
|
56
|
+
"1.1.0": "base"
|
57
|
+
"1.0.1": "base"
|
58
|
+
"0.1.1": "base"
|
59
|
+
"1.0.0": "base"
|
60
|
+
"0.1.0": "base"
|
61
|
+
"0.0.1": "base"
|
62
|
+
|
63
|
+
"0.0.1":
|
64
|
+
"1.1.1": "base"
|
65
|
+
"1.1.0": "base"
|
66
|
+
"1.0.1": "base"
|
67
|
+
"0.1.1": "base"
|
68
|
+
"1.0.0": "base"
|
69
|
+
"0.1.0": "base"
|
70
|
+
"0.0.1": "base"
|
71
|
+
|
72
|
+
"0.0.0": "do not put key should not exist"
|
@@ -0,0 +1 @@
|
|
1
|
+
"defaults": "value"
|
@@ -0,0 +1,23 @@
|
|
1
|
+
"1.1.1":
|
2
|
+
"1.1.1": "project"
|
3
|
+
"1.1.0": "project"
|
4
|
+
"1.0.1": "project"
|
5
|
+
"1.0.0": "project"
|
6
|
+
|
7
|
+
"1.1.0":
|
8
|
+
"1.1.1": "project"
|
9
|
+
"1.1.0": "project"
|
10
|
+
"1.0.1": "project"
|
11
|
+
"1.0.0": "project"
|
12
|
+
|
13
|
+
"1.0.1":
|
14
|
+
"1.1.1": "project"
|
15
|
+
"1.1.0": "project"
|
16
|
+
"1.0.1": "project"
|
17
|
+
"1.0.0": "project"
|
18
|
+
|
19
|
+
"1.0.0":
|
20
|
+
"1.1.1": "project"
|
21
|
+
"1.1.0": "project"
|
22
|
+
"1.0.1": "project"
|
23
|
+
"1.0.0": "project"
|
@@ -0,0 +1 @@
|
|
1
|
+
test: "value"
|
@@ -0,0 +1,25 @@
|
|
1
|
+
"1.1.1":
|
2
|
+
"1.1.1": "system"
|
3
|
+
"1.0.1": "system"
|
4
|
+
"0.1.1": "system"
|
5
|
+
"0.0.1": "system"
|
6
|
+
|
7
|
+
"1.0.1":
|
8
|
+
"1.1.1": "system"
|
9
|
+
"1.0.1": "system"
|
10
|
+
"0.1.1": "system"
|
11
|
+
"0.0.1": "system"
|
12
|
+
|
13
|
+
"0.1.1":
|
14
|
+
"1.1.1": "system"
|
15
|
+
"1.0.1": "system"
|
16
|
+
"0.1.1": "system"
|
17
|
+
"0.0.1": "system"
|
18
|
+
|
19
|
+
"0.0.1":
|
20
|
+
"1.1.1": "system"
|
21
|
+
"1.0.1": "system"
|
22
|
+
"0.1.1": "system"
|
23
|
+
"0.0.1": "system"
|
24
|
+
|
25
|
+
|
@@ -0,0 +1,23 @@
|
|
1
|
+
"1.1.1":
|
2
|
+
"1.1.1": "user"
|
3
|
+
"1.1.0": "user"
|
4
|
+
"0.1.1": "user"
|
5
|
+
"0.1.0": "user"
|
6
|
+
|
7
|
+
"1.1.0":
|
8
|
+
"1.1.1": "user"
|
9
|
+
"1.1.0": "user"
|
10
|
+
"0.1.1": "user"
|
11
|
+
"0.1.0": "user"
|
12
|
+
|
13
|
+
"0.1.1":
|
14
|
+
"1.1.1": "user"
|
15
|
+
"1.1.0": "user"
|
16
|
+
"0.1.1": "user"
|
17
|
+
"0.1.0": "user"
|
18
|
+
|
19
|
+
"0.1.0":
|
20
|
+
"1.1.1": "user"
|
21
|
+
"1.1.0": "user"
|
22
|
+
"0.1.1": "user"
|
23
|
+
"0.1.0": "user"
|
metadata
ADDED
@@ -0,0 +1,175 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: nugrant
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.0.11
|
5
|
+
prerelease:
|
6
|
+
platform: ruby
|
7
|
+
authors:
|
8
|
+
- Matthieu Vachon
|
9
|
+
autorequire:
|
10
|
+
bindir: bin
|
11
|
+
cert_chain: []
|
12
|
+
date: 2012-12-23 00:00:00.000000000 Z
|
13
|
+
dependencies:
|
14
|
+
- !ruby/object:Gem::Dependency
|
15
|
+
name: deep_merge
|
16
|
+
requirement: !ruby/object:Gem::Requirement
|
17
|
+
none: false
|
18
|
+
requirements:
|
19
|
+
- - ~>
|
20
|
+
- !ruby/object:Gem::Version
|
21
|
+
version: 1.0.0
|
22
|
+
type: :runtime
|
23
|
+
prerelease: false
|
24
|
+
version_requirements: !ruby/object:Gem::Requirement
|
25
|
+
none: false
|
26
|
+
requirements:
|
27
|
+
- - ~>
|
28
|
+
- !ruby/object:Gem::Version
|
29
|
+
version: 1.0.0
|
30
|
+
- !ruby/object:Gem::Dependency
|
31
|
+
name: rake
|
32
|
+
requirement: !ruby/object:Gem::Requirement
|
33
|
+
none: false
|
34
|
+
requirements:
|
35
|
+
- - ~>
|
36
|
+
- !ruby/object:Gem::Version
|
37
|
+
version: 0.9.0
|
38
|
+
type: :development
|
39
|
+
prerelease: false
|
40
|
+
version_requirements: !ruby/object:Gem::Requirement
|
41
|
+
none: false
|
42
|
+
requirements:
|
43
|
+
- - ~>
|
44
|
+
- !ruby/object:Gem::Version
|
45
|
+
version: 0.9.0
|
46
|
+
- !ruby/object:Gem::Dependency
|
47
|
+
name: vagrant
|
48
|
+
requirement: !ruby/object:Gem::Requirement
|
49
|
+
none: false
|
50
|
+
requirements:
|
51
|
+
- - ~>
|
52
|
+
- !ruby/object:Gem::Version
|
53
|
+
version: 1.0.5
|
54
|
+
type: :development
|
55
|
+
prerelease: false
|
56
|
+
version_requirements: !ruby/object:Gem::Requirement
|
57
|
+
none: false
|
58
|
+
requirements:
|
59
|
+
- - ~>
|
60
|
+
- !ruby/object:Gem::Version
|
61
|
+
version: 1.0.5
|
62
|
+
description: ! " This gem is in fact a Vagrant pluging. By installing this gem,
|
63
|
+
it will be\n possible to define user specific configuration files that will
|
64
|
+
be merge\n directly into the Vagrant configuration. This is usefull if you need
|
65
|
+
to\n share a Vagrantfile to multiple developers but would like to customize\n
|
66
|
+
\ some parameters for each users differently.\n"
|
67
|
+
email:
|
68
|
+
- matthieu.ouellette-vachon@nuecho.com
|
69
|
+
executables: []
|
70
|
+
extensions: []
|
71
|
+
extra_rdoc_files: []
|
72
|
+
files:
|
73
|
+
- .buildpath
|
74
|
+
- .gitattributes
|
75
|
+
- .gitignore
|
76
|
+
- .project
|
77
|
+
- CHANGELOG.md
|
78
|
+
- Gemfile
|
79
|
+
- LICENSE.txt
|
80
|
+
- README.md
|
81
|
+
- Rakefile
|
82
|
+
- lib/nugrant.rb
|
83
|
+
- lib/nugrant/config.rb
|
84
|
+
- lib/nugrant/parameter_bag.rb
|
85
|
+
- lib/nugrant/parameters.rb
|
86
|
+
- lib/nugrant/vagrant/user_command.rb
|
87
|
+
- lib/nugrant/vagrant/user_parameters.rb
|
88
|
+
- lib/nugrant/version.rb
|
89
|
+
- lib/vagrant_init.rb
|
90
|
+
- nugrant.gemspec
|
91
|
+
- test/lib/nugrant/test_config.rb
|
92
|
+
- test/lib/nugrant/test_parameters.rb
|
93
|
+
- test/lib/nugrant/test_parameters_bag.rb
|
94
|
+
- test/resources/.vagrantuser
|
95
|
+
- test/resources/README.md
|
96
|
+
- test/resources/Vagrantfile
|
97
|
+
- test/resources/json/params_combinations.json
|
98
|
+
- test/resources/json/params_defaults_at_root.json
|
99
|
+
- test/resources/json/params_defaults_not_at_root.json
|
100
|
+
- test/resources/json/params_project_1.json
|
101
|
+
- test/resources/json/params_project_2.json
|
102
|
+
- test/resources/json/params_simple.json
|
103
|
+
- test/resources/json/params_system_1.json
|
104
|
+
- test/resources/json/params_system_2.json
|
105
|
+
- test/resources/json/params_unix_eol.json
|
106
|
+
- test/resources/json/params_user_1.json
|
107
|
+
- test/resources/json/params_user_2.json
|
108
|
+
- test/resources/json/params_windows_eol.json
|
109
|
+
- test/resources/yml/params_combinations.yml
|
110
|
+
- test/resources/yml/params_defaults_at_root.yml
|
111
|
+
- test/resources/yml/params_defaults_not_at_root.yml
|
112
|
+
- test/resources/yml/params_project_1.yml
|
113
|
+
- test/resources/yml/params_project_2.yml
|
114
|
+
- test/resources/yml/params_simple.yml
|
115
|
+
- test/resources/yml/params_system_1.yml
|
116
|
+
- test/resources/yml/params_system_2.yml
|
117
|
+
- test/resources/yml/params_unix_eol.yml
|
118
|
+
- test/resources/yml/params_user_1.yml
|
119
|
+
- test/resources/yml/params_user_2.yml
|
120
|
+
- test/resources/yml/params_windows_eol.yml
|
121
|
+
homepage: https://github.com/nuecho/nugrant
|
122
|
+
licenses: []
|
123
|
+
post_install_message:
|
124
|
+
rdoc_options: []
|
125
|
+
require_paths:
|
126
|
+
- lib
|
127
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
128
|
+
none: false
|
129
|
+
requirements:
|
130
|
+
- - ! '>='
|
131
|
+
- !ruby/object:Gem::Version
|
132
|
+
version: '0'
|
133
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
134
|
+
none: false
|
135
|
+
requirements:
|
136
|
+
- - ! '>='
|
137
|
+
- !ruby/object:Gem::Version
|
138
|
+
version: '0'
|
139
|
+
requirements: []
|
140
|
+
rubyforge_project:
|
141
|
+
rubygems_version: 1.8.24
|
142
|
+
signing_key:
|
143
|
+
specification_version: 3
|
144
|
+
summary: Vagrant plugin to enable user specific configuration parameters.
|
145
|
+
test_files:
|
146
|
+
- test/lib/nugrant/test_config.rb
|
147
|
+
- test/lib/nugrant/test_parameters.rb
|
148
|
+
- test/lib/nugrant/test_parameters_bag.rb
|
149
|
+
- test/resources/.vagrantuser
|
150
|
+
- test/resources/README.md
|
151
|
+
- test/resources/Vagrantfile
|
152
|
+
- test/resources/json/params_combinations.json
|
153
|
+
- test/resources/json/params_defaults_at_root.json
|
154
|
+
- test/resources/json/params_defaults_not_at_root.json
|
155
|
+
- test/resources/json/params_project_1.json
|
156
|
+
- test/resources/json/params_project_2.json
|
157
|
+
- test/resources/json/params_simple.json
|
158
|
+
- test/resources/json/params_system_1.json
|
159
|
+
- test/resources/json/params_system_2.json
|
160
|
+
- test/resources/json/params_unix_eol.json
|
161
|
+
- test/resources/json/params_user_1.json
|
162
|
+
- test/resources/json/params_user_2.json
|
163
|
+
- test/resources/json/params_windows_eol.json
|
164
|
+
- test/resources/yml/params_combinations.yml
|
165
|
+
- test/resources/yml/params_defaults_at_root.yml
|
166
|
+
- test/resources/yml/params_defaults_not_at_root.yml
|
167
|
+
- test/resources/yml/params_project_1.yml
|
168
|
+
- test/resources/yml/params_project_2.yml
|
169
|
+
- test/resources/yml/params_simple.yml
|
170
|
+
- test/resources/yml/params_system_1.yml
|
171
|
+
- test/resources/yml/params_system_2.yml
|
172
|
+
- test/resources/yml/params_unix_eol.yml
|
173
|
+
- test/resources/yml/params_user_1.yml
|
174
|
+
- test/resources/yml/params_user_2.yml
|
175
|
+
- test/resources/yml/params_windows_eol.yml
|