Skip to content

Releases: ryosk7/snapcher

v0.3.1

25 Jun 11:40
05b6a93
Compare
Choose a tag to compare

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

25 Jun 11:34
Compare
Choose a tag to compare

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

25 Jun 11:23
Compare
Choose a tag to compare

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

27 Oct 07:20
c4d6a91
Compare
Choose a tag to compare

Bug fix

  • Duplication error fixed. Remove column created_at from migration generator.

v0.1.4

27 Oct 04:56
0af7ec1
Compare
Choose a tag to compare
  • fix rubocop error.

v0.1.3

25 Oct 06:00
7c232ab
Compare
Choose a tag to compare

Remove bug code.

v0.1.2

24 Oct 04:43
0207f77
Compare
Choose a tag to compare
  • Add README.
  • Remove appraisal.

v0.1.1

23 Oct 19:34
67a4c2b
Compare
Choose a tag to compare
  • Checked Ruby version over 3.1
  • Setup rspec
  • Add scanning test
  • Setup rubocop
    • Some Cops were avoided in rubocop_todo.yml

v0.1.0

19 Oct 18:59
34c2883
Compare
Choose a tag to compare

Developed a snapshot saving function for DB columns.