cem_win_spec 0.1.16 → 0.1.17

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: e2067e3f57c148303753e68a81cf5f3c969f029b8d2edf971983ff1928f458bc
4
- data.tar.gz: 1c2b76c24bf5b80828826659bfc3fdd44a23545b3a0c0d0d3fac37eff6b13dd5
3
+ metadata.gz: 48460282673ee9b3b5fa68f6024ab37ba170a9f9b39f619f8548351a2604f70b
4
+ data.tar.gz: bb2b916bcfa3a5ba91bbd565e0a32210836da7c96a21b44712e70d58661ec869
5
5
  SHA512:
6
- metadata.gz: 7fccae76192b49260cd22a0fd6ea1ce26b9a7ac5d716870a9bda20489d8311804b4eafe4d7ee64500d2a49372eea534e9012551920d42e79ddd7156509d3d1fd
7
- data.tar.gz: 4b998eff04a0856504747fd727d062d28786ea42125923937b01a526bfce6f95ed0b064f5aa8978aaa96f60c177b4ffa0f0d750357eaa2d80859b62717436673
6
+ metadata.gz: 7fab21a39453e239397e2333a670808beea92ce49b578283fe523f9653f4d793cd6d549831c3bd9e4a74a8fa11edd050cddcb20fc6b78a86a0ee23786ebb0947
7
+ data.tar.gz: 39daa66c330f6582daa15805d8c6ee615b1c4d9b4152830460c967d3d1f4f5baffc4cec8fbbbf888d13a581c111dd90e78ac4c054660876faab7379de281e864
@@ -78,7 +78,8 @@ module CemWinSpec
78
78
  "$uList = (uru ls 2>&1 | Out-String)",
79
79
  ]
80
80
  if installer_url
81
- cmds << "if (-not (Test-Path \"$rubyBin\")) { $inst = \"$env:TEMP\\rubyinstaller.exe\"; Invoke-WebRequest -Uri '#{installer_url}' -OutFile $inst -UseBasicParsing; Start-Process -FilePath $inst -ArgumentList '/verysilent', '/dir=#{tool_dir}' -Wait; Remove-Item $inst -Force }"
81
+ installer_filename = File.basename(installer_url)
82
+ cmds << "if (-not (Test-Path \"$rubyBin\")) { $inst = \"$env:TEMP\\#{installer_filename}\"; [Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12; (New-Object System.Net.WebClient).DownloadFile('#{installer_url}', $inst); Start-Process -FilePath $inst -ArgumentList '/verysilent', '/dir=#{tool_dir}' -Wait; Remove-Item $inst -Force }"
82
83
  end
83
84
  cmds << "if ($uList -notmatch '#{ruby_ver}') { uru admin add \"$rubyBin\" }"
84
85
 
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module CemWinSpec
4
- VERSION = "0.1.16"
4
+ VERSION = "0.1.17"
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cem_win_spec
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.16
4
+ version: 0.1.17
5
5
  platform: ruby
6
6
  authors:
7
7
  - Heston Snodgrass
@@ -96,7 +96,6 @@ files:
96
96
  - LICENSE.txt
97
97
  - README.md
98
98
  - Rakefile
99
- - cem_win_spec.gemspec
100
99
  - exe/cem-win-spec
101
100
  - lib/cem_win_spec.rb
102
101
  - lib/cem_win_spec/fixture_cache.rb
data/cem_win_spec.gemspec DELETED
@@ -1,36 +0,0 @@
1
- # frozen_string_literal: true
2
-
3
- require_relative "lib/cem_win_spec/version"
4
-
5
- Gem::Specification.new do |spec|
6
- spec.name = "cem_win_spec"
7
- spec.version = CemWinSpec::VERSION
8
- spec.authors = ["Heston Snodgrass"]
9
- spec.email = ["hsnodgrass@users.noreply.github.com"]
10
-
11
- spec.summary = "Write a short summary, because RubyGems requires one."
12
- spec.description = "Write a longer description or delete this line."
13
- spec.homepage = "https://github.com/hsnodgrass/cem_win_spec"
14
- spec.license = "MIT"
15
- spec.required_ruby_version = ">= 2.7.0"
16
- spec.metadata["homepage_uri"] = spec.homepage
17
- spec.metadata["source_code_uri"] = spec.homepage
18
- spec.metadata["changelog_uri"] = "#{spec.homepage}/CHANGELOG.md"
19
-
20
- # Specify which files should be added to the gem when it is released.
21
- # The `git ls-files -z` loads the files in the RubyGem that have been added into git.
22
- spec.files = Dir.chdir(File.expand_path(__dir__)) do
23
- `git ls-files -z`.split("\x0").reject do |f|
24
- (f == __FILE__) || f.match(%r{\A(?:(?:bin|test|spec|features)/|\.(?:git|travis|circleci)|appveyor)})
25
- end
26
- end
27
- spec.bindir = "exe"
28
- spec.executables = ["cem-win-spec"]
29
- spec.require_paths = ["lib"]
30
-
31
- spec.add_dependency "winrm", "~> 2.3"
32
- spec.add_dependency "winrm-fs", "~> 1.3"
33
- spec.add_dependency "puppet_forge", "~> 6.1"
34
- spec.add_dependency "parallel_tests", "~> 3.4"
35
- spec.add_development_dependency "pry"
36
- end