net-ssh 1.1.3 → 1.1.4

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,270 @@
1
+ body {
2
+ background: #FFF;
3
+ font-family: sans-serif;
4
+ color: #000;
5
+ margin: 0px;
6
+ }
7
+
8
+ a {
9
+ color: #00F;
10
+ text-decoration: none;
11
+ }
12
+
13
+ a:hover {
14
+ text-decoration: underline;
15
+ }
16
+
17
+ .product-manual {
18
+ text-align: center;
19
+ font-size: x-large;
20
+ font-variant: small-caps;
21
+ font-weight: bold;
22
+ color: #005;
23
+ }
24
+
25
+ .copyright {
26
+ text-align: center;
27
+ font-size: small;
28
+ font-style: italic;
29
+ color: #005;
30
+ margin-top: 1in;
31
+ }
32
+
33
+ #banner {
34
+ background: #005;
35
+ color: #FFF;
36
+ border-bottom: 1px solid #000;
37
+ padding-top: 0.5em;
38
+ padding-bottom: 0.5em;
39
+ padding-left: 1em;
40
+ margin-bottom: 1em;
41
+ }
42
+
43
+ #banner .title {
44
+ font-size: x-large;
45
+ }
46
+
47
+ #banner .title:first-letter {
48
+ font-size: 250%;
49
+ font-weight: normal;
50
+ float: left;
51
+ margin-top: -7px;
52
+ margin-bottom: -7px;
53
+ }
54
+
55
+ #banner .product {
56
+ font-weight: bold;
57
+ color: #FF7;
58
+ letter-spacing: 0.5em;
59
+ }
60
+
61
+ #banner .tagline {
62
+ font-style: italic;
63
+ font-size: large;
64
+ letter-spacing: 0.1em;
65
+ color: #FFF;
66
+ }
67
+
68
+ #banner .info {
69
+ color: white;
70
+ font-size: small;
71
+ padding-right: 1em;
72
+ }
73
+
74
+ #content {
75
+ margin-left: 0cm;
76
+ margin-right: 1cm;
77
+ }
78
+
79
+ #navigation {
80
+ font-size: x-small;
81
+ border-right: 2px groove black;
82
+ border-top: 2px groove black;
83
+ margin-right: 1em;
84
+ width: 200px;
85
+ height: 100%;
86
+ background: #FFD;
87
+ }
88
+
89
+ #navigation ul, #navigation ol {
90
+ margin-left: 1.2em;
91
+ padding-left: 1.2em;
92
+ }
93
+
94
+ #navigation .license {
95
+ font-size: x-small;
96
+ text-align: center;
97
+ border-top: 1px dashed #005;
98
+ margin-top: 2em;
99
+ padding: 1em;
100
+ }
101
+
102
+ .section {
103
+ margin-bottom: 1em;
104
+ }
105
+
106
+ .section p {
107
+ text-align: justify;
108
+ }
109
+
110
+ #content h1 {
111
+ background: #005;
112
+ color: #FFF;
113
+ font-size: x-large;
114
+ font-weight: bold;
115
+ font-variant: small-caps;
116
+ padding: 0.5em;
117
+ border: 1px solid #000;
118
+ margin-top: 0px;
119
+ margin-bottom: 1em;
120
+ }
121
+
122
+ #content h2 {
123
+ background: #005;
124
+ color: #FFF;
125
+ font-size: large;
126
+ font-weight: bold;
127
+ font-variant: small-caps;
128
+ padding: 0.25em;
129
+ padding-left: 0.5em;
130
+ border: 1px solid #000;
131
+ margin-bottom: 1em;
132
+ }
133
+
134
+ #content h3 {
135
+ background: #FFD;
136
+ color: #000;
137
+ font-size: normal;
138
+ font-weight: bold;
139
+ font-variant: small-caps;
140
+ padding: 0.25em;
141
+ padding-left: 0.5em;
142
+ border: 1px dotted #000;
143
+ margin-bottom: 1em;
144
+ }
145
+
146
+ #content h4 {
147
+ background: #FFE;
148
+ color: #000;
149
+ font-size: normal;
150
+ font-weight: bold;
151
+ font-variant: small-caps;
152
+ padding: 0.25em;
153
+ padding-left: 0.5em;
154
+ border: 1px dotted #777;
155
+ margin-bottom: 1em;
156
+ }
157
+
158
+ #navigation h1 {
159
+ margin: 0px;
160
+ padding: 1em;
161
+ color: #005;
162
+ background: transparent;
163
+ font-weight: bold;
164
+ font-size: 150%;
165
+ font-variant: small-caps;
166
+ text-align: center;
167
+ }
168
+
169
+ #navigation h2 {
170
+ margin: 0px;
171
+ margin-bottom: 1em;
172
+ padding: 0.5em;
173
+ border-top: 1px dashed #005;
174
+ border-bottom: 1px dashed #005;
175
+ color: #005;
176
+ background: transparent;
177
+ font-weight: bold;
178
+ font-size: 125%;
179
+ font-variant: small-caps;
180
+ text-align: center;
181
+ }
182
+
183
+ table.list {
184
+ margin: 2em;
185
+ border: 1px solid black;
186
+ background: #FFD;
187
+ padding: 0px;
188
+ border-spacing: 0px;
189
+ }
190
+
191
+ table.list th {
192
+ border-bottom: 1px solid #005;
193
+ padding-bottom: 5px;
194
+ background: #008;
195
+ color: white;
196
+ padding: 0.5em;
197
+ text-align: left;
198
+ }
199
+
200
+ table.list td {
201
+ padding: 0.2em;
202
+ text-align: left;
203
+ vertical-align: top;
204
+ border-bottom: 1px solid;
205
+ }
206
+
207
+ .prevnext {
208
+ padding: 0.5em 1em 0.5em 1em;
209
+ background: #557;
210
+ color: #FFF;
211
+ font-size: small;
212
+ font-weight: bold;
213
+ border: 1px solid #000;
214
+ }
215
+
216
+ .prevnext a {
217
+ color: #FF0;
218
+ }
219
+
220
+ .top .prevnext {
221
+ margin: 0 0 1em 0;
222
+ text-align: left;
223
+ }
224
+
225
+ .bottom .prevnext {
226
+ margin: 1em 0 0 0;
227
+ text-align: right;
228
+ }
229
+
230
+ .figure {
231
+ border: 1px solid black;
232
+ line-height: normal;
233
+ background: #FFD;
234
+ margin: 2em;
235
+ }
236
+
237
+ .figure .caption {
238
+ background: #008;
239
+ color: white;
240
+ font-weight: bold;
241
+ font-size: small;
242
+ padding: 4px 24px 4px 8px;
243
+ margin-left: -4px;
244
+ border: 1px dotted #77F;
245
+ }
246
+
247
+ .figure table {
248
+ padding-top: 0.8em;
249
+ padding-bottom: 0.5em;
250
+ }
251
+
252
+ .figure .body {
253
+ padding-left: 1em;
254
+ }
255
+
256
+ .figure pre {
257
+ padding: 0px;
258
+ background: transparent;
259
+ border: none;
260
+ font-size: small;
261
+ font-family: monospace;
262
+ }
263
+
264
+ .figure .lineno {
265
+ text-align: right;
266
+ color: #B00;
267
+ font-family: monospace;
268
+ font-size: small;
269
+ padding-right: 1em;
270
+ }
@@ -0,0 +1,17 @@
1
+ .ruby .normal {}
2
+ .ruby .comment { color: #005; font-style: italic; }
3
+ .ruby .keyword { color: #A00; font-weight: bold; }
4
+ .ruby .method { color: #077; }
5
+ .ruby .class { color: #074; }
6
+ .ruby .module { color: #050; }
7
+ .ruby .punct { color: #447; font-weight: bold; }
8
+ .ruby .symbol { color: #099; }
9
+ .ruby .string { color: #944; }
10
+ .ruby .char { color: #F07; }
11
+ .ruby .ident { color: #004; }
12
+ .ruby .constant { color: #07F; }
13
+ .ruby .regex { color: #B66; }
14
+ .ruby .number { color: #D55; }
15
+ .ruby .attribute { color: #377; }
16
+ .ruby .global { color: #3B7; }
17
+ .ruby .expr { color: #227; }
@@ -112,15 +112,15 @@ module Net
112
112
  encrypted_data = @cipher.update( unencrypted_data ) << @cipher.final
113
113
  message = encrypted_data + mac
114
114
 
115
- # send package, in case package was only partially transferred, retry
116
- counter = message.size
117
- while counter > 0
118
- begin
119
- counter -= @socket.send message[(message.size-counter)..message.size], 0
120
- rescue Errno::EINTR
121
- retry
122
- end
123
- end
115
+ # send package, in case package was only partially transferred, retry
116
+ counter = message.size
117
+ while counter > 0
118
+ begin
119
+ counter -= @socket.send message[(message.size-counter)..message.size], 0
120
+ rescue Errno::EINTR
121
+ retry
122
+ end
123
+ end
124
124
 
125
125
  increment_sequence_number
126
126
  end
@@ -204,17 +204,17 @@ module Net
204
204
 
205
205
  def read( length )
206
206
  if IO === @socket
207
- data = ""
207
+ data = ""
208
208
  begin
209
- while data.length < length
209
+ while data.length < length
210
210
  break if @socket.closed?
211
211
  if ( IO.select([@socket],nil,nil,0.01) rescue nil )
212
- data << @socket.read(length-data.length)
212
+ data << @socket.read(length-data.length)
213
213
  end
214
214
  end
215
- rescue Error::EINTR
216
- retry
217
- end
215
+ rescue Errno::EINTR
216
+ retry
217
+ end
218
218
  else
219
219
  data = @socket.recv(length)
220
220
  end
@@ -20,7 +20,7 @@ module Net
20
20
 
21
21
  MAJOR = 1
22
22
  MINOR = 1
23
- TINY = 3
23
+ TINY = 4
24
24
 
25
25
  STRING = [ MAJOR, MINOR, TINY ].join( "." )
26
26
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: net-ssh
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.3
4
+ version: 1.1.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jamis Buck
@@ -9,7 +9,7 @@ autorequire: net/ssh
9
9
  bindir: bin
10
10
  cert_chain: []
11
11
 
12
- date: 2008-04-29 00:00:00 -06:00
12
+ date: 2008-05-01 00:00:00 -06:00
13
13
  default_executable:
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
@@ -78,6 +78,18 @@ files:
78
78
  - doc/manual/stylesheets/manual.css
79
79
  - doc/manual/stylesheets/ruby.css
80
80
  - doc/manual/tutorial.erb
81
+ - doc/manual-html
82
+ - doc/manual-html/chapter-1.html
83
+ - doc/manual-html/chapter-2.html
84
+ - doc/manual-html/chapter-3.html
85
+ - doc/manual-html/chapter-4.html
86
+ - doc/manual-html/chapter-5.html
87
+ - doc/manual-html/chapter-6.html
88
+ - doc/manual-html/chapter-7.html
89
+ - doc/manual-html/index.html
90
+ - doc/manual-html/stylesheets
91
+ - doc/manual-html/stylesheets/manual.css
92
+ - doc/manual-html/stylesheets/ruby.css
81
93
  - lib/net
82
94
  - lib/net/ssh
83
95
  - lib/net/ssh/connection