pairing_heap 3.0.0 → 3.0.1

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: eb8c2535dddd1392b4d868d5d5c48e7aec6d3de835b5ea780823a367b12d4a6f
4
- data.tar.gz: 8dda83047006373651250a522ca1e1aa114987bf17b110d0b25d1147acf3a053
3
+ metadata.gz: bf15d6556408f19ba67e1f798e83b19677749f585d8868b15230370701b16760
4
+ data.tar.gz: 94dd6f48156bb51bb91b422c3378eaac5e55647b76c4c8f7952b8b96ad404053
5
5
  SHA512:
6
- metadata.gz: 39cb442615fa8da23e1d4fd1743b937dc9d8410014a2b7f2610de3cb3cad9dc3f3d9cf851e70cb943a81e658efaa70f7d588f29db4a2851a803dfafdbb6e19bb
7
- data.tar.gz: bf9d597bbc03ebbf4aeae439ad18f04922fac7247b3046ec63afe89728020811f317e704955bbcdecefd82587de0c5152334f14e307beb9b1be024fb03234a07
6
+ metadata.gz: 96ccf738766bac2a178dd6cec820ef462417aef4871554d0b3e9b91eed9cc8fd0a2cf73cda2c4a86992a708230d4694c6b30c8042831b22c30d5f6fcdaffdc1f
7
+ data.tar.gz: 2eefc3b1629951839e5821e9b5b3bbf01a24d3d9d938887e2eaa01343509cf3439f68517f502c0a8279d89108d846d6963f0986e88ff96490b3add51c4ab387a
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- pairing_heap (3.0.0)
4
+ pairing_heap (3.0.1)
5
5
 
6
6
  GEM
7
7
  remote: https://rubygems.org/
@@ -50,6 +50,7 @@ GEM
50
50
  PLATFORMS
51
51
  universal-java-17
52
52
  x86_64-darwin-19
53
+ x86_64-darwin-20
53
54
  x86_64-darwin-21
54
55
  x86_64-darwin-22
55
56
  x86_64-linux
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module PairingHeap
4
- VERSION = "3.0.0"
4
+ VERSION = "3.0.1"
5
5
  end
data/lib/pairing_heap.rb CHANGED
@@ -191,8 +191,8 @@ module PairingHeap
191
191
  end
192
192
 
193
193
  node.priority = priority
194
- return if node.parent.nil?
195
- return if @order[node.parent.priority, node.priority]
194
+ return self if node.parent.nil?
195
+ return self if @order[node.parent.priority, node.priority]
196
196
 
197
197
  node.remove_from_parents_list!
198
198
  @root = meld(node, @root)
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: pairing_heap
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.0
4
+ version: 3.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Marcin Henryk Bartkowiak
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2023-02-05 00:00:00.000000000 Z
11
+ date: 2023-04-09 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: minitest