gem-compare v1.2.0, new contributors, and 200+ GitHub starts.
My little RubyGems plugin got some new contributions. Read the v1.0 announcement to know what’s the gem about.
New files diff
- Patrik Ragnarsson improved the full file diff originally contributed by Jared Deckard to show new files in full as well:
$ gem compare devise-otp 0.3.0 0.4.0 --diff
Fetching devise-otp-0.3.0.gem
Fetching devise-otp-0.4.0.gem
Compared versions: ["0.3.0", "0.4.0"]
DIFFERENT files:
0.3.0->0.4.0:
* Deleted:
app/controllers/devise_otp/devise/credentials_controller.rb
app/controllers/devise_otp/devise/tokens_controller.rb
app/views/devise/credentials/refresh.html.erb
app/views/devise/credentials/show.html.erb
app/views/devise/tokens/_token_secret.html.erb
app/views/devise/tokens/_trusted_devices.html.erb
app/views/devise/tokens/recovery.html.erb
app/views/devise/tokens/recovery_codes.text.erb
app/views/devise/tokens/show.html.erb
test/dummy/db/test.sqlite3-journal
* Added:
CHANGELOG.md
--- /tmp/20220717-279202-gynrzj 2022-07-17 18:53:27.136313771 +0200
+++ /tmp/d20220717-279202-27e0vz/devise-otp-0.4.0/CHANGELOG.md 2022-07-17 18:53:27.127313703 +0200
@@ -0,0 +1,17 @@
+# Changelog
+
+## 0.4.0
+
+Breaking changes:
+
+- rename `Devise::Otp` to `Devise::OTP`
+- change `credentials` directory to `otp_credentials`
+- change `tokens` directory to `otp_tokens`
+
+Other improvements:
+
+- Fix file permissions
+
+## 0.3.0
...
Group bit
- Patrik together with Ewoud Kohl allowed to skip the comparison of a group bit in files’ permissions. This is to avoid often appearing 644 vs 664 changes.
JRuby support
- João Duarte replaced
curb
withURI.open
making gem-compare working with other Ruby implementations such as JRuby.
Upgrades
- Patrik updated the test suite to Minitest 5.
CI
- Patrik contributed a GitHub workflow to run the test suite on new pull requests.
Thanks
Thanks to Patrik, Ewoud and João for improving gem-compare for everybody. I released v1.2.0 yesterday.
We also reached 200+ stars on GitHub!
Check out my book
Deployment from Scratch is unique Linux book about web application deployment. Learn how deployment works from the first principles rather than YAML files of a specific tool.