- Update Python piece logo URL to use official python.org logo - Update Ruby piece logo URL to use official ruby-lang.org logo - Fix Verdaccio config to allow authenticated publish ($all instead of $anonymous) 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
19 lines
663 B
TypeScript
19 lines
663 B
TypeScript
import { createPiece, PieceAuth } from '@activepieces/pieces-framework';
|
|
import { PieceCategory } from '@activepieces/shared';
|
|
import { runRubyCode } from './lib/run-ruby-code';
|
|
|
|
// Ruby logo - use official Ruby logo from ruby-lang.org
|
|
const RUBY_LOGO = 'https://www.ruby-lang.org/images/header-ruby-logo.png';
|
|
|
|
export const rubyCode = createPiece({
|
|
displayName: 'Ruby Code',
|
|
description: 'Execute Ruby code in your automations',
|
|
auth: PieceAuth.None(),
|
|
minimumSupportedRelease: '0.36.1',
|
|
logoUrl: RUBY_LOGO,
|
|
categories: [PieceCategory.CORE, PieceCategory.DEVELOPER_TOOLS],
|
|
authors: ['smoothschedule'],
|
|
actions: [runRubyCode],
|
|
triggers: [],
|
|
});
|