specinfra 1.17.0 → 1.18.0

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
  SHA1:
3
- metadata.gz: 503cb07ff9fcc9ed440393c188c5d2fa2b450ea5
4
- data.tar.gz: 698244c3d5ee408384a9ef267b85fedf5ae0d9b3
3
+ metadata.gz: c636dc04197a83433402899511986fa22db52cfe
4
+ data.tar.gz: 15e6b380260bab02eeacdabf6031e0b95e3e1789
5
5
  SHA512:
6
- metadata.gz: 01aa282f36ffff21bd1dced28763206f9e2700a704119d392e394131ad64e283b9af5151cf216f0cd6d03f8383189b087fce1da97fb28c5fb90904535aa78ab1
7
- data.tar.gz: 335d080054ee2a04987a5a21a35c03dbdee988b415403fb00d10e8a2f34c6d7232219cd1c29bcfdadc03591d1a1a07510f9d938a0d0464e4087a65ea856c8cd6
6
+ metadata.gz: 2a9b4f2d76d43e787b9b267630b950e4225c9cbdcf9692ec4db6f7a58bf315e9a2e97ac8ae02c1cbe1d354b903122add2a9ee56b4c3021bd63d5452ef77abc07
7
+ data.tar.gz: 78b22983724990a72b7cf0990e3e40c66264477022dc71b8c7328477e24fcbc861b415e57b02500e4b377fd9db278f406b06c553fa4ac2d7386290b8b0e2920c
@@ -63,6 +63,10 @@ module SpecInfra
63
63
  "stat -c %Y #{escape(file)}"
64
64
  end
65
65
 
66
+ def get_file_size(file)
67
+ "stat -c %s #{escape(file)}"
68
+ end
69
+
66
70
  def check_socket(file)
67
71
  "test -S #{escape(file)}"
68
72
  end
@@ -1,3 +1,3 @@
1
1
  module SpecInfra
2
- VERSION = "1.17.0"
2
+ VERSION = "1.18.0"
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.17.0
4
+ version: 1.18.0
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-06-10 00:00:00.000000000 Z
11
+ date: 2014-06-11 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler