Skip to content

Commit e2518c7

Browse files
authored
Differentiate between required and development dependencies (#22)
Release 1.0.2
1 parent 041dc82 commit e2518c7

File tree

7 files changed

+28
-43
lines changed

7 files changed

+28
-43
lines changed

.github/workflows/main.yml

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -13,17 +13,15 @@ jobs:
1313
strategy:
1414
matrix:
1515
ruby:
16-
- 2.7.7
17-
- 3.0.5
18-
- 3.1.3
19-
- 3.2.1
16+
- 2.7.8
17+
- 3.0.6
18+
- 3.1.4
19+
- 3.2.2
2020
steps:
21-
- uses: actions/checkout@v2
22-
21+
- uses: actions/checkout@v3
2322
- uses: ruby/setup-ruby@v1
2423
with:
2524
ruby-version: ${{ matrix.ruby }}
26-
2725
- run: gem install bundler --version 2.4.7 --no-document
2826
- run: bundle
2927
- run: rake

.vscode/c_cpp_properties.json

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

Gemfile

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,3 @@
11
source "https://rubygems.org"
22

3-
gemspec
4-
5-
gem "rake", "~> 13.0"
6-
gem "minitest", "~> 5.15"
7-
gem "minitest-reporters", "~> 1.6"
8-
gem "rake-compiler", "~> 1.1"
9-
gem "simplecov", "~> 0.21", require: false
10-
gem "simplecov-lcov", "~> 0.8", require: false
3+
gemspec

Gemfile.lock

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
PATH
22
remote: .
33
specs:
4-
ruby_native_statistics (1.0.1)
4+
ruby_native_statistics (1.0.2)
5+
rake-compiler (~> 1.1)
56

67
GEM
78
remote: https://rubygems.org/
@@ -33,11 +34,9 @@ PLATFORMS
3334
DEPENDENCIES
3435
minitest (~> 5.15)
3536
minitest-reporters (~> 1.6)
36-
rake (~> 13.0)
37-
rake-compiler (~> 1.1)
3837
ruby_native_statistics!
3938
simplecov (~> 0.21)
4039
simplecov-lcov (~> 0.8)
4140

4241
BUNDLED WITH
43-
2.4.7
42+
2.4.12

changelog.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,12 @@
1+
# Version 1.0.2
2+
3+
- Better differentiate `gemspec` and `Gemfile` between runtime and development dependencies
4+
5+
# Version 1.0.1
6+
7+
- Update all supported Ruby versions
8+
- Update all dependencies
9+
110
# Version 1.0.0
211

312
- Update all supported Ruby versions
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.1"
2+
VERSION = "1.0.2"
33
end

ruby_native_statistics.gemspec

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,16 +10,23 @@ 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 = Gem::Requirement.new(">= 2.7.7")
13+
spec.required_ruby_version = ">= 2.7.8"
1414

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

1717
spec.metadata["homepage_uri"] = spec.homepage
1818
spec.metadata["source_code_uri"] = spec.homepage
1919
spec.metadata["changelog_uri"] = "#{spec.homepage}/changelog.md"
2020

21-
spec.files = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
21+
spec.files = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(.github|.vscode|test|spec|features)/}) }
2222
spec.require_paths = ["lib"]
2323

2424
spec.extensions = %w[ext/ruby_native_statistics/extconf.rb]
25+
26+
spec.add_runtime_dependency "rake-compiler", "~> 1.1"
27+
28+
spec.add_development_dependency "minitest", "~> 5.15"
29+
spec.add_development_dependency "minitest-reporters", "~> 1.6"
30+
spec.add_development_dependency "simplecov", "~> 0.21"
31+
spec.add_development_dependency "simplecov-lcov", "~> 0.8"
2532
end

0 commit comments

Comments
 (0)