enum_utils 0.1.1 → 0.2.0

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: 6337311a077962f230d48e0a65572d92b0ea5c4596cb11ad0cc71eb7e0a63a68
4
- data.tar.gz: 3cad3f7bb67b0e2f041d9ff5f2affaed629b8548ffcd634635120e2d7de330e9
3
+ metadata.gz: f0c5a141a52c040a5d8beca34a6f2f98de5d4226b69bcea23d57de63825dc6b1
4
+ data.tar.gz: eb05123740ca6e58e25db09b1576670c20c0463b909a9fe310a375094e1ef7b7
5
5
  SHA512:
6
- metadata.gz: 39568155132f24945701155eab4538ceff0c15227c01ebd9de239eac801e3bf2b448339af378a4f32e8b00e5108e57330b93384c51b17c24e265c3936c41700f
7
- data.tar.gz: f267ef104d0964beaf873da1f0287ec97092a405e07d8505c9e7bc35dd5305acc27ec30a186786552dde66f45aaff4237142a5a284d8934eddf35835e1978114
6
+ metadata.gz: c2308998f3b9eb12e3ce69d4af16a81a0e81185ef86784b109594eaec60c28a54237e232594f641f5126aeb843a045ccb9f6478e4da87fa68d2a1314836918ff
7
+ data.tar.gz: ab5270a5c518534a6fe9a17e284e7b9b14d5307e2e05eb0e4da8766add9598f044bd733b1c4c3e6f3360e8933e0dea5fe892182961efa8eb7864374345f0ce67
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  ## [Unreleased]
2
2
 
3
+ ## [0.2.0] - 2022-07-17
4
+
5
+ - Fix bug when enums of Comparable objects would fail comparison with EXHAUSTED
6
+
3
7
  ## [0.1.0] - 2022-03-04
4
8
 
5
9
  - Initial release
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- enum_utils (0.1.0)
4
+ enum_utils (0.1.1)
5
5
 
6
6
  GEM
7
7
  remote: https://rubygems.org/
data/enum_utils.gemspec CHANGED
@@ -7,7 +7,6 @@ Gem::Specification.new do |spec|
7
7
  spec.version = EnumUtils::VERSION
8
8
  spec.authors = ['Max Chernyak']
9
9
  spec.email = ['hello@max.engineer']
10
-
11
10
  spec.summary = 'Functions for mixing and matching lazy, potentially ' \
12
11
  'infinite enumerables.'
13
12
  spec.homepage = 'https://github.com/maxim/enum_utils'
@@ -6,9 +6,9 @@ module EnumUtils
6
6
 
7
7
  attr_reader :buff_value
8
8
 
9
- def initialize(source); @source = source; pull end
10
- def exhausted?; @buff_value == EXHAUSTED end
11
- def next; @buff_value.tap { pull } end
9
+ def initialize(source); @source = source; pull end
10
+ def exhausted?; @buff_value.equal?(EXHAUSTED) end
11
+ def next; @buff_value.tap { pull } end
12
12
 
13
13
  private
14
14
 
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module EnumUtils
4
- VERSION = '0.1.1'
4
+ VERSION = '0.2.0'
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: enum_utils
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1
4
+ version: 0.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Max Chernyak
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-03-04 00:00:00.000000000 Z
11
+ date: 2022-07-18 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description:
14
14
  email: