diff --git a/CHANGELOG.md b/CHANGELOG.md index 4804ef7..068fc84 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,7 @@ +## [0.1.5] - 2024-05-13 + +- Fix a bug in the tapioca compiler + ## [0.1.4] - 2024-05-13 - Add a tapioca compiler for shale and shale builder diff --git a/Gemfile.lock b/Gemfile.lock index 4a0d3d9..5a802f2 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -1,7 +1,7 @@ PATH remote: . specs: - shale-builder (0.1.4) + shale-builder (0.1.5) shale (< 2.0) GEM diff --git a/lib/shale/builder/version.rb b/lib/shale/builder/version.rb index 47e64f9..b3a11fc 100644 --- a/lib/shale/builder/version.rb +++ b/lib/shale/builder/version.rb @@ -3,6 +3,6 @@ module Shale module Builder # @return [String] - VERSION = '0.1.4' + VERSION = '0.1.5' end end diff --git a/lib/tapioca/dsl/compilers/shale.rb b/lib/tapioca/dsl/compilers/shale.rb index e565e9d..ab39e51 100644 --- a/lib/tapioca/dsl/compilers/shale.rb +++ b/lib/tapioca/dsl/compilers/shale.rb @@ -1,6 +1,12 @@ # typed: true # frozen_string_literal: true +require 'shale' +begin + require 'shale/builder' +rescue LoadError +end + module Tapioca module Compilers class Shale < Tapioca::Dsl::Compiler