net-ssh-simple 1.6.14 → 1.6.15
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/coverage/.resultset.json +47 -47
- data/coverage/index.html +95 -95
- data/doc/Net.html +1 -1
- data/doc/Net/SSH.html +1 -1
- data/doc/Net/SSH/Simple.html +2 -2
- data/doc/Net/SSH/Simple/Error.html +1 -1
- data/doc/Net/SSH/Simple/Result.html +1 -1
- data/doc/_index.html +1 -1
- data/doc/file.README.html +1 -1
- data/doc/index.html +1 -1
- data/doc/top-level-namespace.html +1 -1
- data/lib/net/ssh/simple/version.rb +1 -1
- data/net-ssh-simple.gemspec +2 -2
- metadata +6 -6
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 59bc3c94f039778f0cc3f0f7006ab9e39b1cec36
|
4
|
+
data.tar.gz: adcda97852b84c3a89305488a870e26a1810c4d3
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 12c8a107fe1226c38e61788451e4031a88d9f0aa6380784642f239757eee39f1afba0dcceacb5c5e54e6f1e7471533f76a6e50e46d7990d28802de24d47398f7
|
7
|
+
data.tar.gz: 8141e268643d4c05ba37897c9ef3950b5d8b223cbbced5a3efb48459dee66cd96a1efeee676971b83a6db9da496a12d13d0c32c76addf21082c563a0b42703ba
|
data/coverage/.resultset.json
CHANGED
@@ -490,34 +490,34 @@
|
|
490
490
|
null,
|
491
491
|
null,
|
492
492
|
1,
|
493
|
-
|
494
|
-
|
495
|
-
|
493
|
+
68,
|
494
|
+
68,
|
495
|
+
67,
|
496
496
|
null,
|
497
497
|
null,
|
498
498
|
null,
|
499
499
|
null,
|
500
500
|
null,
|
501
|
-
|
502
|
-
|
503
|
-
|
504
|
-
|
505
|
-
|
506
|
-
|
507
|
-
|
501
|
+
67,
|
502
|
+
67,
|
503
|
+
67,
|
504
|
+
67,
|
505
|
+
240,
|
506
|
+
240,
|
507
|
+
240,
|
508
508
|
null,
|
509
|
-
|
510
|
-
|
511
|
-
|
512
|
-
|
509
|
+
67,
|
510
|
+
202,
|
511
|
+
202,
|
512
|
+
202,
|
513
513
|
null,
|
514
|
-
|
515
|
-
|
516
|
-
|
517
|
-
|
518
|
-
|
514
|
+
67,
|
515
|
+
62,
|
516
|
+
62,
|
517
|
+
62,
|
518
|
+
62,
|
519
519
|
null,
|
520
|
-
|
520
|
+
67,
|
521
521
|
3,
|
522
522
|
3,
|
523
523
|
3,
|
@@ -527,13 +527,13 @@
|
|
527
527
|
2,
|
528
528
|
null,
|
529
529
|
null,
|
530
|
-
|
530
|
+
67,
|
531
531
|
null,
|
532
532
|
null,
|
533
|
-
|
534
|
-
|
535
|
-
|
536
|
-
|
533
|
+
67,
|
534
|
+
63,
|
535
|
+
63,
|
536
|
+
63,
|
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
|
+
101,
|
617
|
+
101,
|
618
|
+
101,
|
619
|
+
101,
|
620
|
+
101,
|
621
|
+
101,
|
622
|
+
101,
|
623
|
+
584,
|
624
|
+
101,
|
625
|
+
101,
|
626
626
|
null,
|
627
627
|
null,
|
628
|
-
|
628
|
+
100,
|
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
|
+
100,
|
642
|
+
1855,
|
643
643
|
1,
|
644
644
|
null,
|
645
645
|
null,
|
646
646
|
null,
|
647
|
-
|
648
|
-
|
649
|
-
|
647
|
+
1854,
|
648
|
+
104,
|
649
|
+
104,
|
650
650
|
null,
|
651
|
-
|
651
|
+
1854,
|
652
652
|
null,
|
653
653
|
null,
|
654
654
|
null,
|
@@ -662,10 +662,10 @@
|
|
662
662
|
33,
|
663
663
|
33,
|
664
664
|
33,
|
665
|
-
|
666
|
-
|
667
|
-
|
668
|
-
|
665
|
+
64,
|
666
|
+
64,
|
667
|
+
64,
|
668
|
+
64,
|
669
669
|
null,
|
670
670
|
33,
|
671
671
|
31,
|
@@ -748,6 +748,6 @@
|
|
748
748
|
null
|
749
749
|
]
|
750
750
|
},
|
751
|
-
"timestamp":
|
751
|
+
"timestamp": 1462728615
|
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="2016-
|
17
|
+
<div class="timestamp">Generated <abbr class="timeago" title="2016-05-08T19:30:15+02:00">2016-05-08T19:30:15+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
|
+
70.1
|
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>70.1</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="68" data-linenumber="489">
|
3022
|
+
<span class="hits">68</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="68" data-linenumber="490">
|
3028
|
+
<span class="hits">68</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="67" data-linenumber="491">
|
3034
|
+
<span class="hits">67</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="67" data-linenumber="497">
|
3070
|
+
<span class="hits">67</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="67" data-linenumber="498">
|
3076
|
+
<span class="hits">67</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="67" data-linenumber="499">
|
3082
|
+
<span class="hits">67</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="67" data-linenumber="500">
|
3088
|
+
<span class="hits">67</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="240" data-linenumber="501">
|
3094
|
+
<span class="hits">240</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="240" data-linenumber="502">
|
3100
|
+
<span class="hits">240</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="240" data-linenumber="503">
|
3106
|
+
<span class="hits">240</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="67" data-linenumber="505">
|
3118
|
+
<span class="hits">67</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="202" data-linenumber="506">
|
3124
|
+
<span class="hits">202</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="202" data-linenumber="507">
|
3130
|
+
<span class="hits">202</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="202" data-linenumber="508">
|
3136
|
+
<span class="hits">202</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="67" data-linenumber="510">
|
3148
|
+
<span class="hits">67</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="62" data-linenumber="511">
|
3154
|
+
<span class="hits">62</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="62" data-linenumber="512">
|
3160
|
+
<span class="hits">62</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="62" data-linenumber="513">
|
3166
|
+
<span class="hits">62</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="62" data-linenumber="514">
|
3172
|
+
<span class="hits">62</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="67" data-linenumber="516">
|
3184
|
+
<span class="hits">67</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="67" data-linenumber="526">
|
3244
|
+
<span class="hits">67</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="67" data-linenumber="529">
|
3262
|
+
<span class="hits">67</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="63" data-linenumber="530">
|
3268
|
+
<span class="hits">63</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="63" data-linenumber="531">
|
3274
|
+
<span class="hits">63</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="63" data-linenumber="532">
|
3280
|
+
<span class="hits">63</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="101" data-linenumber="612">
|
3760
|
+
<span class="hits">101</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="101" data-linenumber="613">
|
3766
|
+
<span class="hits">101</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="101" data-linenumber="614">
|
3772
|
+
<span class="hits">101</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="101" data-linenumber="615">
|
3778
|
+
<span class="hits">101</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="101" data-linenumber="616">
|
3784
|
+
<span class="hits">101</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="101" data-linenumber="617">
|
3790
|
+
<span class="hits">101</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="101" data-linenumber="618">
|
3796
|
+
<span class="hits">101</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="584" data-linenumber="619">
|
3802
|
+
<span class="hits">584</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="101" data-linenumber="620">
|
3808
|
+
<span class="hits">101</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="101" data-linenumber="621">
|
3814
|
+
<span class="hits">101</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="100" data-linenumber="624">
|
3832
|
+
<span class="hits">100</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="100" data-linenumber="637">
|
3910
|
+
<span class="hits">100</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="1855" data-linenumber="638">
|
3916
|
+
<span class="hits">1855</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="1854" data-linenumber="643">
|
3946
|
+
<span class="hits">1854</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="104" data-linenumber="644">
|
3952
|
+
<span class="hits">104</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="104" data-linenumber="645">
|
3958
|
+
<span class="hits">104</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="1854" data-linenumber="647">
|
3970
|
+
<span class="hits">1854</span>
|
3971
3971
|
|
3972
3972
|
<code class="ruby"> channel.active?</code>
|
3973
3973
|
</li>
|
@@ -4050,26 +4050,26 @@
|
|
4050
4050
|
<code class="ruby"> channel = session.scp.send(mode, src, dst) do |ch, name, sent, total|</code>
|
4051
4051
|
</li>
|
4052
4052
|
|
4053
|
-
<li class="covered" data-hits="
|
4054
|
-
<span class="hits">
|
4053
|
+
<li class="covered" data-hits="64" data-linenumber="661">
|
4054
|
+
<span class="hits">64</span>
|
4055
4055
|
|
4056
4056
|
<code class="ruby"> @result[:total] ||= total</code>
|
4057
4057
|
</li>
|
4058
4058
|
|
4059
|
-
<li class="covered" data-hits="
|
4060
|
-
<span class="hits">
|
4059
|
+
<li class="covered" data-hits="64" data-linenumber="662">
|
4060
|
+
<span class="hits">64</span>
|
4061
4061
|
|
4062
4062
|
<code class="ruby"> @result[:sent] = sent</code>
|
4063
4063
|
</li>
|
4064
4064
|
|
4065
|
-
<li class="covered" data-hits="
|
4066
|
-
<span class="hits">
|
4065
|
+
<li class="covered" data-hits="64" data-linenumber="663">
|
4066
|
+
<span class="hits">64</span>
|
4067
4067
|
|
4068
4068
|
<code class="ruby"> @result[:last_event_at] = Time.new</code>
|
4069
4069
|
</li>
|
4070
4070
|
|
4071
|
-
<li class="covered" data-hits="
|
4072
|
-
<span class="hits">
|
4071
|
+
<li class="covered" data-hits="64" data-linenumber="664">
|
4072
|
+
<span class="hits">64</span>
|
4073
4073
|
|
4074
4074
|
<code class="ruby"> block.call(sent, total) unless block.nil?</code>
|
4075
4075
|
</li>
|
data/doc/Net.html
CHANGED
@@ -108,7 +108,7 @@
|
|
108
108
|
</div>
|
109
109
|
|
110
110
|
<div id="footer">
|
111
|
-
Generated on
|
111
|
+
Generated on Sun May 8 19:29:08 2016 by
|
112
112
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
113
113
|
0.8.7.6 (ruby-2.2.2).
|
114
114
|
</div>
|
data/doc/Net/SSH.html
CHANGED
@@ -108,7 +108,7 @@
|
|
108
108
|
</div>
|
109
109
|
|
110
110
|
<div id="footer">
|
111
|
-
Generated on
|
111
|
+
Generated on Sun May 8 19:29:08 2016 by
|
112
112
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
113
113
|
0.8.7.6 (ruby-2.2.2).
|
114
114
|
</div>
|
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.15</span><span class='tstring_end'>"</span></span></pre></dd>
|
384
384
|
|
385
385
|
</dl>
|
386
386
|
|
@@ -2719,7 +2719,7 @@ are translated to the corresponding Logger constant.</p>
|
|
2719
2719
|
</div>
|
2720
2720
|
|
2721
2721
|
<div id="footer">
|
2722
|
-
Generated on
|
2722
|
+
Generated on Sun May 8 19:29:08 2016 by
|
2723
2723
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
2724
2724
|
0.8.7.6 (ruby-2.2.2).
|
2725
2725
|
</div>
|
@@ -425,7 +425,7 @@ incomplete!).</p>
|
|
425
425
|
</div>
|
426
426
|
|
427
427
|
<div id="footer">
|
428
|
-
Generated on
|
428
|
+
Generated on Sun May 8 19:29:08 2016 by
|
429
429
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
430
430
|
0.8.7.6 (ruby-2.2.2).
|
431
431
|
</div>
|
@@ -1631,7 +1631,7 @@
|
|
1631
1631
|
</div>
|
1632
1632
|
|
1633
1633
|
<div id="footer">
|
1634
|
-
Generated on
|
1634
|
+
Generated on Sun May 8 19:29:09 2016 by
|
1635
1635
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
1636
1636
|
0.8.7.6 (ruby-2.2.2).
|
1637
1637
|
</div>
|
data/doc/_index.html
CHANGED
@@ -153,7 +153,7 @@
|
|
153
153
|
</div>
|
154
154
|
|
155
155
|
<div id="footer">
|
156
|
-
Generated on
|
156
|
+
Generated on Sun May 8 19:29:07 2016 by
|
157
157
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
158
158
|
0.8.7.6 (ruby-2.2.2).
|
159
159
|
</div>
|
data/doc/file.README.html
CHANGED
@@ -254,7 +254,7 @@ DEALINGS IN THE SOFTWARE.</p>
|
|
254
254
|
</div></div>
|
255
255
|
|
256
256
|
<div id="footer">
|
257
|
-
Generated on
|
257
|
+
Generated on Sun May 8 19:29:08 2016 by
|
258
258
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
259
259
|
0.8.7.6 (ruby-2.2.2).
|
260
260
|
</div>
|
data/doc/index.html
CHANGED
@@ -254,7 +254,7 @@ DEALINGS IN THE SOFTWARE.</p>
|
|
254
254
|
</div></div>
|
255
255
|
|
256
256
|
<div id="footer">
|
257
|
-
Generated on
|
257
|
+
Generated on Sun May 8 19:29:07 2016 by
|
258
258
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
259
259
|
0.8.7.6 (ruby-2.2.2).
|
260
260
|
</div>
|
@@ -103,7 +103,7 @@
|
|
103
103
|
</div>
|
104
104
|
|
105
105
|
<div id="footer">
|
106
|
-
Generated on
|
106
|
+
Generated on Sun May 8 19:29:08 2016 by
|
107
107
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
108
108
|
0.8.7.6 (ruby-2.2.2).
|
109
109
|
</div>
|
data/net-ssh-simple.gemspec
CHANGED
@@ -13,10 +13,10 @@ Gem::Specification.new do |s|
|
|
13
13
|
|
14
14
|
s.required_ruby_version = '>= 1.9.2'
|
15
15
|
|
16
|
-
s.add_dependency "net-ssh", "= 3.
|
16
|
+
s.add_dependency "net-ssh", "= 3.1.1"
|
17
17
|
s.add_dependency "net-scp", "= 1.2.1"
|
18
18
|
s.add_dependency "blockenspiel", "= 0.5.0"
|
19
|
-
s.add_dependency "hashie", "= 3.4.
|
19
|
+
s.add_dependency "hashie", "= 3.4.4"
|
20
20
|
|
21
21
|
s.add_development_dependency "rake", "~> 10.4.2"
|
22
22
|
s.add_development_dependency "rspec", "= 2.14.1"
|
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.15
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Moe
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-
|
11
|
+
date: 2016-05-08 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: 3.
|
19
|
+
version: 3.1.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: 3.
|
26
|
+
version: 3.1.1
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: net-scp
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
@@ -58,14 +58,14 @@ dependencies:
|
|
58
58
|
requirements:
|
59
59
|
- - '='
|
60
60
|
- !ruby/object:Gem::Version
|
61
|
-
version: 3.4.
|
61
|
+
version: 3.4.4
|
62
62
|
type: :runtime
|
63
63
|
prerelease: false
|
64
64
|
version_requirements: !ruby/object:Gem::Requirement
|
65
65
|
requirements:
|
66
66
|
- - '='
|
67
67
|
- !ruby/object:Gem::Version
|
68
|
-
version: 3.4.
|
68
|
+
version: 3.4.4
|
69
69
|
- !ruby/object:Gem::Dependency
|
70
70
|
name: rake
|
71
71
|
requirement: !ruby/object:Gem::Requirement
|