ridley-connectors 1.4.0 → 1.5.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: c82511317752c4561ed7948b1833339980141857
4
- data.tar.gz: 7c492b5746243ed9180ebf2bf7602ec949fb58fa
3
+ metadata.gz: 664cd3f5806e0266a72564fcaff7dedb8678cfb1
4
+ data.tar.gz: 8d2e751c31d0778940a3ea617ca6c1e7b93a9266
5
5
  SHA512:
6
- metadata.gz: 03479215bfbf3beb2c51317886c58afdd7470484fbf53348ff33cde0339f82d8bb7ffec55cabf0eca4f1fb2ce2287a385cfcb0c9cc2962f7f1634491cf07523f
7
- data.tar.gz: c269cb1be8bbc40d886113ace7d1516e0a8bedcd48acce64ddbad90a0a25c2b9ad734a588fff6c4f667085af7467ce61cd7fce9fa625ac3d439355b4534e9566
6
+ metadata.gz: a95132ce067326292a51f49e6b2fd48cc3600a81c1f27838d75bf55fd2defd38a48d8bf083779aefa89351fb4c85b79e892b2b45fb7a055d810bdac41e67793c
7
+ data.tar.gz: b8fd1f621e77b5c23a882055e1a1afa4bf936c185e289a217195024bc5d63383bc4abedf4275aa2110fa31f89e15ce62662971a5098b9c26b9352cf998bcedc0
@@ -1,3 +1,6 @@
1
+ ## v.1.5.0
2
+ * [#11](https://github.com/RiotGames/ridley-connectors/pull/11) use -E on sudo to preserve the environment
3
+
1
4
  ## v.1.2.1
2
5
 
3
6
  * [#8](https://github.com/RiotGames/ridley-connectors/pull/8) Add a flag to execute Ruby scripts on Windows machines using a batch file
@@ -24,7 +24,7 @@ module Ridley
24
24
  options = options.reverse_merge(ssh: Hash.new)
25
25
  options[:ssh].reverse_merge!(port: DEFAULT_PORT, paranoid: false, sudo: false)
26
26
 
27
- command = "sudo #{command}" if options[:ssh][:sudo]
27
+ command = "sudo -E #{command}" if options[:ssh][:sudo]
28
28
 
29
29
  Ridley::HostConnector::Response.new(host).tap do |response|
30
30
  begin
@@ -1,5 +1,5 @@
1
1
  module Ridley
2
2
  module Connectors
3
- VERSION = '1.4.0'
3
+ VERSION = '1.5.0'
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ridley-connectors
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.4.0
4
+ version: 1.5.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jamie Winsor
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2014-02-10 00:00:00.000000000 Z
12
+ date: 2014-03-06 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: celluloid