parity_prop_eazybright 0.0.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (3) hide show
  1. checksums.yaml +7 -0
  2. data/lib/parity_prop.rb +5 -0
  3. metadata +43 -0
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA256:
3
+ metadata.gz: 462f102059490bdd7265dc2ef51c8ad015ebd4eae9db32d902f1612eb744a79b
4
+ data.tar.gz: 4ac335163f12bb664e17ff53b05f243b1c7a241df8904a39c7c4425812d431e7
5
+ SHA512:
6
+ metadata.gz: b460918b32a3c9ea7ec7552bb5e106623737a601311bf3b1dad2a8e890f03f519e2d772bcad3ffd113ac31443969a2bd83d2f79fcd3535f57f3c006f01d51902
7
+ data.tar.gz: 7456823c5df4ec94fd80d426324a8284c603fdc589212830e2cf7d6e02ebdbeea2657bc26983f6299a878ad57109fb3a56c5c07f915aa135b5eeaeb4a04ee689
@@ -0,0 +1,5 @@
1
+ class Array
2
+ def split_by_parity
3
+ partition(&:even?)
4
+ end
5
+ end
metadata ADDED
@@ -0,0 +1,43 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: parity_prop_eazybright
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.0.6
5
+ platform: ruby
6
+ authors:
7
+ - Ezekiel Kolawole
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+ date: 2023-10-09 00:00:00.000000000 Z
12
+ dependencies: []
13
+ description:
14
+ email: doneazy911@gmail.com
15
+ executables: []
16
+ extensions: []
17
+ extra_rdoc_files: []
18
+ files:
19
+ - lib/parity_prop.rb
20
+ homepage: https://github.com/Eazybright/parity_prop.git
21
+ licenses:
22
+ - MIT
23
+ metadata: {}
24
+ post_install_message:
25
+ rdoc_options: []
26
+ require_paths:
27
+ - lib
28
+ required_ruby_version: !ruby/object:Gem::Requirement
29
+ requirements:
30
+ - - ">="
31
+ - !ruby/object:Gem::Version
32
+ version: '0'
33
+ required_rubygems_version: !ruby/object:Gem::Requirement
34
+ requirements:
35
+ - - ">="
36
+ - !ruby/object:Gem::Version
37
+ version: '0'
38
+ requirements: []
39
+ rubygems_version: 3.1.6
40
+ signing_key:
41
+ specification_version: 4
42
+ summary: A gem that returns an array of integers based on parity
43
+ test_files: []