rails_audit 0.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +7 -0
- data/LICENSE +165 -0
- data/README.md +45 -0
- data/Rakefile +37 -0
- data/app/controllers/admin/audits_controller.rb +12 -0
- data/app/models/audit.rb +14 -0
- data/app/models/concerns/auditable.rb +59 -0
- data/app/models/history.rb +36 -0
- data/app/models/major_record.rb +14 -0
- data/app/models/minor_record.rb +15 -0
- data/app/views/admin/audits/_index.html.erb +9 -0
- data/app/views/admin/audits/_table.html.erb +61 -0
- data/app/views/admin/audits/index.html.erb +3 -0
- data/app/views/admin/audits/index.js.erb +8 -0
- data/config/routes.rb +7 -0
- data/db/migrate/20170314035239_create_audits.rb +20 -0
- data/lib/rails_audit/controller_helper.rb +39 -0
- data/lib/rails_audit/engine.rb +4 -0
- data/lib/rails_audit/version.rb +3 -0
- data/lib/rails_audit.rb +3 -0
- data/lib/tasks/the_history_tasks.rake +4 -0
- data/test/dummy/README.md +5 -0
- data/test/dummy/Rakefile +6 -0
- data/test/dummy/app/assets/config/manifest.js +3 -0
- data/test/dummy/app/assets/javascripts/application.js +2 -0
- data/test/dummy/app/assets/javascripts/cable.js +13 -0
- data/test/dummy/app/assets/stylesheets/application.css +5 -0
- data/test/dummy/app/channels/application_cable/channel.rb +4 -0
- data/test/dummy/app/channels/application_cable/connection.rb +4 -0
- data/test/dummy/app/controllers/admin/base_controller.rb +7 -0
- data/test/dummy/app/controllers/application_controller.rb +3 -0
- data/test/dummy/app/controllers/home_controller.rb +11 -0
- data/test/dummy/app/controllers/my/base_controller.rb +7 -0
- data/test/dummy/app/helpers/application_helper.rb +2 -0
- data/test/dummy/app/jobs/application_job.rb +2 -0
- data/test/dummy/app/mailers/application_mailer.rb +4 -0
- data/test/dummy/app/models/application_record.rb +3 -0
- data/test/dummy/app/models/user.rb +3 -0
- data/test/dummy/app/views/layouts/_navbar.html.erb +18 -0
- data/test/dummy/app/views/layouts/_right_menu.html.erb +23 -0
- data/test/dummy/app/views/layouts/application.html.erb +19 -0
- data/test/dummy/app/views/layouts/mailer.html.erb +13 -0
- data/test/dummy/app/views/layouts/mailer.text.erb +1 -0
- data/test/dummy/bin/bundle +3 -0
- data/test/dummy/bin/rails +4 -0
- data/test/dummy/bin/rake +4 -0
- data/test/dummy/bin/setup +34 -0
- data/test/dummy/bin/update +29 -0
- data/test/dummy/config/application.rb +13 -0
- data/test/dummy/config/boot.rb +5 -0
- data/test/dummy/config/cable.yml +9 -0
- data/test/dummy/config/database.yml.mysql +14 -0
- data/test/dummy/config/database.yml.sqlite3 +12 -0
- data/test/dummy/config/environment.rb +5 -0
- data/test/dummy/config/environments/development.rb +54 -0
- data/test/dummy/config/environments/production.rb +86 -0
- data/test/dummy/config/environments/test.rb +42 -0
- data/test/dummy/config/initializers/application_controller_renderer.rb +6 -0
- data/test/dummy/config/initializers/assets.rb +6 -0
- data/test/dummy/config/initializers/backtrace_silencers.rb +7 -0
- data/test/dummy/config/initializers/cookies_serializer.rb +5 -0
- data/test/dummy/config/initializers/filter_parameter_logging.rb +4 -0
- data/test/dummy/config/initializers/inflections.rb +16 -0
- data/test/dummy/config/initializers/mime_types.rb +4 -0
- data/test/dummy/config/initializers/new_framework_defaults.rb +18 -0
- data/test/dummy/config/initializers/session_store.rb +3 -0
- data/test/dummy/config/initializers/wrap_parameters.rb +14 -0
- data/test/dummy/config/locales/en.yml +23 -0
- data/test/dummy/config/puma.rb +47 -0
- data/test/dummy/config/routes.rb +7 -0
- data/test/dummy/config/secrets.yml +22 -0
- data/test/dummy/config/spring.rb +6 -0
- data/test/dummy/config.ru +5 -0
- data/test/dummy/db/migrate/20180525090830_create_active_storage_tables.active_storage.rb +26 -0
- data/test/dummy/log/development.log +2 -0
- data/test/dummy/package.json +6 -0
- data/test/dummy/public/404.html +67 -0
- data/test/dummy/public/422.html +67 -0
- data/test/dummy/public/500.html +66 -0
- data/test/dummy/public/apple-touch-icon-precomposed.png +0 -0
- data/test/dummy/public/apple-touch-icon.png +0 -0
- data/test/dummy/public/favicon.ico +0 -0
- data/test/dummy/yarn.lock +11 -0
- data/test/integration/navigation_test.rb +8 -0
- data/test/test_helper.rb +20 -0
- data/test/the_audit_test.rb +7 -0
- metadata +208 -0
| @@ -0,0 +1,22 @@ | |
| 1 | 
            +
            # Be sure to restart your server when you modify this file.
         | 
| 2 | 
            +
             | 
| 3 | 
            +
            # Your secret key is used for verifying the integrity of signed cookies.
         | 
| 4 | 
            +
            # If you change this key, all old signed cookies will become invalid!
         | 
| 5 | 
            +
             | 
| 6 | 
            +
            # Make sure the secret is at least 30 characters and all random,
         | 
| 7 | 
            +
            # no regular words or you'll be exposed to dictionary attacks.
         | 
| 8 | 
            +
            # You can use `rails secret` to generate a secure secret key.
         | 
| 9 | 
            +
             | 
| 10 | 
            +
            # Make sure the secrets in this file are kept private
         | 
| 11 | 
            +
            # if you're sharing your code publicly.
         | 
| 12 | 
            +
             | 
| 13 | 
            +
            development:
         | 
| 14 | 
            +
              secret_key_base: d1994ea3a3510e902411b78cb185a1c527a7f8d811264e578909fbc5910e36b7bd9501db720d6b7253178cf7ea05afb254cc9780123013d7de2f78b3926c7983
         | 
| 15 | 
            +
             | 
| 16 | 
            +
            test:
         | 
| 17 | 
            +
              secret_key_base: a0f9c1a6efa5a3110639533cf661793521048ba80f861c70dc024657e7fb5ec016f7582f65c811f88722c669582d2d396d0029887e88e939c89cd69a063c8656
         | 
| 18 | 
            +
             | 
| 19 | 
            +
            # Do not keep production secrets in the repository,
         | 
| 20 | 
            +
            # instead read values from the environment.
         | 
| 21 | 
            +
            production:
         | 
| 22 | 
            +
              secret_key_base: <%= ENV["SECRET_KEY_BASE"] %>
         | 
| @@ -0,0 +1,26 @@ | |
| 1 | 
            +
            # This migration comes from active_storage (originally 20170806125915)
         | 
| 2 | 
            +
            class CreateActiveStorageTables < ActiveRecord::Migration[5.2]
         | 
| 3 | 
            +
              def change
         | 
| 4 | 
            +
                create_table :active_storage_blobs do |t|
         | 
| 5 | 
            +
                  t.string   :key,        null: false
         | 
| 6 | 
            +
                  t.string   :filename,   null: false
         | 
| 7 | 
            +
                  t.string   :content_type
         | 
| 8 | 
            +
                  t.text     :metadata
         | 
| 9 | 
            +
                  t.bigint   :byte_size,  null: false
         | 
| 10 | 
            +
                  t.string   :checksum,   null: false
         | 
| 11 | 
            +
                  t.datetime :created_at, null: false
         | 
| 12 | 
            +
             | 
| 13 | 
            +
                  t.index [ :key ], unique: true
         | 
| 14 | 
            +
                end
         | 
| 15 | 
            +
             | 
| 16 | 
            +
                create_table :active_storage_attachments do |t|
         | 
| 17 | 
            +
                  t.string     :name,     null: false
         | 
| 18 | 
            +
                  t.references :record,   null: false, polymorphic: true, index: false
         | 
| 19 | 
            +
                  t.references :blob,     null: false
         | 
| 20 | 
            +
             | 
| 21 | 
            +
                  t.datetime :created_at, null: false
         | 
| 22 | 
            +
             | 
| 23 | 
            +
                  t.index [ :record_type, :record_id, :name, :blob_id ], name: "index_active_storage_attachments_uniqueness", unique: true
         | 
| 24 | 
            +
                end
         | 
| 25 | 
            +
              end
         | 
| 26 | 
            +
            end
         | 
| @@ -0,0 +1,2 @@ | |
| 1 | 
            +
            DEPRECATION WARNING: ActiveSupport.halt_callback_chains_on_return_false= is deprecated and will be removed in Rails 5.2. (called from <top (required)> at /Users/qin/work/engine/rails_audit/test/dummy/config/initializers/new_framework_defaults.rb:21)
         | 
| 2 | 
            +
            DEPRECATION WARNING: ActiveSupport.halt_callback_chains_on_return_false= is deprecated and will be removed in Rails 5.2. (called from <top (required)> at /Users/qin/work/engine/rails_audit/test/dummy/config/initializers/new_framework_defaults.rb:21)
         | 
| @@ -0,0 +1,67 @@ | |
| 1 | 
            +
            <!DOCTYPE html>
         | 
| 2 | 
            +
            <html>
         | 
| 3 | 
            +
            <head>
         | 
| 4 | 
            +
              <title>The page you were looking for doesn't exist (404)</title>
         | 
| 5 | 
            +
              <meta name="viewport" content="width=device-width,initial-scale=1">
         | 
| 6 | 
            +
              <style>
         | 
| 7 | 
            +
              body {
         | 
| 8 | 
            +
                background-color: #EFEFEF;
         | 
| 9 | 
            +
                color: #2E2F30;
         | 
| 10 | 
            +
                text-align: center;
         | 
| 11 | 
            +
                font-family: arial, sans-serif;
         | 
| 12 | 
            +
                margin: 0;
         | 
| 13 | 
            +
              }
         | 
| 14 | 
            +
             | 
| 15 | 
            +
              div.dialog {
         | 
| 16 | 
            +
                width: 95%;
         | 
| 17 | 
            +
                max-width: 33em;
         | 
| 18 | 
            +
                margin: 4em auto 0;
         | 
| 19 | 
            +
              }
         | 
| 20 | 
            +
             | 
| 21 | 
            +
              div.dialog > div {
         | 
| 22 | 
            +
                border: 1px solid #CCC;
         | 
| 23 | 
            +
                border-right-color: #999;
         | 
| 24 | 
            +
                border-left-color: #999;
         | 
| 25 | 
            +
                border-bottom-color: #BBB;
         | 
| 26 | 
            +
                border-top: #B00100 solid 4px;
         | 
| 27 | 
            +
                border-top-left-radius: 9px;
         | 
| 28 | 
            +
                border-top-right-radius: 9px;
         | 
| 29 | 
            +
                background-color: white;
         | 
| 30 | 
            +
                padding: 7px 12% 0;
         | 
| 31 | 
            +
                box-shadow: 0 3px 8px rgba(50, 50, 50, 0.17);
         | 
| 32 | 
            +
              }
         | 
| 33 | 
            +
             | 
| 34 | 
            +
              h1 {
         | 
| 35 | 
            +
                font-size: 100%;
         | 
| 36 | 
            +
                color: #730E15;
         | 
| 37 | 
            +
                line-height: 1.5em;
         | 
| 38 | 
            +
              }
         | 
| 39 | 
            +
             | 
| 40 | 
            +
              div.dialog > p {
         | 
| 41 | 
            +
                margin: 0 0 1em;
         | 
| 42 | 
            +
                padding: 1em;
         | 
| 43 | 
            +
                background-color: #F7F7F7;
         | 
| 44 | 
            +
                border: 1px solid #CCC;
         | 
| 45 | 
            +
                border-right-color: #999;
         | 
| 46 | 
            +
                border-left-color: #999;
         | 
| 47 | 
            +
                border-bottom-color: #999;
         | 
| 48 | 
            +
                border-bottom-left-radius: 4px;
         | 
| 49 | 
            +
                border-bottom-right-radius: 4px;
         | 
| 50 | 
            +
                border-top-color: #DADADA;
         | 
| 51 | 
            +
                color: #666;
         | 
| 52 | 
            +
                box-shadow: 0 3px 8px rgba(50, 50, 50, 0.17);
         | 
| 53 | 
            +
              }
         | 
| 54 | 
            +
              </style>
         | 
| 55 | 
            +
            </head>
         | 
| 56 | 
            +
             | 
| 57 | 
            +
            <body>
         | 
| 58 | 
            +
              <!-- This file lives in public/404.html -->
         | 
| 59 | 
            +
              <div class="dialog">
         | 
| 60 | 
            +
                <div>
         | 
| 61 | 
            +
                  <h1>The page you were looking for doesn't exist.</h1>
         | 
| 62 | 
            +
                  <p>You may have mistyped the address or the page may have moved.</p>
         | 
| 63 | 
            +
                </div>
         | 
| 64 | 
            +
                <p>If you are the application owner check the logs for more information.</p>
         | 
| 65 | 
            +
              </div>
         | 
| 66 | 
            +
            </body>
         | 
| 67 | 
            +
            </html>
         | 
| @@ -0,0 +1,67 @@ | |
| 1 | 
            +
            <!DOCTYPE html>
         | 
| 2 | 
            +
            <html>
         | 
| 3 | 
            +
            <head>
         | 
| 4 | 
            +
              <title>The change you wanted was rejected (422)</title>
         | 
| 5 | 
            +
              <meta name="viewport" content="width=device-width,initial-scale=1">
         | 
| 6 | 
            +
              <style>
         | 
| 7 | 
            +
              body {
         | 
| 8 | 
            +
                background-color: #EFEFEF;
         | 
| 9 | 
            +
                color: #2E2F30;
         | 
| 10 | 
            +
                text-align: center;
         | 
| 11 | 
            +
                font-family: arial, sans-serif;
         | 
| 12 | 
            +
                margin: 0;
         | 
| 13 | 
            +
              }
         | 
| 14 | 
            +
             | 
| 15 | 
            +
              div.dialog {
         | 
| 16 | 
            +
                width: 95%;
         | 
| 17 | 
            +
                max-width: 33em;
         | 
| 18 | 
            +
                margin: 4em auto 0;
         | 
| 19 | 
            +
              }
         | 
| 20 | 
            +
             | 
| 21 | 
            +
              div.dialog > div {
         | 
| 22 | 
            +
                border: 1px solid #CCC;
         | 
| 23 | 
            +
                border-right-color: #999;
         | 
| 24 | 
            +
                border-left-color: #999;
         | 
| 25 | 
            +
                border-bottom-color: #BBB;
         | 
| 26 | 
            +
                border-top: #B00100 solid 4px;
         | 
| 27 | 
            +
                border-top-left-radius: 9px;
         | 
| 28 | 
            +
                border-top-right-radius: 9px;
         | 
| 29 | 
            +
                background-color: white;
         | 
| 30 | 
            +
                padding: 7px 12% 0;
         | 
| 31 | 
            +
                box-shadow: 0 3px 8px rgba(50, 50, 50, 0.17);
         | 
| 32 | 
            +
              }
         | 
| 33 | 
            +
             | 
| 34 | 
            +
              h1 {
         | 
| 35 | 
            +
                font-size: 100%;
         | 
| 36 | 
            +
                color: #730E15;
         | 
| 37 | 
            +
                line-height: 1.5em;
         | 
| 38 | 
            +
              }
         | 
| 39 | 
            +
             | 
| 40 | 
            +
              div.dialog > p {
         | 
| 41 | 
            +
                margin: 0 0 1em;
         | 
| 42 | 
            +
                padding: 1em;
         | 
| 43 | 
            +
                background-color: #F7F7F7;
         | 
| 44 | 
            +
                border: 1px solid #CCC;
         | 
| 45 | 
            +
                border-right-color: #999;
         | 
| 46 | 
            +
                border-left-color: #999;
         | 
| 47 | 
            +
                border-bottom-color: #999;
         | 
| 48 | 
            +
                border-bottom-left-radius: 4px;
         | 
| 49 | 
            +
                border-bottom-right-radius: 4px;
         | 
| 50 | 
            +
                border-top-color: #DADADA;
         | 
| 51 | 
            +
                color: #666;
         | 
| 52 | 
            +
                box-shadow: 0 3px 8px rgba(50, 50, 50, 0.17);
         | 
| 53 | 
            +
              }
         | 
| 54 | 
            +
              </style>
         | 
| 55 | 
            +
            </head>
         | 
| 56 | 
            +
             | 
| 57 | 
            +
            <body>
         | 
| 58 | 
            +
              <!-- This file lives in public/422.html -->
         | 
| 59 | 
            +
              <div class="dialog">
         | 
| 60 | 
            +
                <div>
         | 
| 61 | 
            +
                  <h1>The change you wanted was rejected.</h1>
         | 
| 62 | 
            +
                  <p>Maybe you tried to change something you didn't have access to.</p>
         | 
| 63 | 
            +
                </div>
         | 
| 64 | 
            +
                <p>If you are the application owner check the logs for more information.</p>
         | 
| 65 | 
            +
              </div>
         | 
| 66 | 
            +
            </body>
         | 
| 67 | 
            +
            </html>
         | 
| @@ -0,0 +1,66 @@ | |
| 1 | 
            +
            <!DOCTYPE html>
         | 
| 2 | 
            +
            <html>
         | 
| 3 | 
            +
            <head>
         | 
| 4 | 
            +
              <title>We're sorry, but something went wrong (500)</title>
         | 
| 5 | 
            +
              <meta name="viewport" content="width=device-width,initial-scale=1">
         | 
| 6 | 
            +
              <style>
         | 
| 7 | 
            +
              body {
         | 
| 8 | 
            +
                background-color: #EFEFEF;
         | 
| 9 | 
            +
                color: #2E2F30;
         | 
| 10 | 
            +
                text-align: center;
         | 
| 11 | 
            +
                font-family: arial, sans-serif;
         | 
| 12 | 
            +
                margin: 0;
         | 
| 13 | 
            +
              }
         | 
| 14 | 
            +
             | 
| 15 | 
            +
              div.dialog {
         | 
| 16 | 
            +
                width: 95%;
         | 
| 17 | 
            +
                max-width: 33em;
         | 
| 18 | 
            +
                margin: 4em auto 0;
         | 
| 19 | 
            +
              }
         | 
| 20 | 
            +
             | 
| 21 | 
            +
              div.dialog > div {
         | 
| 22 | 
            +
                border: 1px solid #CCC;
         | 
| 23 | 
            +
                border-right-color: #999;
         | 
| 24 | 
            +
                border-left-color: #999;
         | 
| 25 | 
            +
                border-bottom-color: #BBB;
         | 
| 26 | 
            +
                border-top: #B00100 solid 4px;
         | 
| 27 | 
            +
                border-top-left-radius: 9px;
         | 
| 28 | 
            +
                border-top-right-radius: 9px;
         | 
| 29 | 
            +
                background-color: white;
         | 
| 30 | 
            +
                padding: 7px 12% 0;
         | 
| 31 | 
            +
                box-shadow: 0 3px 8px rgba(50, 50, 50, 0.17);
         | 
| 32 | 
            +
              }
         | 
| 33 | 
            +
             | 
| 34 | 
            +
              h1 {
         | 
| 35 | 
            +
                font-size: 100%;
         | 
| 36 | 
            +
                color: #730E15;
         | 
| 37 | 
            +
                line-height: 1.5em;
         | 
| 38 | 
            +
              }
         | 
| 39 | 
            +
             | 
| 40 | 
            +
              div.dialog > p {
         | 
| 41 | 
            +
                margin: 0 0 1em;
         | 
| 42 | 
            +
                padding: 1em;
         | 
| 43 | 
            +
                background-color: #F7F7F7;
         | 
| 44 | 
            +
                border: 1px solid #CCC;
         | 
| 45 | 
            +
                border-right-color: #999;
         | 
| 46 | 
            +
                border-left-color: #999;
         | 
| 47 | 
            +
                border-bottom-color: #999;
         | 
| 48 | 
            +
                border-bottom-left-radius: 4px;
         | 
| 49 | 
            +
                border-bottom-right-radius: 4px;
         | 
| 50 | 
            +
                border-top-color: #DADADA;
         | 
| 51 | 
            +
                color: #666;
         | 
| 52 | 
            +
                box-shadow: 0 3px 8px rgba(50, 50, 50, 0.17);
         | 
| 53 | 
            +
              }
         | 
| 54 | 
            +
              </style>
         | 
| 55 | 
            +
            </head>
         | 
| 56 | 
            +
             | 
| 57 | 
            +
            <body>
         | 
| 58 | 
            +
              <!-- This file lives in public/500.html -->
         | 
| 59 | 
            +
              <div class="dialog">
         | 
| 60 | 
            +
                <div>
         | 
| 61 | 
            +
                  <h1>We're sorry, but something went wrong.</h1>
         | 
| 62 | 
            +
                </div>
         | 
| 63 | 
            +
                <p>If you are the application owner check the logs for more information.</p>
         | 
| 64 | 
            +
              </div>
         | 
| 65 | 
            +
            </body>
         | 
| 66 | 
            +
            </html>
         | 
| 
            File without changes
         | 
| 
            File without changes
         | 
| 
            File without changes
         | 
| @@ -0,0 +1,11 @@ | |
| 1 | 
            +
            # THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY.
         | 
| 2 | 
            +
            # yarn lockfile v1
         | 
| 3 | 
            +
             | 
| 4 | 
            +
             | 
| 5 | 
            +
            jquery@^3.3.1:
         | 
| 6 | 
            +
              version "3.3.1"
         | 
| 7 | 
            +
              resolved "https://registry.yarnpkg.com/jquery/-/jquery-3.3.1.tgz#958ce29e81c9790f31be7792df5d4d95fc57fbca"
         | 
| 8 | 
            +
             | 
| 9 | 
            +
            "yigexiangfa_ui@https://github.com/yigexiangfa/yigexiangfa.github.io.git":
         | 
| 10 | 
            +
              version "1.0.0"
         | 
| 11 | 
            +
              resolved "https://github.com/yigexiangfa/yigexiangfa.github.io.git#92d7a1a8eb095095b5226abca7fd07c05c0489dc"
         | 
    
        data/test/test_helper.rb
    ADDED
    
    | @@ -0,0 +1,20 @@ | |
| 1 | 
            +
            # Configure Rails Environment
         | 
| 2 | 
            +
            ENV["RAILS_ENV"] = "test"
         | 
| 3 | 
            +
             | 
| 4 | 
            +
            require File.expand_path("../../test/dummy/config/environment.rb",  __FILE__)
         | 
| 5 | 
            +
            ActiveRecord::Migrator.migrations_paths = [File.expand_path("../../test/dummy/db/migrate", __FILE__)]
         | 
| 6 | 
            +
            require "rails/test_help"
         | 
| 7 | 
            +
             | 
| 8 | 
            +
            # Filter out Minitest backtrace while allowing backtrace from other libraries
         | 
| 9 | 
            +
            # to be shown.
         | 
| 10 | 
            +
            Minitest.backtrace_filter = Minitest::BacktraceFilter.new
         | 
| 11 | 
            +
             | 
| 12 | 
            +
            # Load support files
         | 
| 13 | 
            +
            Dir["#{File.dirname(__FILE__)}/support/**/*.rb"].each { |f| require f }
         | 
| 14 | 
            +
             | 
| 15 | 
            +
            # Load fixtures from the engine
         | 
| 16 | 
            +
            if ActiveSupport::TestCase.respond_to?(:fixture_path=)
         | 
| 17 | 
            +
              ActiveSupport::TestCase.fixture_path = File.expand_path("../fixtures", __FILE__)
         | 
| 18 | 
            +
              ActionDispatch::IntegrationTest.fixture_path = ActiveSupport::TestCase.fixture_path
         | 
| 19 | 
            +
              ActiveSupport::TestCase.fixtures :all
         | 
| 20 | 
            +
            end
         | 
    
        metadata
    ADDED
    
    | @@ -0,0 +1,208 @@ | |
| 1 | 
            +
            --- !ruby/object:Gem::Specification
         | 
| 2 | 
            +
            name: rails_audit
         | 
| 3 | 
            +
            version: !ruby/object:Gem::Version
         | 
| 4 | 
            +
              version: 0.0.1
         | 
| 5 | 
            +
            platform: ruby
         | 
| 6 | 
            +
            authors:
         | 
| 7 | 
            +
            - qinmingyuan
         | 
| 8 | 
            +
            autorequire: 
         | 
| 9 | 
            +
            bindir: bin
         | 
| 10 | 
            +
            cert_chain: []
         | 
| 11 | 
            +
            date: 2018-09-19 00:00:00.000000000 Z
         | 
| 12 | 
            +
            dependencies:
         | 
| 13 | 
            +
            - !ruby/object:Gem::Dependency
         | 
| 14 | 
            +
              name: rails
         | 
| 15 | 
            +
              requirement: !ruby/object:Gem::Requirement
         | 
| 16 | 
            +
                requirements:
         | 
| 17 | 
            +
                - - ">="
         | 
| 18 | 
            +
                  - !ruby/object:Gem::Version
         | 
| 19 | 
            +
                    version: '5.0'
         | 
| 20 | 
            +
              type: :runtime
         | 
| 21 | 
            +
              prerelease: false
         | 
| 22 | 
            +
              version_requirements: !ruby/object:Gem::Requirement
         | 
| 23 | 
            +
                requirements:
         | 
| 24 | 
            +
                - - ">="
         | 
| 25 | 
            +
                  - !ruby/object:Gem::Version
         | 
| 26 | 
            +
                    version: '5.0'
         | 
| 27 | 
            +
            description: Description of RailsAudit.
         | 
| 28 | 
            +
            email:
         | 
| 29 | 
            +
            - mingyuan0715@foxmail.com
         | 
| 30 | 
            +
            executables: []
         | 
| 31 | 
            +
            extensions: []
         | 
| 32 | 
            +
            extra_rdoc_files: []
         | 
| 33 | 
            +
            files:
         | 
| 34 | 
            +
            - LICENSE
         | 
| 35 | 
            +
            - README.md
         | 
| 36 | 
            +
            - Rakefile
         | 
| 37 | 
            +
            - app/controllers/admin/audits_controller.rb
         | 
| 38 | 
            +
            - app/models/audit.rb
         | 
| 39 | 
            +
            - app/models/concerns/auditable.rb
         | 
| 40 | 
            +
            - app/models/history.rb
         | 
| 41 | 
            +
            - app/models/major_record.rb
         | 
| 42 | 
            +
            - app/models/minor_record.rb
         | 
| 43 | 
            +
            - app/views/admin/audits/_index.html.erb
         | 
| 44 | 
            +
            - app/views/admin/audits/_table.html.erb
         | 
| 45 | 
            +
            - app/views/admin/audits/index.html.erb
         | 
| 46 | 
            +
            - app/views/admin/audits/index.js.erb
         | 
| 47 | 
            +
            - config/routes.rb
         | 
| 48 | 
            +
            - db/migrate/20170314035239_create_audits.rb
         | 
| 49 | 
            +
            - lib/rails_audit.rb
         | 
| 50 | 
            +
            - lib/rails_audit/controller_helper.rb
         | 
| 51 | 
            +
            - lib/rails_audit/engine.rb
         | 
| 52 | 
            +
            - lib/rails_audit/version.rb
         | 
| 53 | 
            +
            - lib/tasks/the_history_tasks.rake
         | 
| 54 | 
            +
            - test/dummy/README.md
         | 
| 55 | 
            +
            - test/dummy/Rakefile
         | 
| 56 | 
            +
            - test/dummy/app/assets/config/manifest.js
         | 
| 57 | 
            +
            - test/dummy/app/assets/javascripts/application.js
         | 
| 58 | 
            +
            - test/dummy/app/assets/javascripts/cable.js
         | 
| 59 | 
            +
            - test/dummy/app/assets/stylesheets/application.css
         | 
| 60 | 
            +
            - test/dummy/app/channels/application_cable/channel.rb
         | 
| 61 | 
            +
            - test/dummy/app/channels/application_cable/connection.rb
         | 
| 62 | 
            +
            - test/dummy/app/controllers/admin/base_controller.rb
         | 
| 63 | 
            +
            - test/dummy/app/controllers/application_controller.rb
         | 
| 64 | 
            +
            - test/dummy/app/controllers/home_controller.rb
         | 
| 65 | 
            +
            - test/dummy/app/controllers/my/base_controller.rb
         | 
| 66 | 
            +
            - test/dummy/app/helpers/application_helper.rb
         | 
| 67 | 
            +
            - test/dummy/app/jobs/application_job.rb
         | 
| 68 | 
            +
            - test/dummy/app/mailers/application_mailer.rb
         | 
| 69 | 
            +
            - test/dummy/app/models/application_record.rb
         | 
| 70 | 
            +
            - test/dummy/app/models/user.rb
         | 
| 71 | 
            +
            - test/dummy/app/views/layouts/_navbar.html.erb
         | 
| 72 | 
            +
            - test/dummy/app/views/layouts/_right_menu.html.erb
         | 
| 73 | 
            +
            - test/dummy/app/views/layouts/application.html.erb
         | 
| 74 | 
            +
            - test/dummy/app/views/layouts/mailer.html.erb
         | 
| 75 | 
            +
            - test/dummy/app/views/layouts/mailer.text.erb
         | 
| 76 | 
            +
            - test/dummy/bin/bundle
         | 
| 77 | 
            +
            - test/dummy/bin/rails
         | 
| 78 | 
            +
            - test/dummy/bin/rake
         | 
| 79 | 
            +
            - test/dummy/bin/setup
         | 
| 80 | 
            +
            - test/dummy/bin/update
         | 
| 81 | 
            +
            - test/dummy/config.ru
         | 
| 82 | 
            +
            - test/dummy/config/application.rb
         | 
| 83 | 
            +
            - test/dummy/config/boot.rb
         | 
| 84 | 
            +
            - test/dummy/config/cable.yml
         | 
| 85 | 
            +
            - test/dummy/config/database.yml.mysql
         | 
| 86 | 
            +
            - test/dummy/config/database.yml.sqlite3
         | 
| 87 | 
            +
            - test/dummy/config/environment.rb
         | 
| 88 | 
            +
            - test/dummy/config/environments/development.rb
         | 
| 89 | 
            +
            - test/dummy/config/environments/production.rb
         | 
| 90 | 
            +
            - test/dummy/config/environments/test.rb
         | 
| 91 | 
            +
            - test/dummy/config/initializers/application_controller_renderer.rb
         | 
| 92 | 
            +
            - test/dummy/config/initializers/assets.rb
         | 
| 93 | 
            +
            - test/dummy/config/initializers/backtrace_silencers.rb
         | 
| 94 | 
            +
            - test/dummy/config/initializers/cookies_serializer.rb
         | 
| 95 | 
            +
            - test/dummy/config/initializers/filter_parameter_logging.rb
         | 
| 96 | 
            +
            - test/dummy/config/initializers/inflections.rb
         | 
| 97 | 
            +
            - test/dummy/config/initializers/mime_types.rb
         | 
| 98 | 
            +
            - test/dummy/config/initializers/new_framework_defaults.rb
         | 
| 99 | 
            +
            - test/dummy/config/initializers/session_store.rb
         | 
| 100 | 
            +
            - test/dummy/config/initializers/wrap_parameters.rb
         | 
| 101 | 
            +
            - test/dummy/config/locales/en.yml
         | 
| 102 | 
            +
            - test/dummy/config/puma.rb
         | 
| 103 | 
            +
            - test/dummy/config/routes.rb
         | 
| 104 | 
            +
            - test/dummy/config/secrets.yml
         | 
| 105 | 
            +
            - test/dummy/config/spring.rb
         | 
| 106 | 
            +
            - test/dummy/db/migrate/20180525090830_create_active_storage_tables.active_storage.rb
         | 
| 107 | 
            +
            - test/dummy/log/development.log
         | 
| 108 | 
            +
            - test/dummy/package.json
         | 
| 109 | 
            +
            - test/dummy/public/404.html
         | 
| 110 | 
            +
            - test/dummy/public/422.html
         | 
| 111 | 
            +
            - test/dummy/public/500.html
         | 
| 112 | 
            +
            - test/dummy/public/apple-touch-icon-precomposed.png
         | 
| 113 | 
            +
            - test/dummy/public/apple-touch-icon.png
         | 
| 114 | 
            +
            - test/dummy/public/favicon.ico
         | 
| 115 | 
            +
            - test/dummy/yarn.lock
         | 
| 116 | 
            +
            - test/integration/navigation_test.rb
         | 
| 117 | 
            +
            - test/test_helper.rb
         | 
| 118 | 
            +
            - test/the_audit_test.rb
         | 
| 119 | 
            +
            homepage: https://github.com/yougexiangfa/rails_audit
         | 
| 120 | 
            +
            licenses:
         | 
| 121 | 
            +
            - MIT
         | 
| 122 | 
            +
            metadata: {}
         | 
| 123 | 
            +
            post_install_message: 
         | 
| 124 | 
            +
            rdoc_options: []
         | 
| 125 | 
            +
            require_paths:
         | 
| 126 | 
            +
            - lib
         | 
| 127 | 
            +
            required_ruby_version: !ruby/object:Gem::Requirement
         | 
| 128 | 
            +
              requirements:
         | 
| 129 | 
            +
              - - ">="
         | 
| 130 | 
            +
                - !ruby/object:Gem::Version
         | 
| 131 | 
            +
                  version: '0'
         | 
| 132 | 
            +
            required_rubygems_version: !ruby/object:Gem::Requirement
         | 
| 133 | 
            +
              requirements:
         | 
| 134 | 
            +
              - - ">="
         | 
| 135 | 
            +
                - !ruby/object:Gem::Version
         | 
| 136 | 
            +
                  version: '0'
         | 
| 137 | 
            +
            requirements: []
         | 
| 138 | 
            +
            rubyforge_project: 
         | 
| 139 | 
            +
            rubygems_version: 2.7.7
         | 
| 140 | 
            +
            signing_key: 
         | 
| 141 | 
            +
            specification_version: 4
         | 
| 142 | 
            +
            summary: Summary of RailsAudit.
         | 
| 143 | 
            +
            test_files:
         | 
| 144 | 
            +
            - test/dummy/app/mailers/application_mailer.rb
         | 
| 145 | 
            +
            - test/dummy/app/models/application_record.rb
         | 
| 146 | 
            +
            - test/dummy/app/models/user.rb
         | 
| 147 | 
            +
            - test/dummy/app/jobs/application_job.rb
         | 
| 148 | 
            +
            - test/dummy/app/controllers/application_controller.rb
         | 
| 149 | 
            +
            - test/dummy/app/controllers/admin/base_controller.rb
         | 
| 150 | 
            +
            - test/dummy/app/controllers/home_controller.rb
         | 
| 151 | 
            +
            - test/dummy/app/controllers/my/base_controller.rb
         | 
| 152 | 
            +
            - test/dummy/app/views/layouts/_navbar.html.erb
         | 
| 153 | 
            +
            - test/dummy/app/views/layouts/application.html.erb
         | 
| 154 | 
            +
            - test/dummy/app/views/layouts/mailer.html.erb
         | 
| 155 | 
            +
            - test/dummy/app/views/layouts/mailer.text.erb
         | 
| 156 | 
            +
            - test/dummy/app/views/layouts/_right_menu.html.erb
         | 
| 157 | 
            +
            - test/dummy/app/assets/config/manifest.js
         | 
| 158 | 
            +
            - test/dummy/app/assets/javascripts/cable.js
         | 
| 159 | 
            +
            - test/dummy/app/assets/javascripts/application.js
         | 
| 160 | 
            +
            - test/dummy/app/assets/stylesheets/application.css
         | 
| 161 | 
            +
            - test/dummy/app/helpers/application_helper.rb
         | 
| 162 | 
            +
            - test/dummy/app/channels/application_cable/connection.rb
         | 
| 163 | 
            +
            - test/dummy/app/channels/application_cable/channel.rb
         | 
| 164 | 
            +
            - test/dummy/bin/update
         | 
| 165 | 
            +
            - test/dummy/bin/rake
         | 
| 166 | 
            +
            - test/dummy/bin/setup
         | 
| 167 | 
            +
            - test/dummy/bin/bundle
         | 
| 168 | 
            +
            - test/dummy/bin/rails
         | 
| 169 | 
            +
            - test/dummy/config/database.yml.mysql
         | 
| 170 | 
            +
            - test/dummy/config/secrets.yml
         | 
| 171 | 
            +
            - test/dummy/config/routes.rb
         | 
| 172 | 
            +
            - test/dummy/config/locales/en.yml
         | 
| 173 | 
            +
            - test/dummy/config/cable.yml
         | 
| 174 | 
            +
            - test/dummy/config/environments/production.rb
         | 
| 175 | 
            +
            - test/dummy/config/environments/development.rb
         | 
| 176 | 
            +
            - test/dummy/config/environments/test.rb
         | 
| 177 | 
            +
            - test/dummy/config/spring.rb
         | 
| 178 | 
            +
            - test/dummy/config/environment.rb
         | 
| 179 | 
            +
            - test/dummy/config/application.rb
         | 
| 180 | 
            +
            - test/dummy/config/puma.rb
         | 
| 181 | 
            +
            - test/dummy/config/database.yml.sqlite3
         | 
| 182 | 
            +
            - test/dummy/config/boot.rb
         | 
| 183 | 
            +
            - test/dummy/config/initializers/application_controller_renderer.rb
         | 
| 184 | 
            +
            - test/dummy/config/initializers/backtrace_silencers.rb
         | 
| 185 | 
            +
            - test/dummy/config/initializers/mime_types.rb
         | 
| 186 | 
            +
            - test/dummy/config/initializers/filter_parameter_logging.rb
         | 
| 187 | 
            +
            - test/dummy/config/initializers/session_store.rb
         | 
| 188 | 
            +
            - test/dummy/config/initializers/wrap_parameters.rb
         | 
| 189 | 
            +
            - test/dummy/config/initializers/new_framework_defaults.rb
         | 
| 190 | 
            +
            - test/dummy/config/initializers/assets.rb
         | 
| 191 | 
            +
            - test/dummy/config/initializers/cookies_serializer.rb
         | 
| 192 | 
            +
            - test/dummy/config/initializers/inflections.rb
         | 
| 193 | 
            +
            - test/dummy/config.ru
         | 
| 194 | 
            +
            - test/dummy/README.md
         | 
| 195 | 
            +
            - test/dummy/Rakefile
         | 
| 196 | 
            +
            - test/dummy/yarn.lock
         | 
| 197 | 
            +
            - test/dummy/public/favicon.ico
         | 
| 198 | 
            +
            - test/dummy/public/422.html
         | 
| 199 | 
            +
            - test/dummy/public/apple-touch-icon.png
         | 
| 200 | 
            +
            - test/dummy/public/500.html
         | 
| 201 | 
            +
            - test/dummy/public/404.html
         | 
| 202 | 
            +
            - test/dummy/public/apple-touch-icon-precomposed.png
         | 
| 203 | 
            +
            - test/dummy/package.json
         | 
| 204 | 
            +
            - test/dummy/db/migrate/20180525090830_create_active_storage_tables.active_storage.rb
         | 
| 205 | 
            +
            - test/dummy/log/development.log
         | 
| 206 | 
            +
            - test/integration/navigation_test.rb
         | 
| 207 | 
            +
            - test/the_audit_test.rb
         | 
| 208 | 
            +
            - test/test_helper.rb
         |