gendered 0.0.1 → 0.0.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: 4f5859ca1d1852db42a01dd6bebff96919f330de
4
- data.tar.gz: a140d18f8c36eb7a57c96442de2ab59e1c21daf9
3
+ metadata.gz: ad61d98db56ec7459e024d660cf8f6385dcc8eac
4
+ data.tar.gz: 704830b14e5410155eb6168122c24420aacf995b
5
5
  SHA512:
6
- metadata.gz: a9b94c3fe3227f97963dd2bc391a27d8d4cf51de5d621c0635e56666e30c1a115bf51c6f5f3e18a2c8e8f42c83fb6b7a183362a19085ae0ab73aee94e990f499
7
- data.tar.gz: 579f61a222de993b23679c4aee149892840040d45f91fbb9852dee8b7a5efa30b893e15699450535f62f0799fc16c3ea9a235dcde595754584fd27134f608f9d
6
+ metadata.gz: eea6d8460989213d9aec104adce7674bb94701a532eeeda8088eed244b43ff78833b33ebf6be9defd183446611f8bfcb91807934e9bddd3f2316fcddf4ecabbd
7
+ data.tar.gz: e4b4bcd4ca717904cac005b55f26c9f8293c0c513bea54eac665803e9cd2406d014280f93bcd5dd747f85093c2152b6ec964ff1e54b4af6e629aff77b495b915
@@ -14,7 +14,9 @@ module Gendered
14
14
  end
15
15
 
16
16
  def guess!
17
- Guesser.new(names).guess!
17
+ names.each_slice(100).each do |slice|
18
+ Guesser.new(slice).guess!
19
+ end
18
20
  names.collect(&:gender)
19
21
  end
20
22
 
@@ -1,3 +1,3 @@
1
1
  module Gendered
2
- VERSION = "0.0.1"
2
+ VERSION = "0.0.2"
3
3
  end
@@ -4,7 +4,7 @@ module Gendered
4
4
  described_class.new values
5
5
  end
6
6
  let :values do
7
- ["Sean","Theresa"]
7
+ ["Sean","Theresa"] * 50
8
8
  end
9
9
  describe "#guess!" do
10
10
  it "guesses correctly" do
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: gendered
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
4
+ version: 0.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Sean Devine