vagrant-json 1.0.0 → 1.0.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
  SHA1:
3
- metadata.gz: a0701aaf50a7ccb99cb5a80d79e21088c54b909c
4
- data.tar.gz: 5975b5e67bec1e43f94ee152fc23177334693bbe
3
+ metadata.gz: b8ba772afbe7faeca466fcadd7cd71e5d0c48f07
4
+ data.tar.gz: 78fda6c7ce2d8a0ad79b49c2dca06f910f0880a3
5
5
  SHA512:
6
- metadata.gz: 96f1445989c4666aa3461d509a80fb803109540834a372b4789c7eb6a18b57a719767ea7495e74e3cc586792e9efe5db4169a83ef17497f08ab638a7b3c6d957
7
- data.tar.gz: 83d1f73b3217c8f41b109c1ba9449f38d0c6b7e052ab80dd46dc9878f12ee30150677ed7b3fbb92a287fbba6ade2f79f2fad31a7b32632d8c241b4015be79767
6
+ metadata.gz: 615e7d0d633e96988a8c7be9cd61b30a021a7d66b443cb5ecc79c2b037b56c660eb220d288af05ee151dc35c7490f0bcee28bcc151fd493022af5399d246420f
7
+ data.tar.gz: e727f56fc2373b87d0c848927ab8274b6473f776185e5237bed90958fabe690b72aebc2f48ac2dc2d05185c3b4c6a26a24a287dbfeff7c6c7232b3024b3b532b
data/Rakefile CHANGED
@@ -1,4 +1,7 @@
1
1
  require 'rubygems'
2
2
  require 'bundler/setup'
3
3
 
4
+ $stdout.sync = true
5
+ $stderr.sync = true
6
+
4
7
  Bundler::GemHelper.install_tasks
@@ -0,0 +1,13 @@
1
+ require 'pathname'
2
+
3
+ require 'vagrant-json/version'
4
+ require 'bundler'
5
+
6
+ begin
7
+ require 'vagrant'
8
+ rescue LoadError
9
+ Bundler.require(:default, :development)
10
+ end
11
+
12
+ require 'vagrant-json/plugin'
13
+ require 'vagrant-json/command'
@@ -1,7 +1,11 @@
1
+ if Vagrant::VERSION < '1.9.0'
2
+ raise 'The Vagrant JSON Status plugin is only compatible with Vagrant 1.9+'
3
+ end
4
+
1
5
  module Vagrant
2
6
  module Json
3
7
  class Plugin < Vagrant.plugin('2')
4
- name 'JSON Status'
8
+ name 'JSONStatus'
5
9
 
6
10
  command 'json-status' do
7
11
  require_relative 'command'
@@ -1,5 +1,5 @@
1
1
  module Vagrant
2
2
  module Json
3
- VERSION = '1.0.0'
3
+ VERSION = '1.0.1'
4
4
  end
5
5
  end
@@ -1,18 +1,21 @@
1
1
  # coding: utf-8
2
2
  lib = File.expand_path('../lib', __FILE__)
3
3
  $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
4
- require 'vagrant/json/version'
4
+ require 'vagrant-json/version'
5
5
 
6
6
  Gem::Specification.new do |spec|
7
7
  spec.name = 'vagrant-json'
8
8
  spec.version = Vagrant::Json::VERSION
9
+ spec.platform = Gem::Platform::RUBY
9
10
  spec.authors = ['Nate Strandberg']
10
11
  spec.email = ['nate@juliabalfour.com']
11
-
12
+ spec.license = 'MIT'
12
13
  spec.summary = 'Vagrant JSON Status'
13
14
  spec.description = 'Extremely simple Vagrant plugin that will output `global-status` in JSON instead of the current CSV format.'
14
15
  spec.homepage = 'https://github.com/nater540/vagrant-json'
15
16
 
17
+ spec.required_rubygems_version = '>= 1.3.6'
18
+ spec.rubyforge_project = 'vagrant-json'
16
19
 
17
20
  spec.files = `git ls-files -z`.split("\x0").reject do |f|
18
21
  f.match(%r{^(test|spec|features)/})
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: vagrant-json
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0
4
+ version: 1.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Nate Strandberg
@@ -52,13 +52,14 @@ files:
52
52
  - Rakefile
53
53
  - bin/console
54
54
  - bin/setup
55
- - lib/vagrant/json.rb
56
- - lib/vagrant/json/command.rb
57
- - lib/vagrant/json/plugin.rb
58
- - lib/vagrant/json/version.rb
55
+ - lib/vagrant-json.rb
56
+ - lib/vagrant-json/command.rb
57
+ - lib/vagrant-json/plugin.rb
58
+ - lib/vagrant-json/version.rb
59
59
  - vagrant-json.gemspec
60
60
  homepage: https://github.com/nater540/vagrant-json
61
- licenses: []
61
+ licenses:
62
+ - MIT
62
63
  metadata: {}
63
64
  post_install_message:
64
65
  rdoc_options: []
@@ -73,9 +74,9 @@ required_rubygems_version: !ruby/object:Gem::Requirement
73
74
  requirements:
74
75
  - - ">="
75
76
  - !ruby/object:Gem::Version
76
- version: '0'
77
+ version: 1.3.6
77
78
  requirements: []
78
- rubyforge_project:
79
+ rubyforge_project: vagrant-json
79
80
  rubygems_version: 2.6.8
80
81
  signing_key:
81
82
  specification_version: 4
@@ -1,11 +0,0 @@
1
- require 'vagrant/json/version'
2
- require 'bundler'
3
-
4
- begin
5
- require 'vagrant'
6
- rescue LoadError
7
- Bundler.require(:default, :development)
8
- end
9
-
10
- require 'vagrant/json/plugin'
11
- require 'vagrant/json/command'