specinfra 1.25.3 → 1.25.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: ff3390c62121f1e0448c025ad870cb450fcf8946
4
- data.tar.gz: 4bc6cda5c7746d33e81af89cbfa187b5121d8768
3
+ metadata.gz: 24e1bd17c3dd9225965333243be3fa6c1b5302fe
4
+ data.tar.gz: dcd388398d12dbb60bf43f10553a917c632b5569
5
5
  SHA512:
6
- metadata.gz: 115bc92c3ce9271ac12fe1ed231e759390037184dfe3d98c84a22dcaa467788fd9adbfb59f136975aa5e44c36ab4720847d4aad7ac09773c55ce841a633a6815
7
- data.tar.gz: 235ee55e984d71b135131a92e9d8bf3a9c4cfb28b46557699d8e8714018494146bceb48df31d48103c1c7543ce84004274dd4f582f1fd35918984679a635a9de
6
+ metadata.gz: c93790a2b2549d3d488caaa707313f948a325d30627ad9230cb0d7fb15561b1a9454be116cceb636bfa3d16d53a4ced03a76e377ab4bde330155329db1b201da
7
+ data.tar.gz: f1252f2816c8507e55cce54bdee9651c74c7917af55c083620ffd106fe5895f3967095977d36ddd0d0da0dacb9f2b978d1da1c435ffeb61e9fd67f07aa6ea87f
@@ -53,7 +53,7 @@ module SpecInfra
53
53
 
54
54
  def check_file_contain(file, pattern)
55
55
  Backend::PowerShell::Command.new do
56
- exec "[Io.File]::ReadAllText('#{file}') -match '#{convert_regexp(pattern)}'"
56
+ exec %Q![[Io.File]::ReadAllText("#{file}") -match '#{convert_regexp(pattern)}'!
57
57
  end
58
58
  end
59
59
 
@@ -62,12 +62,12 @@ module SpecInfra
62
62
  to ||= '$'
63
63
  Backend::PowerShell::Command.new do
64
64
  using 'crop_text.ps1'
65
- exec %Q[(CropText -text ([Io.File]::ReadAllText('#{file}')) -fromPattern '#{convert_regexp(from)}' -toPattern '#{convert_regexp(to)}') -match '#{pattern}']
65
+ exec %Q!(CropText -text ([Io.File]::ReadAllText("#{file}")) -fromPattern '#{convert_regexp(from)}' -toPattern '#{convert_regexp(to)}') -match '#{pattern}'!
66
66
  end
67
67
  end
68
68
 
69
69
  def get_file_content(file)
70
- "[Io.File]::ReadAllText('#{file}')"
70
+ %Q![Io.File]::ReadAllText("#{file}")!
71
71
  end
72
72
 
73
73
  def check_access_by_user(file, user, access)
@@ -1,3 +1,3 @@
1
1
  module SpecInfra
2
- VERSION = "1.25.3"
2
+ VERSION = "1.25.4"
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: 1.25.3
4
+ version: 1.25.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: 2014-08-16 00:00:00.000000000 Z
11
+ date: 2014-08-21 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler