Skip to content

Instantly share code, notes, and snippets.

@NullVoxPopuli
Created May 3, 2016 18:20
Show Gist options
  • Save NullVoxPopuli/ab15a8323ba40a41abfa6eebdf399ee4 to your computer and use it in GitHub Desktop.
Save NullVoxPopuli/ab15a8323ba40a41abfa6eebdf399ee4 to your computer and use it in GitHub Desktop.
webdev@ubuntu 192.168.163.129 ~/Development/meshchat
⬡ v5.10.1 💎 2.3.0@meshchat (refactor) $ rspec
I, [2016-05-03T14:19:18.132368 #18518] INFO -- : Reporting coverage data to Code Climate.
Run options: include {:focus=>true}
All examples were filtered out; ignoring {:focus=>true}
Randomized with seed 27611
Meshchat::Network::Message::NodeList
#respond
sends a message
sendsa node list hash as confirmation that lists are in sync
#handle
calls respond
instantiation
sets a default payload
Message Coloring
/home/webdev/Development/meshchat/lib/meshchat/configuration/app_config.rb:24: warning: already initialized constant Meshchat::Notify
/home/webdev/Development/meshchat/lib/meshchat/configuration/app_config.rb:24: warning: previous definition of Notify was here
/home/webdev/Development/meshchat/lib/meshchat/configuration/app_config.rb:29: warning: already initialized constant Meshchat::Display
/home/webdev/Development/meshchat/lib/meshchat/configuration/app_config.rb:29: warning: previous definition of Display was here
/home/webdev/Development/meshchat/lib/meshchat/configuration/app_config.rb:30: warning: already initialized constant Meshchat::APP_CONFIG
/home/webdev/Development/meshchat/lib/meshchat/configuration/app_config.rb:30: warning: previous definition of APP_CONFIG was here
chats
are received
is forwarded to the chat colorizer
Meshchat::Configuration::Settings
/home/webdev/Development/meshchat/lib/meshchat/configuration/app_config.rb:24: warning: already initialized constant Meshchat::Notify
/home/webdev/Development/meshchat/lib/meshchat/configuration/app_config.rb:24: warning: previous definition of Notify was here
/home/webdev/Development/meshchat/lib/meshchat/configuration/app_config.rb:29: warning: already initialized constant Meshchat::Display
/home/webdev/Development/meshchat/lib/meshchat/configuration/app_config.rb:29: warning: previous definition of Display was here
/home/webdev/Development/meshchat/lib/meshchat/configuration/app_config.rb:30: warning: already initialized constant Meshchat::APP_CONFIG
/home/webdev/Development/meshchat/lib/meshchat/configuration/app_config.rb:30: warning: previous definition of APP_CONFIG was here
sets the default if there is no settings file
sets the default if there is a settings file
instance
#errors
must have uid set
must have port set
must have ip set
must have an alias
#identity
returns a string
#valid?
is valid
is not valid
Meshchat::Network::Message::Base
/home/webdev/Development/meshchat/lib/meshchat/configuration/app_config.rb:24: warning: already initialized constant Meshchat::Notify
/home/webdev/Development/meshchat/lib/meshchat/configuration/app_config.rb:24: warning: previous definition of Notify was here
/home/webdev/Development/meshchat/lib/meshchat/configuration/app_config.rb:29: warning: already initialized constant Meshchat::Display
/home/webdev/Development/meshchat/lib/meshchat/configuration/app_config.rb:29: warning: previous definition of Display was here
/home/webdev/Development/meshchat/lib/meshchat/configuration/app_config.rb:30: warning: already initialized constant Meshchat::APP_CONFIG
/home/webdev/Development/meshchat/lib/meshchat/configuration/app_config.rb:30: warning: previous definition of APP_CONFIG was here
#display
shows the message
Meshchat::Ui::CLI::InputFactory
/home/webdev/Development/meshchat/lib/meshchat/configuration/app_config.rb:24: warning: already initialized constant Meshchat::Notify
/home/webdev/Development/meshchat/lib/meshchat/configuration/app_config.rb:24: warning: previous definition of Notify was here
/home/webdev/Development/meshchat/lib/meshchat/configuration/app_config.rb:29: warning: already initialized constant Meshchat::Display
/home/webdev/Development/meshchat/lib/meshchat/configuration/app_config.rb:29: warning: previous definition of Display was here
/home/webdev/Development/meshchat/lib/meshchat/configuration/app_config.rb:30: warning: already initialized constant Meshchat::APP_CONFIG
/home/webdev/Development/meshchat/lib/meshchat/configuration/app_config.rb:30: warning: previous definition of APP_CONFIG was here
#handle
has no servers
has servers
displays the message
#create
creates a generic input
creates a command
creates a whisper
Meshchat::Network::Message::Ping
/home/webdev/Development/meshchat/lib/meshchat/configuration/app_config.rb:24: warning: already initialized constant Meshchat::Notify
/home/webdev/Development/meshchat/lib/meshchat/configuration/app_config.rb:24: warning: previous definition of Notify was here
/home/webdev/Development/meshchat/lib/meshchat/configuration/app_config.rb:29: warning: already initialized constant Meshchat::Display
/home/webdev/Development/meshchat/lib/meshchat/configuration/app_config.rb:29: warning: previous definition of Display was here
/home/webdev/Development/meshchat/lib/meshchat/configuration/app_config.rb:30: warning: already initialized constant Meshchat::APP_CONFIG
/home/webdev/Development/meshchat/lib/meshchat/configuration/app_config.rb:30: warning: previous definition of APP_CONFIG was here
#handle
calls respond
instantiation
sets a default payload
display
displays who pinged
respond
shoots off a ping reply to the sender of the ping
Meshchat::Ui::Command::Identity
/home/webdev/Development/meshchat/lib/meshchat/configuration/app_config.rb:24: warning: already initialized constant Meshchat::Notify
/home/webdev/Development/meshchat/lib/meshchat/configuration/app_config.rb:24: warning: previous definition of Notify was here
/home/webdev/Development/meshchat/lib/meshchat/configuration/app_config.rb:29: warning: already initialized constant Meshchat::Display
/home/webdev/Development/meshchat/lib/meshchat/configuration/app_config.rb:29: warning: previous definition of Display was here
/home/webdev/Development/meshchat/lib/meshchat/configuration/app_config.rb:30: warning: already initialized constant Meshchat::APP_CONFIG
/home/webdev/Development/meshchat/lib/meshchat/configuration/app_config.rb:30: warning: previous definition of APP_CONFIG was here
#handle
alerts the user
Meshchat::Ui::Command::Whisper
/home/webdev/Development/meshchat/lib/meshchat/configuration/app_config.rb:24: warning: already initialized constant Meshchat::Notify
/home/webdev/Development/meshchat/lib/meshchat/configuration/app_config.rb:24: warning: previous definition of Notify was here
/home/webdev/Development/meshchat/lib/meshchat/configuration/app_config.rb:29: warning: already initialized constant Meshchat::Display
/home/webdev/Development/meshchat/lib/meshchat/configuration/app_config.rb:29: warning: previous definition of Display was here
/home/webdev/Development/meshchat/lib/meshchat/configuration/app_config.rb:30: warning: already initialized constant Meshchat::APP_CONFIG
/home/webdev/Development/meshchat/lib/meshchat/configuration/app_config.rb:30: warning: previous definition of APP_CONFIG was here
#message
returns nil
returns the message
returns empty string with a target
#target
returns nil
gets the target
#handle
no target
alerts the user
target found
sends the message
Meshchat::Ui::Command::Ping
/home/webdev/Development/meshchat/lib/meshchat/configuration/app_config.rb:24: warning: already initialized constant Meshchat::Notify
/home/webdev/Development/meshchat/lib/meshchat/configuration/app_config.rb:24: warning: previous definition of Notify was here
/home/webdev/Development/meshchat/lib/meshchat/configuration/app_config.rb:29: warning: already initialized constant Meshchat::Display
/home/webdev/Development/meshchat/lib/meshchat/configuration/app_config.rb:29: warning: previous definition of Display was here
/home/webdev/Development/meshchat/lib/meshchat/configuration/app_config.rb:30: warning: already initialized constant Meshchat::APP_CONFIG
/home/webdev/Development/meshchat/lib/meshchat/configuration/app_config.rb:30: warning: previous definition of APP_CONFIG was here
#parse_ping_command
is an alias
when only an location is specified
when lookup field is specified
#handle
cannot find the server
tries to send
shows usage
#lookup_value
is the last arg
retuns nil if there is no value
#lookup_field
is the subcommand
is null if not present
Meshchat::Ui::Display::Base
/home/webdev/Development/meshchat/lib/meshchat/configuration/app_config.rb:24: warning: already initialized constant Meshchat::Notify
/home/webdev/Development/meshchat/lib/meshchat/configuration/app_config.rb:24: warning: previous definition of Notify was here
/home/webdev/Development/meshchat/lib/meshchat/configuration/app_config.rb:29: warning: already initialized constant Meshchat::Display
/home/webdev/Development/meshchat/lib/meshchat/configuration/app_config.rb:29: warning: previous definition of Display was here
/home/webdev/Development/meshchat/lib/meshchat/configuration/app_config.rb:30: warning: already initialized constant Meshchat::APP_CONFIG
/home/webdev/Development/meshchat/lib/meshchat/configuration/app_config.rb:30: warning: previous definition of APP_CONFIG was here
methods are not implemented
must implement log
must implement start
must implement whisper
must implement add_line
Meshchat::Ui::Command::Irb
/home/webdev/Development/meshchat/lib/meshchat/configuration/app_config.rb:24: warning: already initialized constant Meshchat::Notify
/home/webdev/Development/meshchat/lib/meshchat/configuration/app_config.rb:24: warning: previous definition of Notify was here
/home/webdev/Development/meshchat/lib/meshchat/configuration/app_config.rb:29: warning: already initialized constant Meshchat::Display
/home/webdev/Development/meshchat/lib/meshchat/configuration/app_config.rb:29: warning: previous definition of Display was here
/home/webdev/Development/meshchat/lib/meshchat/configuration/app_config.rb:30: warning: already initialized constant Meshchat::APP_CONFIG
/home/webdev/Development/meshchat/lib/meshchat/configuration/app_config.rb:30: warning: previous definition of APP_CONFIG was here
#handle
nil
alerts the user
Meshchat::Ui::Command::Online
/home/webdev/Development/meshchat/lib/meshchat/configuration/app_config.rb:24: warning: already initialized constant Meshchat::Notify
/home/webdev/Development/meshchat/lib/meshchat/configuration/app_config.rb:24: warning: previous definition of Notify was here
/home/webdev/Development/meshchat/lib/meshchat/configuration/app_config.rb:29: warning: already initialized constant Meshchat::Display
/home/webdev/Development/meshchat/lib/meshchat/configuration/app_config.rb:29: warning: previous definition of Display was here
/home/webdev/Development/meshchat/lib/meshchat/configuration/app_config.rb:30: warning: already initialized constant Meshchat::APP_CONFIG
/home/webdev/Development/meshchat/lib/meshchat/configuration/app_config.rb:30: warning: previous definition of APP_CONFIG was here
#handle
alerts the user
Meshchat::Ui::Command::Server
/home/webdev/Development/meshchat/lib/meshchat/configuration/app_config.rb:24: warning: already initialized constant Meshchat::Notify
/home/webdev/Development/meshchat/lib/meshchat/configuration/app_config.rb:24: warning: previous definition of Notify was here
/home/webdev/Development/meshchat/lib/meshchat/configuration/app_config.rb:29: warning: already initialized constant Meshchat::Display
/home/webdev/Development/meshchat/lib/meshchat/configuration/app_config.rb:29: warning: previous definition of Display was here
/home/webdev/Development/meshchat/lib/meshchat/configuration/app_config.rb:30: warning: already initialized constant Meshchat::APP_CONFIG
/home/webdev/Development/meshchat/lib/meshchat/configuration/app_config.rb:30: warning: previous definition of APP_CONFIG was here
#handle
lists the locations
shows who is online
Meshchat::Ui::CLI
/home/webdev/Development/meshchat/lib/meshchat/configuration/app_config.rb:24: warning: already initialized constant Meshchat::Notify
/home/webdev/Development/meshchat/lib/meshchat/configuration/app_config.rb:24: warning: previous definition of Notify was here
/home/webdev/Development/meshchat/lib/meshchat/configuration/app_config.rb:29: warning: already initialized constant Meshchat::Display
/home/webdev/Development/meshchat/lib/meshchat/configuration/app_config.rb:29: warning: previous definition of Display was here
/home/webdev/Development/meshchat/lib/meshchat/configuration/app_config.rb:30: warning: already initialized constant Meshchat::APP_CONFIG
/home/webdev/Development/meshchat/lib/meshchat/configuration/app_config.rb:30: warning: previous definition of APP_CONFIG was here
initialize
does not error
Meshchat::Network::Message::PingReply
/home/webdev/Development/meshchat/lib/meshchat/configuration/app_config.rb:24: warning: already initialized constant Meshchat::Notify
/home/webdev/Development/meshchat/lib/meshchat/configuration/app_config.rb:24: warning: previous definition of Notify was here
/home/webdev/Development/meshchat/lib/meshchat/configuration/app_config.rb:29: warning: already initialized constant Meshchat::Display
/home/webdev/Development/meshchat/lib/meshchat/configuration/app_config.rb:29: warning: previous definition of Display was here
/home/webdev/Development/meshchat/lib/meshchat/configuration/app_config.rb:30: warning: already initialized constant Meshchat::APP_CONFIG
/home/webdev/Development/meshchat/lib/meshchat/configuration/app_config.rb:30: warning: previous definition of APP_CONFIG was here
instantiation
sets a default payload
Meshchat::Ui::Display::Manager
/home/webdev/Development/meshchat/lib/meshchat/configuration/app_config.rb:24: warning: already initialized constant Meshchat::Notify
/home/webdev/Development/meshchat/lib/meshchat/configuration/app_config.rb:24: warning: previous definition of Notify was here
/home/webdev/Development/meshchat/lib/meshchat/configuration/app_config.rb:29: warning: already initialized constant Meshchat::Display
/home/webdev/Development/meshchat/lib/meshchat/configuration/app_config.rb:29: warning: previous definition of Display was here
/home/webdev/Development/meshchat/lib/meshchat/configuration/app_config.rb:30: warning: already initialized constant Meshchat::APP_CONFIG
/home/webdev/Development/meshchat/lib/meshchat/configuration/app_config.rb:30: warning: previous definition of APP_CONFIG was here
#present_message
/home/webdev/Development/meshchat/spec/support/utils.rb:29: warning: already initialized constant Meshchat::Network::Dispatcher::RELAYS
/home/webdev/Development/meshchat/spec/support/utils.rb:29: warning: previous definition of RELAYS was here
invokes add_line for other menssages
/home/webdev/Development/meshchat/spec/support/utils.rb:29: warning: already initialized constant Meshchat::Network::Dispatcher::RELAYS
/home/webdev/Development/meshchat/spec/support/utils.rb:29: warning: previous definition of RELAYS was here
invokes whisper
/home/webdev/Development/meshchat/spec/support/utils.rb:29: warning: already initialized constant Meshchat::Network::Dispatcher::RELAYS
/home/webdev/Development/meshchat/spec/support/utils.rb:29: warning: previous definition of RELAYS was here
invokes chat
Meshchat::Network::Message::NodeListHash
/home/webdev/Development/meshchat/lib/meshchat/configuration/app_config.rb:24: warning: already initialized constant Meshchat::Notify
/home/webdev/Development/meshchat/lib/meshchat/configuration/app_config.rb:24: warning: previous definition of Notify was here
/home/webdev/Development/meshchat/lib/meshchat/configuration/app_config.rb:29: warning: already initialized constant Meshchat::Display
/home/webdev/Development/meshchat/lib/meshchat/configuration/app_config.rb:29: warning: previous definition of Display was here
/home/webdev/Development/meshchat/lib/meshchat/configuration/app_config.rb:30: warning: already initialized constant Meshchat::APP_CONFIG
/home/webdev/Development/meshchat/lib/meshchat/configuration/app_config.rb:30: warning: previous definition of APP_CONFIG was here
#respond
sends a message if the hashes are different
instantiation
sets a default payload
#handle
calls respond
Meshchat::Network::Message::Factory
/home/webdev/Development/meshchat/lib/meshchat/configuration/app_config.rb:24: warning: already initialized constant Meshchat::Notify
/home/webdev/Development/meshchat/lib/meshchat/configuration/app_config.rb:24: warning: previous definition of Notify was here
/home/webdev/Development/meshchat/lib/meshchat/configuration/app_config.rb:29: warning: already initialized constant Meshchat::Display
/home/webdev/Development/meshchat/lib/meshchat/configuration/app_config.rb:29: warning: previous definition of Display was here
/home/webdev/Development/meshchat/lib/meshchat/configuration/app_config.rb:30: warning: already initialized constant Meshchat::APP_CONFIG
/home/webdev/Development/meshchat/lib/meshchat/configuration/app_config.rb:30: warning: previous definition of APP_CONFIG was here
#create
sets my sender defaults
whisper
#display
includes the "to" name
includes the "from" name
Meshchat::Network::Decryption::MessageDecryptor
/home/webdev/Development/meshchat/lib/meshchat/configuration/app_config.rb:24: warning: already initialized constant Meshchat::Notify
/home/webdev/Development/meshchat/lib/meshchat/configuration/app_config.rb:24: warning: previous definition of Notify was here
/home/webdev/Development/meshchat/lib/meshchat/configuration/app_config.rb:29: warning: already initialized constant Meshchat::Display
/home/webdev/Development/meshchat/lib/meshchat/configuration/app_config.rb:29: warning: previous definition of Display was here
/home/webdev/Development/meshchat/lib/meshchat/configuration/app_config.rb:30: warning: already initialized constant Meshchat::APP_CONFIG
/home/webdev/Development/meshchat/lib/meshchat/configuration/app_config.rb:30: warning: previous definition of APP_CONFIG was here
#process_json
whisper
Meshchat::Ui::Command::Exit
/home/webdev/Development/meshchat/lib/meshchat/configuration/app_config.rb:24: warning: already initialized constant Meshchat::Notify
/home/webdev/Development/meshchat/lib/meshchat/configuration/app_config.rb:24: warning: previous definition of Notify was here
/home/webdev/Development/meshchat/lib/meshchat/configuration/app_config.rb:29: warning: already initialized constant Meshchat::Display
/home/webdev/Development/meshchat/lib/meshchat/configuration/app_config.rb:29: warning: previous definition of Display was here
/home/webdev/Development/meshchat/lib/meshchat/configuration/app_config.rb:30: warning: already initialized constant Meshchat::APP_CONFIG
/home/webdev/Development/meshchat/lib/meshchat/configuration/app_config.rb:30: warning: previous definition of APP_CONFIG was here
#handle
WARNING: An expectation of `:shutdown` was set on `nil`. To allow expectations on `nil` and suppress this message, set `config.allow_expectations_on_nil` to `true`. To disallow expectations on `nil`, set `config.allow_expectations_on_nil` to `false`. Called from /home/webdev/Development/meshchat/spec/unit/ui/command/exit_spec.rb:11:in `block (3 levels) in <top (required)>'.
alerts the user
Meshchat::Configuration::HashFile
/home/webdev/Development/meshchat/lib/meshchat/configuration/app_config.rb:24: warning: already initialized constant Meshchat::Notify
/home/webdev/Development/meshchat/lib/meshchat/configuration/app_config.rb:24: warning: previous definition of Notify was here
/home/webdev/Development/meshchat/lib/meshchat/configuration/app_config.rb:29: warning: already initialized constant Meshchat::Display
/home/webdev/Development/meshchat/lib/meshchat/configuration/app_config.rb:29: warning: previous definition of Display was here
/home/webdev/Development/meshchat/lib/meshchat/configuration/app_config.rb:30: warning: already initialized constant Meshchat::APP_CONFIG
/home/webdev/Development/meshchat/lib/meshchat/configuration/app_config.rb:30: warning: previous definition of APP_CONFIG was here
#filename
fails
filename is set
sets the default if there is no settings file
instance methods
sets the value
returns the underlying hash
sets like a hash of indifferent access
#load
json is invalid
writes defaults
shows the error message
Meshchat::Node
/home/webdev/Development/meshchat/lib/meshchat/configuration/app_config.rb:24: warning: already initialized constant Meshchat::Notify
/home/webdev/Development/meshchat/lib/meshchat/configuration/app_config.rb:24: warning: previous definition of Notify was here
/home/webdev/Development/meshchat/lib/meshchat/configuration/app_config.rb:29: warning: already initialized constant Meshchat::Display
/home/webdev/Development/meshchat/lib/meshchat/configuration/app_config.rb:29: warning: previous definition of Display was here
/home/webdev/Development/meshchat/lib/meshchat/configuration/app_config.rb:30: warning: already initialized constant Meshchat::APP_CONFIG
/home/webdev/Development/meshchat/lib/meshchat/configuration/app_config.rb:30: warning: previous definition of APP_CONFIG was here
#==
is equal to a hash of same values
#as_json
converts to a hash / json
#valid?
is false without an location
is false without an alias
is false without a uid
diff
seperates ours from theirs
Meshchat::Network::Message::Disconnect
/home/webdev/Development/meshchat/lib/meshchat/configuration/app_config.rb:24: warning: already initialized constant Meshchat::Notify
/home/webdev/Development/meshchat/lib/meshchat/configuration/app_config.rb:24: warning: previous definition of Notify was here
/home/webdev/Development/meshchat/lib/meshchat/configuration/app_config.rb:29: warning: already initialized constant Meshchat::Display
/home/webdev/Development/meshchat/lib/meshchat/configuration/app_config.rb:29: warning: previous definition of Display was here
/home/webdev/Development/meshchat/lib/meshchat/configuration/app_config.rb:30: warning: already initialized constant Meshchat::APP_CONFIG
/home/webdev/Development/meshchat/lib/meshchat/configuration/app_config.rb:30: warning: previous definition of APP_CONFIG was here
display
displays who pinged
instantiation
sets a default payload
Meshchat::Network::Message::NodeListDiff
/home/webdev/Development/meshchat/lib/meshchat/configuration/app_config.rb:24: warning: already initialized constant Meshchat::Notify
/home/webdev/Development/meshchat/lib/meshchat/configuration/app_config.rb:24: warning: previous definition of Notify was here
/home/webdev/Development/meshchat/lib/meshchat/configuration/app_config.rb:29: warning: already initialized constant Meshchat::Display
/home/webdev/Development/meshchat/lib/meshchat/configuration/app_config.rb:29: warning: previous definition of Display was here
/home/webdev/Development/meshchat/lib/meshchat/configuration/app_config.rb:30: warning: already initialized constant Meshchat::APP_CONFIG
/home/webdev/Development/meshchat/lib/meshchat/configuration/app_config.rb:30: warning: previous definition of APP_CONFIG was here
#handle
adds node entries we do not have
instantiation
sets a default payload
Meshchat::Network::Message::Chat
/home/webdev/Development/meshchat/lib/meshchat/configuration/app_config.rb:24: warning: already initialized constant Meshchat::Notify
/home/webdev/Development/meshchat/lib/meshchat/configuration/app_config.rb:24: warning: previous definition of Notify was here
/home/webdev/Development/meshchat/lib/meshchat/configuration/app_config.rb:29: warning: already initialized constant Meshchat::Display
/home/webdev/Development/meshchat/lib/meshchat/configuration/app_config.rb:29: warning: previous definition of Display was here
/home/webdev/Development/meshchat/lib/meshchat/configuration/app_config.rb:30: warning: already initialized constant Meshchat::APP_CONFIG
/home/webdev/Development/meshchat/lib/meshchat/configuration/app_config.rb:30: warning: previous definition of APP_CONFIG was here
instantiation
sets a default payload
#display
has the time
has the sender
has the message
Meshchat::Network::Decryption::MessageProcessor
/home/webdev/Development/meshchat/lib/meshchat/configuration/app_config.rb:24: warning: already initialized constant Meshchat::Notify
/home/webdev/Development/meshchat/lib/meshchat/configuration/app_config.rb:24: warning: previous definition of Notify was here
/home/webdev/Development/meshchat/lib/meshchat/configuration/app_config.rb:29: warning: already initialized constant Meshchat::Display
/home/webdev/Development/meshchat/lib/meshchat/configuration/app_config.rb:29: warning: previous definition of Display was here
/home/webdev/Development/meshchat/lib/meshchat/configuration/app_config.rb:30: warning: already initialized constant Meshchat::APP_CONFIG
/home/webdev/Development/meshchat/lib/meshchat/configuration/app_config.rb:30: warning: previous definition of APP_CONFIG was here
#update_sender_info
does not dispatch the server list hash if the message is from an active node
dispatches the server list hash
process
throws exceptions
not authorized
cannot be decrypted
forbidden
receives a message from a non-existant node
bad request
uses an unsupported type
Meshchat::Ui::Command::Base
/home/webdev/Development/meshchat/lib/meshchat/configuration/app_config.rb:24: warning: already initialized constant Meshchat::Notify
/home/webdev/Development/meshchat/lib/meshchat/configuration/app_config.rb:24: warning: previous definition of Notify was here
/home/webdev/Development/meshchat/lib/meshchat/configuration/app_config.rb:29: warning: already initialized constant Meshchat::Display
/home/webdev/Development/meshchat/lib/meshchat/configuration/app_config.rb:29: warning: previous definition of Display was here
/home/webdev/Development/meshchat/lib/meshchat/configuration/app_config.rb:30: warning: already initialized constant Meshchat::APP_CONFIG
/home/webdev/Development/meshchat/lib/meshchat/configuration/app_config.rb:30: warning: previous definition of APP_CONFIG was here
#handle
is implemented
is not implemented
#sub_command_args
returns args of a sub command
Meshchat::Ui::Command::Config
/home/webdev/Development/meshchat/lib/meshchat/configuration/app_config.rb:24: warning: already initialized constant Meshchat::Notify
/home/webdev/Development/meshchat/lib/meshchat/configuration/app_config.rb:24: warning: previous definition of Notify was here
/home/webdev/Development/meshchat/lib/meshchat/configuration/app_config.rb:29: warning: already initialized constant Meshchat::Display
/home/webdev/Development/meshchat/lib/meshchat/configuration/app_config.rb:29: warning: previous definition of Display was here
/home/webdev/Development/meshchat/lib/meshchat/configuration/app_config.rb:30: warning: already initialized constant Meshchat::APP_CONFIG
/home/webdev/Development/meshchat/lib/meshchat/configuration/app_config.rb:30: warning: previous definition of APP_CONFIG was here
#config_set_args
returns the last two args
#handle
does not recognize the command
display
displays the settings
set
does not pass valid params
sets the value
#is_valid_set_command?
requires is false if less than 4 arguments
requires all arguments
requires the subcommand to be set
Meshchat::Encryption::AES_RSA
/home/webdev/Development/meshchat/lib/meshchat/configuration/app_config.rb:24: warning: already initialized constant Meshchat::Notify
/home/webdev/Development/meshchat/lib/meshchat/configuration/app_config.rb:24: warning: previous definition of Notify was here
/home/webdev/Development/meshchat/lib/meshchat/configuration/app_config.rb:29: warning: already initialized constant Meshchat::Display
/home/webdev/Development/meshchat/lib/meshchat/configuration/app_config.rb:29: warning: previous definition of Display was here
/home/webdev/Development/meshchat/lib/meshchat/configuration/app_config.rb:30: warning: already initialized constant Meshchat::APP_CONFIG
/home/webdev/Development/meshchat/lib/meshchat/configuration/app_config.rb:30: warning: previous definition of APP_CONFIG was here
encrypts a really long message
has a message that can be decrypted
encrypts long json messages
Finished in 2.61 seconds (files took 0.85859 seconds to load)
103 examples, 0 failures
Randomized with seed 27611
Coverage = 80.93%. Sending report to https://codeclimate.com for branch refactor... done.
webdev@ubuntu 192.168.163.129 ~/Development/meshchat
⬡ v5.10.1 💎 2.3.0@meshchat (refactor) $ echo $?
1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment