vagrant-json-plugin 0.1.0 → 0.1.1

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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 1141edfaffcdbea895ee15582acf117704d8f3fcd54f1549a257f142ef25bc01
4
- data.tar.gz: 1a4e3362ee46ec07a8686df02a92569fed089e1be67d0c40e0ff60ad35aef119
3
+ metadata.gz: c0198d1b3cfdc780519dc95d110f21befbfcec25aa2aea96f5b25fea2a73ac29
4
+ data.tar.gz: 3ceeb5be6369e8d4ee20d21f0a902b7acba15030e684dada175869badb2012aa
5
5
  SHA512:
6
- metadata.gz: 180c69dbb667e54147adf1f9dd346b103fff36a24f520e9c5d9ea3bc3b1b434e702c1acc61a8c320803e62cd3c8dfcd5bd7f6f8584db43fbe5a02e6d80bf59ba
7
- data.tar.gz: 15089ffe71d60892a583bdec88168c482713c4bf6ff61e8c861ae48e4839ebda50c42f0923ad3285fe4dcdafb9de91532e940d6d1c70159a78d65fda776b6703
6
+ metadata.gz: b6e64e6f6c4b3e85a81e82f4361dff8d5c2a7b45aac01320db74cdd5316893dc3d355af68cf2dcf79a1fb159a238b19e444b3cf80ac12f4a83ad2149c296422f
7
+ data.tar.gz: 9a825bbe8657f7b046b5d291d3eab15801d232a057c0c3c1212ad2c2c40e364da4e845e9e773a2311f86948080465b2262eeb4c127d0babcb09409f55e2077cf
@@ -28,6 +28,10 @@ module VagrantPlugins
28
28
 
29
29
  vms = []
30
30
 
31
+ if config.directory
32
+ # Grab these files only
33
+ end
34
+
31
35
  files = Dir.glob("*.{json,yaml,yml}").map {|f| JSON.parse(YAML.load_file(f).to_json, symbolize_names: true)}
32
36
 
33
37
  files.each do |file|
@@ -1,5 +1,5 @@
1
1
  module VagrantPlugins
2
2
  module VagrantJson
3
- VERSION = "0.1.0"
3
+ VERSION = "0.1.1"
4
4
  end
5
5
  end
@@ -1,5 +1,6 @@
1
1
  # -*- mode: ruby -*-
2
2
  # vi: set ft=ruby :
3
+ require "vagrant-json"
3
4
 
4
5
  # Vagrantfile API/syntax version. Don't touch unless you know what you're doing!
5
6
  VAGRANTFILE_API_VERSION = "2"
@@ -7,7 +8,7 @@ VAGRANTFILE_API_VERSION = "2"
7
8
  Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
8
9
 
9
10
  # Un-comment this and specify the directory in which to look for YAML VM config files.
10
- #config.yaml.conf_dirs = ".vagrant_config"
11
+ #config.json.directory = ".vagrant_config"
11
12
 
12
13
  # Load YAML VM configs.
13
14
  VagrantPlugins::VagrantJson::up!(config)
@@ -16,12 +16,12 @@ Gem::Specification.new do |spec|
16
16
 
17
17
  # Prevent pushing this gem to RubyGems.org. To allow pushes either set the 'allowed_push_host'
18
18
  # to allow pushing to a single host or delete this section to allow pushing to any host.
19
- if spec.respond_to?(:metadata)
20
- spec.metadata["allowed_push_host"] = "TODO: Set to 'http://mygemserver.com'"
21
- else
22
- raise "RubyGems 2.0 or newer is required to protect against " \
23
- "public gem pushes."
24
- end
19
+ # if spec.respond_to?(:metadata)
20
+ # spec.metadata["allowed_push_host"] = "TODO: Set to 'http://mygemserver.com'"
21
+ # else
22
+ # raise "RubyGems 2.0 or newer is required to protect against " \
23
+ # "public gem pushes."
24
+ # end
25
25
 
26
26
  spec.files = `git ls-files -z`.split("\x0").reject do |f|
27
27
  f.match(%r{^(test|spec|features)/})
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: vagrant-json-plugin
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - thamilton
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2018-05-03 00:00:00.000000000 Z
11
+ date: 2018-05-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -79,12 +79,11 @@ files:
79
79
  - templates/Vagrantfile.erb
80
80
  - templates/default.yml.erb
81
81
  - templates/local.yml.erb
82
- - vagrant-json.gemspec
82
+ - vagrant-json-plugin.gemspec
83
83
  homepage: https://github.com/thamilton2014
84
84
  licenses:
85
85
  - MIT
86
- metadata:
87
- allowed_push_host: 'TODO: Set to ''http://mygemserver.com'''
86
+ metadata: {}
88
87
  post_install_message:
89
88
  rdoc_options: []
90
89
  require_paths: