Skip to content

Commit 27b2d80

Browse files
-- Changelog All notable changes to this project will be documented in this file.
1 parent 6dd0f32 commit 27b2d80

3 files changed

Lines changed: 63 additions & 1 deletion

File tree

.github/workflows/ci.yml

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
name: CI
2+
3+
on:
4+
push:
5+
branches: [main]
6+
pull_request:
7+
branches: [main]
8+
9+
jobs:
10+
test:
11+
name: Ruby ${{ matrix.ruby }}
12+
runs-on: ubuntu-latest
13+
14+
strategy:
15+
fail-fast: false
16+
matrix:
17+
ruby:
18+
- "3.1"
19+
- "3.2"
20+
- "3.3"
21+
- "ruby" # latest stable
22+
23+
steps:
24+
- uses: actions/checkout@v4
25+
26+
- name: Set up Ruby ${{ matrix.ruby }}
27+
uses: ruby/setup-ruby@v1
28+
with:
29+
ruby-version: ${{ matrix.ruby }}
30+
bundler-cache: true
31+
32+
- name: Run tests
33+
run: bundle exec rspec
34+
35+
- name: Build gem
36+
run: gem build ruby-crewai.gemspec

CHANGELOG.md

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
# Changelog
2+
3+
All notable changes to this project will be documented in this file.
4+
5+
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
6+
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
7+
8+
---
9+
10+
## [0.1.0] - 2026-04-18
11+
12+
### Added
13+
14+
- `CrewAI::Client` with four AMP operations:
15+
- `#inputs``GET /inputs` — list required input keys
16+
- `#kickoff``POST /kickoff` — start a crew run asynchronously; accepts `inputs`, optional `meta`, and optional camelCase webhook URLs (`taskWebhookUrl`, `stepWebhookUrl`, `crewWebhookUrl`)
17+
- `#status``GET /{kickoff_id}/status` — poll run status
18+
- `#resume``POST /resume` — continue a human-in-the-loop step
19+
- `CrewAI.configure` DSL and per-client `configuration:` keyword for flexible credential management
20+
- Faraday 2.x HTTP transport with Bearer auth, JSON middleware, configurable open/read/write timeouts, and `User-Agent` header
21+
- Error class hierarchy: `AuthenticationError`, `InvalidRequestError`, `NotFoundError`, `ServerError`, `TimeoutError`, `ConnectionError`, `HTTPError`
22+
- `lib/ruby-crewai.rb` hyphenated require shim so `require "ruby-crewai"` works for host apps using `Bundler.require`
23+
- Full WebMock-based RSpec test suite (31 examples) — no live credentials required
24+
- CI matrix via GitHub Actions: Ruby 3.1 and latest stable
25+
26+
[0.1.0]: https://github.com/MuhammadIbtisam/ruby-crewai/releases/tag/v0.1.0

ruby-crewai.gemspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ Gem::Specification.new do |spec|
2020
spec.metadata["changelog_uri"] = "#{spec.homepage}/blob/main/CHANGELOG.md"
2121
spec.metadata["rubygems_mfa_required"] = "true"
2222

23-
spec.files = Dir["lib/**/*.rb", "LICENSE"]
23+
spec.files = Dir["lib/**/*.rb"] + %w[LICENSE README.md CHANGELOG.md].select { |f| File.exist?(f) }
2424
spec.require_paths = ["lib"]
2525

2626
spec.add_dependency "faraday", ">= 2.0", "< 3"

0 commit comments

Comments
 (0)