d_heap 0.2.0 → 0.5.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.2.0"
4
+ VERSION = "0.5.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.2.0
4
+ version: 0.5.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-24 00:00:00.000000000 Z
12
- dependencies: []
11
+ date: 2021-01-17 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,47 @@ 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/perf.rb
64
+ - benchmarks/push_n.yml
65
+ - benchmarks/push_n_pop_n.yml
66
+ - benchmarks/push_pop.yml
67
+ - benchmarks/stackprof.rb
68
+ - bin/bench_n
69
+ - bin/benchmark-driver
70
+ - bin/benchmarks
32
71
  - bin/console
72
+ - bin/profile
33
73
  - bin/rake
34
74
  - bin/rspec
75
+ - bin/rubocop
35
76
  - bin/setup
36
77
  - d_heap.gemspec
78
+ - docs/benchmarks-2.txt
79
+ - docs/benchmarks-mem.txt
80
+ - docs/benchmarks.txt
81
+ - docs/profile.txt
37
82
  - ext/d_heap/d_heap.c
38
83
  - ext/d_heap/d_heap.h
39
84
  - ext/d_heap/extconf.rb
85
+ - lib/benchmark_driver/runner/ips_zero_fail.rb
40
86
  - lib/d_heap.rb
87
+ - lib/d_heap/benchmarks.rb
88
+ - lib/d_heap/benchmarks/benchmarker.rb
89
+ - lib/d_heap/benchmarks/implementations.rb
90
+ - lib/d_heap/benchmarks/profiler.rb
91
+ - lib/d_heap/benchmarks/rspec_matchers.rb
41
92
  - lib/d_heap/version.rb
42
93
  homepage: https://github.com/nevans/d_heap
43
94
  licenses: