net-ssh-simple 1.6.10 → 1.6.11
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.gitignore +1 -0
- data/coverage/.resultset.json +43 -43
- data/coverage/index.html +87 -87
- data/doc/Net.html +2 -2
- data/doc/Net/SSH.html +2 -2
- data/doc/Net/SSH/Simple.html +3 -3
- data/doc/Net/SSH/Simple/Error.html +2 -2
- data/doc/Net/SSH/Simple/Result.html +2 -2
- data/doc/_index.html +2 -2
- data/doc/file.README.html +8 -7
- data/doc/index.html +8 -7
- data/doc/method_list.html +10 -10
- data/doc/top-level-namespace.html +2 -2
- data/lib/net/ssh/simple/version.rb +1 -1
- data/net-ssh-simple.gemspec +1 -1
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c901596de5236b415b5c7095ef6fa405198039ed
|
4
|
+
data.tar.gz: b10edecd0141cb0065074d5fda7bf77e8c5af47a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a5b20d4e8e2086763b2e0699db3cdfb224c4676c7514aa0b5437da57fde72d04084bc7520ce1d62284e7ef3060068107aaa513c730385944504c3766f3a5382b
|
7
|
+
data.tar.gz: a9e3dc30e5fbc9f6f893e37fa57920605a6b8bad80dd22b1b4cf1659334f6d4d6ce0e5978ebdf04a16a3e4f286a6a411de4c83c515b1722038820d3dd080cdb7
|
data/.gitignore
CHANGED
data/coverage/.resultset.json
CHANGED
@@ -490,34 +490,34 @@
|
|
490
490
|
null,
|
491
491
|
null,
|
492
492
|
1,
|
493
|
-
|
494
|
-
|
495
|
-
|
493
|
+
70,
|
494
|
+
70,
|
495
|
+
69,
|
496
496
|
null,
|
497
497
|
null,
|
498
498
|
null,
|
499
499
|
null,
|
500
500
|
null,
|
501
|
-
|
502
|
-
|
503
|
-
|
504
|
-
|
505
|
-
|
506
|
-
|
507
|
-
|
501
|
+
69,
|
502
|
+
69,
|
503
|
+
69,
|
504
|
+
69,
|
505
|
+
672,
|
506
|
+
672,
|
507
|
+
672,
|
508
508
|
null,
|
509
|
-
|
510
|
-
|
511
|
-
|
512
|
-
|
509
|
+
69,
|
510
|
+
589,
|
511
|
+
589,
|
512
|
+
589,
|
513
513
|
null,
|
514
|
-
|
515
|
-
|
516
|
-
|
517
|
-
|
518
|
-
|
514
|
+
69,
|
515
|
+
64,
|
516
|
+
64,
|
517
|
+
64,
|
518
|
+
64,
|
519
519
|
null,
|
520
|
-
|
520
|
+
69,
|
521
521
|
3,
|
522
522
|
3,
|
523
523
|
3,
|
@@ -527,13 +527,13 @@
|
|
527
527
|
2,
|
528
528
|
null,
|
529
529
|
null,
|
530
|
-
|
530
|
+
69,
|
531
531
|
null,
|
532
532
|
null,
|
533
|
-
|
534
|
-
|
535
|
-
|
536
|
-
|
533
|
+
69,
|
534
|
+
65,
|
535
|
+
65,
|
536
|
+
65,
|
537
537
|
null,
|
538
538
|
null,
|
539
539
|
null,
|
@@ -613,19 +613,19 @@
|
|
613
613
|
1,
|
614
614
|
null,
|
615
615
|
1,
|
616
|
-
|
617
|
-
|
618
|
-
|
619
|
-
|
620
|
-
|
621
|
-
|
622
|
-
|
623
|
-
|
624
|
-
|
625
|
-
|
616
|
+
103,
|
617
|
+
103,
|
618
|
+
103,
|
619
|
+
103,
|
620
|
+
103,
|
621
|
+
103,
|
622
|
+
103,
|
623
|
+
594,
|
624
|
+
103,
|
625
|
+
103,
|
626
626
|
null,
|
627
627
|
null,
|
628
|
-
|
628
|
+
102,
|
629
629
|
null,
|
630
630
|
7,
|
631
631
|
7,
|
@@ -638,17 +638,17 @@
|
|
638
638
|
null,
|
639
639
|
null,
|
640
640
|
1,
|
641
|
-
|
642
|
-
|
641
|
+
102,
|
642
|
+
2637,
|
643
643
|
1,
|
644
644
|
null,
|
645
645
|
null,
|
646
646
|
null,
|
647
|
-
|
648
|
-
|
649
|
-
|
647
|
+
2636,
|
648
|
+
105,
|
649
|
+
105,
|
650
650
|
null,
|
651
|
-
|
651
|
+
2636,
|
652
652
|
null,
|
653
653
|
null,
|
654
654
|
null,
|
@@ -748,6 +748,6 @@
|
|
748
748
|
null
|
749
749
|
]
|
750
750
|
},
|
751
|
-
"timestamp":
|
751
|
+
"timestamp": 1443454900
|
752
752
|
}
|
753
753
|
}
|
data/coverage/index.html
CHANGED
@@ -14,7 +14,7 @@
|
|
14
14
|
<img src="./assets/0.8.0/loading.gif" alt="loading"/>
|
15
15
|
</div>
|
16
16
|
<div id="wrapper" style="display:none;">
|
17
|
-
<div class="timestamp">Generated <abbr class="timeago" title="2015-
|
17
|
+
<div class="timestamp">Generated <abbr class="timeago" title="2015-09-28T17:41:40+02:00">2015-09-28T17:41:40+02:00</abbr></div>
|
18
18
|
<ul class="group_tabs"></ul>
|
19
19
|
|
20
20
|
<div id="content">
|
@@ -25,7 +25,7 @@
|
|
25
25
|
covered at
|
26
26
|
<span class="covered_strength">
|
27
27
|
<span class="green">
|
28
|
-
|
28
|
+
99.4
|
29
29
|
</span>
|
30
30
|
</span> hits/line)
|
31
31
|
</h2>
|
@@ -57,7 +57,7 @@
|
|
57
57
|
<td>166</td>
|
58
58
|
<td>164</td>
|
59
59
|
<td>2</td>
|
60
|
-
<td>
|
60
|
+
<td>99.4</td>
|
61
61
|
</tr>
|
62
62
|
|
63
63
|
</tbody>
|
@@ -3018,20 +3018,20 @@
|
|
3018
3018
|
<code class="ruby"> def ssh(host, cmd, opts={}, &block)</code>
|
3019
3019
|
</li>
|
3020
3020
|
|
3021
|
-
<li class="covered" data-hits="
|
3022
|
-
<span class="hits">
|
3021
|
+
<li class="covered" data-hits="70" data-linenumber="489">
|
3022
|
+
<span class="hits">70</span>
|
3023
3023
|
|
3024
3024
|
<code class="ruby"> opts = @opts.merge(opts)</code>
|
3025
3025
|
</li>
|
3026
3026
|
|
3027
|
-
<li class="covered" data-hits="
|
3028
|
-
<span class="hits">
|
3027
|
+
<li class="covered" data-hits="70" data-linenumber="490">
|
3028
|
+
<span class="hits">70</span>
|
3029
3029
|
|
3030
3030
|
<code class="ruby"> with_session(host, opts) do |session|</code>
|
3031
3031
|
</li>
|
3032
3032
|
|
3033
|
-
<li class="covered" data-hits="
|
3034
|
-
<span class="hits">
|
3033
|
+
<li class="covered" data-hits="69" data-linenumber="491">
|
3034
|
+
<span class="hits">69</span>
|
3035
3035
|
|
3036
3036
|
<code class="ruby"> @result = Result.new(</code>
|
3037
3037
|
</li>
|
@@ -3066,44 +3066,44 @@
|
|
3066
3066
|
<code class="ruby"></code>
|
3067
3067
|
</li>
|
3068
3068
|
|
3069
|
-
<li class="covered" data-hits="
|
3070
|
-
<span class="hits">
|
3069
|
+
<li class="covered" data-hits="69" data-linenumber="497">
|
3070
|
+
<span class="hits">69</span>
|
3071
3071
|
|
3072
3072
|
<code class="ruby"> channel = session.open_channel do |chan|</code>
|
3073
3073
|
</li>
|
3074
3074
|
|
3075
|
-
<li class="covered" data-hits="
|
3076
|
-
<span class="hits">
|
3075
|
+
<li class="covered" data-hits="69" data-linenumber="498">
|
3076
|
+
<span class="hits">69</span>
|
3077
3077
|
|
3078
3078
|
<code class="ruby"> chan.exec cmd do |ch, success|</code>
|
3079
3079
|
</li>
|
3080
3080
|
|
3081
|
-
<li class="covered" data-hits="
|
3082
|
-
<span class="hits">
|
3081
|
+
<li class="covered" data-hits="69" data-linenumber="499">
|
3082
|
+
<span class="hits">69</span>
|
3083
3083
|
|
3084
3084
|
<code class="ruby"> @result[:success] = success</code>
|
3085
3085
|
</li>
|
3086
3086
|
|
3087
|
-
<li class="covered" data-hits="
|
3088
|
-
<span class="hits">
|
3087
|
+
<li class="covered" data-hits="69" data-linenumber="500">
|
3088
|
+
<span class="hits">69</span>
|
3089
3089
|
|
3090
3090
|
<code class="ruby"> ch.on_data do |c, data|</code>
|
3091
3091
|
</li>
|
3092
3092
|
|
3093
|
-
<li class="covered" data-hits="
|
3094
|
-
<span class="hits">
|
3093
|
+
<li class="covered" data-hits="672" data-linenumber="501">
|
3094
|
+
<span class="hits">672</span>
|
3095
3095
|
|
3096
3096
|
<code class="ruby"> @result[:last_event_at] = Time.new</code>
|
3097
3097
|
</li>
|
3098
3098
|
|
3099
|
-
<li class="covered" data-hits="
|
3100
|
-
<span class="hits">
|
3099
|
+
<li class="covered" data-hits="672" data-linenumber="502">
|
3100
|
+
<span class="hits">672</span>
|
3101
3101
|
|
3102
3102
|
<code class="ruby"> r = block.call(:stdout, ch, data) if block</code>
|
3103
3103
|
</li>
|
3104
3104
|
|
3105
|
-
<li class="covered" data-hits="
|
3106
|
-
<span class="hits">
|
3105
|
+
<li class="covered" data-hits="672" data-linenumber="503">
|
3106
|
+
<span class="hits">672</span>
|
3107
3107
|
|
3108
3108
|
<code class="ruby"> @result[:stdout] += data.to_s unless r == :no_append</code>
|
3109
3109
|
</li>
|
@@ -3114,26 +3114,26 @@
|
|
3114
3114
|
<code class="ruby"> end</code>
|
3115
3115
|
</li>
|
3116
3116
|
|
3117
|
-
<li class="covered" data-hits="
|
3118
|
-
<span class="hits">
|
3117
|
+
<li class="covered" data-hits="69" data-linenumber="505">
|
3118
|
+
<span class="hits">69</span>
|
3119
3119
|
|
3120
3120
|
<code class="ruby"> ch.on_extended_data do |c, type, data|</code>
|
3121
3121
|
</li>
|
3122
3122
|
|
3123
|
-
<li class="covered" data-hits="
|
3124
|
-
<span class="hits">
|
3123
|
+
<li class="covered" data-hits="589" data-linenumber="506">
|
3124
|
+
<span class="hits">589</span>
|
3125
3125
|
|
3126
3126
|
<code class="ruby"> @result[:last_event_at] = Time.new</code>
|
3127
3127
|
</li>
|
3128
3128
|
|
3129
|
-
<li class="covered" data-hits="
|
3130
|
-
<span class="hits">
|
3129
|
+
<li class="covered" data-hits="589" data-linenumber="507">
|
3130
|
+
<span class="hits">589</span>
|
3131
3131
|
|
3132
3132
|
<code class="ruby"> r = block.call(:stderr, ch, data) if block</code>
|
3133
3133
|
</li>
|
3134
3134
|
|
3135
|
-
<li class="covered" data-hits="
|
3136
|
-
<span class="hits">
|
3135
|
+
<li class="covered" data-hits="589" data-linenumber="508">
|
3136
|
+
<span class="hits">589</span>
|
3137
3137
|
|
3138
3138
|
<code class="ruby"> @result[:stderr] += data.to_s unless r == :no_append</code>
|
3139
3139
|
</li>
|
@@ -3144,32 +3144,32 @@
|
|
3144
3144
|
<code class="ruby"> end</code>
|
3145
3145
|
</li>
|
3146
3146
|
|
3147
|
-
<li class="covered" data-hits="
|
3148
|
-
<span class="hits">
|
3147
|
+
<li class="covered" data-hits="69" data-linenumber="510">
|
3148
|
+
<span class="hits">69</span>
|
3149
3149
|
|
3150
3150
|
<code class="ruby"> ch.on_request('exit-status') do |c, data|</code>
|
3151
3151
|
</li>
|
3152
3152
|
|
3153
|
-
<li class="covered" data-hits="
|
3154
|
-
<span class="hits">
|
3153
|
+
<li class="covered" data-hits="64" data-linenumber="511">
|
3154
|
+
<span class="hits">64</span>
|
3155
3155
|
|
3156
3156
|
<code class="ruby"> @result[:last_event_at] = Time.new</code>
|
3157
3157
|
</li>
|
3158
3158
|
|
3159
|
-
<li class="covered" data-hits="
|
3160
|
-
<span class="hits">
|
3159
|
+
<li class="covered" data-hits="64" data-linenumber="512">
|
3160
|
+
<span class="hits">64</span>
|
3161
3161
|
|
3162
3162
|
<code class="ruby"> exit_code = data.read_long</code>
|
3163
3163
|
</li>
|
3164
3164
|
|
3165
|
-
<li class="covered" data-hits="
|
3166
|
-
<span class="hits">
|
3165
|
+
<li class="covered" data-hits="64" data-linenumber="513">
|
3166
|
+
<span class="hits">64</span>
|
3167
3167
|
|
3168
3168
|
<code class="ruby"> block.call(:exit_code, ch, exit_code) if block</code>
|
3169
3169
|
</li>
|
3170
3170
|
|
3171
|
-
<li class="covered" data-hits="
|
3172
|
-
<span class="hits">
|
3171
|
+
<li class="covered" data-hits="64" data-linenumber="514">
|
3172
|
+
<span class="hits">64</span>
|
3173
3173
|
|
3174
3174
|
<code class="ruby"> @result[:exit_code] = exit_code</code>
|
3175
3175
|
</li>
|
@@ -3180,8 +3180,8 @@
|
|
3180
3180
|
<code class="ruby"> end</code>
|
3181
3181
|
</li>
|
3182
3182
|
|
3183
|
-
<li class="covered" data-hits="
|
3184
|
-
<span class="hits">
|
3183
|
+
<li class="covered" data-hits="69" data-linenumber="516">
|
3184
|
+
<span class="hits">69</span>
|
3185
3185
|
|
3186
3186
|
<code class="ruby"> ch.on_request('exit-signal') do |c, data|</code>
|
3187
3187
|
</li>
|
@@ -3240,8 +3240,8 @@
|
|
3240
3240
|
<code class="ruby"> end</code>
|
3241
3241
|
</li>
|
3242
3242
|
|
3243
|
-
<li class="covered" data-hits="
|
3244
|
-
<span class="hits">
|
3243
|
+
<li class="covered" data-hits="69" data-linenumber="526">
|
3244
|
+
<span class="hits">69</span>
|
3245
3245
|
|
3246
3246
|
<code class="ruby"> block.call(:start, ch, nil) if block</code>
|
3247
3247
|
</li>
|
@@ -3258,26 +3258,26 @@
|
|
3258
3258
|
<code class="ruby"> end</code>
|
3259
3259
|
</li>
|
3260
3260
|
|
3261
|
-
<li class="covered" data-hits="
|
3262
|
-
<span class="hits">
|
3261
|
+
<li class="covered" data-hits="69" data-linenumber="529">
|
3262
|
+
<span class="hits">69</span>
|
3263
3263
|
|
3264
3264
|
<code class="ruby"> wait_for_channel session, channel, @result, opts</code>
|
3265
3265
|
</li>
|
3266
3266
|
|
3267
|
-
<li class="covered" data-hits="
|
3268
|
-
<span class="hits">
|
3267
|
+
<li class="covered" data-hits="65" data-linenumber="530">
|
3268
|
+
<span class="hits">65</span>
|
3269
3269
|
|
3270
3270
|
<code class="ruby"> @result[:finish_at] = Time.new</code>
|
3271
3271
|
</li>
|
3272
3272
|
|
3273
|
-
<li class="covered" data-hits="
|
3274
|
-
<span class="hits">
|
3273
|
+
<li class="covered" data-hits="65" data-linenumber="531">
|
3274
|
+
<span class="hits">65</span>
|
3275
3275
|
|
3276
3276
|
<code class="ruby"> block.call(:finish, channel, nil) if block</code>
|
3277
3277
|
</li>
|
3278
3278
|
|
3279
|
-
<li class="covered" data-hits="
|
3280
|
-
<span class="hits">
|
3279
|
+
<li class="covered" data-hits="65" data-linenumber="532">
|
3280
|
+
<span class="hits">65</span>
|
3281
3281
|
|
3282
3282
|
<code class="ruby"> @result</code>
|
3283
3283
|
</li>
|
@@ -3756,62 +3756,62 @@
|
|
3756
3756
|
<code class="ruby"> def with_session(host, opts={}, &block)</code>
|
3757
3757
|
</li>
|
3758
3758
|
|
3759
|
-
<li class="covered" data-hits="
|
3760
|
-
<span class="hits">
|
3759
|
+
<li class="covered" data-hits="103" data-linenumber="612">
|
3760
|
+
<span class="hits">103</span>
|
3761
3761
|
|
3762
3762
|
<code class="ruby"> opts[:timeout] ||= 60</code>
|
3763
3763
|
</li>
|
3764
3764
|
|
3765
|
-
<li class="covered" data-hits="
|
3766
|
-
<span class="hits">
|
3765
|
+
<li class="covered" data-hits="103" data-linenumber="613">
|
3766
|
+
<span class="hits">103</span>
|
3767
3767
|
|
3768
3768
|
<code class="ruby"> opts[:timeout] = MAX_TIMEOUT if opts[:timeout] == 0</code>
|
3769
3769
|
</li>
|
3770
3770
|
|
3771
|
-
<li class="covered" data-hits="
|
3772
|
-
<span class="hits">
|
3771
|
+
<li class="covered" data-hits="103" data-linenumber="614">
|
3772
|
+
<span class="hits">103</span>
|
3773
3773
|
|
3774
3774
|
<code class="ruby"> opts[:operation_timeout] ||= 3600</code>
|
3775
3775
|
</li>
|
3776
3776
|
|
3777
|
-
<li class="covered" data-hits="
|
3778
|
-
<span class="hits">
|
3777
|
+
<li class="covered" data-hits="103" data-linenumber="615">
|
3778
|
+
<span class="hits">103</span>
|
3779
3779
|
|
3780
3780
|
<code class="ruby"> opts[:operation_timeout] = MAX_TIMEOUT if opts[:operation_timeout] == 0</code>
|
3781
3781
|
</li>
|
3782
3782
|
|
3783
|
-
<li class="covered" data-hits="
|
3784
|
-
<span class="hits">
|
3783
|
+
<li class="covered" data-hits="103" data-linenumber="616">
|
3784
|
+
<span class="hits">103</span>
|
3785
3785
|
|
3786
3786
|
<code class="ruby"> opts[:close_timeout] ||= 5</code>
|
3787
3787
|
</li>
|
3788
3788
|
|
3789
|
-
<li class="covered" data-hits="
|
3790
|
-
<span class="hits">
|
3789
|
+
<li class="covered" data-hits="103" data-linenumber="617">
|
3790
|
+
<span class="hits">103</span>
|
3791
3791
|
|
3792
3792
|
<code class="ruby"> opts[:keepalive_interval] ||= 60</code>
|
3793
3793
|
</li>
|
3794
3794
|
|
3795
|
-
<li class="covered" data-hits="
|
3796
|
-
<span class="hits">
|
3795
|
+
<li class="covered" data-hits="103" data-linenumber="618">
|
3796
|
+
<span class="hits">103</span>
|
3797
3797
|
|
3798
3798
|
<code class="ruby"> begin</code>
|
3799
3799
|
</li>
|
3800
3800
|
|
3801
|
-
<li class="covered" data-hits="
|
3802
|
-
<span class="hits">
|
3801
|
+
<li class="covered" data-hits="594" data-linenumber="619">
|
3802
|
+
<span class="hits">594</span>
|
3803
3803
|
|
3804
3804
|
<code class="ruby"> net_ssh_opts = opts.reject{|k,v| EXTRA_OPTS.include? k }</code>
|
3805
3805
|
</li>
|
3806
3806
|
|
3807
|
-
<li class="covered" data-hits="
|
3808
|
-
<span class="hits">
|
3807
|
+
<li class="covered" data-hits="103" data-linenumber="620">
|
3808
|
+
<span class="hits">103</span>
|
3809
3809
|
|
3810
3810
|
<code class="ruby"> ::Timeout.timeout(opts[:operation_timeout]) do</code>
|
3811
3811
|
</li>
|
3812
3812
|
|
3813
|
-
<li class="covered" data-hits="
|
3814
|
-
<span class="hits">
|
3813
|
+
<li class="covered" data-hits="103" data-linenumber="621">
|
3814
|
+
<span class="hits">103</span>
|
3815
3815
|
|
3816
3816
|
<code class="ruby"> session = Thread.current[:ssh_simple_sessions][host.hash] \</code>
|
3817
3817
|
</li>
|
@@ -3828,8 +3828,8 @@
|
|
3828
3828
|
<code class="ruby"> || Net::SSH.start(*[host, opts[:user], net_ssh_opts])</code>
|
3829
3829
|
</li>
|
3830
3830
|
|
3831
|
-
<li class="covered" data-hits="
|
3832
|
-
<span class="hits">
|
3831
|
+
<li class="covered" data-hits="102" data-linenumber="624">
|
3832
|
+
<span class="hits">102</span>
|
3833
3833
|
|
3834
3834
|
<code class="ruby"> block.call(session)</code>
|
3835
3835
|
</li>
|
@@ -3906,14 +3906,14 @@
|
|
3906
3906
|
<code class="ruby"> def wait_for_channel(session, channel, result, opts)</code>
|
3907
3907
|
</li>
|
3908
3908
|
|
3909
|
-
<li class="covered" data-hits="
|
3910
|
-
<span class="hits">
|
3909
|
+
<li class="covered" data-hits="102" data-linenumber="637">
|
3910
|
+
<span class="hits">102</span>
|
3911
3911
|
|
3912
3912
|
<code class="ruby"> session.loop(1) do</code>
|
3913
3913
|
</li>
|
3914
3914
|
|
3915
|
-
<li class="covered" data-hits="
|
3916
|
-
<span class="hits">
|
3915
|
+
<li class="covered" data-hits="2637" data-linenumber="638">
|
3916
|
+
<span class="hits">2637</span>
|
3917
3917
|
|
3918
3918
|
<code class="ruby"> if opts[:timeout] < Time.now - result[:last_event_at]</code>
|
3919
3919
|
</li>
|
@@ -3942,20 +3942,20 @@
|
|
3942
3942
|
<code class="ruby"> # Send keep-alive probes at the configured interval.</code>
|
3943
3943
|
</li>
|
3944
3944
|
|
3945
|
-
<li class="covered" data-hits="
|
3946
|
-
<span class="hits">
|
3945
|
+
<li class="covered" data-hits="2636" data-linenumber="643">
|
3946
|
+
<span class="hits">2636</span>
|
3947
3947
|
|
3948
3948
|
<code class="ruby"> if opts[:keepalive_interval] < Time.now.to_i - (@result[:last_keepalive_at]||0).to_i</code>
|
3949
3949
|
</li>
|
3950
3950
|
|
3951
|
-
<li class="covered" data-hits="
|
3952
|
-
<span class="hits">
|
3951
|
+
<li class="covered" data-hits="105" data-linenumber="644">
|
3952
|
+
<span class="hits">105</span>
|
3953
3953
|
|
3954
3954
|
<code class="ruby"> session.send_global_request('keep-alive@openssh.com')</code>
|
3955
3955
|
</li>
|
3956
3956
|
|
3957
|
-
<li class="covered" data-hits="
|
3958
|
-
<span class="hits">
|
3957
|
+
<li class="covered" data-hits="105" data-linenumber="645">
|
3958
|
+
<span class="hits">105</span>
|
3959
3959
|
|
3960
3960
|
<code class="ruby"> @result[:last_keepalive_at] = Time.now</code>
|
3961
3961
|
</li>
|
@@ -3966,8 +3966,8 @@
|
|
3966
3966
|
<code class="ruby"> end</code>
|
3967
3967
|
</li>
|
3968
3968
|
|
3969
|
-
<li class="covered" data-hits="
|
3970
|
-
<span class="hits">
|
3969
|
+
<li class="covered" data-hits="2636" data-linenumber="647">
|
3970
|
+
<span class="hits">2636</span>
|
3971
3971
|
|
3972
3972
|
<code class="ruby"> channel.active?</code>
|
3973
3973
|
</li>
|
data/doc/Net.html
CHANGED
@@ -108,9 +108,9 @@
|
|
108
108
|
</div>
|
109
109
|
|
110
110
|
<div id="footer">
|
111
|
-
Generated on
|
111
|
+
Generated on Mon Sep 28 17:39:52 2015 by
|
112
112
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
113
|
-
0.8.7.6 (ruby-2.
|
113
|
+
0.8.7.6 (ruby-2.2.2).
|
114
114
|
</div>
|
115
115
|
|
116
116
|
</body>
|
data/doc/Net/SSH.html
CHANGED
@@ -108,9 +108,9 @@
|
|
108
108
|
</div>
|
109
109
|
|
110
110
|
<div id="footer">
|
111
|
-
Generated on
|
111
|
+
Generated on Mon Sep 28 17:39:52 2015 by
|
112
112
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
113
|
-
0.8.7.6 (ruby-2.
|
113
|
+
0.8.7.6 (ruby-2.2.2).
|
114
114
|
</div>
|
115
115
|
|
116
116
|
</body>
|
data/doc/Net/SSH/Simple.html
CHANGED
@@ -380,7 +380,7 @@
|
|
380
380
|
<dt id="VERSION-constant" class="">VERSION =
|
381
381
|
|
382
382
|
</dt>
|
383
|
-
<dd><pre class="code"><span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>1.6.
|
383
|
+
<dd><pre class="code"><span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>1.6.10</span><span class='tstring_end'>"</span></span></pre></dd>
|
384
384
|
|
385
385
|
</dl>
|
386
386
|
|
@@ -2719,9 +2719,9 @@ are translated to the corresponding Logger constant.</p>
|
|
2719
2719
|
</div>
|
2720
2720
|
|
2721
2721
|
<div id="footer">
|
2722
|
-
Generated on
|
2722
|
+
Generated on Mon Sep 28 17:39:53 2015 by
|
2723
2723
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
2724
|
-
0.8.7.6 (ruby-2.
|
2724
|
+
0.8.7.6 (ruby-2.2.2).
|
2725
2725
|
</div>
|
2726
2726
|
|
2727
2727
|
</body>
|
@@ -425,9 +425,9 @@ incomplete!).</p>
|
|
425
425
|
</div>
|
426
426
|
|
427
427
|
<div id="footer">
|
428
|
-
Generated on
|
428
|
+
Generated on Mon Sep 28 17:39:53 2015 by
|
429
429
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
430
|
-
0.8.7.6 (ruby-2.
|
430
|
+
0.8.7.6 (ruby-2.2.2).
|
431
431
|
</div>
|
432
432
|
|
433
433
|
</body>
|
@@ -1631,9 +1631,9 @@
|
|
1631
1631
|
</div>
|
1632
1632
|
|
1633
1633
|
<div id="footer">
|
1634
|
-
Generated on
|
1634
|
+
Generated on Mon Sep 28 17:39:54 2015 by
|
1635
1635
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
1636
|
-
0.8.7.6 (ruby-2.
|
1636
|
+
0.8.7.6 (ruby-2.2.2).
|
1637
1637
|
</div>
|
1638
1638
|
|
1639
1639
|
</body>
|
data/doc/_index.html
CHANGED
@@ -153,9 +153,9 @@
|
|
153
153
|
</div>
|
154
154
|
|
155
155
|
<div id="footer">
|
156
|
-
Generated on
|
156
|
+
Generated on Mon Sep 28 17:39:52 2015 by
|
157
157
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
158
|
-
0.8.7.6 (ruby-2.
|
158
|
+
0.8.7.6 (ruby-2.2.2).
|
159
159
|
</div>
|
160
160
|
|
161
161
|
</body>
|
data/doc/file.README.html
CHANGED
@@ -62,7 +62,7 @@
|
|
62
62
|
<iframe id="search_frame"></iframe>
|
63
63
|
|
64
64
|
<div id="content"><div id='filecontents'>
|
65
|
-
<h1 id="label-Net
|
65
|
+
<h1 id="label-Net-3A-3ASSH-3A-3ASimple+-3Cimg+src-3D-22https-3A-2F-2Fgemnasium.com-2Fbusyloop-2Fnet-ssh-simple.png-22+alt-3D-22Dependency+Status-22+-2F-3E">Net::SSH::Simple <a href="https://gemnasium.com/busyloop/net-ssh-simple"><img src="https://gemnasium.com/busyloop/net-ssh-simple.png" alt="Dependency Status" /></a></h1>
|
66
66
|
|
67
67
|
<p>Net::SSH::Simple is a simple wrapper around Net::SSH and Net::SCP.</p>
|
68
68
|
|
@@ -95,7 +95,8 @@ test coverage</p>
|
|
95
95
|
|
96
96
|
<h2 id="label-Installation">Installation</h2>
|
97
97
|
|
98
|
-
<pre class="code ruby"><code class="ruby"><span class='id identifier rubyid_gem'>gem</span> <span class='id identifier rubyid_install'>install</span> <span class='id identifier rubyid_net'>net</span><span class='op'>-</span><span class='id identifier rubyid_ssh'>ssh</span><span class='op'>-</span><span class='id identifier rubyid_simple'>simple</span
|
98
|
+
<pre class="code ruby"><code class="ruby"><span class='id identifier rubyid_gem'>gem</span> <span class='id identifier rubyid_install'>install</span> <span class='id identifier rubyid_net'>net</span><span class='op'>-</span><span class='id identifier rubyid_ssh'>ssh</span><span class='op'>-</span><span class='id identifier rubyid_simple'>simple</span>
|
99
|
+
</code></pre>
|
99
100
|
|
100
101
|
<h2 id="label-Examples">Examples</h2>
|
101
102
|
|
@@ -103,7 +104,7 @@ test coverage</p>
|
|
103
104
|
href="http://busyloop.github.com/net-ssh-simple/doc/">click here</a> for a
|
104
105
|
more readable version with syntax highlighting.</p>
|
105
106
|
|
106
|
-
<h3 id="label-Block+Syntax
|
107
|
+
<h3 id="label-Block+Syntax+-28synchronous-29">Block Syntax (synchronous)</h3>
|
107
108
|
|
108
109
|
<pre class="code ruby"><code class="ruby"><span class='id identifier rubyid_require'>require</span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>net/ssh/simple</span><span class='tstring_end'>'</span></span>
|
109
110
|
|
@@ -116,7 +117,7 @@ more readable version with syntax highlighting.</p>
|
|
116
117
|
<span class='kw'>end</span>
|
117
118
|
</code></pre>
|
118
119
|
|
119
|
-
<h3 id="label-Block+Syntax
|
120
|
+
<h3 id="label-Block+Syntax+-28asynchronous-29">Block Syntax (asynchronous)</h3>
|
120
121
|
|
121
122
|
<pre class="code ruby"><code class="ruby"><span class='id identifier rubyid_require'>require</span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>net/ssh/simple</span><span class='tstring_end'>'</span></span>
|
122
123
|
|
@@ -229,7 +230,7 @@ the top of 'spec/net-ssh-simple.rb' on how to set this up.</p>
|
|
229
230
|
|
230
231
|
<pre class="code ruby"><code class="ruby">$ bundle exec rake</code></pre>
|
231
232
|
|
232
|
-
<h2 id="label-License
|
233
|
+
<h2 id="label-License+-28MIT-29">License (MIT)</h2>
|
233
234
|
|
234
235
|
<p>Copyright (C) 2011 by moe@busyloop.net</p>
|
235
236
|
|
@@ -253,9 +254,9 @@ DEALINGS IN THE SOFTWARE.</p>
|
|
253
254
|
</div></div>
|
254
255
|
|
255
256
|
<div id="footer">
|
256
|
-
Generated on
|
257
|
+
Generated on Mon Sep 28 17:39:52 2015 by
|
257
258
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
258
|
-
0.8.7.6 (ruby-2.
|
259
|
+
0.8.7.6 (ruby-2.2.2).
|
259
260
|
</div>
|
260
261
|
|
261
262
|
</body>
|
data/doc/index.html
CHANGED
@@ -62,7 +62,7 @@
|
|
62
62
|
<iframe id="search_frame"></iframe>
|
63
63
|
|
64
64
|
<div id="content"><div id='filecontents'>
|
65
|
-
<h1 id="label-Net
|
65
|
+
<h1 id="label-Net-3A-3ASSH-3A-3ASimple+-3Cimg+src-3D-22https-3A-2F-2Fgemnasium.com-2Fbusyloop-2Fnet-ssh-simple.png-22+alt-3D-22Dependency+Status-22+-2F-3E">Net::SSH::Simple <a href="https://gemnasium.com/busyloop/net-ssh-simple"><img src="https://gemnasium.com/busyloop/net-ssh-simple.png" alt="Dependency Status" /></a></h1>
|
66
66
|
|
67
67
|
<p>Net::SSH::Simple is a simple wrapper around Net::SSH and Net::SCP.</p>
|
68
68
|
|
@@ -95,7 +95,8 @@ test coverage</p>
|
|
95
95
|
|
96
96
|
<h2 id="label-Installation">Installation</h2>
|
97
97
|
|
98
|
-
<pre class="code ruby"><code class="ruby"><span class='id identifier rubyid_gem'>gem</span> <span class='id identifier rubyid_install'>install</span> <span class='id identifier rubyid_net'>net</span><span class='op'>-</span><span class='id identifier rubyid_ssh'>ssh</span><span class='op'>-</span><span class='id identifier rubyid_simple'>simple</span
|
98
|
+
<pre class="code ruby"><code class="ruby"><span class='id identifier rubyid_gem'>gem</span> <span class='id identifier rubyid_install'>install</span> <span class='id identifier rubyid_net'>net</span><span class='op'>-</span><span class='id identifier rubyid_ssh'>ssh</span><span class='op'>-</span><span class='id identifier rubyid_simple'>simple</span>
|
99
|
+
</code></pre>
|
99
100
|
|
100
101
|
<h2 id="label-Examples">Examples</h2>
|
101
102
|
|
@@ -103,7 +104,7 @@ test coverage</p>
|
|
103
104
|
href="http://busyloop.github.com/net-ssh-simple/doc/">click here</a> for a
|
104
105
|
more readable version with syntax highlighting.</p>
|
105
106
|
|
106
|
-
<h3 id="label-Block+Syntax
|
107
|
+
<h3 id="label-Block+Syntax+-28synchronous-29">Block Syntax (synchronous)</h3>
|
107
108
|
|
108
109
|
<pre class="code ruby"><code class="ruby"><span class='id identifier rubyid_require'>require</span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>net/ssh/simple</span><span class='tstring_end'>'</span></span>
|
109
110
|
|
@@ -116,7 +117,7 @@ more readable version with syntax highlighting.</p>
|
|
116
117
|
<span class='kw'>end</span>
|
117
118
|
</code></pre>
|
118
119
|
|
119
|
-
<h3 id="label-Block+Syntax
|
120
|
+
<h3 id="label-Block+Syntax+-28asynchronous-29">Block Syntax (asynchronous)</h3>
|
120
121
|
|
121
122
|
<pre class="code ruby"><code class="ruby"><span class='id identifier rubyid_require'>require</span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>net/ssh/simple</span><span class='tstring_end'>'</span></span>
|
122
123
|
|
@@ -229,7 +230,7 @@ the top of 'spec/net-ssh-simple.rb' on how to set this up.</p>
|
|
229
230
|
|
230
231
|
<pre class="code ruby"><code class="ruby">$ bundle exec rake</code></pre>
|
231
232
|
|
232
|
-
<h2 id="label-License
|
233
|
+
<h2 id="label-License+-28MIT-29">License (MIT)</h2>
|
233
234
|
|
234
235
|
<p>Copyright (C) 2011 by moe@busyloop.net</p>
|
235
236
|
|
@@ -253,9 +254,9 @@ DEALINGS IN THE SOFTWARE.</p>
|
|
253
254
|
</div></div>
|
254
255
|
|
255
256
|
<div id="footer">
|
256
|
-
Generated on
|
257
|
+
Generated on Mon Sep 28 17:39:52 2015 by
|
257
258
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
258
|
-
0.8.7.6 (ruby-2.
|
259
|
+
0.8.7.6 (ruby-2.2.2).
|
259
260
|
</div>
|
260
261
|
|
261
262
|
</body>
|
data/doc/method_list.html
CHANGED
@@ -52,13 +52,13 @@
|
|
52
52
|
|
53
53
|
|
54
54
|
<li class="r1 ">
|
55
|
-
<span class='object_link'><a href="Net/SSH/Simple.html#async-
|
55
|
+
<span class='object_link'><a href="Net/SSH/Simple.html#async-class_method" title="Net::SSH::Simple.async (method)">async</a></span>
|
56
56
|
<small>Net::SSH::Simple</small>
|
57
57
|
</li>
|
58
58
|
|
59
59
|
|
60
60
|
<li class="r2 ">
|
61
|
-
<span class='object_link'><a href="Net/SSH/Simple.html#async-
|
61
|
+
<span class='object_link'><a href="Net/SSH/Simple.html#async-instance_method" title="Net::SSH::Simple#async (method)">#async</a></span>
|
62
62
|
<small>Net::SSH::Simple</small>
|
63
63
|
</li>
|
64
64
|
|
@@ -142,37 +142,37 @@
|
|
142
142
|
|
143
143
|
|
144
144
|
<li class="r2 ">
|
145
|
-
<span class='object_link'><a href="Net/SSH/Simple
|
146
|
-
<small>Net::SSH::Simple
|
145
|
+
<span class='object_link'><a href="Net/SSH/Simple.html#result-instance_method" title="Net::SSH::Simple#result (method)">#result</a></span>
|
146
|
+
<small>Net::SSH::Simple</small>
|
147
147
|
</li>
|
148
148
|
|
149
149
|
|
150
150
|
<li class="r1 ">
|
151
|
-
<span class='object_link'><a href="Net/SSH/Simple.html#result-instance_method" title="Net::SSH::Simple#result (method)">#result</a></span>
|
152
|
-
<small>Net::SSH::Simple</small>
|
151
|
+
<span class='object_link'><a href="Net/SSH/Simple/Error.html#result-instance_method" title="Net::SSH::Simple::Error#result (method)">#result</a></span>
|
152
|
+
<small>Net::SSH::Simple::Error</small>
|
153
153
|
</li>
|
154
154
|
|
155
155
|
|
156
156
|
<li class="r2 ">
|
157
|
-
<span class='object_link'><a href="Net/SSH/Simple.html#scp_get-
|
157
|
+
<span class='object_link'><a href="Net/SSH/Simple.html#scp_get-class_method" title="Net::SSH::Simple.scp_get (method)">scp_get</a></span>
|
158
158
|
<small>Net::SSH::Simple</small>
|
159
159
|
</li>
|
160
160
|
|
161
161
|
|
162
162
|
<li class="r1 ">
|
163
|
-
<span class='object_link'><a href="Net/SSH/Simple.html#scp_get-
|
163
|
+
<span class='object_link'><a href="Net/SSH/Simple.html#scp_get-instance_method" title="Net::SSH::Simple#scp_get (method)">#scp_get</a></span>
|
164
164
|
<small>Net::SSH::Simple</small>
|
165
165
|
</li>
|
166
166
|
|
167
167
|
|
168
168
|
<li class="r2 ">
|
169
|
-
<span class='object_link'><a href="Net/SSH/Simple.html#scp_put-
|
169
|
+
<span class='object_link'><a href="Net/SSH/Simple.html#scp_put-class_method" title="Net::SSH::Simple.scp_put (method)">scp_put</a></span>
|
170
170
|
<small>Net::SSH::Simple</small>
|
171
171
|
</li>
|
172
172
|
|
173
173
|
|
174
174
|
<li class="r1 ">
|
175
|
-
<span class='object_link'><a href="Net/SSH/Simple.html#scp_put-
|
175
|
+
<span class='object_link'><a href="Net/SSH/Simple.html#scp_put-instance_method" title="Net::SSH::Simple#scp_put (method)">#scp_put</a></span>
|
176
176
|
<small>Net::SSH::Simple</small>
|
177
177
|
</li>
|
178
178
|
|
@@ -103,9 +103,9 @@
|
|
103
103
|
</div>
|
104
104
|
|
105
105
|
<div id="footer">
|
106
|
-
Generated on
|
106
|
+
Generated on Mon Sep 28 17:39:52 2015 by
|
107
107
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
108
|
-
0.8.7.6 (ruby-2.
|
108
|
+
0.8.7.6 (ruby-2.2.2).
|
109
109
|
</div>
|
110
110
|
|
111
111
|
</body>
|
data/net-ssh-simple.gemspec
CHANGED
@@ -13,7 +13,7 @@ Gem::Specification.new do |s|
|
|
13
13
|
|
14
14
|
s.required_ruby_version = '>= 1.9.2'
|
15
15
|
|
16
|
-
s.add_dependency "net-ssh", "=
|
16
|
+
s.add_dependency "net-ssh", "= 3.0.1"
|
17
17
|
s.add_dependency "net-scp", "= 1.2.1"
|
18
18
|
s.add_dependency "blockenspiel", "= 0.4.5"
|
19
19
|
s.add_dependency "hashie", "= 3.4.2"
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: net-ssh-simple
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.6.
|
4
|
+
version: 1.6.11
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Moe
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-
|
11
|
+
date: 2015-09-28 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: net-ssh
|
@@ -16,14 +16,14 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - '='
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version:
|
19
|
+
version: 3.0.1
|
20
20
|
type: :runtime
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
24
|
- - '='
|
25
25
|
- !ruby/object:Gem::Version
|
26
|
-
version:
|
26
|
+
version: 3.0.1
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: net-scp
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|