Component rendering for Ruby using streamlined procs & heredocs.
  • Ruby 99%
  • Shell 1%
Find a file
Jared White 4981c089a9 Rename proc internals to __streamlined prefix to avoid pollution
- Convert tests to spec style & remove rails-dom-testing
2025-11-03 16:27:42 +00:00
.github/workflows Extraction to gem from Bridgetown & Lifeform 2023-11-04 12:14:24 -07:00
bin Extraction to gem from Bridgetown & Lifeform 2023-11-04 12:14:24 -07:00
lib Rename proc internals to __streamlined prefix to avoid pollution 2025-11-03 16:27:42 +00:00
test Rename proc internals to __streamlined prefix to avoid pollution 2025-11-03 16:27:42 +00:00
.gitignore Extraction to gem from Bridgetown & Lifeform 2023-11-04 12:14:24 -07:00
.rubocop.yml Rename proc internals to __streamlined prefix to avoid pollution 2025-11-03 16:27:42 +00:00
.ruby-version migrate repo to Codeberg 2025-09-11 18:21:30 +00:00
.solargraph.yml Rename proc internals to __streamlined prefix to avoid pollution 2025-11-03 16:27:42 +00:00
CHANGELOG.md Rename proc internals to __streamlined prefix to avoid pollution 2025-11-03 16:27:42 +00:00
CODE_OF_CONDUCT.md Extraction to gem from Bridgetown & Lifeform 2023-11-04 12:14:24 -07:00
Gemfile Rename proc internals to __streamlined prefix to avoid pollution 2025-11-03 16:27:42 +00:00
Gemfile.lock Rename proc internals to __streamlined prefix to avoid pollution 2025-11-03 16:27:42 +00:00
LICENSE.txt Extraction to gem from Bridgetown & Lifeform 2023-11-04 12:14:24 -07:00
Rakefile Rename proc internals to __streamlined prefix to avoid pollution 2025-11-03 16:27:42 +00:00
README.md migrate repo to Codeberg 2025-09-11 18:21:30 +00:00
streamlined.gemspec migrate repo to Codeberg 2025-09-11 18:21:30 +00:00

Streamlined

HTML fragment and component rendering for Ruby using streamlined procs & heredocs with safety checks via RuboCop. Bridgetown, Roda, and Rails all supported.

Installation

Add Streamlined to your application's Gemfile by running:

bundle add streamlined

(If you're using Bridgetown, it's bundled in for Bridgetown 2.0…coming soon)

Usage

Docs forthcoming...

Development

After checking out the repo, run bin/setup to install dependencies. Then, run bin/rake test to run the tests. You can also run bin/console for an interactive prompt that will allow you to experiment.

To install this gem onto your local machine, run bundle exec rake install. To release a new version, update the version number in version.rb, and then run bin/rake release, which will create a git tag for the version, push git commits and the created tag, and push the .gem file to rubygems.org.

Contributing

Bug reports and pull requests are welcome on Codeberg at https://codeberg.org/jaredwhite/streamlined. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the code of conduct.

License

The gem is available as open source under the terms of the MIT License.