Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Current warnings #47

Open
djberg96 opened this issue Jun 30, 2022 · 1 comment
Open

Current warnings #47

djberg96 opened this issue Jun 30, 2022 · 1 comment

Comments

@djberg96
Copy link

ruby 2.7.6p219 (2022-04-12 revision c9c2245c0a) [arm64-darwin21]

Just FYI, I'm currently seeing these warnings when running the specs:

From Faraday:

WARNING: `Faraday::Connection#authorization` is deprecated; it will be removed in version 2.0.
While initializing your connection, use `#request(:authorization, ...)` instead.
See https://lostisland.github.io/faraday/middleware/authentication for more usage info.

And from Hashie:

WARN -- : You are setting a key that conflicts with a built-in method Hashie::Mash#zip defined in Enumerable. This can cause unexpected behavior when accessing the key as a property. You can still access the key via the #[] method.
@djberg96
Copy link
Author

djberg96 commented Jul 5, 2022

More extensive if you enable warnings in the spec helper:

/Users/daniel.berger/Dev/Personal/cover_my_meds/lib/cover_my_meds/meta/host_and_path.rb:31: warning: method redefined; discarding old example_api_resources_path=
/Users/daniel.berger/Dev/Personal/cover_my_meds/lib/cover_my_meds/meta/host_and_path.rb:32: warning: method redefined; discarding old example_api_resources_path
/Users/daniel.berger/Dev/Personal/cover_my_meds/lib/cover_my_meds/meta/host_and_path.rb:32: warning: previous definition of example_api_resources_path was here
/Users/daniel.berger/Dev/Personal/cover_my_meds/lib/cover_my_meds/meta/host_and_path.rb:36: warning: method redefined; discarding old example_api_resources_host=
/Users/daniel.berger/Dev/Personal/cover_my_meds/lib/cover_my_meds/meta/host_and_path.rb:37: warning: method redefined; discarding old example_api_resources_host
/Users/daniel.berger/Dev/Personal/cover_my_meds/lib/cover_my_meds/meta/host_and_path.rb:37: warning: previous definition of example_api_resources_host was here
/Users/daniel.berger/Dev/Personal/cover_my_meds/lib/cover_my_meds/meta/host_and_path.rb:41: warning: method redefined; discarding old example_api_resources_request
/Users/daniel.berger/Dev/Personal/cover_my_meds/lib/cover_my_meds/meta/host_and_path.rb:41: warning: previous definition of example_api_resources_request was here
/Users/daniel.berger/Dev/Personal/cover_my_meds/lib/cover_my_meds/railtie.rb:11: warning: `*' interpreted as argument prefix
Run options: exclude {:integration=>true}

Request
  get request with error
    raises an error
  get request
    non-json response
      returns the response body if it can't be JSON parsed
    json response
      returns the parsed response body

CoverMyMeds::Client
  #default_host
  #new
    configuring with a block
      sets the host and path for the resource
      sets the default host
    NOT configuring with a block
/Users/daniel.berger/Dev/Personal/cover_my_meds/lib/cover_my_meds/meta/host_and_path.rb:33: warning: instance variable @example_api_resources_path not initialized
/Users/daniel.berger/Dev/Personal/cover_my_meds/lib/cover_my_meds/meta/host_and_path.rb:38: warning: instance variable @example_api_resources_host not initialized
      uses the default host and path for resources

Consumer
  create consumer
/Users/daniel.berger/Dev/Personal/cover_my_meds/lib/cover_my_meds/meta/host_and_path.rb:38: warning: instance variable @consumers_host not initialized
/Users/daniel.berger/Dev/Personal/cover_my_meds/lib/cover_my_meds/meta/host_and_path.rb:33: warning: instance variable @consumers_path not initialized
    sends a post to the consumers endpoint

CoverMyMeds
  has a version number
  supports RESTful methods
    has a GET constant
    has a POST constant
    has a PUT constant
    has a PATCH constant
    has a DELETE constant

Credential
  #create_credential
/Users/daniel.berger/Dev/Personal/cover_my_meds/lib/cover_my_meds/meta/host_and_path.rb:38: warning: instance variable @credentials_host not initialized
/Users/daniel.berger/Dev/Personal/cover_my_meds/lib/cover_my_meds/client/credentials.rb:25: warning: instance variable @credentials_path not initialized
W, [2022-07-05T09:41:34.427893 #54949]  WARN -- : You are setting a key that conflicts with a built-in method Hashie::Mash#zip defined in Enumerable. This can cause unexpected behavior when accessing the key as a property. You can still access the key via the #[] method.
    has the NPI
/Users/daniel.berger/Dev/Personal/cover_my_meds/lib/cover_my_meds/meta/host_and_path.rb:38: warning: instance variable @credentials_host not initialized
/Users/daniel.berger/Dev/Personal/cover_my_meds/lib/cover_my_meds/client/credentials.rb:25: warning: instance variable @credentials_path not initialized
W, [2022-07-05T09:41:34.429199 #54949]  WARN -- : You are setting a key that conflicts with a built-in method Hashie::Mash#zip defined in Enumerable. This can cause unexpected behavior when accessing the key as a property. You can still access the key via the #[] method.
    has an array of fax numbers
/Users/daniel.berger/Dev/Personal/cover_my_meds/lib/cover_my_meds/meta/host_and_path.rb:38: warning: instance variable @credentials_host not initialized
/Users/daniel.berger/Dev/Personal/cover_my_meds/lib/cover_my_meds/client/credentials.rb:25: warning: instance variable @credentials_path not initialized
W, [2022-07-05T09:41:34.430481 #54949]  WARN -- : You are setting a key that conflicts with a built-in method Hashie::Mash#zip defined in Enumerable. This can cause unexpected behavior when accessing the key as a property. You can still access the key via the #[] method.
    has the contact hint
  #delete_credential
/Users/daniel.berger/Dev/Personal/cover_my_meds/lib/cover_my_meds/meta/host_and_path.rb:38: warning: instance variable @credentials_host not initialized
/Users/daniel.berger/Dev/Personal/cover_my_meds/lib/cover_my_meds/client/credentials.rb:25: warning: instance variable @credentials_path not initialized
    deletes the credential

Drugs
  search
/Users/daniel.berger/Dev/Personal/cover_my_meds/lib/cover_my_meds/meta/host_and_path.rb:38: warning: instance variable @drugs_host not initialized
/Users/daniel.berger/Dev/Personal/cover_my_meds/lib/cover_my_meds/meta/host_and_path.rb:33: warning: instance variable @drugs_path not initialized
    makes methods from json
  get_drug
/Users/daniel.berger/Dev/Personal/cover_my_meds/lib/cover_my_meds/meta/host_and_path.rb:38: warning: instance variable @drugs_host not initialized
/Users/daniel.berger/Dev/Personal/cover_my_meds/lib/cover_my_meds/meta/host_and_path.rb:33: warning: instance variable @drugs_path not initialized
    makes methods from json

CoverMyMeds::Error::HTTPError
  #message
  #status
  #error_json
  #http_method
  #url

Forms
  #form_search
/Users/daniel.berger/Dev/Personal/cover_my_meds/lib/cover_my_meds/meta/host_and_path.rb:38: warning: instance variable @forms_host not initialized
/Users/daniel.berger/Dev/Personal/cover_my_meds/lib/cover_my_meds/meta/host_and_path.rb:33: warning: instance variable @forms_path not initialized
    returns matching forms
  #form_search_with_plan
/Users/daniel.berger/Dev/Personal/cover_my_meds/lib/cover_my_meds/meta/host_and_path.rb:38: warning: instance variable @forms_host not initialized
/Users/daniel.berger/Dev/Personal/cover_my_meds/lib/cover_my_meds/meta/host_and_path.rb:33: warning: instance variable @forms_path not initialized
    returns matching forms
  #get_form
/Users/daniel.berger/Dev/Personal/cover_my_meds/lib/cover_my_meds/meta/host_and_path.rb:38: warning: instance variable @forms_host not initialized
/Users/daniel.berger/Dev/Personal/cover_my_meds/lib/cover_my_meds/meta/host_and_path.rb:33: warning: instance variable @forms_path not initialized
    returns matching forms

Indicators
  #post_indicators
    when patient data is missing
      raises an error
    when prescriber data is missing
      raises an error
    when given prescription and patient data
/Users/daniel.berger/Dev/Personal/cover_my_meds/lib/cover_my_meds/meta/host_and_path.rb:38: warning: instance variable @indicators_host not initialized
/Users/daniel.berger/Dev/Personal/cover_my_meds/lib/cover_my_meds/meta/host_and_path.rb:33: warning: instance variable @indicators_path not initialized
      has patient data in the request
    when given prescription, patient, and payer data
/Users/daniel.berger/Dev/Personal/cover_my_meds/lib/cover_my_meds/meta/host_and_path.rb:38: warning: instance variable @indicators_host not initialized
/Users/daniel.berger/Dev/Personal/cover_my_meds/lib/cover_my_meds/meta/host_and_path.rb:33: warning: instance variable @indicators_path not initialized
      has payer data in the request
    when given prescription, prescriber, patient, and payer data
/Users/daniel.berger/Dev/Personal/cover_my_meds/lib/cover_my_meds/meta/host_and_path.rb:38: warning: instance variable @indicators_host not initialized
/Users/daniel.berger/Dev/Personal/cover_my_meds/lib/cover_my_meds/meta/host_and_path.rb:33: warning: instance variable @indicators_path not initialized
      has payer data in the request
    when given prescription, prescriber, patient, payer, and rxnorm data
/Users/daniel.berger/Dev/Personal/cover_my_meds/lib/cover_my_meds/meta/host_and_path.rb:38: warning: instance variable @indicators_host not initialized
/Users/daniel.berger/Dev/Personal/cover_my_meds/lib/cover_my_meds/meta/host_and_path.rb:33: warning: instance variable @indicators_path not initialized
      has payer data in the request
    when given prescription, prescriber, patient, payer, rxnorm, and pharmacy data
/Users/daniel.berger/Dev/Personal/cover_my_meds/lib/cover_my_meds/meta/host_and_path.rb:38: warning: instance variable @indicators_host not initialized
/Users/daniel.berger/Dev/Personal/cover_my_meds/lib/cover_my_meds/meta/host_and_path.rb:33: warning: instance variable @indicators_path not initialized
      has payer data in the request
    when additional data is included in the response body
/Users/daniel.berger/Dev/Personal/cover_my_meds/lib/cover_my_meds/meta/host_and_path.rb:38: warning: instance variable @indicators_host not initialized
/Users/daniel.berger/Dev/Personal/cover_my_meds/lib/cover_my_meds/meta/host_and_path.rb:33: warning: instance variable @indicators_path not initialized
      includes the additional data
  #search_indicators
/Users/daniel.berger/Dev/Personal/cover_my_meds/lib/cover_my_meds/meta/host_and_path.rb:38: warning: instance variable @indicators_host not initialized
/Users/daniel.berger/Dev/Personal/cover_my_meds/lib/cover_my_meds/meta/host_and_path.rb:33: warning: instance variable @indicators_path not initialized
    has prescription data in the request
    when prescription data is missing
      raises an error
    when given prescription and patient data
/Users/daniel.berger/Dev/Personal/cover_my_meds/lib/cover_my_meds/meta/host_and_path.rb:38: warning: instance variable @indicators_host not initialized
/Users/daniel.berger/Dev/Personal/cover_my_meds/lib/cover_my_meds/meta/host_and_path.rb:33: warning: instance variable @indicators_path not initialized
      has patient data in the request
    when given prescription and payer data
/Users/daniel.berger/Dev/Personal/cover_my_meds/lib/cover_my_meds/meta/host_and_path.rb:38: warning: instance variable @indicators_host not initialized
/Users/daniel.berger/Dev/Personal/cover_my_meds/lib/cover_my_meds/meta/host_and_path.rb:33: warning: instance variable @indicators_path not initialized
      has payer data in the request
    when additional data is included in the response body
/Users/daniel.berger/Dev/Personal/cover_my_meds/lib/cover_my_meds/meta/host_and_path.rb:38: warning: instance variable @indicators_host not initialized
/Users/daniel.berger/Dev/Personal/cover_my_meds/lib/cover_my_meds/meta/host_and_path.rb:33: warning: instance variable @indicators_path not initialized
      includes the additional data

CoverMyMeds::ApiRequest
  #url
    is the url constructed from the host and path
    when there are query params
      includes the params, listed in alphabetical order

AnyClass
/Users/daniel.berger/Dev/Personal/cover_my_meds/lib/cover_my_meds/meta/host_and_path.rb:33: warning: instance variable @example_api_resources_path not initialized
  has an added path getter
/Users/daniel.berger/Dev/Personal/cover_my_meds/lib/cover_my_meds/meta/host_and_path.rb:38: warning: instance variable @example_api_resources_host not initialized
  has an added host getter
  the added path setter
    changes the example_api_resources_path
  the added host setter
    changes the example_api_resources_host
  the added resouce-partially-applied method for web requests
/Users/daniel.berger/Dev/Personal/cover_my_meds/lib/cover_my_meds/meta/host_and_path.rb:38: warning: instance variable @example_api_resources_host not initialized
/Users/daniel.berger/Dev/Personal/cover_my_meds/lib/cover_my_meds/meta/host_and_path.rb:33: warning: instance variable @example_api_resources_path not initialized
    should proxy for #request
    when the path is a Fixnum
/Users/daniel.berger/Dev/Personal/cover_my_meds/lib/cover_my_meds/meta/host_and_path.rb:38: warning: instance variable @example_api_resources_host not initialized
/Users/daniel.berger/Dev/Personal/cover_my_meds/lib/cover_my_meds/meta/host_and_path.rb:33: warning: instance variable @example_api_resources_path not initialized
/Users/daniel.berger/Dev/Personal/cover_my_meds/lib/cover_my_meds/api_request.rb:30: warning: instance variable @username not initialized
/Users/daniel.berger/Dev/Personal/cover_my_meds/lib/cover_my_meds/api_request.rb:30: warning: instance variable @password not initialized
      does not blow up

CoverMyMeds::Railtie
  default config
    is expected to eq {:default_host=>"https://api.covermymeds.com/"}
  #default_client
    delegates to #configured_client with the default credentials
    caches the default client
  #configured_client
    creates a client with the given credentials
    configures the client based on the config object

CoverMyMeds
  delegates default_client to the Railtie when defined

Request
  get request page
    without remote_user given
/Users/daniel.berger/Dev/Personal/cover_my_meds/lib/cover_my_meds/meta/host_and_path.rb:38: warning: instance variable @request_pages_host not initialized
/Users/daniel.berger/Dev/Personal/cover_my_meds/lib/cover_my_meds/meta/host_and_path.rb:33: warning: instance variable @request_pages_path not initialized
WARNING: `Faraday::Connection#authorization` is deprecated; it will be removed in version 2.0.
While initializing your connection, use `#request(:authorization, ...)` instead.
See https://lostisland.github.io/faraday/middleware/authentication for more usage info.
W, [2022-07-05T09:41:34.460728 #54949]  WARN -- : You are setting a key that conflicts with a built-in method Hashie::Mash#method defined in Kernel. This can cause unexpected behavior when accessing the key as a property. You can still access the key via the #[] method.
W, [2022-07-05T09:41:34.460754 #54949]  WARN -- : You are setting a key that conflicts with a built-in method Hashie::Mash#display defined in Kernel. This can cause unexpected behavior when accessing the key as a property. You can still access the key via the #[] method.
W, [2022-07-05T09:41:34.460770 #54949]  WARN -- : You are setting a key that conflicts with a built-in method Hashie::Mash#method defined in Kernel. This can cause unexpected behavior when accessing the key as a property. You can still access the key via the #[] method.
W, [2022-07-05T09:41:34.460779 #54949]  WARN -- : You are setting a key that conflicts with a built-in method Hashie::Mash#display defined in Kernel. This can cause unexpected behavior when accessing the key as a property. You can still access the key via the #[] method.
W, [2022-07-05T09:41:34.460793 #54949]  WARN -- : You are setting a key that conflicts with a built-in method Hashie::Mash#method defined in Kernel. This can cause unexpected behavior when accessing the key as a property. You can still access the key via the #[] method.
W, [2022-07-05T09:41:34.460801 #54949]  WARN -- : You are setting a key that conflicts with a built-in method Hashie::Mash#display defined in Kernel. This can cause unexpected behavior when accessing the key as a property. You can still access the key via the #[] method.
W, [2022-07-05T09:41:34.460815 #54949]  WARN -- : You are setting a key that conflicts with a built-in method Hashie::Mash#method defined in Kernel. This can cause unexpected behavior when accessing the key as a property. You can still access the key via the #[] method.
W, [2022-07-05T09:41:34.460823 #54949]  WARN -- : You are setting a key that conflicts with a built-in method Hashie::Mash#display defined in Kernel. This can cause unexpected behavior when accessing the key as a property. You can still access the key via the #[] method.
W, [2022-07-05T09:41:34.460844 #54949]  WARN -- : You are setting a key that conflicts with a built-in method Hashie::Mash#method defined in Kernel. This can cause unexpected behavior when accessing the key as a property. You can still access the key via the #[] method.
W, [2022-07-05T09:41:34.460852 #54949]  WARN -- : You are setting a key that conflicts with a built-in method Hashie::Mash#display defined in Kernel. This can cause unexpected behavior when accessing the key as a property. You can still access the key via the #[] method.
      returns request page
    with remote_user given
/Users/daniel.berger/Dev/Personal/cover_my_meds/lib/cover_my_meds/meta/host_and_path.rb:38: warning: instance variable @request_pages_host not initialized
/Users/daniel.berger/Dev/Personal/cover_my_meds/lib/cover_my_meds/meta/host_and_path.rb:33: warning: instance variable @request_pages_path not initialized
WARNING: `Faraday::Connection#authorization` is deprecated; it will be removed in version 2.0.
While initializing your connection, use `#request(:authorization, ...)` instead.
See https://lostisland.github.io/faraday/middleware/authentication for more usage info.
W, [2022-07-05T09:41:34.465117 #54949]  WARN -- : You are setting a key that conflicts with a built-in method Hashie::Mash#method defined in Kernel. This can cause unexpected behavior when accessing the key as a property. You can still access the key via the #[] method.
W, [2022-07-05T09:41:34.465132 #54949]  WARN -- : You are setting a key that conflicts with a built-in method Hashie::Mash#display defined in Kernel. This can cause unexpected behavior when accessing the key as a property. You can still access the key via the #[] method.
W, [2022-07-05T09:41:34.465146 #54949]  WARN -- : You are setting a key that conflicts with a built-in method Hashie::Mash#method defined in Kernel. This can cause unexpected behavior when accessing the key as a property. You can still access the key via the #[] method.
W, [2022-07-05T09:41:34.465154 #54949]  WARN -- : You are setting a key that conflicts with a built-in method Hashie::Mash#display defined in Kernel. This can cause unexpected behavior when accessing the key as a property. You can still access the key via the #[] method.
W, [2022-07-05T09:41:34.465178 #54949]  WARN -- : You are setting a key that conflicts with a built-in method Hashie::Mash#method defined in Kernel. This can cause unexpected behavior when accessing the key as a property. You can still access the key via the #[] method.
W, [2022-07-05T09:41:34.465186 #54949]  WARN -- : You are setting a key that conflicts with a built-in method Hashie::Mash#display defined in Kernel. This can cause unexpected behavior when accessing the key as a property. You can still access the key via the #[] method.
W, [2022-07-05T09:41:34.465200 #54949]  WARN -- : You are setting a key that conflicts with a built-in method Hashie::Mash#method defined in Kernel. This can cause unexpected behavior when accessing the key as a property. You can still access the key via the #[] method.
W, [2022-07-05T09:41:34.465208 #54949]  WARN -- : You are setting a key that conflicts with a built-in method Hashie::Mash#display defined in Kernel. This can cause unexpected behavior when accessing the key as a property. You can still access the key via the #[] method.
W, [2022-07-05T09:41:34.465222 #54949]  WARN -- : You are setting a key that conflicts with a built-in method Hashie::Mash#method defined in Kernel. This can cause unexpected behavior when accessing the key as a property. You can still access the key via the #[] method.
W, [2022-07-05T09:41:34.465230 #54949]  WARN -- : You are setting a key that conflicts with a built-in method Hashie::Mash#display defined in Kernel. This can cause unexpected behavior when accessing the key as a property. You can still access the key via the #[] method.
      sends a remote_user
    a redirect is returned
/Users/daniel.berger/Dev/Personal/cover_my_meds/lib/cover_my_meds/meta/host_and_path.rb:38: warning: instance variable @request_pages_host not initialized
/Users/daniel.berger/Dev/Personal/cover_my_meds/lib/cover_my_meds/meta/host_and_path.rb:33: warning: instance variable @request_pages_path not initialized
WARNING: `Faraday::Connection#authorization` is deprecated; it will be removed in version 2.0.
While initializing your connection, use `#request(:authorization, ...)` instead.
See https://lostisland.github.io/faraday/middleware/authentication for more usage info.
      follows redirects

Request
  get request
/Users/daniel.berger/Dev/Personal/cover_my_meds/lib/cover_my_meds/meta/host_and_path.rb:38: warning: instance variable @requests_host not initialized
/Users/daniel.berger/Dev/Personal/cover_my_meds/lib/cover_my_meds/meta/host_and_path.rb:33: warning: instance variable @requests_path not initialized
W, [2022-07-05T09:41:34.468150 #54949]  WARN -- : You are setting a key that conflicts with a built-in method Hashie::Mash#zip defined in Enumerable. This can cause unexpected behavior when accessing the key as a property. You can still access the key via the #[] method.
W, [2022-07-05T09:41:34.468198 #54949]  WARN -- : You are setting a key that conflicts with a built-in method Hashie::Mash#zip defined in Enumerable. This can cause unexpected behavior when accessing the key as a property. You can still access the key via the #[] method.
    returns single request
  get multiple requests
/Users/daniel.berger/Dev/Personal/cover_my_meds/lib/cover_my_meds/meta/host_and_path.rb:38: warning: instance variable @requests_host not initialized
/Users/daniel.berger/Dev/Personal/cover_my_meds/lib/cover_my_meds/meta/host_and_path.rb:33: warning: instance variable @requests_path not initialized
W, [2022-07-05T09:41:34.469869 #54949]  WARN -- : You are setting a key that conflicts with a built-in method Hashie::Mash#zip defined in Enumerable. This can cause unexpected behavior when accessing the key as a property. You can still access the key via the #[] method.
W, [2022-07-05T09:41:34.469914 #54949]  WARN -- : You are setting a key that conflicts with a built-in method Hashie::Mash#zip defined in Enumerable. This can cause unexpected behavior when accessing the key as a property. You can still access the key via the #[] method.
W, [2022-07-05T09:41:34.470017 #54949]  WARN -- : You are setting a key that conflicts with a built-in method Hashie::Mash#zip defined in Enumerable. This can cause unexpected behavior when accessing the key as a property. You can still access the key via the #[] method.
W, [2022-07-05T09:41:34.470057 #54949]  WARN -- : You are setting a key that conflicts with a built-in method Hashie::Mash#zip defined in Enumerable. This can cause unexpected behavior when accessing the key as a property. You can still access the key via the #[] method.
/Users/daniel.berger/Dev/Personal/cover_my_meds/spec/support/webmock_strict.rb:21: warning: method redefined; discarding old query_to_values
/Users/daniel.berger/Dev/Personal/cover_my_meds/spec/support/webmock_strict.rb:12: warning: previous definition of query_to_values was here
    returns 2 requests
  create request
W, [2022-07-05T09:41:34.470537 #54949]  WARN -- : You are setting a key that conflicts with a built-in method Hashie::Mash#zip defined in Enumerable. This can cause unexpected behavior when accessing the key as a property. You can still access the key via the #[] method.
W, [2022-07-05T09:41:34.470588 #54949]  WARN -- : You are setting a key that conflicts with a built-in method Hashie::Mash#zip defined in Enumerable. This can cause unexpected behavior when accessing the key as a property. You can still access the key via the #[] method.
W, [2022-07-05T09:41:34.470635 #54949]  WARN -- : You are setting a key that conflicts with a built-in method Hashie::Mash#zip defined in Enumerable. This can cause unexpected behavior when accessing the key as a property. You can still access the key via the #[] method.
/Users/daniel.berger/Dev/Personal/cover_my_meds/lib/cover_my_meds/meta/host_and_path.rb:38: warning: instance variable @requests_host not initialized
/Users/daniel.berger/Dev/Personal/cover_my_meds/lib/cover_my_meds/meta/host_and_path.rb:33: warning: instance variable @requests_path not initialized
W, [2022-07-05T09:41:34.472351 #54949]  WARN -- : You are setting a key that conflicts with a built-in method Hashie::Mash#zip defined in Enumerable. This can cause unexpected behavior when accessing the key as a property. You can still access the key via the #[] method.
W, [2022-07-05T09:41:34.472416 #54949]  WARN -- : You are setting a key that conflicts with a built-in method Hashie::Mash#zip defined in Enumerable. This can cause unexpected behavior when accessing the key as a property. You can still access the key via the #[] method.
    creates request
  send to plan
    with all required params
/Users/daniel.berger/Dev/Personal/cover_my_meds/lib/cover_my_meds/meta/host_and_path.rb:38: warning: instance variable @requests_host not initialized
/Users/daniel.berger/Dev/Personal/cover_my_meds/lib/cover_my_meds/meta/host_and_path.rb:33: warning: instance variable @requests_path not initialized
WARNING: `Faraday::Connection#authorization` is deprecated; it will be removed in version 2.0.
While initializing your connection, use `#request(:authorization, ...)` instead.
See https://lostisland.github.io/faraday/middleware/authentication for more usage info.
      sends the request
/Users/daniel.berger/Dev/Personal/cover_my_meds/lib/cover_my_meds/meta/host_and_path.rb:38: warning: instance variable @requests_host not initialized
/Users/daniel.berger/Dev/Personal/cover_my_meds/lib/cover_my_meds/meta/host_and_path.rb:33: warning: instance variable @requests_path not initialized
WARNING: `Faraday::Connection#authorization` is deprecated; it will be removed in version 2.0.
While initializing your connection, use `#request(:authorization, ...)` instead.
See https://lostisland.github.io/faraday/middleware/authentication for more usage info.
      returns an object with the data
    without office fax
      raises an error
    without from fax
      raises an error
  archive request
/Users/daniel.berger/Dev/Personal/cover_my_meds/lib/cover_my_meds/meta/host_and_path.rb:38: warning: instance variable @requests_host not initialized
/Users/daniel.berger/Dev/Personal/cover_my_meds/lib/cover_my_meds/meta/host_and_path.rb:33: warning: instance variable @requests_path not initialized
WARNING: `Faraday::Connection#authorization` is deprecated; it will be removed in version 2.0.
While initializing your connection, use `#request(:authorization, ...)` instead.
See https://lostisland.github.io/faraday/middleware/authentication for more usage info.
    sends the request

Access Token
  create token
/Users/daniel.berger/Dev/Personal/cover_my_meds/lib/cover_my_meds/meta/host_and_path.rb:38: warning: instance variable @tokens_host not initialized
/Users/daniel.berger/Dev/Personal/cover_my_meds/lib/cover_my_meds/client/tokens.rb:20: warning: instance variable @tokens_path not initialized
    returns new token
  revoke access token
/Users/daniel.berger/Dev/Personal/cover_my_meds/lib/cover_my_meds/meta/host_and_path.rb:38: warning: instance variable @tokens_host not initialized
/Users/daniel.berger/Dev/Personal/cover_my_meds/lib/cover_my_meds/client/tokens.rb:20: warning: instance variable @tokens_path not initialized
    returns response

Finished in 0.07139 seconds (files took 0.43954 seconds to load)
68 examples, 0 failures

Coverage report generated for RSpec to /Users/daniel.berger/Dev/Personal/cover_my_meds/coverage. 249 / 256 LOC (97.27%) covered.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant