ghuls-lib 3.0.1 → 3.0.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/lib/ghuls/lib.rb +1 -1
  3. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 3db170738a1c51068e0b9923c3fb60713bbb2cde
4
- data.tar.gz: 2f5a246da35ee95337edfddf766a5a35124370b6
3
+ metadata.gz: e8a96f58ec35a0366270e619b780b5a6f91d2241
4
+ data.tar.gz: d6a1cff3c2a0b2d4eaa39d9ca5fb2371c51547bf
5
5
  SHA512:
6
- metadata.gz: 283052c0d902f775572524a9737f7425a92595224dd03bd069c535b8739675da28a69f6d4f1d741595c837512c776f0a1ccf4a3c0b5007ff24b30dd95613de9a
7
- data.tar.gz: dd4467f18cae7f1e8e6f82a8d69fcb90cc639499423b1078cc947f00c2d0d11035280592bcc188e4fb272f9131228f61e6c4023b0681050c0a63196cc3ef0f4f
6
+ metadata.gz: 92e78a9631836e3c09e8461c4f912305017a9396341090173653bd53871d6052058d636015c3e09895598443bdca8b623f6b5841e82de86edf265af9a6246bc1
7
+ data.tar.gz: b07829628c275d1c6daa39643c68fb92c4bf7346fc68deae45c96cd9b96a2efdb24a34634ce97cc0ead389408c57f4e36a4394596adfbe9b79011ba16aa53a7a
data/lib/ghuls/lib.rb CHANGED
@@ -207,7 +207,7 @@ module GHULS
207
207
  langs.each { |_, b| total += b }
208
208
  lang_percents = {}
209
209
  langs.each do |l, b|
210
- percent = calculate_percent(b, total.to_f)
210
+ percent = self.class.calculate_percent(b, total.to_f)
211
211
  lang_percents[l] = percent.round(2)
212
212
  end
213
213
  lang_percents
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ghuls-lib
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.1
4
+ version: 3.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Eli Foster