audit-log 1.0.0 → 1.0.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: cd049092e7b9e427a66e776f4248c42a74b19fb667a12fec8aa5ecf9abaf08f3
4
- data.tar.gz: 2d7e6e61ddf78747fbf9dbb1b2b427c16fa6c0015405eaf3222e23839afdf691
3
+ metadata.gz: 8c5aaea871bd51849f3c444ba34c134515f07df19dc6a30fff8de5a831032c64
4
+ data.tar.gz: 8804fd0c4b167dca2448114d2a9f145ef5bb0150631b2ca4f484cff33cac181a
5
5
  SHA512:
6
- metadata.gz: a3c21ee0a6658f309188e1fffb17c906cf0005eb0c67ed337e65f6c0ba901e17ec1238e49e796abb7bb173e70dd61385b28d7af7fcc64d8fefd8cd06c829fa82
7
- data.tar.gz: 3faacb77c43e1af56395c4aa515c67e536a1a96c719baa313051bd6995aa17d949c67454a0234b3bbf35329fa0b7eecc2a29b4d13bbc0105773f2dbfef9da755
6
+ metadata.gz: a1c445ecbc5ffc18258dbdc191e4e5404d2f80d9dfff4b86bb5d6aae655694509d72b66698ebf9ec9019feeae37d1384f4440b7e2d0251844db76a6b13c70fca
7
+ data.tar.gz: 9bd87a113dbb65a3f911245f41cd18a0205e47337c94c08f2438f88208fd91e0f2a44ddd1db4f462deaa16816c66cf4c98d4145d2e00f74366cda2cf2966b92d
data/README.md CHANGED
@@ -6,6 +6,8 @@ Trail audit logs (Operation logs) into the database for user behaviors, includin
6
6
 
7
7
  > We used audit-log in our production environment more than 1 year, until now (2020.5.21), it's inserted about **20 million** log in our system.
8
8
 
9
+ [中文介绍与使用说明](https://ruby-china.org/topics/39890)
10
+
9
11
  ## Demo UI
10
12
 
11
13
  Audit log list:
@@ -1,9 +1,11 @@
1
+ # frozen_string_literal: true
2
+
1
3
  class CreateAuditLogs < ActiveRecord::Migration[5.0]
2
4
  def change
3
5
  create_table 'audit_logs', force: :cascade do |t|
4
6
  t.string 'action', null: false
5
- t.integer 'user_id'
6
- t.integer 'record_id'
7
+ t.bigint 'user_id'
8
+ t.bigint 'record_id'
7
9
  t.string 'record_type'
8
10
  t.text 'payload'
9
11
  t.text 'request'
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module AuditLog
4
- VERSION = '1.0.0'
4
+ VERSION = '1.0.1'
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: audit-log
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0
4
+ version: 1.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jason Lee
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-05-21 00:00:00.000000000 Z
11
+ date: 2020-06-03 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: kaminari