serverspec 2.41.3 → 2.41.4

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: cb26e2d4cc304c82ee8478df2e7df998b62157b6
4
- data.tar.gz: 4b27d9fca13ac961f28c7e2e88cb7335b0addb62
3
+ metadata.gz: 832f1fb6c094ab917218f11916a022cac4a4198a
4
+ data.tar.gz: c8b9490f80d1f0c24ae7764746a1978c86f3e769
5
5
  SHA512:
6
- metadata.gz: f57de9c2728bcd8c52b39ad01eaf4946bea022a8695ea31a9e0074da7c36df7a33519bdbde23546f9b225e37db0b6a8f9f4430415d84525e1e6a9f0ed4b6bc23
7
- data.tar.gz: 9bf5be62880f63c99d149f32f9654300d24749419ae68fd7fc11572e4d004a59edd09f32797fa8fddcda3481ecf3d0557880c3a5a6890054c9c876f462459407
6
+ metadata.gz: 0f5abdc27ff90834f94b9c56b70f0247cab4dd92d90ecf34eeed003d4744a51e51afa9053e859168ea0c342552d2a341d6f8574eafea06cabe63c01dbf40ec16
7
+ data.tar.gz: db8e36fe4d29d21e11eaa54088ccf3bb96b4f486e8b7485bac104558e6ccdfc1c507c1afe260785594862f6d7c2cd485649b71a844a11dba471cc084156ff801
@@ -0,0 +1,18 @@
1
+ # Number of days of inactivity before an issue becomes stale
2
+ daysUntilStale: 60
3
+ # Number of days of inactivity before a stale issue is closed
4
+ daysUntilClose: 7
5
+ # Issues with these labels will never be considered stale
6
+ exemptLabels:
7
+ - pinned
8
+ - security
9
+ # Label to use when marking an issue as stale
10
+ staleLabel: wontfix
11
+ # Comment to post when marking an issue as stale. Set to `false` to disable
12
+ markComment: >
13
+ This issue has been automatically marked as stale because it has not had
14
+ recent activity. It will be closed if no further activity occurs. Thank you
15
+ for your contributions.
16
+ # Comment to post when closing a stale issue. Set to `false` to disable
17
+ closeComment: false
18
+
@@ -6,10 +6,14 @@ rvm:
6
6
  - 2.0.0
7
7
  - 2.1.1
8
8
  - 2.2.4
9
- - 2.3.0
9
+ - 2.3.6
10
+ - 2.4.3
11
+ - 2.5.0
10
12
 
11
13
  before_install:
12
- - gem update bundler
14
+ - travis_retry gem update --system 2.7.8
15
+ - travis_retry gem install bundler -v 1.17.3
16
+ - travis_retry gem uninstall -i /home/travis/.rvm/gems/ruby-2.3.7@global bundler || echo
13
17
 
14
18
  script:
15
19
  - bundle exec rake spec
@@ -26,8 +26,21 @@ user = <username>
26
26
  pass = <password>
27
27
  endpoint = "http://#{ENV['TARGET_HOST']}:5985/wsman"
28
28
 
29
- winrm = ::WinRM::WinRMWebService.new(endpoint, :ssl, :user => user, :pass => pass, :basic_auth_only => true)
30
- winrm.set_timeout 300 # 5 minutes max timeout for any operation
29
+ if Gem::Version.new(WinRM::VERSION) < Gem::Version.new('2')
30
+ winrm = ::WinRM::WinRMWebService.new(endpoint, :ssl, :user => user, :pass => pass, :basic_auth_only => true)
31
+ winrm.set_timeout 300 # 5 minutes max timeout for any operation
32
+ else
33
+ opts = {
34
+ user: user,
35
+ password: pass,
36
+ endpoint: endpoint,
37
+ operation_timeout: 300,
38
+ no_ssl_peer_verification: false,
39
+ }
40
+
41
+ winrm = ::WinRM::Connection.new(opts)
42
+ end
43
+
31
44
  Specinfra.configuration.winrm = winrm
32
45
  ```
33
46
 
@@ -14,6 +14,9 @@ environment:
14
14
  - ruby_version: "21"
15
15
  - ruby_version: "22"
16
16
  - ruby_version: "23"
17
+ - ruby_version: "24"
18
+ - ruby_version: "25"
19
+ - ruby_version: "26"
17
20
 
18
21
  matrix:
19
22
  allow_failures:
@@ -32,6 +35,12 @@ cache:
32
35
  - C:\Ruby22\bin -> appveyor.yml
33
36
  - C:\Ruby23\lib\ruby\gems\2.2.0 -> appveyor.yml
34
37
  - C:\Ruby23\bin -> appveyor.yml
38
+ - C:\Ruby24\lib\ruby\gems\2.4.0 -> appveyor.yml
39
+ - C:\Ruby24\bin -> appveyor.yml
40
+ - C:\Ruby25\lib\ruby\gems\2.5.0 -> appveyor.yml
41
+ - C:\Ruby25\bin -> appveyor.yml
42
+ - C:\Ruby26\lib\ruby\gems\2.6.0 -> appveyor.yml
43
+ - C:\Ruby26\bin
35
44
 
36
45
  install:
37
46
  - git submodule update --init --recursive
@@ -46,7 +55,7 @@ install:
46
55
  - ruby --version
47
56
  - gem --version
48
57
  - appveyor DownloadFile -Url %bundler_url% -FileName bundler.gem
49
- - gem install --local bundler.gem --no-ri --no-rdoc ## appveyor often stops `gem install bundler`..?
58
+ - gem install --local bundler.gem --no-document --force ## appveyor often stops `gem install bundler`..?
50
59
  - ps: $PSVersionTable
51
60
 
52
61
  build_script:
@@ -308,8 +308,21 @@ user = <username>
308
308
  pass = <password>
309
309
  endpoint = "http://#{ENV['TARGET_HOST']}:5985/wsman"
310
310
 
311
- winrm = ::WinRM::WinRMWebService.new(endpoint, :ssl, :user => user, :pass => pass, :basic_auth_only => true)
312
- winrm.set_timeout 300 # 5 minutes max timeout for any operation
311
+ if Gem::Version.new(WinRM::VERSION) < Gem::Version.new('2')
312
+ winrm = ::WinRM::WinRMWebService.new(endpoint, :ssl, :user => user, :pass => pass, :basic_auth_only => true)
313
+ winrm.set_timeout 300 # 5 minutes max timeout for any operation
314
+ else
315
+ opts = {
316
+ user: user,
317
+ password: pass,
318
+ endpoint: endpoint,
319
+ operation_timeout: 300,
320
+ no_ssl_peer_verification: false,
321
+ }
322
+
323
+ winrm = ::WinRM::Connection.new(opts)
324
+ end
325
+
313
326
  Specinfra.configuration.winrm = winrm
314
327
  <% end -%>
315
328
  EOF
@@ -1,3 +1,3 @@
1
1
  module Serverspec
2
- VERSION = "2.41.3"
2
+ VERSION = "2.41.4"
3
3
  end
@@ -22,7 +22,6 @@ Gem::Specification.new do |spec|
22
22
  spec.add_runtime_dependency "rspec-its"
23
23
  spec.add_runtime_dependency "multi_json"
24
24
  spec.add_runtime_dependency "specinfra", "~> 2.72"
25
- spec.add_development_dependency "bundler", "~> 1.3"
26
25
  spec.add_development_dependency("json", "~> 1.8") if RUBY_VERSION < "1.9"
27
26
  spec.add_development_dependency "rake", "~> 10.1.1"
28
27
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: serverspec
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.41.3
4
+ version: 2.41.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Gosuke Miyashita
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-11-07 00:00:00.000000000 Z
11
+ date: 2019-05-17 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rspec
@@ -66,20 +66,6 @@ dependencies:
66
66
  - - "~>"
67
67
  - !ruby/object:Gem::Version
68
68
  version: '2.72'
69
- - !ruby/object:Gem::Dependency
70
- name: bundler
71
- requirement: !ruby/object:Gem::Requirement
72
- requirements:
73
- - - "~>"
74
- - !ruby/object:Gem::Version
75
- version: '1.3'
76
- type: :development
77
- prerelease: false
78
- version_requirements: !ruby/object:Gem::Requirement
79
- requirements:
80
- - - "~>"
81
- - !ruby/object:Gem::Version
82
- version: '1.3'
83
69
  - !ruby/object:Gem::Dependency
84
70
  name: rake
85
71
  requirement: !ruby/object:Gem::Requirement
@@ -103,6 +89,7 @@ executables:
103
89
  extensions: []
104
90
  extra_rdoc_files: []
105
91
  files:
92
+ - ".github/stale.yml"
106
93
  - ".gitignore"
107
94
  - ".gitmodules"
108
95
  - ".travis.yml"