flash_extensions 3.2.1 → 3.2.2

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: 99dac26e58f923bbf2daa7719f51b61738fc45aa
4
- data.tar.gz: 54be7232e912e4079654e4e5fd672b482b3b70aa
3
+ metadata.gz: 510387470171f5e46cd3491eb45c3194de942a7e
4
+ data.tar.gz: c51ab2da76f809b3a07987fa9ab4894a5f49dac5
5
5
  SHA512:
6
- metadata.gz: c8427a50a81aac4ba4810d74de7a4dcf4bd37617a19c2b130292610a34a9a3ffa3dc3499574a5153d635d04a9c7cc326b73bf968d2aa75e019d1c2620ad15a56
7
- data.tar.gz: 0cde6abc20782ed2a26f25ffa67e151ccaffe5eee403a0c6ccca028b2661e3a9306115618407197af5e277e1043e3f621cc5d1f46aaf7e3e2142116e75ab0871
6
+ metadata.gz: 986e4bdde3a3ced737e9ac0d2f9854a095a8344f0596cb6485dc3a0f650cb454e559f72b1f46811862d11e5cd2dabd95d7d360deb0c088f1b8db4f24ce36bf75
7
+ data.tar.gz: 07bcc17e2eba9f8506f5c7d18bd9359f21179871c18a044259c2f7a8563db52f834790b414b1d5ef5f0d72202747a5cec5e640e58b36a91aebd788a35ddc707b
@@ -133,7 +133,7 @@ module Enumerable
133
133
  def variance
134
134
  collection_length = length
135
135
 
136
- return 0 if collection_length < 1
136
+ return 0 if collection_length <= 1
137
137
  sum = inject(0) { |accumulator, value| accumulator + (value - mean) ** 2 }
138
138
  sum / (collection_length.to_f - 1)
139
139
  end
@@ -1,3 +1,3 @@
1
1
  module FlashExtensions
2
- VERSION = "3.2.1"
2
+ VERSION = "3.2.2"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: flash_extensions
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.2.1
4
+ version: 3.2.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Juan Gomez