github_repo_statistics 2.3.16 → 2.3.18
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/bin/github_repo_statistics +5 -1
- data/lib/github_repo_statistics/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 50fe038dd3ff3f31fe574fbf4f9664eb6c4e18d8db5ddde3d8c5ad2ef0305fd4
|
4
|
+
data.tar.gz: 6bbc7406089787c7209d5f0f29d83fe459b65c583e08ee4e0771cfd31239d49f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3e323fb7b870f884e00f456235fda4cc5aa0e70e9b454b83f8c1309c31ef4e57b4be49887a56ebc0498845377e9c3f21cba052bba9ceb8ad17a8e7a8e49c0f1c
|
7
|
+
data.tar.gz: 10ed08d7a7ff3b832921a542242c6d22a7597e46e92ad1a97fc674b81539ec86fba0b965b2e0abbe4756f1614a93a4538996963a99e9749c2bd9823df3e72888
|
data/Gemfile.lock
CHANGED
data/bin/github_repo_statistics
CHANGED
@@ -170,7 +170,11 @@ if options[:hotspot_check]
|
|
170
170
|
begin_time: DateTime.now, steps: options[:steps].to_i, debug: options[:debug]).hotspot_check(files: branch_hotspot_files, branch: DEFAULT_BRANCH)
|
171
171
|
puts "master_hotspot_files = #{master_hotspot_files}"
|
172
172
|
|
173
|
-
|
173
|
+
if branch_hotspot_files.count > master_hotspot_files.count
|
174
|
+
message = "New hotspot was introduced, contact foundation to unblock the PR. Files: #{(branch_hotspot_files - master_hotspot_files).join(', ')}"
|
175
|
+
File.write('./failure.txt', message)
|
176
|
+
raise message
|
177
|
+
end
|
174
178
|
else
|
175
179
|
system("git checkout #{DEFAULT_BRANCH}", [:out] => File::NULL)
|
176
180
|
system('git pull', %i[out err] => File::NULL)
|