fbe 0.0.70 → 0.0.71

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: cb74a645eddc2d5e41b4c8c8700e90a36c72bf33471698fa1c9a0594e7aad4b5
4
- data.tar.gz: d401101d44e6335fe181310877a9163542c01b4f06399d5f84395cd465ca95c2
3
+ metadata.gz: d3d98cff29df2eb4e4260d8806bef3fa8248d23f817fc4b9ef346053e05fbd17
4
+ data.tar.gz: 4519dd55fb5c4f17e3055bbf3d4958ae345f102a6a79c4fdb5b3c2d4b9bd3367
5
5
  SHA512:
6
- metadata.gz: dcfc1d97f4d9ff179cde9774b5c0941aa530aef4b6a522d4f746c6dd3b1bcb902ecf1b6248633294cc5e644b69b8b2eb2495f699ae711316731a049f896126d6
7
- data.tar.gz: 944b3d04d46806f25fdd21fb1744b6814d71dd2d1d9c74aa2b6d9a847c398c0ddce34351bc045afa090a77b0591f659af1ba11def4bcdd95e0ec3fdb6456b44f
6
+ metadata.gz: f423fa6c81d2ccd42a5d39f8395a307645d42a4f14a23a8454141c0eeabb346e3ceb3c332f7588ab8bed154e3d93900b0d213381fd5e75698d352f8ed7b0a5a9
7
+ data.tar.gz: 48152236cb7e1c9f7935c7bac2161b1030fd00b411c41f1ea47371d5ac7aa2b776323114a1ffd227be3929a448e8f7e22a8a6bdd6be66e10d4661b69cb3b778b
@@ -163,6 +163,10 @@ class Fbe::Graph
163
163
  }
164
164
  end
165
165
 
166
+ def total_commits(_owner, _name, _branch)
167
+ 1484
168
+ end
169
+
166
170
  private
167
171
 
168
172
  def conversation(id)
data/lib/fbe.rb CHANGED
@@ -27,5 +27,5 @@
27
27
  # License:: MIT
28
28
  module Fbe
29
29
  # Current version of the gem (changed by .rultor.yml on every release)
30
- VERSION = '0.0.70'
30
+ VERSION = '0.0.71'
31
31
  end
@@ -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,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fbe
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.70
4
+ version: 0.0.71
5
5
  platform: ruby
6
6
  authors:
7
7
  - Yegor Bugayenko