fbe 0.0.69 → 0.0.71
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/fbe/github_graph.rb +4 -0
- data/lib/fbe/octo.rb +2 -8
- data/lib/fbe.rb +1 -1
- data/test/fbe/test_github_graph.rb +6 -0
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d3d98cff29df2eb4e4260d8806bef3fa8248d23f817fc4b9ef346053e05fbd17
|
4
|
+
data.tar.gz: 4519dd55fb5c4f17e3055bbf3d4958ae345f102a6a79c4fdb5b3c2d4b9bd3367
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f423fa6c81d2ccd42a5d39f8395a307645d42a4f14a23a8454141c0eeabb346e3ceb3c332f7588ab8bed154e3d93900b0d213381fd5e75698d352f8ed7b0a5a9
|
7
|
+
data.tar.gz: 48152236cb7e1c9f7935c7bac2161b1030fd00b411c41f1ea47371d5ac7aa2b776323114a1ffd227be3929a448e8f7e22a8a6bdd6be66e10d4661b69cb3b778b
|
data/lib/fbe/github_graph.rb
CHANGED
data/lib/fbe/octo.rb
CHANGED
@@ -664,10 +664,7 @@ class Fbe::FakeOctokit
|
|
664
664
|
node_id: 'R_kgDOK2_4Aw',
|
665
665
|
name: 'baza',
|
666
666
|
full_name: 'zerocracy/baza',
|
667
|
-
private: false
|
668
|
-
owner: {
|
669
|
-
login: 'zerocracy'
|
670
|
-
}
|
667
|
+
private: false
|
671
668
|
}
|
672
669
|
},
|
673
670
|
head: {
|
@@ -722,10 +719,7 @@ class Fbe::FakeOctokit
|
|
722
719
|
node_id: 'R_kgDOK2_4Aw',
|
723
720
|
name: 'judges-action',
|
724
721
|
full_name: 'zerocracy/judges-action',
|
725
|
-
private: false
|
726
|
-
owner: {
|
727
|
-
login: 'zerocracy'
|
728
|
-
}
|
722
|
+
private: false
|
729
723
|
}
|
730
724
|
},
|
731
725
|
head: {
|
data/lib/fbe.rb
CHANGED
@@ -131,4 +131,10 @@ class TestGitHubGraph < Minitest::Test
|
|
131
131
|
assert_equal(23, result['issues'])
|
132
132
|
assert_equal(19, result['pulls'])
|
133
133
|
end
|
134
|
+
|
135
|
+
def test_fake_total_commits
|
136
|
+
WebMock.disable_net_connect!
|
137
|
+
graph = Fbe.github_graph(options: Judges::Options.new('testing' => true), loog: Loog::NULL, global: {})
|
138
|
+
assert_equal(1484, graph.total_commits('zerocracy', 'fbe', 'master'))
|
139
|
+
end
|
134
140
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: fbe
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.71
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Yegor Bugayenko
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-09-
|
11
|
+
date: 2024-09-24 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: backtrace
|