Skip to content

Commit d6010d9

Browse files
authored
update Ruby versions (#26)
1 parent 7527543 commit d6010d9

File tree

7 files changed

+31
-36
lines changed

7 files changed

+31
-36
lines changed

.github/workflows/main.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,15 +13,15 @@ jobs:
1313
strategy:
1414
matrix:
1515
ruby:
16-
- 2.7.8
1716
- 3.0.6
1817
- 3.1.4
19-
- 3.2.2
18+
- 3.2.3
19+
- 3.3.0
2020
steps:
2121
- uses: actions/checkout@v4
2222
- uses: ruby/setup-ruby@v1
2323
with:
2424
ruby-version: ${{ matrix.ruby }}
25-
- run: gem install bundler --version 2.4.7 --no-document
25+
- run: gem install bundler --version 2.5.5 --no-document
2626
- run: bundle
2727
- run: rake

.vscode/settings.json

Lines changed: 0 additions & 11 deletions
This file was deleted.

Gemfile.lock

Lines changed: 10 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -2,24 +2,24 @@ PATH
22
remote: .
33
specs:
44
ruby_native_statistics (1.0.2)
5-
rake-compiler (~> 1.1)
5+
rake-compiler (~> 1.2)
66

77
GEM
88
remote: https://rubygems.org/
99
specs:
1010
ansi (1.5.0)
1111
builder (3.2.4)
1212
docile (1.4.0)
13-
minitest (5.17.0)
14-
minitest-reporters (1.6.0)
13+
minitest (5.21.2)
14+
minitest-reporters (1.6.1)
1515
ansi
1616
builder
1717
minitest (>= 5.0)
1818
ruby-progressbar
19-
rake (13.0.6)
20-
rake-compiler (1.2.1)
19+
rake (13.1.0)
20+
rake-compiler (1.2.6)
2121
rake
22-
ruby-progressbar (1.11.0)
22+
ruby-progressbar (1.13.0)
2323
simplecov (0.22.0)
2424
docile (~> 1.1)
2525
simplecov-html (~> 0.11)
@@ -29,14 +29,15 @@ GEM
2929
simplecov_json_formatter (0.1.4)
3030

3131
PLATFORMS
32-
arm64-darwin-22
32+
arm64-darwin-23
33+
ruby
3334

3435
DEPENDENCIES
35-
minitest (~> 5.15)
36+
minitest (~> 5.21)
3637
minitest-reporters (~> 1.6)
3738
ruby_native_statistics!
3839
simplecov (~> 0.21)
3940
simplecov-lcov (~> 0.8)
4041

4142
BUNDLED WITH
42-
2.4.12
43+
2.5.5

README.md

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -16,20 +16,20 @@ Check the Github Actions build to see the currently supported versions of Ruby.
1616

1717
It is generally more performant than calculating these values with pure Ruby. For a comparison, run the benchmarks with `rake benchmark`.
1818

19-
| Test (Ruby 3.1.0) | Run 1 | Run 2 | Run 3 | Run 4 | Run 5 |
19+
| Test (Ruby 3.3.0) | Run 1 | Run 2 | Run 3 | Run 4 | Run 5 |
2020
| ------------------ | -------- | -------- | -------- | -------- | -------- |
21-
| bench_native_stdev | 0.000074 | 0.000070 | 0.000071 | 0.000070 | 0.000068 |
22-
| bench_ruby_stdev | 0.000945 | 0.000942 | 0.000944 | 0.000941 | 0.000969 |
21+
| bench_native_stdev | 0.000069 | 0.000074 | 0.000064 | 0.000065 | 0.000065 |
22+
| bench_ruby_stdev | 0.000947 | 0.000932 | 0.000927 | 0.000948 | 0.000909 |
2323

24-
| Test (Ruby 3.1.0) | Run 1 | Run 2 | Run 3 | Run 4 | Run 5 |
24+
| Test (Ruby 3.3.0) | Run 1 | Run 2 | Run 3 | Run 4 | Run 5 |
2525
| ------------------- | -------- | -------- | -------- | -------- | -------- |
26-
| bench_native_median | 0.000813 | 0.000773 | 0.000774 | 0.000776 | 0.000773 |
27-
| bench_ruby_median | 0.000816 | 0.000797 | 0.000832 | 0.000797 | 0.000799 |
26+
| bench_native_median | 0.000719 | 0.00067 | 0.000659 | 0.000638 | 0.000668 |
27+
| bench_ruby_median | 0.000774 | 0.000743 | 0.000724 | 0.000697 | 0.000683 |
2828

29-
| Test (Ruby 3.1.0) | Run 1 | Run 2 | Run 3 | Run 4 | Run 5 |
29+
| Test (Ruby 3.3.0) | Run 1 | Run 2 | Run 3 | Run 4 | Run 5 |
3030
| ----------------- | -------- | -------- | -------- | -------- | -------- |
31-
| bench_native_mean | 0.000040 | 0.000038 | 0.000038 | 0.000037 | 0.000037 |
32-
| bench_ruby_mean | 0.000347 | 0.000350 | 0.000358 | 0.000349 | 0.000347 |
31+
| bench_native_mean | 0.000035 | 0.000035 | 0.000034 | 0.000032 | 0.000033 |
32+
| bench_ruby_mean | 0.000291 | 0.000287 | 0.000291 | 0.000299 | 0.000281 |
3333

3434
## Found a bug? Need a function?
3535

changelog.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
# Version 1.0.3
2+
3+
- Update all supported Ruby versions
4+
- Update all dependencies
5+
16
# Version 1.0.2
27

38
- Better differentiate `gemspec` and `Gemfile` between runtime and development dependencies
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
module RubyNativeStatistics
2-
VERSION = "1.0.2"
2+
VERSION = "1.0.3"
33
end

ruby_native_statistics.gemspec

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ Gem::Specification.new do |spec|
1010
spec.summary = "High performance, native (C) implementations of various statistical functions."
1111
spec.homepage = "https://github.com/corybuecker/ruby-native-statistics"
1212

13-
spec.required_ruby_version = ">= 2.7.8"
13+
spec.required_ruby_version = ">= 3.0.3"
1414

1515
spec.metadata["allowed_push_host"] = "https://rubygems.org"
1616

@@ -23,9 +23,9 @@ Gem::Specification.new do |spec|
2323

2424
spec.extensions = %w[ext/ruby_native_statistics/extconf.rb]
2525

26-
spec.add_runtime_dependency "rake-compiler", "~> 1.1"
26+
spec.add_runtime_dependency "rake-compiler", "~> 1.2"
2727

28-
spec.add_development_dependency "minitest", "~> 5.15"
28+
spec.add_development_dependency "minitest", "~> 5.21"
2929
spec.add_development_dependency "minitest-reporters", "~> 1.6"
3030
spec.add_development_dependency "simplecov", "~> 0.21"
3131
spec.add_development_dependency "simplecov-lcov", "~> 0.8"

0 commit comments

Comments
 (0)