cobench 0.0.4 → 0.0.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/bin/cobench +2 -0
- data/cobench.gemspec +1 -0
- data/lib/cobench/version.rb +1 -1
- metadata +16 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 47e7e1808f7761b20075db8ed5d56d765bb0643b52f60c4a94af97b595ef86bb
|
4
|
+
data.tar.gz: bd364af5463eeef8e4327d43b691c30dd80254db6245c431c32f6bceaafa39ca
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 17c1b0fd543b056c280772aad49d82067cab4f359cff8c38f4044639d44567cc7d690b704807406f55b46bcaabec3cedbcea3912c9a30774a0f5f4444a359d81
|
7
|
+
data.tar.gz: 76f716fee9458c5a153f0c373fde11645005c1361492758bdd3e71f7b853e27ceccbf7c582756dfa9ccc2481a8c12fe9c57aab75f7cb9d68d95dcf993fbc7e64
|
data/bin/cobench
CHANGED
@@ -27,6 +27,7 @@ require 'octokit'
|
|
27
27
|
require 'nokogiri'
|
28
28
|
require 'backtrace'
|
29
29
|
require 'fileutils'
|
30
|
+
require 'obk'
|
30
31
|
require_relative '../lib/cobench/version'
|
31
32
|
|
32
33
|
loog = Loog::REGULAR
|
@@ -89,6 +90,7 @@ begin
|
|
89
90
|
loog.warn("Connecting to GitHub without a token, this may lead to errors, use --token")
|
90
91
|
end
|
91
92
|
api.auto_paginate = true
|
93
|
+
api = Obk.new(api, pause: 2000)
|
92
94
|
opts[:coder].each do |u|
|
93
95
|
loog.info("Scanning #{u}...")
|
94
96
|
data[u] = {}
|
data/cobench.gemspec
CHANGED
@@ -44,6 +44,7 @@ Gem::Specification.new do |s|
|
|
44
44
|
s.add_runtime_dependency 'iri', '~>0.5'
|
45
45
|
s.add_runtime_dependency 'loog', '~>0.2'
|
46
46
|
s.add_runtime_dependency 'nokogiri', '~>1.10'
|
47
|
+
s.add_runtime_dependency 'obk', '~>0.1'
|
47
48
|
s.add_runtime_dependency 'octokit', '~>4.0'
|
48
49
|
s.add_runtime_dependency 'rainbow', '~>3.0'
|
49
50
|
s.add_runtime_dependency 'slop', '~>4.4'
|
data/lib/cobench/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: cobench
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Yegor Bugayenko
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-08-
|
11
|
+
date: 2022-08-10 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: backtrace
|
@@ -66,6 +66,20 @@ dependencies:
|
|
66
66
|
- - "~>"
|
67
67
|
- !ruby/object:Gem::Version
|
68
68
|
version: '1.10'
|
69
|
+
- !ruby/object:Gem::Dependency
|
70
|
+
name: obk
|
71
|
+
requirement: !ruby/object:Gem::Requirement
|
72
|
+
requirements:
|
73
|
+
- - "~>"
|
74
|
+
- !ruby/object:Gem::Version
|
75
|
+
version: '0.1'
|
76
|
+
type: :runtime
|
77
|
+
prerelease: false
|
78
|
+
version_requirements: !ruby/object:Gem::Requirement
|
79
|
+
requirements:
|
80
|
+
- - "~>"
|
81
|
+
- !ruby/object:Gem::Version
|
82
|
+
version: '0.1'
|
69
83
|
- !ruby/object:Gem::Dependency
|
70
84
|
name: octokit
|
71
85
|
requirement: !ruby/object:Gem::Requirement
|