• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

Nu-hin / remote_ruby / 13531197960

25 Feb 2025 09:21PM UTC coverage: 89.617% (-0.08%) from 89.697%
13531197960

push

github

Nu-hin
Add connection name for TmpFileAdapter

3 of 3 new or added lines in 1 file covered. (100.0%)

1 existing line in 1 file now uncovered.

889 of 992 relevant lines covered (89.62%)

58.96 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

83.33
/lib/remote_ruby/connection_adapter.rb
1
# frozen_string_literal: true
2

3
module RemoteRuby
16✔
4
  # Base class for connection adapters.
5
  class ConnectionAdapter
16✔
6
    # Initializers of adapters should receive only keyword arguments.
7
    # May be overriden in a child class.
8
    def initialize(**args); end
16✔
9

10
    # Override in child class. Receives Ruby code as string and yields
11
    # a writeable stream for standard input and
12
    # three readable streams:
13
    # - for standard output
14
    # - for standard error
15
    # - for binary representation of the result and local variables
16
    def open(_code)
16✔
17
      raise NotImplementedError
×
18
    end
19

20
    def connection_name
16✔
UNCOV
21
      "#{self.class.name} "
×
22
    end
23
  end
24
end
25

26
require 'remote_ruby/cache_adapter'
16✔
27
require 'remote_ruby/caching_adapter'
16✔
28
require 'remote_ruby/ssh_adapter'
16✔
29
require 'remote_ruby/tmp_file_adapter'
16✔
30
require 'remote_ruby/text_mode_adapter'
16✔
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc