specinfra 2.82.16 → 2.82.17

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: 081c5fe3e3d544ed5e60bab131c08253c686a159
4
- data.tar.gz: 410cef0c65354b9e3de79aa4fd1a496650067512
3
+ metadata.gz: 4140ff67c6bbcbf8a39f69318942ebaa596d1e86
4
+ data.tar.gz: 728c324fd0b36d219c2d1d51af5daa74f6901db9
5
5
  SHA512:
6
- metadata.gz: 851092951f6e2c01b78ac3dc11ca74263fd7f3257966c9e44ec9d75398ea1b78bdd489274f584f4c687b5008ed94529151fdc854580c5626a27068d11f432bd2
7
- data.tar.gz: c3bd863bd7b130e33c3e3e3a68650347c9cf4b6459fea435a2b6fa90f8b12b1d92ac00dc73f22bb4f3d024ec1839f4b3154aa2aea5602cfc789ec45400bcc9e8
6
+ metadata.gz: 26c567c8c1a184ef52addfe2fd0d1b62e266445ce03ad5509a7539de359cc5229f56b2cf1e44235976e2eecc02fecc18068e72c5a885387dd9479e25b8fa9306
7
+ data.tar.gz: b85480d49c615c2a5bf66774d83adb6d5ecfd6f3383dda435a093908627f29a210ea51ff2e394ab4ff4927de8fe7851a4177febd5c13a3ec043acf9752a280e3
@@ -34,6 +34,10 @@ class Specinfra::Command::Darwin::Base::File < Specinfra::Command::Base::File
34
34
  def get_mode(file)
35
35
  "stat -f%Lp #{escape(file)}"
36
36
  end
37
+
38
+ def get_size(file)
39
+ "stat -f %z #{escape(file)}"
40
+ end
37
41
 
38
42
  def get_owner_user(file)
39
43
  "stat -f %Su #{escape(file)}"
@@ -1,3 +1,3 @@
1
1
  module Specinfra
2
- VERSION = "2.82.16"
2
+ VERSION = "2.82.17"
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.16
4
+ version: 2.82.17
5
5
  platform: ruby
6
6
  authors:
7
7
  - Gosuke Miyashita
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-04-28 00:00:00.000000000 Z
11
+ date: 2020-06-14 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: net-scp
@@ -629,7 +629,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
629
629
  version: '0'
630
630
  requirements: []
631
631
  rubyforge_project:
632
- rubygems_version: 2.2.2
632
+ rubygems_version: 2.5.1
633
633
  signing_key:
634
634
  specification_version: 4
635
635
  summary: Common layer for serverspec and itamae