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: [], });