fe_core_ext 0.1.15 → 0.1.16

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
  SHA1:
3
- metadata.gz: 20cd58847d3e36759ce281a864b8e5f55860f9fc
4
- data.tar.gz: b85c66539cfc3a46b43f885f73a102c113d7c180
3
+ metadata.gz: fa2579986be7846a6d5e59ef29772d22b3d79e9d
4
+ data.tar.gz: 5e5d9d49197a418622852ef24ea6e2e17b477163
5
5
  SHA512:
6
- metadata.gz: 7e2c1f77f2ee468f0cb52d0f1516d9aed845b6ab30ba81e178a42675d7a887ca96771ec603c070a48ffc7b3c1b66cd51e53e4c7cd15e5984066036d1b48c05ae
7
- data.tar.gz: 16d389627e77b64d6ec80bb936f44bfb2df587c9c92e1c941a6a87cf07e47f77fe7b78f64a3b3dee80fbd2d6d1412f653e32ea15a1ec4b83145cd2d24f08d585
6
+ metadata.gz: 2fcc870113bf1c7f3f714cb69d2e8368220ebb1bed1da02af22a2be07b5364029a9758f9693afdc26cd116f483360477291ba67b516c51de1784553414e598ae
7
+ data.tar.gz: 04fb254c14b14195affb838c1bd1421248a4fee80f50632c30341ca94d4283eddad4bc023fe400b4d4988755b6c629af9c75b8b7b0bcb213310f9ffbe8283542
@@ -13,6 +13,7 @@ module FeCoreExt::CoreExt::Array
13
13
  end
14
14
 
15
15
  def mean
16
+ return if empty?
16
17
  sum.to_d / size
17
18
  end
18
19
  end
@@ -1,3 +1,3 @@
1
1
  module FeCoreExt
2
- VERSION = '0.1.15'
2
+ VERSION = '0.1.16'
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fe_core_ext
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.15
4
+ version: 0.1.16
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tetsu
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2016-09-06 00:00:00.000000000 Z
11
+ date: 2016-09-07 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport