github_repo_statistics 2.3.19 → 2.3.20

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 5bcc6156acfe60790b51750cf3d5b39353e92a58a8de3133a849aae2225a02f4
4
- data.tar.gz: b303b0e858fb6fd603dc18a6c90e49ed35fe52d2383c8f54eeb3328ca4422e8f
3
+ metadata.gz: fe7d09ff93b5531b9d0748d0712bcdbc9b1ffe21b3265c5b9ab4ca4341f22cc3
4
+ data.tar.gz: 6c60c94ea795b96643a98696ee97ed8938cd695437f7ee52672ba2051ebbb109
5
5
  SHA512:
6
- metadata.gz: '015059e962b968ce0bb2b023b83557f98e34e1c9a47069c7e63b8dde02d061121b1de8d599f32564922ec5126980993afe161716bd1c5f486cdd8d75f5a2f205'
7
- data.tar.gz: 6f61d638c7093095756c8cb66efafc77095f82104a3eb96eb9b98b26b15caf4d653ac9c1086cba1ea92f35ff0f3f0f96889cad41a318d6bdfbee7e41cf4e094a
6
+ metadata.gz: 0b3e089edb7ecaddc4491cbb1c22c3053ff00415d21cd1bfa297a1c5c5ec4c5c0c3950c3cf3e47b7588e03476281ee845372f72f37f7c215c02c47089a36b1f1
7
+ data.tar.gz: dd85e0276312a71482da1686a9d3419abb8c6fcd9acfa1f2431edeec57e13fe2e4108a3e452714b802d05af987da4791708fc32ba39e0a61fb4f840b26b27e19
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- github_repo_statistics (2.3.19)
4
+ github_repo_statistics (2.3.18)
5
5
  date
6
6
  faraday-retry
7
7
  google-cloud-bigquery
@@ -210,8 +210,8 @@ class GithubRepoStatistics
210
210
  filename = File.basename(file)
211
211
  commit_count = git_commit_count(file:, start_date:, end_date:, branch:).to_i
212
212
  git_log = git_commit_info(file:, start_date:, end_date:, branch:).split("\n")
213
-
214
- if EXCLUDED_PRS && branch != DEFAULT_BRANCH
213
+
214
+ if EXCLUDED_PRS && branch == DEFAULT_BRANCH
215
215
  excluded_prs = EXCLUDED_PRS.split(',')
216
216
  git_log = git_log.reject { |c| excluded_prs.any? { |pr| c.include?(pr) } }
217
217
  end
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  class GithubRepoStatistics
4
- VERSION = '2.3.19'
4
+ VERSION = '2.3.20'
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: github_repo_statistics
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.3.19
4
+ version: 2.3.20
5
5
  platform: ruby
6
6
  authors:
7
7
  - Serghei Moret
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-06-08 00:00:00.000000000 Z
11
+ date: 2024-07-01 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: date