Add bin and edit workflow
Gitea Actions Demo / Explore-Gitea-Actions (push) Failing after 9s

This commit is contained in:
2026-09-16 13:11:16 -06:00
parent c8ac4fcae5
commit 4cee170d66
17576 changed files with 895740 additions and 2 deletions
@@ -0,0 +1,19 @@
# frozen_string_literal: true
RSpec.describe <%= config[:constant_name] %> do
it "has a version number" do
expect(<%= config[:constant_name] %>::VERSION).not_to be nil
end
<%- if config[:ext] == 'rust' -%>
it "can call into Rust" do
result = <%= config[:constant_name] %>.hello("world")
expect(result).to be("Hello earth, from Rust!")
end
<%- else -%>
it "does something useful" do
expect(false).to eq(true)
end
<%- end -%>
end
@@ -0,0 +1,15 @@
# frozen_string_literal: true
require "<%= config[:namespaced_path] %>"
RSpec.configure do |config|
# Enable flags like --only-failures and --next-failure
config.example_status_persistence_file_path = ".rspec_status"
# Disable RSpec exposing methods globally on `Module` and `main`
config.disable_monkey_patching!
config.expect_with :rspec do |c|
c.syntax = :expect
end
end