logga 4.0.2 → 5.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (5) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +3 -3
  3. data/Rakefile +1 -0
  4. data/VERSION +1 -2
  5. metadata +4 -4
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 5075dc703ff0a06e13b0ca7893c668bc7da0a60bc24032697ec8175d25ba6ce3
4
- data.tar.gz: 6a5242a25eaa02ce127a6af099b58e708fe020b0dc17f2ffa3e603644e69b645
3
+ metadata.gz: d75ebd3e7aaf71d362a3434cfdf18c443f9a9e2211f493f9263f1297c73f1bca
4
+ data.tar.gz: 59c3bcfba124a2cff37290d364527bcedd26c9c2ddc9fcd290bdd7b3323f4181
5
5
  SHA512:
6
- metadata.gz: '032693244e4731bf72f85c44a864da4b7b3c7ae8486fd05528ec499dc2768c41343d0e507864bd8807162e96ddad396cbc387228169357910dbc9ceaeb0d3912'
7
- data.tar.gz: af16e0fafb5da9d8c2c7c9b88d2e4fec44d8e0508ba101f83a6d94ee7e0b3fadf8bff5624531b7ff6e5c2ac95effb831c396f80e1c78f31673bc4c9b0e28e871
6
+ metadata.gz: 638afbac5bd2330208069a0f4c725090fb88cb7e3785f64e1cf6a1d6c4255c5e7f39a7b92fc7481061e135a0e8765129ec4b12e06a48148e421b5f3cf62e6bc3
7
+ data.tar.gz: 6d07832218be126bb2328b72d0d2aba1b2640b46d830cf6a087e3b45fd1221d5947869ad892b2db33aff4f024304f94fe79811e4288aaa9a1449ca6084d1470e
data/README.md CHANGED
@@ -7,7 +7,7 @@ Provides attribute logging functionality to ActiveRecord objects.
7
7
 
8
8
  ## Requirements
9
9
 
10
- * Ruby 2.7 or above
10
+ - Ruby >= 3.0
11
11
 
12
12
  ## Installation
13
13
 
@@ -36,10 +36,10 @@ Add the following to your model:
36
36
  ```ruby
37
37
  class Thing < ApplicationRecord
38
38
  # Optional author accessor. See #author
39
- attr_accessor :author
39
+ attr_accessor :author
40
40
 
41
41
  # Association to :log_entries, which the loggable object must response to for logging.
42
- has_many :log_entries, as: :loggable, dependent: :destroy
42
+ has_many :log_entries, as: :loggable, dependent: :destroy
43
43
 
44
44
  add_log_entries_for(
45
45
  :create, # Log on object create
data/Rakefile CHANGED
@@ -8,4 +8,5 @@ RSpec::Core::RakeTask.new(:spec) do |t|
8
8
  t.pattern = Dir.glob("spec/**/*_spec.rb")
9
9
  end
10
10
 
11
+ desc "Map rake test to rake spec"
11
12
  task test: :spec
data/VERSION CHANGED
@@ -1,2 +1 @@
1
- 4.0.2
2
-
1
+ 5.0.0
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: logga
3
3
  version: !ruby/object:Gem::Version
4
- version: 4.0.2
4
+ version: 5.0.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Boxt
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-08-22 00:00:00.000000000 Z
11
+ date: 2024-01-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activerecord
@@ -78,14 +78,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
78
78
  requirements:
79
79
  - - ">="
80
80
  - !ruby/object:Gem::Version
81
- version: '2.7'
81
+ version: '3.0'
82
82
  required_rubygems_version: !ruby/object:Gem::Requirement
83
83
  requirements:
84
84
  - - ">="
85
85
  - !ruby/object:Gem::Version
86
86
  version: '0'
87
87
  requirements: []
88
- rubygems_version: 3.3.7
88
+ rubygems_version: 3.5.3
89
89
  signing_key:
90
90
  specification_version: 4
91
91
  summary: ActiveRecord log entries on model changes