Skip to content

Commit

Permalink
Fixing linting issues
Browse files Browse the repository at this point in the history
  • Loading branch information
Kenny Hoxworth committed Jan 26, 2024
1 parent 885331f commit 8e837a8
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion packages/ruby/Gemfile.lock
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
PATH
remote: .
specs:
readme-metrics (2.4.0)
readme-metrics (2.4.1)
httparty (~> 0.18)
rack (>= 2.2, < 4)

Expand Down
2 changes: 1 addition & 1 deletion packages/ruby/lib/readme/payload.rb
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ def initialize(har, info, ip_address, development:)
def to_json(*_args)
{
_id: validate_uuid(@log_id) ? @log_id : @uuid,
_version: 3,
_version: 3,
group: @user_info,
clientIPAddress: @ip_address,
development: @development,
Expand Down
2 changes: 1 addition & 1 deletion packages/ruby/spec/readme/metrics_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -281,7 +281,7 @@ def app
expect(WebMock).to have_requested(:post, Readme::Metrics::ENDPOINT)
expect(last_response.status).to eq 200
end

it 'is submitted to Readme when the body is empty with reject_params configured' do
def app
json_app_with_middleware(buffer_length: 1, reject_params: ['reject'])
Expand Down

0 comments on commit 8e837a8

Please sign in to comment.