specinfra 2.70.0 → 2.70.1

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: 4c96d2ef33668a0de4240444ad0d18ef563592a0
4
- data.tar.gz: 62900cd301e325db7380eaee0258e288b04ef312
3
+ metadata.gz: e6c84d3e8e8510e7a384c7e1805c7f0f2028bf6b
4
+ data.tar.gz: b6fd830b60a7f618d8483a78c4483cbdcaf4cefc
5
5
  SHA512:
6
- metadata.gz: f9376bb9dc47770ee071e21da5b28ab0deab4ea28ff5a8d86e4729757e641a57c7e4c7b9619d2f5a4089b924bdb159f34948a0da08c5d670f406411f7b83c261
7
- data.tar.gz: 438f5870632818db2936c45d8be05737d6e8df13b87e091eb5f38b9e91de88e685d18324aa3ce736304912ce934827882817173e2211799f220cf6faf55bd9c7
6
+ metadata.gz: b38c0b1b27ab1f8f5031cb8096cd7b13fae3f11f761950ee4ac28a2e2ed86a2b43562412029bcb56554524b523922499e91169b91e30dfed2441e5e67c64f85e
7
+ data.tar.gz: ce5cd62ba7c2ceb7fd6838cfc247de96300b59b0e37fd5bd3b93f5b58babe4990b89b5a11e4a51a7ac722cd7b851323c9a630c5ef7e223bf4a36b1bb783ccfd3
@@ -16,7 +16,7 @@ module Specinfra
16
16
 
17
17
  def send_directory(from, to)
18
18
  jroot = get_config(:jail_root)
19
- FileUtils.cp_r("#{jroot}/#{from}", to)
19
+ FileUtils.cp_r(from, "#{jroot}/#{to}")
20
20
  end
21
21
 
22
22
  def build_command(cmd)
@@ -6,8 +6,8 @@ class Specinfra::Command::Freebsd::Base::Group < Specinfra::Command::Base::Group
6
6
 
7
7
  def add(group, options)
8
8
  command = %w[pw group add]
9
- command << '-g' << escape(options[:gid]) if options[:gid]
10
9
  command << escape(group)
10
+ command << '-g' << escape(options[:gid]) if options[:gid]
11
11
  command.join(' ')
12
12
  end
13
13
  end
@@ -1,3 +1,3 @@
1
1
  module Specinfra
2
- VERSION = "2.70.0"
2
+ VERSION = "2.70.1"
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.70.0
4
+ version: 2.70.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Gosuke Miyashita
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-07-25 00:00:00.000000000 Z
11
+ date: 2017-08-02 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: net-scp