mirror of
https://github.com/Shopify/liquid.git
synced 2026-01-27 12:34:24 +00:00
liquid-spec main changed the adapter API: - compile block now receives (ctx, source, options) and should store the template in ctx[:template] - render block now receives (ctx, assigns, options) and retrieves the template from ctx[:template] Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
38 lines
732 B
Ruby
38 lines
732 B
Ruby
# frozen_string_literal: true
|
|
|
|
source 'https://rubygems.org'
|
|
git_source(:github) do |repo_name|
|
|
"https://github.com/#{repo_name}.git"
|
|
end
|
|
|
|
gemspec
|
|
|
|
gem "base64"
|
|
|
|
group :benchmark, :test do
|
|
gem 'benchmark-ips'
|
|
gem 'memory_profiler'
|
|
gem 'terminal-table'
|
|
gem "lru_redux"
|
|
|
|
install_if -> { RUBY_PLATFORM !~ /mingw|mswin|java/ && RUBY_ENGINE != 'truffleruby' } do
|
|
gem 'stackprof'
|
|
end
|
|
end
|
|
|
|
group :development do
|
|
gem "webrick"
|
|
end
|
|
|
|
group :test do
|
|
gem 'benchmark'
|
|
gem 'rubocop', '~> 1.82.0'
|
|
gem 'rubocop-shopify', '~> 2.18.0', require: false
|
|
gem 'rubocop-performance', require: false
|
|
end
|
|
|
|
group :spec do
|
|
gem 'liquid-spec', github: 'Shopify/liquid-spec', branch: 'main'
|
|
gem 'activesupport', require: false
|
|
end
|