chris_lib 2.0.3 → 2.0.4

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: 8ea3447c69d66f98ca586f54400ff878b50722e96769865c9a09bc8533e94eec
4
- data.tar.gz: 28e1df6aa9b135b88a428b5e8e0b1cd856455c7f224bfee90705c32f742590cf
3
+ metadata.gz: 8b45dbc0752ee9fc958854c36c5fb37d68a2e87d7d575236f58dd4ae008951be
4
+ data.tar.gz: 00b55b5fe70a3277f68d596b2e8a0e66345e299e25f6b57bc09812da2ee5be99
5
5
  SHA512:
6
- metadata.gz: 119b1971ba49a8c67486603910279c3e9488b384b80e63e474ec275089a0391febb68cd5ebe4a1f42b74ee968096455d982011bcc4a996c78f5b51642d8357a1
7
- data.tar.gz: d04f7889df086aa1f3403383d767bc41877e80220d930f57d8c489deaf6ffab156905b359fd0236b861248cf551fcd8f37c5ab2b12594b5de75666b8828f5e86
6
+ metadata.gz: 64af2078226120ddcc5cb13958d37b67a4cf1bfbff3d387d87f3e849f71e8ddde6bd73b008e0cf88154b25ff93024813449e4b34afd0d1bcc4e4b95610070964
7
+ data.tar.gz: f846766e5724775c53901c10c8b081ac5ca035fea1a88e4e1c1ea1702493488b6a16781e7d53a98ba0810f758692f73b6a7f9ec8590db6473f665b45c65ef047
@@ -33,8 +33,8 @@ end
33
33
 
34
34
  Array.class_eval do
35
35
  # round each element
36
- def round(n)
37
- map { |e| e.round(n) }
36
+ def round(decimal_points = 0)
37
+ map { |e| e.round(decimal_points) }
38
38
  end
39
39
 
40
40
  # mean of array
@@ -1,3 +1,3 @@
1
1
  module ChrisLib
2
- VERSION = "2.0.3"
2
+ VERSION = "2.0.4"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: chris_lib
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.3
4
+ version: 2.0.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Chris
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-10-02 00:00:00.000000000 Z
11
+ date: 2021-12-23 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: dotenv