github_repo_statistics 2.3.15 → 2.3.17

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 15bdbf6a84cb25fd25d4ba0b4b55193cf4c20735aa9dcdebb58490f265890fa0
4
- data.tar.gz: ef47a94f6e6f210b41b9da61fdf295d2d96af959be231269a80d4a916e74fd31
3
+ metadata.gz: 35a2f4b839b1ec024faf1d3b360c2becdcb8242708d94a1d8d6c2213b6fcdccb
4
+ data.tar.gz: 814482d0ddfed7e45297826e8923bb88b32d7e99a38f2ee7792f967d2198c836
5
5
  SHA512:
6
- metadata.gz: 5e567718e3790a43c7393de66ecb56dec122a98a1d2e134c6d6098e817304205ef53a2cc0a27ef7a9e1c38ca1fe21b1c8bcf6bad5b0a40af6b8b4bae1aa30b7f
7
- data.tar.gz: 5e5ca4e463e23a91c9c23a84d5b69e4e172f591cd0488fb8489aa2f9299e467651fc8b2c9e8657fd6a9e0a2de5e4ebf5f5d5c84845df5d4726d307dc1a825b33
6
+ metadata.gz: 4d95e04e630f8b304d47e4bcabf17c54c0bec5431544f112fe42a9a3cdbed0dd2475b0f897bf69a9b42a10249b51da5a6a3e3b338b1a3b2c996beb0b2ecb6729
7
+ data.tar.gz: 69542e6a42ba3e8bb1c4bf81b4c692e1203507dc741f3ae3925ed0908d8fdb720ea33ecb5a43a0f9e2bb20c0139e2c5260c609df4e14df99af36d739dcd11ced
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- github_repo_statistics (2.3.15)
4
+ github_repo_statistics (2.3.17)
5
5
  date
6
6
  faraday-retry
7
7
  google-cloud-bigquery
@@ -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
- raise 'New hotspot was introduced, contact foundation to unblock the PR' if branch_hotspot_files.count > master_hotspot_files.count
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}"
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)
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  class GithubRepoStatistics
4
- VERSION = '2.3.15'
4
+ VERSION = '2.3.17'
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.3.15
4
+ version: 2.3.17
5
5
  platform: ruby
6
6
  authors:
7
7
  - Serghei Moret