From f4a6b325a6d260fb9f107da0a5a86efce94ac5b1 Mon Sep 17 00:00:00 2001 From: Kartikey Chauhan Date: Wed, 23 Jul 2025 21:09:22 +0530 Subject: [PATCH] remove coding_only from scope --- lib/test_wakatime_service.rb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/test_wakatime_service.rb b/lib/test_wakatime_service.rb index 9d9cc76..2c630c7 100644 --- a/lib/test_wakatime_service.rb +++ b/lib/test_wakatime_service.rb @@ -3,7 +3,8 @@ include ApplicationHelper class TestWakatimeService def initialize(user: nil, specific_filters: [], allow_cache: true, limit: 10, start_date: nil, end_date: nil, scope: nil, boundary_aware: false) @scope = scope || Heartbeat.all - @scope = @scope.coding_only + # trusting time from hackatime extensions..... + # @scope = @scope.coding_only @scope = @scope.with_valid_timestamps @user = user @boundary_aware = boundary_aware