mina-scp 0.1.0 → 0.1.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: 187c82a601c1d4220aa6d6411139c208960cfe47
4
- data.tar.gz: 7f68dfef63807fdaec9d7e0c12bb141992f36076
3
+ metadata.gz: cda8651e684766fd4ce47fafb429068359806eae
4
+ data.tar.gz: ac829b401ef664681691e2b02b63b0d504a2a7fa
5
5
  SHA512:
6
- metadata.gz: fadd53ad15b4f7920b3b1fb0ab4d45998731c2fc2333772804ed89a29515f368c07e09a0504650f1ccd273c9408fed05175731094c0a3ccaeed1fb3774d4e622
7
- data.tar.gz: 415e9d9daaffbbb0996f0511ec5dbc776f3eaad483b7bb1ed4541807463f70d624b52fccf845083af2655aa9d13c69f5d0e231ec550ee3484e409ceea1381d6c
6
+ metadata.gz: 1309f8429fda709a88783e52379e0122c408a22fd951ca19bbd52a48186a962a61f3ad25529e998528762d8255fb75aaf5aedebb793caa8d859631ade150b258
7
+ data.tar.gz: f49166259db0e40c344a272d18c93802d20a2060b53343b47db762097ef25e48e06478e9afc3a7cf284df17848f1e916882a615cbf75f86514f9f813ed62b3c1
@@ -1,5 +1,10 @@
1
1
  # CHANGELOG
2
2
 
3
+ ## 0.1.1
4
+
5
+ * Use `%x[command]` over `exec` to spawn a subshell. If using verbose, return
6
+ results on nonzero exit status.
7
+
3
8
  ## 0.1.0
4
9
 
5
10
  * First release
@@ -10,7 +10,8 @@ def scp_transfer(direction, from, to, options = {})
10
10
  end
11
11
  command << " #{from} #{to}"
12
12
  print_command command if options[:verbose]
13
- exec command
13
+ result = %x[#{command}]
14
+ puts result unless result == ""
14
15
  end
15
16
 
16
17
  def scp_download(from, to, options = {})
@@ -1,5 +1,5 @@
1
1
  module Mina
2
2
  module Scp
3
- VERSION = "0.1.0"
3
+ VERSION = "0.1.1"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mina-scp
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Anton Dieterle
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2013-05-02 00:00:00.000000000 Z
11
+ date: 2013-09-22 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -49,7 +49,6 @@ files:
49
49
  - CHANGELOG.md
50
50
  - CONTRIBUTING.md
51
51
  - Gemfile
52
- - Gemfile.lock
53
52
  - LICENSE.txt
54
53
  - README.md
55
54
  - Rakefile
@@ -76,7 +75,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
76
75
  version: '0'
77
76
  requirements: []
78
77
  rubyforge_project:
79
- rubygems_version: 2.0.2
78
+ rubygems_version: 2.0.3
80
79
  signing_key:
81
80
  specification_version: 4
82
81
  summary: Download/upload helpers for Mina deployer using SCP