github_repo_statistics 2.2.20 → 2.2.22

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: 41a049be21c83dce57e60dc938dff6824d47a007a98a28292667ce56118450bc
4
- data.tar.gz: a78b853dd82721c83dd10fe17db33f199f084143264c8f0fe991a252b645d7f3
3
+ metadata.gz: a0947685714b9fd8c26f14ab9ca41d97a3be0e650446ff6326edb314e348971e
4
+ data.tar.gz: 22ca27a86ba8ffff87c7800dac109e8b106220462f11f05a3cc990f08df7b8c3
5
5
  SHA512:
6
- metadata.gz: 7296fd692ec8d1fca369a8b4eef1ef7839b1c5ba6ec1f924d7eca834df8ab01eb590223314669006c9bf00b55e99c35f2d7089bd70900108ab1a0f2c91de22b9
7
- data.tar.gz: 5066e055e2ba835d681df98e3cf7e988c48c96480541c418e28ff97f6b7bea7a7194e873f6e8dd69da36e20244b8f5b54abdb724f909774edd8f574bf9feb704
6
+ metadata.gz: de23c5ec8378f0f88b17489dccc6b6fe38e0b1cf7fa7bab73e76bdce443c31555e0dfa7ca8f03ec6ea287ede3c6673d0e161a4d7945858bfdb61f57dc10b576e
7
+ data.tar.gz: a2e0e27d3460943b66eafcd1b6a301a1b44c2152462037e6c3888151841d37d7d63a0010284ed6feb8089cb26178d092d7290fae803707fd30696ce49119af67
@@ -178,8 +178,11 @@ class GithubRepoStatistics
178
178
  end
179
179
 
180
180
  def git_commit_info(file:, start_date:, end_date:)
181
+ `git status`
181
182
  puts "File: #{file}, Start: #{start_date}, End: #{end_date}, Now: #{Time.now}" if @debug
182
- `git log --pretty=format:"%s" --since="#{start_date}" --until="#{end_date}" --follow -- "#{file}"`
183
+ res = `git log --pretty=format:"%s" --since="#{start_date}" --until="#{end_date}" --follow -- "#{file}"`
184
+ puts res if @debug
185
+ res
183
186
  end
184
187
 
185
188
  def analyze_changed_files(uniq_code_files_with_changes:, start_date:, end_date:)
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  class GithubRepoStatistics
4
- VERSION = '2.2.20'
4
+ VERSION = '2.2.22'
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: github_repo_statistics
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.2.20
4
+ version: 2.2.22
5
5
  platform: ruby
6
6
  authors:
7
7
  - Serghei Moret