🔍 Keela v0.2.3 - "Stop Seeing Double"
The one where we learned that = and =~ are not the same thing.
What's Fixed
Ever notice your baseline had the same constant listed twice? 👀 Turns out when you write:
DATETIME_REGEX = %r{...} # definition
DATETIME_REGEX =~ some_string # usageKeela was like "oh cool, TWO constants!"
No. Bad Keela. The =~ regex match operator is using the constant, not defining it. We've sent Keela back to Ruby school and she now understands the difference between assignment (=) and matching (=~).
What's Changed
We also stopped committing Gemfile.lock because we're a gem, not an app, and frankly it was causing more drama than a reality TV reunion special. 📺
Upgrade
gem install keela
# or
bundle update keelaThen regenerate your baseline and watch those duplicates disappear! ✨