Releases: ryosk7/snapcher
Releases · ryosk7/snapcher
v0.3.1
Option names have been changed to cooler names. It is now called "snatcher".
The option names have been changed to be more appropriate for this gem.
Usage is the same.
class Order < ::ActiveRecord::Base
scanning column_name: "scan_user_id", snatch_user: "navigate_user_id"
end
v0.3.0
Comming new option 🎉
It is now possible to specify if the user_id to be scanned is a different column.
Like this.
class Gift < ApplicationRecord
scanning column_name: "name", change_user_column: "from_user_id"
end
v0.2.0
This change enables tracking of user_id
If the model being modified owns a user_id column, we have also added user_id to the scannings data.
Adding WIP method
In the Rails settings, by adding the session user to the current_user_method, we can host the current_user data on the Snapcher side. This feature is still in the development stage and is planned to be applied globally in the future.
v0.1.5
Bug fix
- Duplication error fixed. Remove column created_at from migration generator.
v0.1.2
- Add README.
- Remove appraisal.
v0.1.1
- Checked Ruby version over 3.1
- Setup rspec
- Add scanning test
- Setup rubocop
- Some Cops were avoided in rubocop_todo.yml
v0.1.0
Developed a snapshot saving function for DB columns.