rye 0.8.15 → 0.8.16
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/CHANGES.txt +5 -0
- data/lib/rye.rb +1 -1
- data/lib/rye/box.rb +1 -0
- data/lib/rye/cmd.rb +6 -0
- data/rye.gemspec +1 -1
- metadata +2 -2
data/CHANGES.txt
CHANGED
|
@@ -1,5 +1,10 @@
|
|
|
1
1
|
RYE, CHANGES
|
|
2
2
|
|
|
3
|
+
#### 0.8.16 (2010-05-19) #############################
|
|
4
|
+
|
|
5
|
+
* ADDED: Updated whitelist: hg, ab, siege, stella, ln, su
|
|
6
|
+
* CHANGE: file transfers now print the file path to STDOUT unless in quiet mode
|
|
7
|
+
|
|
3
8
|
#### 0.8.15 (2010-03-29) #############################
|
|
4
9
|
|
|
5
10
|
* FIXED: "rake" was mapped to "sudo". Closes GH-8 [mjmsmith]
|
data/lib/rye.rb
CHANGED
data/lib/rye/box.rb
CHANGED
|
@@ -986,6 +986,7 @@ module Rye
|
|
|
986
986
|
files.each do |file|
|
|
987
987
|
debug file.to_s
|
|
988
988
|
prev = ""
|
|
989
|
+
STDOUT.puts "transfering #{file}" unless @rye_quiet
|
|
989
990
|
transfers << scp.send(direction, file, target, :recursive => recursive) do |ch, n, s, t|
|
|
990
991
|
line = "%-50s %6d/%-6d bytes" % [n, s, t]
|
|
991
992
|
spaces = (prev.size > line.size) ? ' '*(prev.size - line.size) : ''
|
data/lib/rye/cmd.rb
CHANGED
|
@@ -30,6 +30,10 @@ module Rye;
|
|
|
30
30
|
def sh(*args); __allow('sh', args); end
|
|
31
31
|
def df(*args); __allow('df', args); end
|
|
32
32
|
def du(*args); __allow('du', args); end
|
|
33
|
+
def su(*args); __allow('su', args); end
|
|
34
|
+
def ln(*args); __allow('ln', args); end
|
|
35
|
+
def ab(*args); __allow('ab', args); end
|
|
36
|
+
def hg(*args); __allow('hg', args); end
|
|
33
37
|
|
|
34
38
|
def env; __allow "env"; end
|
|
35
39
|
def rye(*args); __allow "rye", args; end
|
|
@@ -69,8 +73,10 @@ module Rye;
|
|
|
69
73
|
def unzip(*args); __allow('unzip', args); end
|
|
70
74
|
def bzip2(*args); __allow('bzip2', args); end
|
|
71
75
|
def which(*args); __allow('which', args); end
|
|
76
|
+
def siege(*args); __allow("siege", args); end
|
|
72
77
|
|
|
73
78
|
def umount(*args); __allow("umount", args); end
|
|
79
|
+
def stella(*args); __allow('stella', args); end
|
|
74
80
|
def uptime(*args); __allow("uptime", args); end
|
|
75
81
|
def python(*args); __allow('python', args); end
|
|
76
82
|
def gunzip(*args); __allow('gunzip', args); end
|
data/rye.gemspec
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
@spec = Gem::Specification.new do |s|
|
|
2
2
|
s.name = "rye"
|
|
3
3
|
s.rubyforge_project = "rye"
|
|
4
|
-
s.version = "0.8.
|
|
4
|
+
s.version = "0.8.16"
|
|
5
5
|
s.summary = "Rye: Safely run SSH commands on a bunch of machines at the same time (from Ruby)."
|
|
6
6
|
s.description = s.summary
|
|
7
7
|
s.author = "Delano Mandelbaum"
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: rye
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.8.
|
|
4
|
+
version: 0.8.16
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Delano Mandelbaum
|
|
@@ -9,7 +9,7 @@ autorequire:
|
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
11
|
|
|
12
|
-
date: 2010-
|
|
12
|
+
date: 2010-05-19 00:00:00 -04:00
|
|
13
13
|
default_executable:
|
|
14
14
|
dependencies:
|
|
15
15
|
- !ruby/object:Gem::Dependency
|