Skip to content
Merged
Show file tree
Hide file tree
Changes from all 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
71 changes: 7 additions & 64 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,16 +35,13 @@ jobs:
defaults:
run:
working-directory: packages/py-sdk
strategy:
matrix:
python-version: ['3.9', '3.10', '3.11', '3.12']
steps:
- uses: actions/checkout@v4

- name: Set up Python ${{ matrix.python-version }}
- name: Set up Python 3.9
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
python-version: '3.9'

- name: Install dependencies
run: pip install -e ".[dev]"
Expand All @@ -58,89 +55,35 @@ jobs:
defaults:
run:
working-directory: packages/go-sdk
strategy:
matrix:
go-version: ['1.21', '1.22']
steps:
- uses: actions/checkout@v4

- name: Set up Go ${{ matrix.go-version }}
- name: Set up Go 1.21
uses: actions/setup-go@v5
with:
go-version: ${{ matrix.go-version }}
go-version: '1.21'

- name: Download dependencies
run: go mod download
run: go mod tidy

- name: Run tests
run: go test -v ./...

test-dotnet:
name: Test .NET SDK
runs-on: ubuntu-latest
defaults:
run:
working-directory: packages/dotnet-sdk
strategy:
matrix:
dotnet-version: ['6.0', '7.0', '8.0']
steps:
- uses: actions/checkout@v4

- name: Set up .NET ${{ matrix.dotnet-version }}
uses: actions/setup-dotnet@v4
with:
dotnet-version: ${{ matrix.dotnet-version }}

- name: Restore dependencies
run: dotnet restore

- name: Build
run: dotnet build --no-restore

- name: Run tests
run: dotnet test --no-build --verbosity normal

test-java:
name: Test Java SDK
runs-on: ubuntu-latest
defaults:
run:
working-directory: packages/java-sdk
strategy:
matrix:
java-version: ['11', '17', '21']
steps:
- uses: actions/checkout@v4

- name: Set up JDK ${{ matrix.java-version }}
- name: Set up JDK 11
uses: actions/setup-java@v4
with:
java-version: ${{ matrix.java-version }}
java-version: '11'
distribution: 'temurin'
cache: 'maven'

- name: Run tests
run: mvn test -B

test-ruby:
name: Test Ruby SDK
runs-on: ubuntu-latest
defaults:
run:
working-directory: packages/ruby-sdk
strategy:
matrix:
ruby-version: ['3.1', '3.2', '3.3']
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
working-directory: packages/ruby-sdk

- name: Run tests
run: bundle exec rspec
18 changes: 0 additions & 18 deletions .github/workflows/js-ci.yml

This file was deleted.

67 changes: 0 additions & 67 deletions .github/workflows/publish-dotnet.yml

This file was deleted.

50 changes: 0 additions & 50 deletions .github/workflows/publish-ruby.yml

This file was deleted.

18 changes: 0 additions & 18 deletions .github/workflows/py-ci.yml

This file was deleted.

22 changes: 22 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,9 @@ dist/
build/
*.egg-info/

# TypeScript
*.tsbuildinfo

# Python
__pycache__/
*.py[cod]
Expand All @@ -16,6 +19,9 @@ __pycache__/
.mypy_cache/
.venv/
venv/
*.whl
*.tar.gz
.hypothesis/

# IDE
.idea/
Expand Down Expand Up @@ -43,6 +49,14 @@ npm-debug.log*

# Go
go.sum
*.exe
*.exe~
*.dll
*.so
*.dylib
*.test
go.work
go.work.sum

# .NET
bin/
Expand All @@ -56,6 +70,14 @@ TestResults/
target/
*.class
*.jar
*.war
*.ear
*.iml
*.iws
*.ipr
.classpath
.project
.settings/

# Ruby
*.gem
Expand Down
32 changes: 8 additions & 24 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -58,9 +58,15 @@ Comprehensive SDKs, detailed documentation, and responsive support. Ship faster
| <img src="https://cdn.jsdelivr.net/gh/devicons/devicon/icons/typescript/typescript-original.svg" width="20"/> **JavaScript/TypeScript** | [@turbodocx/sdk](./packages/js-sdk) | `npm install @turbodocx/sdk` | [View →](./packages/js-sdk#readme) |
| <img src="https://cdn.jsdelivr.net/gh/devicons/devicon/icons/python/python-original.svg" width="20"/> **Python** | [turbodocx-sdk](./packages/py-sdk) | `pip install turbodocx-sdk` | [View →](./packages/py-sdk#readme) |
| <img src="https://cdn.jsdelivr.net/gh/devicons/devicon/icons/go/go-original.svg" width="20"/> **Go** | [turbodocx-sdk](./packages/go-sdk) | `go get github.com/turbodocx/sdk` | [View →](./packages/go-sdk#readme) |
| <img src="https://cdn.jsdelivr.net/gh/devicons/devicon/icons/csharp/csharp-original.svg" width="20"/> **C# / .NET** | [TurboDocx.Sdk](./packages/dotnet-sdk) | `dotnet add package TurboDocx.Sdk` | [View →](./packages/dotnet-sdk#readme) |
| <img src="https://cdn.jsdelivr.net/gh/devicons/devicon/icons/java/java-original.svg" width="20"/> **Java** | [com.turbodocx:sdk](./packages/java-sdk) | [Maven Central](https://search.maven.org/artifact/com.turbodocx/sdk) | [View →](./packages/java-sdk#readme) |
| <img src="https://cdn.jsdelivr.net/gh/devicons/devicon/icons/ruby/ruby-original.svg" width="20"/> **Ruby** | [turbodocx-sdk](./packages/ruby-sdk) | `gem install turbodocx-sdk` | [View →](./packages/ruby-sdk#readme) |

### Coming Soon

| Language | Status |
|:---------|:-------|
| <img src="https://cdn.jsdelivr.net/gh/devicons/devicon/icons/csharp/csharp-original.svg" width="20"/> **C# / .NET** | 🚧 In Progress |
| <img src="https://cdn.jsdelivr.net/gh/devicons/devicon/icons/ruby/ruby-original.svg" width="20"/> **Ruby** | 🚧 In Progress |
| <img src="https://cdn.jsdelivr.net/gh/devicons/devicon/icons/powershell/powershell-original.svg" width="20"/> **PowerShell** | 🚧 In Progress |

> 🔌 **Low-code?** Check out our [n8n community node](https://www.npmjs.com/package/@turbodocx/n8n-nodes-turbodocx) for no-code/low-code workflows!
>
Expand Down Expand Up @@ -108,16 +114,6 @@ go get github.com/turbodocx/sdk
```
</details>

<details>
<summary><strong>C# / .NET</strong></summary>

```bash
dotnet add package TurboDocx.Sdk
# or
Install-Package TurboDocx.Sdk
```
</details>

<details>
<summary><strong>Java</strong></summary>

Expand All @@ -130,16 +126,6 @@ Install-Package TurboDocx.Sdk
```
</details>

<details>
<summary><strong>Ruby</strong></summary>

```bash
gem install turbodocx-sdk
# or add to Gemfile:
gem 'turbodocx-sdk'
```
</details>

### 3. Send your first document for signature

```typescript
Expand Down Expand Up @@ -306,9 +292,7 @@ await TurboSign.resend(documentId, ['recipient-uuid']);
| JavaScript/TypeScript | Node.js 16+ |
| Python | Python 3.9+ |
| Go | Go 1.21+ |
| .NET | .NET 6.0+ |
| Java | Java 11+ |
| Ruby | Ruby 3.0+ |

---

Expand Down
Loading
Loading