vagrant-serverspec 1.1.1 → 1.5.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/.github/workflows/gempush.yml +44 -0
- data/CHANGELOG.md +17 -0
- data/Gemfile +1 -1
- data/README.md +25 -10
- data/WINDOWS_README.md +16 -6
- data/lib/vagrant-serverspec/config.rb +54 -1
- data/lib/vagrant-serverspec/error.rb +12 -0
- data/lib/vagrant-serverspec/provisioner.rb +49 -6
- data/lib/vagrant-serverspec/version.rb +1 -1
- data/locales/en.yml +14 -0
- data/test/ubuntu/Vagrantfile +1 -0
- data/test/ubuntu/exclude_this_spec.rb +6 -0
- data/vagrant-serverspec.gemspec +12 -8
- metadata +98 -45
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: cf819c978e49dc770304f6e13a05114333290b9ffdb93d396cbf43586dabe825
|
4
|
+
data.tar.gz: d5b709e909e1c0390ee0ce6150b7c8c24b6749b3cd0d9d8b03feb5b6ab757d14
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0f29e2e30ccfd2260dcd637afc6a653e2aa567a2c154240228c95c74abb24bbde9ff5aec3daeb0bd5a636e6ada3d814381316d2fd0b31294d41aa3fdf4688c46
|
7
|
+
data.tar.gz: b6eae77de546da3570a0b3e30eb299ed2b78adf514adb5702b0aa0b35af721a7cbbc2c941ada26e807e51638a4a90ba6b7381c60be89b2d4c90d4a66a15b582b
|
@@ -0,0 +1,44 @@
|
|
1
|
+
name: Ruby Gem
|
2
|
+
|
3
|
+
on:
|
4
|
+
#pull_request:
|
5
|
+
# branches:
|
6
|
+
# - master
|
7
|
+
push:
|
8
|
+
branches:
|
9
|
+
- master
|
10
|
+
|
11
|
+
jobs:
|
12
|
+
build:
|
13
|
+
name: Build + Publish
|
14
|
+
runs-on: ubuntu-latest
|
15
|
+
|
16
|
+
steps:
|
17
|
+
- uses: actions/checkout@master
|
18
|
+
- name: Set up Ruby 2.7
|
19
|
+
uses: actions/setup-ruby@v1
|
20
|
+
with:
|
21
|
+
ruby-version: 2.7
|
22
|
+
|
23
|
+
# - name: Publish to GPR
|
24
|
+
# run: |
|
25
|
+
# mkdir -p $HOME/.gem
|
26
|
+
# touch $HOME/.gem/credentials
|
27
|
+
# chmod 0600 $HOME/.gem/credentials
|
28
|
+
# printf -- "---\n:github: Bearer ${GEM_HOST_API_KEY}\n" > $HOME/.gem/credentials
|
29
|
+
# gem build *.gemspec
|
30
|
+
# gem push --KEY github --host https://rubygems.pkg.github.com/${OWNER} *.gem
|
31
|
+
# env:
|
32
|
+
# GEM_HOST_API_KEY: ${{secrets.GPR_AUTH_TOKEN}}
|
33
|
+
# OWNER: username
|
34
|
+
|
35
|
+
- name: Publish to RubyGems
|
36
|
+
run: |
|
37
|
+
mkdir -p $HOME/.gem
|
38
|
+
touch $HOME/.gem/credentials
|
39
|
+
chmod 0600 $HOME/.gem/credentials
|
40
|
+
printf -- "---\n:rubygems_api_key: ${GEM_HOST_API_KEY}\n" > $HOME/.gem/credentials
|
41
|
+
gem build *.gemspec
|
42
|
+
gem push *.gem
|
43
|
+
env:
|
44
|
+
GEM_HOST_API_KEY: ${{secrets.RUBYGEMS_AUTH_TOKEN}}
|
data/CHANGELOG.md
ADDED
@@ -0,0 +1,17 @@
|
|
1
|
+
### v 1.5.1 Mar 02, 2020
|
2
|
+
* Security, update rake build dependency version to 12.3.3
|
3
|
+
|
4
|
+
### v 1.5.0 Nov 25, 2019
|
5
|
+
* Add a new junit formatter
|
6
|
+
|
7
|
+
### v 1.4.0 Nov 1, 2019 (not released)
|
8
|
+
* Fix vagrant-serverspec dependencies to work with Vagrant 2.2.6
|
9
|
+
|
10
|
+
### v 1.3.0 Sep 24, 2017
|
11
|
+
* Add new options 'error_no_spec_files' to avoid error when no rspec conf files was found
|
12
|
+
|
13
|
+
### v 1.2.0 Mar 27, 2017
|
14
|
+
* Provide compatibility with vagrant 1.9.2
|
15
|
+
* Updated .gemspec to the recommended winrm version 2.x
|
16
|
+
* Updated WinRM::Connection instead of WinRM::WebService
|
17
|
+
* Updated `WINDOWS_README.md`
|
data/Gemfile
CHANGED
data/README.md
CHANGED
@@ -1,4 +1,6 @@
|
|
1
|
-
|
1
|
+
### Vagrant-Serverspec
|
2
|
+
***
|
3
|
+
|
2
4
|
[![Gem Version](https://badge.fury.io/rb/vagrant-serverspec.svg)](http://badge.fury.io/rb/vagrant-serverspec)
|
3
5
|
|
4
6
|
> **vagrant-serverspec is a [vagrant][vagrant] plugin that implements
|
@@ -40,7 +42,18 @@ Vagrant.configure('2') do |config|
|
|
40
42
|
EOF
|
41
43
|
|
42
44
|
config.vm.provision :serverspec do |spec|
|
45
|
+
# pattern for specfiles to search
|
43
46
|
spec.pattern = '*_spec.rb'
|
47
|
+
# pattern for specfiles to ignore, similar to rspec's --exclude-pattern option
|
48
|
+
spec.exclude_pattern = 'but_not_*_spec.rb'
|
49
|
+
# disable error if no specfile was found ( useful with dynamic specfile retrieving through another provisionner like Ansible Galaxy => specfiles can be saved into ansible role repository for example ). Default: true
|
50
|
+
spec.error_no_spec_files = false
|
51
|
+
# save result into html an report, saved into a 'rspec_html_reports' directory. Default: false
|
52
|
+
spec.html_output = true
|
53
|
+
# save result into junit xml report, default file name is 'rspec.xml'
|
54
|
+
spec.junit_output = true
|
55
|
+
# set custom junit xml report file name
|
56
|
+
spec.junit_output_file = 'junit.xml'
|
44
57
|
end
|
45
58
|
end
|
46
59
|
```
|
@@ -78,7 +91,7 @@ end
|
|
78
91
|
```
|
79
92
|
|
80
93
|
##Testing Docker Containers on OSX
|
81
|
-
On OSX the Vagrant docker provider runs a Boot2Docker VM, then launches your docker container on that VM. Vagrant does SSH Proxying to send the commands through that VM and have them reach the Docker Container. Vagrant serverspec handles this the same way by getting the container host VM infromation and proxying the commands to the machine through an SSH Proxy. This functionality was introduced in this [PR](https://github.com/
|
94
|
+
On OSX the Vagrant docker provider runs a Boot2Docker VM, then launches your docker container on that VM. Vagrant does SSH Proxying to send the commands through that VM and have them reach the Docker Container. Vagrant serverspec handles this the same way by getting the container host VM infromation and proxying the commands to the machine through an SSH Proxy. This functionality was introduced in this [PR](https://github.com/vvchik/vagrant-serverspec/pull/17)
|
82
95
|
|
83
96
|
## Additional informations
|
84
97
|
|
@@ -88,14 +101,14 @@ SSH connection is closed before each provision run.
|
|
88
101
|
This is mandatory if the provision is applied to multiple vms in the same run,
|
89
102
|
else all runs will be applied to the first vm (See #22) due to an SSH
|
90
103
|
connection which already exists.
|
91
|
-
This functionality was introduced in this [PR](https://github.com/
|
104
|
+
This functionality was introduced in this [PR](https://github.com/vvchik/vagrant-serverspec/pull/23)
|
92
105
|
|
93
106
|
### Server spec examples
|
94
107
|
|
95
108
|
RSpec examples are clear before each provision run.
|
96
109
|
This is mandatory if the provision is applied to multiple vms in the same run,
|
97
110
|
else each run replay examples of previous calls also.
|
98
|
-
This functionality was introduced in this [PR](https://github.com/
|
111
|
+
This functionality was introduced in this [PR](https://github.com/vvchik/vagrant-serverspec/pull/23)
|
99
112
|
|
100
113
|
### In case of shared examples
|
101
114
|
|
@@ -123,8 +136,9 @@ example:
|
|
123
136
|
|
124
137
|
## Authors
|
125
138
|
|
126
|
-
|
127
|
-
|
139
|
+
Original Idea [Jeremy Voorhis][jvoorhis] (<jvoorhis@gmail.com>).
|
140
|
+
Current version author and maintainer [Vladimir Babchynskyy][vvchik] (<vvchik@gmail.com>)
|
141
|
+
and a growing community of [contributors][contributors].
|
128
142
|
|
129
143
|
## License
|
130
144
|
|
@@ -134,10 +148,11 @@ MIT license (see [LICENSE][license])
|
|
134
148
|
[serverspec]: http://serverspec.org
|
135
149
|
[semver]: http://semver.org/
|
136
150
|
|
137
|
-
[repo]: https://github.com/
|
138
|
-
[issues]: https://github.com/
|
151
|
+
[repo]: https://github.com/vvchik/vagrant-serverspec
|
152
|
+
[issues]: https://github.com/vvchik/vagrant-serverspec/issues
|
139
153
|
|
140
154
|
[jvoorhis]: https://github.com/jvoorhis
|
141
|
-
[
|
155
|
+
[vvchik]: https://github.com/vvchik
|
156
|
+
[contributors]: https://github.com/vvchik/vagrant-serverspec/graphs/contributors
|
142
157
|
|
143
|
-
[license]: https://github.com/
|
158
|
+
[license]: https://github.com/vvchik/vagrant-serverspec/blob/master/LICENSE
|
data/WINDOWS_README.md
CHANGED
@@ -1,4 +1,5 @@
|
|
1
|
-
|
1
|
+
### Vagrant-ServerSpec Windows Readme
|
2
|
+
***
|
2
3
|
|
3
4
|
vagrant-serverspec is a [vagrant](http://vagrantup.com) plugin that implements
|
4
5
|
[serverspec](http://serverspec.org) as a provisioner.
|
@@ -33,7 +34,13 @@ Vagrant.configure("2") do |config|
|
|
33
34
|
config.vm.network :forwarded_port, guest: 22, host: 2222, id: "ssh", auto_correct: true
|
34
35
|
|
35
36
|
config.vm.provision :serverspec do |spec|
|
37
|
+
# pattern for specfiles to search
|
36
38
|
spec.pattern = '*_spec.rb'
|
39
|
+
# disable error if no specfile was found ( usefull with dynamic specfile retrieving through another provisionner like Ansible Galaxy => specfiles can be saved into ansible role repository for example ). Default: true
|
40
|
+
spec.error_no_spec_files = false
|
41
|
+
# save result into html an report, saved into a 'rspec_html_reports' directory. Default: false
|
42
|
+
spec.html_output = true
|
43
|
+
|
37
44
|
end
|
38
45
|
|
39
46
|
end
|
@@ -49,11 +56,14 @@ For now possible examples is commented in this file.
|
|
49
56
|
#set :backend, :winrm
|
50
57
|
#set :os, :family => 'windows'
|
51
58
|
|
52
|
-
#
|
53
|
-
#
|
54
|
-
#
|
55
|
-
#
|
56
|
-
#
|
59
|
+
#opts = {
|
60
|
+
# endpoint: "http://#{ENV['TARGET_HOST']}:5985/wsman",
|
61
|
+
# user: 'vagrant',
|
62
|
+
# password: 'vagrant',
|
63
|
+
# transport: :ssl,
|
64
|
+
# operation_timeout: 300 # 5 minutes max timeout for any operation
|
65
|
+
# }
|
66
|
+
# winrm = ::WinRM::Connection.new(opts)
|
57
67
|
#Specinfra.configuration.winrm = winrm
|
58
68
|
```
|
59
69
|
|
@@ -2,18 +2,69 @@ module VagrantPlugins
|
|
2
2
|
module ServerSpec
|
3
3
|
class Config < Vagrant.plugin('2', :config)
|
4
4
|
attr_accessor :spec_files
|
5
|
+
attr_accessor :spec_pattern
|
6
|
+
attr_accessor :spec_excluded_files
|
7
|
+
attr_accessor :spec_exclude_pattern
|
8
|
+
attr_accessor :error_no_spec_files_found
|
9
|
+
attr_accessor :html_output_format
|
10
|
+
attr_accessor :junit_output_format
|
11
|
+
attr_accessor :junit_output_format_file_name
|
12
|
+
|
5
13
|
|
6
14
|
def initialize
|
7
15
|
super
|
8
16
|
@spec_files = UNSET_VALUE
|
17
|
+
@spec_excluded_files = UNSET_VALUE
|
18
|
+
@spec_exclude_pattern = UNSET_VALUE
|
19
|
+
@html_output_format = UNSET_VALUE
|
20
|
+
@error_no_spec_files_found = UNSET_VALUE
|
21
|
+
@junit_output_format = UNSET_VALUE
|
22
|
+
@junit_output_format_file_name = UNSET_VALUE
|
9
23
|
end
|
10
24
|
|
11
25
|
def pattern=(pat)
|
12
26
|
@spec_files = Dir.glob(pat)
|
27
|
+
@spec_pattern = pat
|
28
|
+
end
|
29
|
+
|
30
|
+
def exclude_pattern=(pat)
|
31
|
+
@spec_excluded_files = Dir.glob(pat)
|
32
|
+
@spec_exclude_pattern = pat
|
33
|
+
end
|
34
|
+
|
35
|
+
def error_no_spec_files=(warn_spec)
|
36
|
+
if [true, false].include? warn_spec
|
37
|
+
@error_no_spec_files_found = warn_spec
|
38
|
+
end
|
39
|
+
end
|
40
|
+
|
41
|
+
def html_output=(html_out)
|
42
|
+
if [true, false].include? html_out
|
43
|
+
@html_output_format = html_out
|
44
|
+
end
|
45
|
+
end
|
46
|
+
|
47
|
+
def junit_output=(junit_out)
|
48
|
+
if [true, false].include? junit_out
|
49
|
+
@junit_output_format = junit_out
|
50
|
+
end
|
51
|
+
end
|
52
|
+
|
53
|
+
def junit_output_file=(junit_out_file)
|
54
|
+
if junit_out_file.end_with?(".xml")
|
55
|
+
@junit_output_format_file_name = junit_out_file
|
56
|
+
end
|
13
57
|
end
|
14
58
|
|
15
59
|
def finalize!
|
16
60
|
@spec_files = [] if @spec_files == UNSET_VALUE
|
61
|
+
@spec_exclude_pattern = '' if @spec_exclude_pattern == UNSET_VALUE
|
62
|
+
@spec_excluded_files = [] if @spec_excluded_files == UNSET_VALUE
|
63
|
+
@spec_files = @spec_files - @spec_excluded_files
|
64
|
+
@html_output_format = false if @html_output_format == UNSET_VALUE
|
65
|
+
@error_no_spec_files_found = true if @error_no_spec_files_found == UNSET_VALUE
|
66
|
+
@junit_output_format = false if @junit_output_format == UNSET_VALUE
|
67
|
+
@junit_output_format_file_name = false if @junit_output_format_file_name == UNSET_VALUE
|
17
68
|
end
|
18
69
|
|
19
70
|
def validate(machine)
|
@@ -28,7 +79,9 @@ module VagrantPlugins
|
|
28
79
|
errors << I18n.t('vagrant.config.serverspec.missing_spec_files', files: missing_files.join(', '))
|
29
80
|
end
|
30
81
|
|
31
|
-
|
82
|
+
if @error_no_spec_files_found
|
83
|
+
{ 'serverspec provisioner' => errors }
|
84
|
+
end
|
32
85
|
end
|
33
86
|
end
|
34
87
|
end
|
@@ -3,5 +3,17 @@ module Vagrant
|
|
3
3
|
class ServerSpecFailed < VagrantError
|
4
4
|
error_key(:serverspec_failed)
|
5
5
|
end
|
6
|
+
class ServerSpecFailedHtml < VagrantError
|
7
|
+
error_key(:serverspec_failed_html)
|
8
|
+
end
|
9
|
+
class ServerSpecFailedHtmlJunit < VagrantError
|
10
|
+
error_key(:serverspec_failed_html_junit)
|
11
|
+
end
|
12
|
+
class ServerSpecFailedJunit < VagrantError
|
13
|
+
error_key(:serverspec_failed_junit)
|
14
|
+
end
|
15
|
+
class ServerSpecFilesNotFound < VagrantError
|
16
|
+
error_key(:serverspec_filesnotfound)
|
17
|
+
end
|
6
18
|
end
|
7
19
|
end
|
@@ -7,6 +7,10 @@ module VagrantPlugins
|
|
7
7
|
def initialize(machine, config)
|
8
8
|
super
|
9
9
|
@spec_files = config.spec_files
|
10
|
+
@spec_pattern = config.spec_pattern
|
11
|
+
@spec_excluded_files = config.spec_excluded_files
|
12
|
+
@spec_exclude_pattern = config.spec_exclude_pattern
|
13
|
+
@error_no_spec_files_found = config.error_no_spec_files_found
|
10
14
|
end
|
11
15
|
|
12
16
|
def provision
|
@@ -15,12 +19,15 @@ module VagrantPlugins
|
|
15
19
|
winrm_info = VagrantPlugins::CommunicatorWinRM::Helper.winrm_info(@machine)
|
16
20
|
set :backend, :winrm
|
17
21
|
set :os, :family => 'windows'
|
18
|
-
user = machine.config.winrm.username
|
19
|
-
pass = machine.config.winrm.password
|
20
|
-
endpoint = "http://#{winrm_info[:host]}:#{winrm_info[:port]}/wsman"
|
21
22
|
|
22
|
-
|
23
|
-
|
23
|
+
opts = {
|
24
|
+
endpoint: "http://#{winrm_info[:host]}:#{winrm_info[:port]}/wsman",
|
25
|
+
user: machine.config.winrm.username,
|
26
|
+
password: machine.config.winrm.password,
|
27
|
+
transport: :ssl,
|
28
|
+
operation_timeout: machine.config.winrm.timeout
|
29
|
+
}
|
30
|
+
winrm = ::WinRM::Connection.new(opts)
|
24
31
|
Specinfra.configuration.winrm = winrm
|
25
32
|
else
|
26
33
|
set :backend, :ssh
|
@@ -63,9 +70,45 @@ module VagrantPlugins
|
|
63
70
|
# same process
|
64
71
|
RSpec.clear_examples
|
65
72
|
|
73
|
+
@spec_files = Dir.glob(@spec_pattern)
|
74
|
+
@spec_excluded_files = Dir.glob(@spec_exclude_pattern)
|
75
|
+
@spec_files = @spec_files - @spec_excluded_files
|
76
|
+
raise Vagrant::Errors::ServerSpecFilesNotFound if @spec_files.length == 0 and @error_no_spec_files_found
|
77
|
+
|
78
|
+
RSpec.configure do |rconfig|
|
79
|
+
require 'json'
|
80
|
+
require 'rspec'
|
81
|
+
|
82
|
+
if config.html_output_format
|
83
|
+
require 'rspec_html_formatter'
|
84
|
+
|
85
|
+
rconfig.add_formatter "RspecHtmlFormatter"
|
86
|
+
end
|
87
|
+
|
88
|
+
if config.junit_output_format
|
89
|
+
require 'rspec_junit_formatter'
|
90
|
+
|
91
|
+
if config.junit_output_format_file_name
|
92
|
+
file_name = config.junit_output_format_file_name
|
93
|
+
else
|
94
|
+
file_name = 'rspec.xml'
|
95
|
+
end
|
96
|
+
|
97
|
+
rconfig.add_formatter "RSpecJUnitFormatter", file_name
|
98
|
+
end
|
99
|
+
end
|
100
|
+
|
66
101
|
status = RSpec::Core::Runner.run(@spec_files)
|
102
|
+
if config.html_output_format && config.junit_output_format
|
103
|
+
raise Vagrant::Errors::ServerSpecFailedHtmlJunit if status != 0
|
104
|
+
elsif config.html_output_format
|
105
|
+
raise Vagrant::Errors::ServerSpecFailedHtml if status != 0
|
106
|
+
elsif config.junit_output_format
|
107
|
+
raise Vagrant::Errors::ServerSpecFailedJunit if status != 0
|
108
|
+
else
|
109
|
+
raise Vagrant::Errors::ServerSpecFailed if status != 0
|
110
|
+
end
|
67
111
|
|
68
|
-
raise Vagrant::Errors::ServerSpecFailed if status != 0
|
69
112
|
end
|
70
113
|
|
71
114
|
private
|
data/locales/en.yml
CHANGED
@@ -11,3 +11,17 @@ en:
|
|
11
11
|
serverspec_failed: |-
|
12
12
|
ServerSpec failed to complete successfully. Any error output should be
|
13
13
|
visible above. Please fix these errors and try again.
|
14
|
+
serverspec_failed_html: |-
|
15
|
+
ServerSpec failed to complete successfully. Any error output should be
|
16
|
+
visible above. Please fix these errors and try again. Please look into 'rspec_html_reports'
|
17
|
+
directory to see errors into 'overview.html' file
|
18
|
+
serverspec_failed_html_junit: |-
|
19
|
+
ServerSpec failed to complete successfully. Any error output should be
|
20
|
+
visible above. Please fix these errors and try again. Please look into 'rspec_html_reports'
|
21
|
+
directory into 'overview.html' file or 'rspec.xml' file to see errors
|
22
|
+
serverspec_failed_junit: |-
|
23
|
+
ServerSpec failed to complete successfully. Any error output should be
|
24
|
+
visible above. Please fix these errors and try again. Please look into
|
25
|
+
'rspec.xml' file to see errors
|
26
|
+
serverspec_filesnotfound: |-
|
27
|
+
ServerSpec failed to find any spec files.
|
data/test/ubuntu/Vagrantfile
CHANGED
data/vagrant-serverspec.gemspec
CHANGED
@@ -4,10 +4,10 @@ require 'vagrant-serverspec/version'
|
|
4
4
|
|
5
5
|
Gem::Specification.new do |gem|
|
6
6
|
gem.name = 'vagrant-serverspec'
|
7
|
-
gem.homepage = 'https://github.com/
|
7
|
+
gem.homepage = 'https://github.com/vvchik/vagrant-serverspec'
|
8
8
|
gem.version = VagrantPlugins::ServerSpec::VERSION
|
9
|
-
gem.authors = ['Jeremy Voorhis']
|
10
|
-
gem.email = ['
|
9
|
+
gem.authors = ['Jeremy Voorhis', 'Vladimir Babchynskyy', 'community contributors: https://github.com/vvchik/vagrant-serverspec/graphs/contributors']
|
10
|
+
gem.email = ['vvchik@gmail.com']
|
11
11
|
gem.summary = %q{A Vagrant plugin that executes serverspec}
|
12
12
|
gem.description = "vagrant-serverspec is a Vagrant plugin that integrates serverspec into your workflow."
|
13
13
|
gem.license = 'MIT'
|
@@ -16,11 +16,15 @@ Gem::Specification.new do |gem|
|
|
16
16
|
gem.test_files = gem.files.grep(%r{^(test|spec|features)/})
|
17
17
|
gem.require_paths = ['lib']
|
18
18
|
|
19
|
-
gem.add_runtime_dependency 'serverspec', '~> 2.
|
20
|
-
|
19
|
+
gem.add_runtime_dependency 'serverspec', '~> 2.30', '>= 2.30'
|
20
|
+
|
21
|
+
#add only dependencies for winrm without nokogiri
|
22
|
+
gem.add_runtime_dependency 'winrm', '~> 2.1', '>= 2.1'
|
21
23
|
gem.add_runtime_dependency 'os', '~> 0.9.6'
|
22
|
-
|
24
|
+
gem.add_runtime_dependency 'rspec_html_formatter', '~> 0.3', '>= 0.3.1'
|
25
|
+
gem.add_runtime_dependency 'rspec_junit_formatter', '~> 0.4'
|
26
|
+
gem.add_runtime_dependency 'activesupport', '~> 5.2.3', '>= 5.2'
|
23
27
|
|
24
|
-
gem.add_development_dependency 'bundler', '~> 1.
|
25
|
-
gem.add_development_dependency
|
28
|
+
gem.add_development_dependency 'bundler', '~> 1.17.3', '>= 1.17'
|
29
|
+
gem.add_development_dependency "rake", ">= 12.3.3"
|
26
30
|
end
|
metadata
CHANGED
@@ -1,118 +1,170 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: vagrant-serverspec
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.5.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Jeremy Voorhis
|
8
|
+
- Vladimir Babchynskyy
|
9
|
+
- 'community contributors: https://github.com/vvchik/vagrant-serverspec/graphs/contributors'
|
8
10
|
autorequire:
|
9
11
|
bindir: bin
|
10
12
|
cert_chain: []
|
11
|
-
date:
|
13
|
+
date: 2020-10-02 00:00:00.000000000 Z
|
12
14
|
dependencies:
|
13
15
|
- !ruby/object:Gem::Dependency
|
14
16
|
name: serverspec
|
15
17
|
requirement: !ruby/object:Gem::Requirement
|
16
18
|
requirements:
|
17
|
-
- - ~>
|
19
|
+
- - "~>"
|
18
20
|
- !ruby/object:Gem::Version
|
19
|
-
version: '2.
|
20
|
-
- -
|
21
|
+
version: '2.30'
|
22
|
+
- - ">="
|
21
23
|
- !ruby/object:Gem::Version
|
22
|
-
version: 2.
|
24
|
+
version: '2.30'
|
23
25
|
type: :runtime
|
24
26
|
prerelease: false
|
25
27
|
version_requirements: !ruby/object:Gem::Requirement
|
26
28
|
requirements:
|
27
|
-
- - ~>
|
29
|
+
- - "~>"
|
28
30
|
- !ruby/object:Gem::Version
|
29
|
-
version: '2.
|
30
|
-
- -
|
31
|
+
version: '2.30'
|
32
|
+
- - ">="
|
31
33
|
- !ruby/object:Gem::Version
|
32
|
-
version: 2.
|
34
|
+
version: '2.30'
|
33
35
|
- !ruby/object:Gem::Dependency
|
34
36
|
name: winrm
|
35
37
|
requirement: !ruby/object:Gem::Requirement
|
36
38
|
requirements:
|
37
|
-
- - ~>
|
39
|
+
- - "~>"
|
38
40
|
- !ruby/object:Gem::Version
|
39
|
-
version: '
|
40
|
-
- -
|
41
|
+
version: '2.1'
|
42
|
+
- - ">="
|
41
43
|
- !ruby/object:Gem::Version
|
42
|
-
version:
|
44
|
+
version: '2.1'
|
43
45
|
type: :runtime
|
44
46
|
prerelease: false
|
45
47
|
version_requirements: !ruby/object:Gem::Requirement
|
46
48
|
requirements:
|
47
|
-
- - ~>
|
49
|
+
- - "~>"
|
48
50
|
- !ruby/object:Gem::Version
|
49
|
-
version: '
|
50
|
-
- -
|
51
|
+
version: '2.1'
|
52
|
+
- - ">="
|
51
53
|
- !ruby/object:Gem::Version
|
52
|
-
version:
|
54
|
+
version: '2.1'
|
53
55
|
- !ruby/object:Gem::Dependency
|
54
56
|
name: os
|
55
57
|
requirement: !ruby/object:Gem::Requirement
|
56
58
|
requirements:
|
57
|
-
- - ~>
|
59
|
+
- - "~>"
|
58
60
|
- !ruby/object:Gem::Version
|
59
61
|
version: 0.9.6
|
60
62
|
type: :runtime
|
61
63
|
prerelease: false
|
62
64
|
version_requirements: !ruby/object:Gem::Requirement
|
63
65
|
requirements:
|
64
|
-
- - ~>
|
66
|
+
- - "~>"
|
65
67
|
- !ruby/object:Gem::Version
|
66
68
|
version: 0.9.6
|
69
|
+
- !ruby/object:Gem::Dependency
|
70
|
+
name: rspec_html_formatter
|
71
|
+
requirement: !ruby/object:Gem::Requirement
|
72
|
+
requirements:
|
73
|
+
- - "~>"
|
74
|
+
- !ruby/object:Gem::Version
|
75
|
+
version: '0.3'
|
76
|
+
- - ">="
|
77
|
+
- !ruby/object:Gem::Version
|
78
|
+
version: 0.3.1
|
79
|
+
type: :runtime
|
80
|
+
prerelease: false
|
81
|
+
version_requirements: !ruby/object:Gem::Requirement
|
82
|
+
requirements:
|
83
|
+
- - "~>"
|
84
|
+
- !ruby/object:Gem::Version
|
85
|
+
version: '0.3'
|
86
|
+
- - ">="
|
87
|
+
- !ruby/object:Gem::Version
|
88
|
+
version: 0.3.1
|
89
|
+
- !ruby/object:Gem::Dependency
|
90
|
+
name: rspec_junit_formatter
|
91
|
+
requirement: !ruby/object:Gem::Requirement
|
92
|
+
requirements:
|
93
|
+
- - "~>"
|
94
|
+
- !ruby/object:Gem::Version
|
95
|
+
version: '0.4'
|
96
|
+
type: :runtime
|
97
|
+
prerelease: false
|
98
|
+
version_requirements: !ruby/object:Gem::Requirement
|
99
|
+
requirements:
|
100
|
+
- - "~>"
|
101
|
+
- !ruby/object:Gem::Version
|
102
|
+
version: '0.4'
|
103
|
+
- !ruby/object:Gem::Dependency
|
104
|
+
name: activesupport
|
105
|
+
requirement: !ruby/object:Gem::Requirement
|
106
|
+
requirements:
|
107
|
+
- - "~>"
|
108
|
+
- !ruby/object:Gem::Version
|
109
|
+
version: 5.2.3
|
110
|
+
- - ">="
|
111
|
+
- !ruby/object:Gem::Version
|
112
|
+
version: '5.2'
|
113
|
+
type: :runtime
|
114
|
+
prerelease: false
|
115
|
+
version_requirements: !ruby/object:Gem::Requirement
|
116
|
+
requirements:
|
117
|
+
- - "~>"
|
118
|
+
- !ruby/object:Gem::Version
|
119
|
+
version: 5.2.3
|
120
|
+
- - ">="
|
121
|
+
- !ruby/object:Gem::Version
|
122
|
+
version: '5.2'
|
67
123
|
- !ruby/object:Gem::Dependency
|
68
124
|
name: bundler
|
69
125
|
requirement: !ruby/object:Gem::Requirement
|
70
126
|
requirements:
|
71
|
-
- - ~>
|
127
|
+
- - "~>"
|
72
128
|
- !ruby/object:Gem::Version
|
73
|
-
version:
|
74
|
-
- -
|
129
|
+
version: 1.17.3
|
130
|
+
- - ">="
|
75
131
|
- !ruby/object:Gem::Version
|
76
|
-
version: 1.
|
132
|
+
version: '1.17'
|
77
133
|
type: :development
|
78
134
|
prerelease: false
|
79
135
|
version_requirements: !ruby/object:Gem::Requirement
|
80
136
|
requirements:
|
81
|
-
- - ~>
|
137
|
+
- - "~>"
|
82
138
|
- !ruby/object:Gem::Version
|
83
|
-
version:
|
84
|
-
- -
|
139
|
+
version: 1.17.3
|
140
|
+
- - ">="
|
85
141
|
- !ruby/object:Gem::Version
|
86
|
-
version: 1.
|
142
|
+
version: '1.17'
|
87
143
|
- !ruby/object:Gem::Dependency
|
88
144
|
name: rake
|
89
145
|
requirement: !ruby/object:Gem::Requirement
|
90
146
|
requirements:
|
91
|
-
- -
|
147
|
+
- - ">="
|
92
148
|
- !ruby/object:Gem::Version
|
93
|
-
version:
|
94
|
-
- - '>='
|
95
|
-
- !ruby/object:Gem::Version
|
96
|
-
version: 10.3.2
|
149
|
+
version: 12.3.3
|
97
150
|
type: :development
|
98
151
|
prerelease: false
|
99
152
|
version_requirements: !ruby/object:Gem::Requirement
|
100
153
|
requirements:
|
101
|
-
- -
|
102
|
-
- !ruby/object:Gem::Version
|
103
|
-
version: '10.3'
|
104
|
-
- - '>='
|
154
|
+
- - ">="
|
105
155
|
- !ruby/object:Gem::Version
|
106
|
-
version:
|
156
|
+
version: 12.3.3
|
107
157
|
description: vagrant-serverspec is a Vagrant plugin that integrates serverspec into
|
108
158
|
your workflow.
|
109
159
|
email:
|
110
|
-
-
|
160
|
+
- vvchik@gmail.com
|
111
161
|
executables: []
|
112
162
|
extensions: []
|
113
163
|
extra_rdoc_files: []
|
114
164
|
files:
|
115
|
-
- .
|
165
|
+
- ".github/workflows/gempush.yml"
|
166
|
+
- ".gitignore"
|
167
|
+
- CHANGELOG.md
|
116
168
|
- Gemfile
|
117
169
|
- LICENSE
|
118
170
|
- README.md
|
@@ -132,6 +184,7 @@ files:
|
|
132
184
|
- test/Docker/spec_helper.rb
|
133
185
|
- test/ubuntu/.rspec
|
134
186
|
- test/ubuntu/Vagrantfile
|
187
|
+
- test/ubuntu/exclude_this_spec.rb
|
135
188
|
- test/ubuntu/sample_spec.rb
|
136
189
|
- test/ubuntu/spec_helper.rb
|
137
190
|
- test/windows/.rspec
|
@@ -139,7 +192,7 @@ files:
|
|
139
192
|
- test/windows/spec_helper.rb
|
140
193
|
- test/windows/vagrantfile
|
141
194
|
- vagrant-serverspec.gemspec
|
142
|
-
homepage: https://github.com/
|
195
|
+
homepage: https://github.com/vvchik/vagrant-serverspec
|
143
196
|
licenses:
|
144
197
|
- MIT
|
145
198
|
metadata: {}
|
@@ -149,17 +202,16 @@ require_paths:
|
|
149
202
|
- lib
|
150
203
|
required_ruby_version: !ruby/object:Gem::Requirement
|
151
204
|
requirements:
|
152
|
-
- -
|
205
|
+
- - ">="
|
153
206
|
- !ruby/object:Gem::Version
|
154
207
|
version: '0'
|
155
208
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
156
209
|
requirements:
|
157
|
-
- -
|
210
|
+
- - ">="
|
158
211
|
- !ruby/object:Gem::Version
|
159
212
|
version: '0'
|
160
213
|
requirements: []
|
161
|
-
|
162
|
-
rubygems_version: 2.0.14
|
214
|
+
rubygems_version: 3.1.2
|
163
215
|
signing_key:
|
164
216
|
specification_version: 4
|
165
217
|
summary: A Vagrant plugin that executes serverspec
|
@@ -171,6 +223,7 @@ test_files:
|
|
171
223
|
- test/Docker/spec_helper.rb
|
172
224
|
- test/ubuntu/.rspec
|
173
225
|
- test/ubuntu/Vagrantfile
|
226
|
+
- test/ubuntu/exclude_this_spec.rb
|
174
227
|
- test/ubuntu/sample_spec.rb
|
175
228
|
- test/ubuntu/spec_helper.rb
|
176
229
|
- test/windows/.rspec
|