nugrant 2.0.1 → 2.0.2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,15 +1,7 @@
1
1
  ---
2
- !binary "U0hBMQ==":
3
- metadata.gz: !binary |-
4
- N2VlYTUxZDg3NDFmMTM0OTY0OTZlN2YyMzgzOTM2ZDM4NmI1NWEwYQ==
5
- data.tar.gz: !binary |-
6
- YmMxMDhhNmRiMjhmMTFjYTZkY2JhMGNhOTZkNjllZDk3OGU0ZmRiZg==
2
+ SHA1:
3
+ metadata.gz: 594ada270cb4d38006f96f005f07a7bf52070c7c
4
+ data.tar.gz: df8bbf721f95ab7bc5e07d290bbe318e9ddea76b
7
5
  SHA512:
8
- metadata.gz: !binary |-
9
- MzUwMjhlNjg4NTZlNzU4ODE4NDhmMjdkMGY2YjhkMWQzY2NkMDEwMjIyMmYy
10
- NzIzYTVjNjE4YjEyMWI5NmQxM2U1ZTQzZWZjYmU1NjkyNDVhNTFlZGM0ZjY4
11
- MGI0ZGY1NmRjNzUyOTRkN2EwZWVhYjFlNzAxN2VmNjAwZThmZTY=
12
- data.tar.gz: !binary |-
13
- YjY4Nzg3MzRmNTllOTA1MDk2ZmZlYzE3MDYyOTJiNzEwYjVjNzM0YjE5OTgy
14
- NTg3MmY3NDcyYzMwMTQyMTE3MzIzMzhhOGVjMWViZjViOWNkZDI0OWM0MjE3
15
- NTYyMTY5NWM2YzkwMjQ5Yjc4ZDk1MTA2MTk1Mzg2MmE5NjM0N2U=
6
+ metadata.gz: 887c68d6713d574f9c8f4f434c66dc0be2557883d785d6113968154e941781079c83dbf5779df13e6156ae2d74d1700ba73e54a354a441de2101757495935a1a
7
+ data.tar.gz: 2b86a84fe78a5ccc32da82f995124f03de6d2ea8b4c95434de685f05053671ab3b304eb9f5512761cdfc78f88a7fc018901b68ffda7d602f5c5f5766e10a366c
@@ -1,9 +1,20 @@
1
+ # 2.0.2 (July 13th, 2014)
2
+
3
+ * Fixed a bug when using some vagrant commands. The code to retrieve
4
+ the Vagrantfile name was not accurate in respect to where it was
5
+ copied. When the env variable `VAGRANT_VAGRANTFILE` is set, it
6
+ then must be wrapped inside an array.
7
+
8
+ Fixes [issue #21](https://github.com/maoueh/nugrant/issues/21).
9
+
1
10
  # 2.0.1 (July 10th, 2014)
2
11
 
3
12
  * Fixed a bug when using the plugin. A require clause was missing,
4
13
  it was working when doing commands but not when using Vagrant
5
14
  directly.
6
15
 
16
+ Fixes [issue #20](https://github.com/maoueh/nugrant/issues/20).
17
+
7
18
  # 2.0.0 (July 9th, 2014)
8
19
 
9
20
  * Fixed retrieval of current directory for `.vagrantuser`. The directory
@@ -20,6 +20,7 @@ module Nugrant
20
20
  #
21
21
  def self.find_project_path()
22
22
  vagrantfile_name = ENV["VAGRANT_VAGRANTFILE"]
23
+ vagrantfile_name = [vagrantfile_name] if vagrantfile_name && !vagrantfile_name.is_a?(Array)
23
24
 
24
25
  root_finder = lambda do |path|
25
26
  vagrantfile = find_vagrantfile(path, vagrantfile_name)
@@ -1,3 +1,3 @@
1
1
  module Nugrant
2
- VERSION = "2.0.1"
2
+ VERSION = "2.0.2"
3
3
  end
metadata CHANGED
@@ -1,15 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: nugrant
3
3
  version: !ruby/object:Gem::Version
4
- version: !binary |-
5
- Mi4wLjE=
4
+ version: 2.0.2
6
5
  platform: ruby
7
6
  authors:
8
7
  - Matthieu Vachon
9
8
  autorequire:
10
9
  bindir: bin
11
10
  cert_chain: []
12
- date: 2014-07-10 00:00:00.000000000 Z
11
+ date: 2014-07-13 00:00:00.000000000 Z
13
12
  dependencies:
14
13
  - !ruby/object:Gem::Dependency
15
14
  name: multi_json
@@ -17,23 +16,24 @@ dependencies:
17
16
  requirements:
18
17
  - - ~>
19
18
  - !ruby/object:Gem::Version
20
- version: !binary |-
21
- MS44
19
+ version: '1.8'
22
20
  type: :runtime
23
21
  prerelease: false
24
22
  version_requirements: !ruby/object:Gem::Requirement
25
23
  requirements:
26
24
  - - ~>
27
25
  - !ruby/object:Gem::Version
28
- version: !binary |-
29
- MS44
30
- description: ! " Nugrant is a library to easily handle parameters that need to
31
- be\n injected into an application via different sources (system, user,\n project,
32
- defaults).\n\n Nugrant can also be directly used as a Vagrant plugin. By activating\n
33
- \ this gem with Vagrant, it will be possible to define user specific\n parameters
34
- that will be injected directly into the Vagrantfile. This\n is useful if you
35
- need to share a Vagrantfile to multiple developers\n but would like to customize
36
- some parameters for each user differently.\n"
26
+ version: '1.8'
27
+ description: |2
28
+ Nugrant is a library to easily handle parameters that need to be
29
+ injected into an application via different sources (system, user,
30
+ project, defaults).
31
+
32
+ Nugrant can also be directly used as a Vagrant plugin. By activating
33
+ this gem with Vagrant, it will be possible to define user specific
34
+ parameters that will be injected directly into the Vagrantfile. This
35
+ is useful if you need to share a Vagrantfile to multiple developers
36
+ but would like to customize some parameters for each user differently.
37
37
  email:
38
38
  - matthieu.o.vachon@gmail.com
39
39
  executables: []
@@ -135,12 +135,12 @@ require_paths:
135
135
  - lib
136
136
  required_ruby_version: !ruby/object:Gem::Requirement
137
137
  requirements:
138
- - - ! '>='
138
+ - - '>='
139
139
  - !ruby/object:Gem::Version
140
140
  version: '0'
141
141
  required_rubygems_version: !ruby/object:Gem::Requirement
142
142
  requirements:
143
- - - ! '>='
143
+ - - '>='
144
144
  - !ruby/object:Gem::Version
145
145
  version: '0'
146
146
  requirements: []