specinfra 2.82.24 → 2.82.25

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 596a60daf7e5fa95bdc0a961afebd91b23e67f76047ce1df0aba7bb1e059e896
4
- data.tar.gz: 4fc1cbf1cc54559eb1d9fd9149a9a6ec83403a6800171b3ffb44c4932ac81075
3
+ metadata.gz: a2c62c946f1a72ca71e07015962d3fc25ef5957e4cfd39fd8e75939139302ec9
4
+ data.tar.gz: df9c322631f5080aa1be9c7ccbb012f03f72ec54632762e82c87d6fbb42d7cab
5
5
  SHA512:
6
- metadata.gz: c0691a838b1686c4159b41b4594a433cc57b6e530b85d34e4d7299241a9426451bcc31ddd9bbf90ce2b59177acd3eb2b9e2416d073a74c3a83b556be36c2fa4e
7
- data.tar.gz: c46185b12504e1ef60c1a161a51902b01ef6a917c010b35cb5a83f64707522243fe498f6c2260e0f403f54730cf3972a412da2ec425d56e47042726f16dbf1c8
6
+ metadata.gz: 717afa09a1d5bf1bd271efb86d727b634e017d71cb8d9d269460a1190f41beaf91a7afaf8fb48951b582c173a8684e7af3986cf878cc17899512cfda1c07d560
7
+ data.tar.gz: 42f0389ffad21c2befc5485276bf09ec1d391db0ab8d63b2587a5f8a2f04c72f5a5627283c05f1e467575173447cbfc7bdf16be515e07a74a04b2f06facb64ba
@@ -1,7 +1,7 @@
1
1
  class Specinfra::Command::Darwin::Base::Package < Specinfra::Command::Base::Package
2
2
  class << self
3
3
  def check_is_installed(package, version=nil)
4
- escaped_package = escape(File.basename(package))
4
+ escaped_package = escape(::File.basename(package))
5
5
  if version
6
6
  cmd = %Q[brew info #{escaped_package} | grep -E "^$(brew --prefix)/Cellar/#{escaped_package}/#{escape(version)}"]
7
7
  else
@@ -13,7 +13,7 @@ class Specinfra::Command::Darwin::Base::Package < Specinfra::Command::Base::Pack
13
13
  alias :check_is_installed_by_homebrew :check_is_installed
14
14
 
15
15
  def check_is_installed_by_homebrew_cask(package, version=nil)
16
- escaped_package = escape(File.basename(package))
16
+ escaped_package = escape(::File.basename(package))
17
17
  if version
18
18
  cmd = "brew cask info #{escaped_package} | grep -E '^/opt/homebrew-cask/Caskroom/#{escaped_package}/#{escape(version)}'"
19
19
  else
@@ -1,3 +1,3 @@
1
1
  module Specinfra
2
- VERSION = "2.82.24"
2
+ VERSION = "2.82.25"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: specinfra
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.82.24
4
+ version: 2.82.25
5
5
  platform: ruby
6
6
  authors:
7
7
  - Gosuke Miyashita
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-03-23 00:00:00.000000000 Z
11
+ date: 2021-04-25 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: net-scp