Skip to content

Conversation

@mark-smithtb
Copy link

  • pulled post to device out of temperature methods into a private method.
  • refactored to only pull structor and device ids if they exist.
  • Added vcr to record interactions with the nest api for testing.
  • Added timecop to freeze time for sets away status test to work with vcr.

@stevenpetryk
Copy link
Collaborator

Whoa.

Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You might want to change your password. Also this shouldn't be in the repo. :D

@ericboehs
Copy link
Owner

Could we put the fixtures in /spec/fixtures instead of /fixtures?

Side note: We should set up circleci (or travis) and hound on this project.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Prefer double-quoted strings unless you need single quotes to avoid extra backslashes for escaping.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Line is too long. [99/80]
Prefer double-quoted strings unless you need single quotes to avoid extra backslashes for escaping.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Surrounding space missing for operator ||.

@ericboehs
Copy link
Owner

Looks like a few more hound violations.

Also, could you pull in master, circleci should be fixed.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do not use Time.local without zone. Use one of Time.zone.local, Time.local.current, Time.local.in_time_zone, Time.local.utc, Time.local.getlocal, Time.local.iso8601, Time.local.jisx0301, Time.local.rfc3339, Time.local.to_i, Time.local.to_f instead.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Redundant self detected.

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

Successfully merging this pull request may close these issues.

4 participants