github_repo_statistics 2.2.24 → 2.2.25
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:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 3b0d785bf76a9332bb8fde1a51bfc945a68f0f29a23af2c5e3f33b53d6f2998f
|
|
4
|
+
data.tar.gz: 0f37ed9e50b2428e7259fb409f5d0b1c9a7abe63878326772d40049c881b8bea
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: cd9f7405572980aa739d9507d81833006a1e09693c7e5385c046fb021f4f5773094b74d286ce1ed98895c01b55436f00cc52fc488077deaaa1cac1acbf3f7ba2
|
|
7
|
+
data.tar.gz: 24d5e77abac162838a5041a0714cd5f961d3e326a15b2aed237153e060b6cccbadaabcf5fe0abe54ba0dd364274575782c34d52bbf33602ce80611c09ff02e03
|
|
@@ -170,15 +170,15 @@ class GithubRepoStatistics
|
|
|
170
170
|
end
|
|
171
171
|
|
|
172
172
|
def files_with_changes(directory_path:, start_date:, end_date:)
|
|
173
|
-
`git log --name-only --pretty=format:"" --since="#{start_date}" --until="#{end_date}" "#{directory_path}"`
|
|
173
|
+
`git log origin/master --name-only --pretty=format:"" --since="#{start_date}" --until="#{end_date}" "#{directory_path}"`
|
|
174
174
|
end
|
|
175
175
|
|
|
176
176
|
def git_commit_count(file:, start_date:, end_date:)
|
|
177
|
-
`git log --since="#{start_date}" --until="#{end_date}" --follow -- "#{file}" | grep -c '^commit'`
|
|
177
|
+
`git log origin/master --since="#{start_date}" --until="#{end_date}" --follow -- "#{file}" | grep -c '^commit'`
|
|
178
178
|
end
|
|
179
179
|
|
|
180
180
|
def git_commit_info(file:, start_date:, end_date:)
|
|
181
|
-
`git log --pretty=format:"%s" --since="#{start_date}" --until="#{end_date}" -- "#{file}"`
|
|
181
|
+
`git log origin/master --pretty=format:"%s" --since="#{start_date}" --until="#{end_date}" -- "#{file}"`
|
|
182
182
|
end
|
|
183
183
|
|
|
184
184
|
def analyze_changed_files(uniq_code_files_with_changes:, start_date:, end_date:)
|
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.2.
|
|
4
|
+
version: 2.2.25
|
|
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-
|
|
11
|
+
date: 2024-05-06 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: date
|