rye 0.9.4 → 0.9.5
Sign up to get free protection for your applications and to get access to all the features.
- data/CHANGES.txt +4 -0
- data/lib/rye.rb +1 -1
- data/lib/rye/set.rb +3 -1
- data/rye.gemspec +1 -1
- metadata +3 -5
data/CHANGES.txt
CHANGED
@@ -1,5 +1,9 @@
|
|
1
1
|
RYE, CHANGES
|
2
2
|
|
3
|
+
#### 0.9.5 (2012-01-05) #############################
|
4
|
+
|
5
|
+
* FIXED: Bugfix for Sets to allow unsafe commands [vishnugopal]
|
6
|
+
|
3
7
|
#### 0.9.4 (2011-02-14) #############################
|
4
8
|
|
5
9
|
* FIXED: Box#method_missing fix for to_ary exception in Ruby 1.9.2
|
data/lib/rye.rb
CHANGED
data/lib/rye/set.rb
CHANGED
@@ -143,7 +143,9 @@ module Rye
|
|
143
143
|
# Ruby 1.8 populates Module.instance_methods with Strings. 1.9 uses Symbols.
|
144
144
|
meth = (Rye.sysinfo.ruby[1] == 8) ? meth.to_s : meth.to_sym
|
145
145
|
raise Rye::NoBoxes if @boxes.empty?
|
146
|
-
|
146
|
+
if @safe
|
147
|
+
raise Rye::CommandNotFound, meth.to_s unless Rye::Box.instance_methods.member?(meth)
|
148
|
+
end
|
147
149
|
run_command(meth, *args, &block)
|
148
150
|
end
|
149
151
|
|
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.9.
|
4
|
+
s.version = "0.9.5"
|
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
@@ -2,7 +2,7 @@
|
|
2
2
|
name: rye
|
3
3
|
version: !ruby/object:Gem::Version
|
4
4
|
prerelease:
|
5
|
-
version: 0.9.
|
5
|
+
version: 0.9.5
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
8
8
|
- Delano Mandelbaum
|
@@ -10,8 +10,7 @@ autorequire:
|
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
12
|
|
13
|
-
date:
|
14
|
-
default_executable:
|
13
|
+
date: 2012-01-05 00:00:00 Z
|
15
14
|
dependencies:
|
16
15
|
- !ruby/object:Gem::Dependency
|
17
16
|
name: annoy
|
@@ -93,7 +92,6 @@ files:
|
|
93
92
|
- lib/rye/set.rb
|
94
93
|
- lib/rye/hop.rb
|
95
94
|
- rye.gemspec
|
96
|
-
has_rdoc: true
|
97
95
|
homepage: http://github.com/delano/rye/
|
98
96
|
licenses: []
|
99
97
|
|
@@ -121,7 +119,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
121
119
|
requirements: []
|
122
120
|
|
123
121
|
rubyforge_project: rye
|
124
|
-
rubygems_version: 1.
|
122
|
+
rubygems_version: 1.8.10
|
125
123
|
signing_key:
|
126
124
|
specification_version: 2
|
127
125
|
summary: "Rye: Safely run SSH commands on a bunch of machines at the same time (from Ruby)."
|