github_repo_statistics 2.2.21 → 2.2.23

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: 22715ee89ab9a04e544646b19dd848c758661fd16583844d71a11dbe44428b5f
4
- data.tar.gz: 52f34b4a141f1408f50c1615d55785e28d7a6ce1052d7e18ff714a9d108bc570
3
+ metadata.gz: 6bbcaedea71766af46c1fb94b91dc6431713107df97d68f56ec511b9583ac51f
4
+ data.tar.gz: af4c256afff46300842bd3616266590f4a1c43e54aa48d0ce645e2cf8482ee49
5
5
  SHA512:
6
- metadata.gz: bbc8035a098fc62d186f2c4db8345d334f137f7df0e7d3ef660ae42e506d4930df8f22d1eea36894041b058f49718fb9139cec3ba73d72184e9371696fa2352f
7
- data.tar.gz: ded920b5c06400ed83b02b5da34a61663398e76214c86c74e7713bd49cd249eb6eb9d7f1446af6127c9e7465520f68e6d1a4257475abbe8cd7ad5be2b555340c
6
+ metadata.gz: '00972aa48016799b2dcc9fafd5ea9b1f75afe6514f065a46dcf029674ef180c48f497e87d98e23f046638b192054182eedb8ce12433ab7e274ae7c15c322090b'
7
+ data.tar.gz: 1ed8e3f88d005de75bf17f68a854a4939bc061c767e547880e22dceaf9b912b4a83134ca53234a87270767111aab97a96754b37a0f7de490e930ac9f82886484
@@ -125,7 +125,7 @@ unless CI
125
125
  end
126
126
 
127
127
  system("git checkout #{DEFAULT_BRANCH}", [:out] => File::NULL)
128
- system('git pull', %i[out err] => File::NULL)
128
+ system('git pull')
129
129
 
130
130
  GithubRepoStatistics.new(duration_in_days: options[:duration_in_days] || 30, directory_path: REPO_PATH,
131
131
  begin_time: DateTime.now, steps: options[:steps].to_i, debug: options[:debug]).contribution_message
@@ -178,6 +178,7 @@ 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
183
  res = `git log --pretty=format:"%s" --since="#{start_date}" --until="#{end_date}" --follow -- "#{file}"`
183
184
  puts res if @debug
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  class GithubRepoStatistics
4
- VERSION = '2.2.21'
4
+ VERSION = '2.2.23'
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.21
4
+ version: 2.2.23
5
5
  platform: ruby
6
6
  authors:
7
7
  - Serghei Moret