Skip to content

Custom last ID#12

Open
ramontayag wants to merge 11 commits into
lowjoel:masterfrom
bloom-solutions:custom_last_id
Open

Custom last ID#12
ramontayag wants to merge 11 commits into
lowjoel:masterfrom
bloom-solutions:custom_last_id

Conversation

@ramontayag

Copy link
Copy Markdown

Requires:

This is not tested. There doesn't seem to be a way to test this without being able to reset the channel messages. Some possible ways to test this:

  • expose an API on the chat server that clears all the messages, or
  • expose an API on the chat server that gives you the last_id of a channel, so the tests may dynamically compute the last_id to work from
  • restart the chat server for every spec, essentially resetting the channels and last_ids

Fixes errors with missing SecureRandom

@houndci-bot houndci-bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Some files could not be reviewed due to errors:

.rubocop.yml: Style/DotPosition has the wrong namespace - should be Layout
.rubocop.yml: Style/DotPosition has the wrong namespace - should be Layout
.rubocop.yml: Style/IndentHash has the wrong namespace - should be Layout
Error: The `Style/TrailingComma` cop no longer exists. Please use `Style/TrailingCommaInArguments`, `Style/TrailingCommaInArrayLiteral`, and/or `Style/TrailingCommaInHashLiteral` instead.
(obsolete configuration found in .rubocop.yml, please update it)
The `Lint/InvalidCharacterLiteral` cop has been removed since it was never being actually triggered.
The `Style/DeprecatedHashMethods` cop has been renamed to `Style/PreferredHashMethods`.
The `Style/OpMethod` cop has been renamed and moved to `Naming/BinaryOperatorParameterName`.

@ramontayag ramontayag mentioned this pull request Apr 25, 2018
1 task
Let's not check coverage yet while we make a
fork of message_bus-client
Run tests against Ruby 2.4.1 and 2.5.0
The problem of the puma process living beyond the command that started it
is confirmed on MacOS. This code may break things on Windows.

@houndci-bot houndci-bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Some files could not be reviewed due to errors:

.rubocop.yml: Style/DotPosition has the wrong namespace - should be Layout
.rubocop.yml: Style/DotPosition has the wrong namespace - should be Layout
.rubocop.yml: Style/IndentHash has the wrong namespace - should be Layout
Error: The `Style/TrailingComma` cop no longer exists. Please use `Style/TrailingCommaInArguments`, `Style/TrailingCommaInArrayLiteral`, and/or `Style/TrailingCommaInHashLiteral` instead.
(obsolete configuration found in .rubocop.yml, please update it)
The `Lint/InvalidCharacterLiteral` cop has been removed since it was never being actually triggered.
The `Style/DeprecatedHashMethods` cop has been renamed to `Style/PreferredHashMethods`.
The `Style/OpMethod` cop has been renamed and moved to `Naming/BinaryOperatorParameterName`.

@houndci-bot houndci-bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Some files could not be reviewed due to errors:

.rubocop.yml: Style/DotPosition has the wrong namespace - should be Layout
.rubocop.yml: Style/DotPosition has the wrong namespace - should be Layout
.rubocop.yml: Style/IndentHash has the wrong namespace - should be Layout
Error: The `Style/TrailingComma` cop no longer exists. Please use `Style/TrailingCommaInArguments`, `Style/TrailingCommaInArrayLiteral`, and/or `Style/TrailingCommaInHashLiteral` instead.
(obsolete configuration found in .rubocop.yml, please update it)
The `Lint/InvalidCharacterLiteral` cop has been removed since it was never being actually triggered.
The `Style/DeprecatedHashMethods` cop has been renamed to `Style/PreferredHashMethods`.
The `Style/OpMethod` cop has been renamed and moved to `Naming/BinaryOperatorParameterName`.

This is not tested. There doesn't seem to be a way to test this
without being able to reset the channel messages

@houndci-bot houndci-bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Some files could not be reviewed due to errors:

.rubocop.yml: Style/DotPosition has the wrong namespace - should be Layout
.rubocop.yml: Style/DotPosition has the wrong namespace - should be Layout
.rubocop.yml: Style/IndentHash has the wrong namespace - should be Layout
Error: The `Style/TrailingComma` cop no longer exists. Please use `Style/TrailingCommaInArguments`, `Style/TrailingCommaInArrayLiteral`, and/or `Style/TrailingCommaInHashLiteral` instead.
(obsolete configuration found in .rubocop.yml, please update it)
The `Lint/InvalidCharacterLiteral` cop has been removed since it was never being actually triggered.
The `Style/DeprecatedHashMethods` cop has been renamed to `Style/PreferredHashMethods`.
The `Style/OpMethod` cop has been renamed and moved to `Naming/BinaryOperatorParameterName`.

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.

2 participants