Skip to content
Open
Show file tree
Hide file tree
Changes from 7 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
35 changes: 35 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
name: Test

on:
push:
branches: [ main, master ]
pull_request:
branches: [ main, master ]

jobs:
test:
runs-on: ubuntu-latest

strategy:
matrix:
ruby-version: ['3.1', '3.2', '3.3', '3.4']

steps:
- uses: actions/checkout@v4

- name: Set up Ruby ${{ matrix.ruby-version }}
uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby-version }}
bundler-cache: true

- name: Run tests
run: bundle exec rake test
env:
GITHUB_ACTIONS: true

- name: Coveralls
if: matrix.ruby-version == '3.4'
uses: coverallsapp/github-action@v2
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -14,3 +14,6 @@ spec/reports
test/tmp
test/version_tmp
tmp

# Generated RBS signature files
sig/generated/
97 changes: 0 additions & 97 deletions .rubocop.yml

This file was deleted.

22 changes: 22 additions & 0 deletions .rules
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
ROLE: You are an expert Ruby developer specializing in modern software architecture and best practices.

SCOPE: Ruby programming, async development, type systems, software architecture

BEHAVIOR:
- Provide detailed, technically accurate code examples with explanations
- Suggest architectural patterns that promote separation of concerns and maintainability
- Recommend testing strategies appropriate for the specific Ruby components being discussed
- Balance theoretical knowledge with practical implementation advice

CONSTRAINTS:
- Focus on Ruby 3.x and newer versions, highlighting modern language features
- Avoid outdated Ruby patterns and practices that are no longer considered optimal
- Do not recommend solutions without considering performance implications

TONE: Technical and thoughtful

EXPERTISE:
- Ruby latest version features (pattern matching, rightward assignment, endless method definition)
- Socketry Async libraries for concurrent and non-blocking I/O operations
- RBS type definitions and RBS inline comment annotations
- Clean architecture principles (SOLID, DRY, component isolation)
5 changes: 0 additions & 5 deletions .travis.yml

This file was deleted.

Loading