rye 0.9.3 → 0.9.4

Sign up to get free protection for your applications and to get access to all the features.
Files changed (5) hide show
  1. data/CHANGES.txt +4 -0
  2. data/lib/rye/box.rb +3 -1
  3. data/lib/rye.rb +1 -1
  4. data/rye.gemspec +2 -2
  5. metadata +5 -39
data/CHANGES.txt CHANGED
@@ -1,5 +1,9 @@
1
1
  RYE, CHANGES
2
2
 
3
+ #### 0.9.4 (2011-02-14) #############################
4
+
5
+ * FIXED: Box#method_missing fix for to_ary exception in Ruby 1.9.2
6
+
3
7
  #### 0.9.3 (2011-01-29) #############################
4
8
 
5
9
  * ADDED: Rye::Hop for gateway support.
data/lib/rye/box.rb CHANGED
@@ -459,7 +459,9 @@ module Rye
459
459
  # A handler for undefined commands.
460
460
  # Raises Rye::CommandNotFound exception.
461
461
  def method_missing(cmd, *args, &block)
462
- if @rye_safe
462
+ if cmd == :to_ary
463
+ super
464
+ elsif @rye_safe
463
465
  ex = Rye::CommandNotFound.new(cmd.to_s)
464
466
  raise ex unless @rye_exception_hook.has_key? ex.class
465
467
  @rye_exception_hook[Rye::CommandNotFound].call ex
data/lib/rye.rb CHANGED
@@ -43,7 +43,7 @@ require 'esc'
43
43
  module Rye
44
44
  extend self
45
45
 
46
- VERSION = "0.9.3".freeze unless defined?(VERSION)
46
+ VERSION = "0.9.4".freeze unless defined?(VERSION)
47
47
 
48
48
  @@sysinfo = nil
49
49
  @@agent_env = Hash.new # holds ssh-agent env vars
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.3"
4
+ s.version = "0.9.4"
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"
@@ -11,7 +11,7 @@
11
11
  # = DEPENDENCIES =
12
12
  # Add all gem dependencies
13
13
  s.add_dependency 'annoy'
14
- s.add_dependency 'sysinfo', '>= 0.7.0'
14
+ s.add_dependency 'sysinfo', '>= 0.7.3'
15
15
 
16
16
  s.add_dependency 'highline', '>= 1.5.1'
17
17
  s.add_dependency 'net-ssh', '>= 2.0.13'
metadata CHANGED
@@ -1,13 +1,8 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rye
3
3
  version: !ruby/object:Gem::Version
4
- hash: 61
5
- prerelease: false
6
- segments:
7
- - 0
8
- - 9
9
- - 3
10
- version: 0.9.3
4
+ prerelease:
5
+ version: 0.9.4
11
6
  platform: ruby
12
7
  authors:
13
8
  - Delano Mandelbaum
@@ -15,7 +10,7 @@ autorequire:
15
10
  bindir: bin
16
11
  cert_chain: []
17
12
 
18
- date: 2011-01-29 00:00:00 -05:00
13
+ date: 2011-02-14 00:00:00 -05:00
19
14
  default_executable:
20
15
  dependencies:
21
16
  - !ruby/object:Gem::Dependency
@@ -26,9 +21,6 @@ dependencies:
26
21
  requirements:
27
22
  - - ">="
28
23
  - !ruby/object:Gem::Version
29
- hash: 3
30
- segments:
31
- - 0
32
24
  version: "0"
33
25
  type: :runtime
34
26
  version_requirements: *id001
@@ -40,12 +32,7 @@ dependencies:
40
32
  requirements:
41
33
  - - ">="
42
34
  - !ruby/object:Gem::Version
43
- hash: 3
44
- segments:
45
- - 0
46
- - 7
47
- - 0
48
- version: 0.7.0
35
+ version: 0.7.3
49
36
  type: :runtime
50
37
  version_requirements: *id002
51
38
  - !ruby/object:Gem::Dependency
@@ -56,11 +43,6 @@ dependencies:
56
43
  requirements:
57
44
  - - ">="
58
45
  - !ruby/object:Gem::Version
59
- hash: 1
60
- segments:
61
- - 1
62
- - 5
63
- - 1
64
46
  version: 1.5.1
65
47
  type: :runtime
66
48
  version_requirements: *id003
@@ -72,11 +54,6 @@ dependencies:
72
54
  requirements:
73
55
  - - ">="
74
56
  - !ruby/object:Gem::Version
75
- hash: 21
76
- segments:
77
- - 2
78
- - 0
79
- - 13
80
57
  version: 2.0.13
81
58
  type: :runtime
82
59
  version_requirements: *id004
@@ -88,11 +65,6 @@ dependencies:
88
65
  requirements:
89
66
  - - ">="
90
67
  - !ruby/object:Gem::Version
91
- hash: 19
92
- segments:
93
- - 1
94
- - 0
95
- - 2
96
68
  version: 1.0.2
97
69
  type: :runtime
98
70
  version_requirements: *id005
@@ -139,23 +111,17 @@ required_ruby_version: !ruby/object:Gem::Requirement
139
111
  requirements:
140
112
  - - ">="
141
113
  - !ruby/object:Gem::Version
142
- hash: 3
143
- segments:
144
- - 0
145
114
  version: "0"
146
115
  required_rubygems_version: !ruby/object:Gem::Requirement
147
116
  none: false
148
117
  requirements:
149
118
  - - ">="
150
119
  - !ruby/object:Gem::Version
151
- hash: 3
152
- segments:
153
- - 0
154
120
  version: "0"
155
121
  requirements: []
156
122
 
157
123
  rubyforge_project: rye
158
- rubygems_version: 1.3.7
124
+ rubygems_version: 1.5.2
159
125
  signing_key:
160
126
  specification_version: 2
161
127
  summary: "Rye: Safely run SSH commands on a bunch of machines at the same time (from Ruby)."