88 Commits
Author SHA1 Message Date
Brooke Kuhlmann f551feee6f Updated version
Milestone: patch
0.8.2
2026-07-30 09:12:34 -06:00
Brooke KuhlmannandIkraam Ghoor 77601de489 Fixed missing quotes for fixed QR Code
Ensures `fixed` is quoted in order to prevent Liquid from translating the local variable (which doesn't exist) into `nil` when we need a literal "fixed" string instead.

Co-authored-by: Ikraam Ghoor <ikraamghoor@gmail.com>
Milestone: patch
2026-07-30 09:12:34 -06:00
Brooke Kuhlmann 7c55a525a1 Removed SimpleCov inspection/string patch
Safe to remove now that link:https://github.com/simplecov-ruby/simplecov/blob/main/CHANGELOG.md[SimpleCov 1.0.3] is out. This partially reverts 559387e (Added Liquid utilities patch for string and object inspection).

Milestone: patch
2026-07-30 09:12:31 -06:00
Brooke Kuhlmann 9fcfd45dc2 Updated version
Milestone: patch
0.8.1
2026-07-18 11:15:16 -06:00
Brooke Kuhlmann 559387e2e8 Added Liquid utilities patch for string and object inspection
As mentioned in 2fe0094 (Updated to SimpleCov 1.0.0), Liquid violates the _Liskov Substitution Principle_ due to expecting an object to be passed to both the `#inspect` and `#to_s` methods which breaks the `Object` (superclass) contract. Doesn't help that Liquid doesn't even try to be a good citizen when it comes to link:https://alchemists.io/articles/ruby_object_inspection[Ruby Object Inspection] in general.

The following takes this a step further by monkey patching `Liquid::Utils` (yes, this is ugly but is the best we can do until Liquid patches their implementation). The specs were updated to account for this since Liquid also doesn't bother to properly format hashes when inspected like Ruby does by default.

All of this work means that we can finally build SimpleCov reports in CI. Again, none of this happens when running locally on macOS. This only crops up in CI.

Milestone: patch
2026-07-18 11:13:41 -06:00
Brooke Kuhlmann fc488f7caf Updated version
Milestone: minor
0.8.0
2026-07-17 10:36:37 -06:00
Brooke Kuhlmann 2fe0094089 Updated to SimpleCov 1.0.0
link:https://github.com/simplecov-ruby/simplecov[Details].

We have to capture the `ArgumentError` when SimpleCov exits because Liquid violates the _Liskov Substitution Principle_ due to expecting an object to be passed into the `#inspect` method which breaks the expectation of `Object` (superclass). _This only happens in CI, not locally._ Created an link:https://github.com/Shopify/liquid/issues/2107[issue] to track this.

Until the Liquid issue is resolved, this does mean that _no_ SimpleCov artifact will be generated in CI.

Milestone: minor
2026-07-17 10:36:00 -06:00
Brooke Kuhlmann 6856b0c76a Updated to Ruby 4.0.6
link:https://www.ruby-lang.org/en/news/2026/07/14/ruby-4-0-6-released/[Details].

Milestone: patch
2026-07-17 09:28:49 -06:00
Brooke Kuhlmann b593b51198 Updated to Git Lint 11.0.0
link:https://alchemists.io/projects/git-lint/versions/11.0.0/[Details].

Milestone: minor
2026-06-07 15:08:03 -06:00
Brooke Kuhlmann 1710a64e05 Updated to Ruby 4.0.5
link:https://www.ruby-lang.org/en/news/2026/05/20/ruby-4-0-5-released/[Details].

Milestone: patch
2026-05-20 08:07:24 -06:00
Brooke Kuhlmann 1886e1eb86 Updated to Ruby 4.0.4
link:https://www.ruby-lang.org/en/news/2026/05/11/ruby-4-0-4-released/[Details].

Milestone: patch
2026-05-11 18:38:43 -06:00
Brooke Kuhlmann 9fb95fb752 Updated to Ruby 4.0.3
link:https://www.ruby-lang.org/en/news/2026/04/21/ruby-4-0-3-released/[Details].

Milestone: patch
2026-04-21 08:06:28 -06:00
Brooke Kuhlmann 90bc5cc148 Updated version
Milestone: minor
0.7.0
2026-04-08 15:00:32 -06:00
Brooke Kuhlmann cd3875506f Updated QR code filter to handle responsive or fixed view
Necessary to allow the SVG output of QR code generation to be used in responsive design so folks can allow these images to shrink/grow as desired.

The `standalone` key was dropped since this is default behavior so no need to be explicit.

The test suite was updated to account for the new `view` attribute by using REXML to acquire all attributes of the resulting SVG image. This allows each test to be explicit while improving readability.

RuboCop was updated to account for this change. We can't fix until customers are migrated to the new functionality and then we can come back and fix these violations.

Issue: 17
Milestone: minor
2026-04-08 15:00:08 -06:00
Brooke Kuhlmann 5e37ac5b85 Updated version
Milestone: minor
0.6.0
2026-04-06 09:04:28 -06:00
Brooke Kuhlmann b80b000b67 Removed deprecated build environment
This has been deprecated for a while so is safe to remove.

Milestone: minor
2026-04-06 09:01:35 -06:00
Brooke Kuhlmann f5584067d3 Updated to Liquid 5.12.0
link:https://github.com/Shopify/liquid/releases/tag/v5.12.0[Details].

Milestone: minor
2026-03-19 08:30:03 -06:00
Brooke Kuhlmann 78aa7a717e Updated to Ruby 4.0.2
link:https://www.ruby-lang.org/en/news/2026/03/16/ruby-4-0-2-released/[Details].

Milestone: patch
2026-03-17 08:12:01 -06:00
Brooke Kuhlmann 4f758b8cd5 Updated version
Necessary to bump the version and update the documentation to reflect recent changes.

Milestone: minor
0.5.0
2026-02-05 10:15:43 -07:00
Brooke Kuhlmann 756fc34205 Added Milestoner configuration
Necessary to configure Milestoner (via Gemsmith) so that the Git tags point to the organization.

Milestone: minor
2026-02-05 10:15:31 -07:00
Brooke Kuhlmann a91dec61e5 Added locale date and ordinalize support for special words
Necessary to match link:https://shopify.github.io/liquid/filters/date[Liquid Date] behavior where you can use special words (i.e. "now" or "today") to equate to `Time.now`.

The specs use regular expressions because we are dealing with relative dates which would cause build failures if using exact string matches.

Milestone: minor
2026-02-04 14:39:36 -07:00
Brooke Kuhlmann 4db5febbb3 Refactored date/times to use Time
This simplfies the date/time logic so only `Time` is used since `DateTime` is more of a relic because it's less performant, doesn't handle daylight savings time, and isn't based on the Gregorian calendar (which is what is most used these days).

These changes allow us to reach 95% line coverage as a minimum. The reason branch converage isn't there is because of all of the fallback logic which still needs to be addressed.

Milestone: patch
2026-02-04 14:39:36 -07:00
Brooke Kuhlmann c2e3f802f1 Added filters missing test coverage
Ensures specs exist so more lines of code (and conditional logic) is tested. This does not cover the fallback logic as of yet (more on that soon).

Milestone: minor
2026-02-04 14:39:36 -07:00
Brooke Kuhlmann 490a89737c Fixed Reek issues
Added configuration, fixes issues where possible, and left code comments for addressing later when time allows.

Milestone: patch
2026-02-04 14:39:36 -07:00
Brooke Kuhlmann 81d0af81cd Fixed RuboCop issues
This fixes all remaining RuboCop issues. For the rest, I've left RuboCop TODO comments around the troublesome code so we can quickly find and fix further when time allows.

The Rakefile is also updated to ensure these checks run locally and in CI.

Milestone: patch
2026-02-04 14:39:36 -07:00