d_heap 0.1.0 → 0.4.0

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.
@@ -1,3 +1,6 @@
1
+ # frozen_string_literal: true
2
+
1
3
  class DHeap
2
- VERSION = "0.1.0"
4
+ VERSION = "0.4.0"
5
+
3
6
  end
metadata CHANGED
@@ -1,15 +1,43 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: d_heap
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.4.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - nicholas a. evans
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2020-12-23 00:00:00.000000000 Z
12
- dependencies: []
11
+ date: 2021-01-12 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: benchmark_driver
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - ">="
18
+ - !ruby/object:Gem::Version
19
+ version: '0'
20
+ type: :development
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - ">="
25
+ - !ruby/object:Gem::Version
26
+ version: '0'
27
+ - !ruby/object:Gem::Dependency
28
+ name: ruby-prof
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - ">="
32
+ - !ruby/object:Gem::Version
33
+ version: '0'
34
+ type: :development
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - ">="
39
+ - !ruby/object:Gem::Version
40
+ version: '0'
13
41
  description: |
14
42
  A C extension implementation of a d-ary heap data structure, suitable for
15
43
  use in e.g. priority queues or Djikstra's algorithm.
@@ -20,24 +48,44 @@ extensions:
20
48
  - ext/d_heap/extconf.rb
21
49
  extra_rdoc_files: []
22
50
  files:
51
+ - ".github/workflows/main.yml"
23
52
  - ".gitignore"
24
53
  - ".rspec"
54
+ - ".rubocop.yml"
25
55
  - ".travis.yml"
56
+ - CHANGELOG.md
26
57
  - CODE_OF_CONDUCT.md
27
58
  - Gemfile
28
59
  - Gemfile.lock
29
60
  - LICENSE.txt
30
61
  - README.md
31
62
  - Rakefile
63
+ - benchmarks/push_n.yml
64
+ - benchmarks/push_n_pop_n.yml
65
+ - benchmarks/push_pop.yml
66
+ - bin/bench_n
67
+ - bin/benchmark-driver
68
+ - bin/benchmarks
32
69
  - bin/console
70
+ - bin/profile
33
71
  - bin/rake
34
72
  - bin/rspec
73
+ - bin/rubocop
35
74
  - bin/setup
36
75
  - d_heap.gemspec
76
+ - docs/benchmarks-2.txt
77
+ - docs/benchmarks.txt
78
+ - docs/profile.txt
37
79
  - ext/d_heap/d_heap.c
38
80
  - ext/d_heap/d_heap.h
39
81
  - ext/d_heap/extconf.rb
82
+ - lib/benchmark_driver/runner/ips_zero_fail.rb
40
83
  - lib/d_heap.rb
84
+ - lib/d_heap/benchmarks.rb
85
+ - lib/d_heap/benchmarks/benchmarker.rb
86
+ - lib/d_heap/benchmarks/implementations.rb
87
+ - lib/d_heap/benchmarks/profiler.rb
88
+ - lib/d_heap/benchmarks/rspec_matchers.rb
41
89
  - lib/d_heap/version.rb
42
90
  homepage: https://github.com/nevans/d_heap
43
91
  licenses: