7 Commits

Author SHA1 Message Date
Eriko Sugiyama (eririn)
435464a710 Merge 764fb977f3 into 766355e612 2025-08-19 00:54:52 +08:00
dependabot[bot]
766355e612 Bump actions/checkout from 4 to 5 (#58)
Some checks failed
test / ${{ matrix.os }} Ruby ${{ matrix.ruby }} (macos, 2.6) (push) Has been cancelled
test / ${{ matrix.os }} Ruby ${{ matrix.ruby }} (macos, 2.7) (push) Has been cancelled
test / ${{ matrix.os }} Ruby ${{ matrix.ruby }} (macos, 3.0) (push) Has been cancelled
test / ${{ matrix.os }} Ruby ${{ matrix.ruby }} (macos, 3.1) (push) Has been cancelled
test / ${{ matrix.os }} Ruby ${{ matrix.ruby }} (macos, 3.2) (push) Has been cancelled
test / ${{ matrix.os }} Ruby ${{ matrix.ruby }} (macos, 3.3) (push) Has been cancelled
test / ${{ matrix.os }} Ruby ${{ matrix.ruby }} (macos, 3.4) (push) Has been cancelled
test / ${{ matrix.os }} Ruby ${{ matrix.ruby }} (macos, head) (push) Has been cancelled
test / ${{ matrix.os }} Ruby ${{ matrix.ruby }} (ubuntu, 2.6) (push) Has been cancelled
test / ${{ matrix.os }} Ruby ${{ matrix.ruby }} (ubuntu, 2.7) (push) Has been cancelled
test / ${{ matrix.os }} Ruby ${{ matrix.ruby }} (ubuntu, 3.0) (push) Has been cancelled
test / ${{ matrix.os }} Ruby ${{ matrix.ruby }} (ubuntu, 3.1) (push) Has been cancelled
test / ${{ matrix.os }} Ruby ${{ matrix.ruby }} (ubuntu, 3.2) (push) Has been cancelled
test / ${{ matrix.os }} Ruby ${{ matrix.ruby }} (ubuntu, 3.3) (push) Has been cancelled
test / ${{ matrix.os }} Ruby ${{ matrix.ruby }} (ubuntu, 3.4) (push) Has been cancelled
test / ${{ matrix.os }} Ruby ${{ matrix.ruby }} (ubuntu, head) (push) Has been cancelled
doc / build (push) Has been cancelled
Bumps [actions/checkout](https://github.com/actions/checkout) from 4 to 5.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v4...v5)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-version: '5'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-08-14 20:30:11 +09:00
kojix2
6f85094e6e Add dependabot.yml 2025-08-14 20:28:10 +09:00
ericgpks
764fb977f3 fix: add condition for using steep and typeprof to pass CI with all Ruby versions
Some checks failed
test / ${{ matrix.os }} Ruby ${{ matrix.ruby }} (macos, 2.6) (push) Has been cancelled
test / ${{ matrix.os }} Ruby ${{ matrix.ruby }} (macos, 2.7) (push) Has been cancelled
test / ${{ matrix.os }} Ruby ${{ matrix.ruby }} (macos, 3.0) (push) Has been cancelled
test / ${{ matrix.os }} Ruby ${{ matrix.ruby }} (macos, 3.1) (push) Has been cancelled
test / ${{ matrix.os }} Ruby ${{ matrix.ruby }} (macos, 3.2) (push) Has been cancelled
test / ${{ matrix.os }} Ruby ${{ matrix.ruby }} (macos, 3.3) (push) Has been cancelled
test / ${{ matrix.os }} Ruby ${{ matrix.ruby }} (macos, 3.4) (push) Has been cancelled
test / ${{ matrix.os }} Ruby ${{ matrix.ruby }} (ubuntu, 2.6) (push) Has been cancelled
test / ${{ matrix.os }} Ruby ${{ matrix.ruby }} (ubuntu, 2.7) (push) Has been cancelled
test / ${{ matrix.os }} Ruby ${{ matrix.ruby }} (ubuntu, 3.0) (push) Has been cancelled
test / ${{ matrix.os }} Ruby ${{ matrix.ruby }} (ubuntu, 3.1) (push) Has been cancelled
test / ${{ matrix.os }} Ruby ${{ matrix.ruby }} (ubuntu, 3.2) (push) Has been cancelled
test / ${{ matrix.os }} Ruby ${{ matrix.ruby }} (ubuntu, 3.3) (push) Has been cancelled
test / ${{ matrix.os }} Ruby ${{ matrix.ruby }} (ubuntu, 3.4) (push) Has been cancelled
2025-04-30 23:20:59 +09:00
ericgpks
448c1e9079 feat: add processing.rbs as a type definition file for processing.rb
As a first step toward adopting rbs for this project, added type a definition for a simple method.
More type definitions will be added incrementally.
2025-04-28 22:31:43 +09:00
ericgpks
674daa84eb feat: add Steepfile with the minimum configuration
This file indicates that type definition files are placed in the `sig` directory and the actual implementation files that I want to define types for are located in the `lib` directory.
Additionally, it is configured to disable type error checking so as not to raise much errors.
2025-04-28 22:11:31 +09:00
ericgpks
3e2ab1258b feat: add necessary gems to introduce rbs to this repository
To add types, I would like to have help from typeprof to define rbs files for current library code that's why I added both steep and typeprof to Gemfile.
2025-04-28 22:01:16 +09:00
6 changed files with 30 additions and 2 deletions

6
.github/dependabot.yml vendored Normal file
View File

@@ -0,0 +1,6 @@
version: 2
updates:
- package-ecosystem: "github-actions"
directory: "/"
schedule:
interval: "weekly"

View File

@@ -9,7 +9,7 @@ jobs:
os: ["ubuntu", "macos"]
ruby: ["2.6", "2.7", "3.0", "3.1", "3.2", "3.3", "3.4", "head"]
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v5
- uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby }}

View File

@@ -10,7 +10,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v5
- uses: ruby/setup-ruby@v1
with:
ruby-version: ruby

View File

@@ -5,6 +5,13 @@ source 'https://rubygems.org'
# Specify your gem's dependencies in youplot.gemspec
gemspec
group :development do
if RUBY_VERSION >= '3.0'
gem 'steep', require: false
gem 'typeprof'
end
end
group :test do
gem 'rake'
gem 'simplecov'

8
Steepfile Normal file
View File

@@ -0,0 +1,8 @@
D = Steep::Diagnostic
target :lib do
signature "sig"
check "lib" # Directory name to check
configure_code_diagnostics(D::Ruby.silent) # `silent` diagnostics setting
end

View File

@@ -0,0 +1,7 @@
module YouPlot
module Backends
module Processing
def count_values: ([], ?tally: true, ?reverse: false) -> Array[Array[untyped]]
end
end
end