operator_recordable 0.4.0 → 1.2.0
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 +4 -4
- data/.github/workflows/ruby.yml +85 -0
- data/.gitignore +1 -0
- data/.rubocop.yml +6 -4
- data/Appraisals +43 -0
- data/CHANGELOG.md +59 -2
- data/Gemfile +0 -4
- data/README.md +5 -5
- data/gemfiles/activerecord_5.2.gemfile +2 -2
- data/gemfiles/activerecord_5.2_with_request_store.gemfile +2 -2
- data/gemfiles/activerecord_6.0.gemfile +2 -2
- data/gemfiles/activerecord_6.0_with_request_store.gemfile +2 -2
- data/gemfiles/activerecord_6.1.gemfile +8 -0
- data/gemfiles/activerecord_6.1_with_request_store.gemfile +9 -0
- data/gemfiles/activerecord_7.0.gemfile +8 -0
- data/gemfiles/activerecord_7.0_with_request_store.gemfile +9 -0
- data/lib/operator_recordable/recorder.rb +4 -2
- data/lib/operator_recordable/version.rb +1 -1
- data/operator_recordable.gemspec +15 -4
- metadata +36 -17
- data/.travis.yml +0 -26
- data/gemfiles/activerecord_5.0.gemfile +0 -8
- data/gemfiles/activerecord_5.0_with_request_store.gemfile +0 -9
- data/gemfiles/activerecord_5.1.gemfile +0 -7
- data/gemfiles/activerecord_5.1_with_request_store.gemfile +0 -8
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ab283fd134cf058f9e80fd77978564891460512b16d25dcad77f36ce07675b6c
|
4
|
+
data.tar.gz: fbfd74ee91030399f4637ab535ce38b7163b377a69cc9797b5261a211ee96b93
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d8777d0962188046f0cc556f1a9d399117d6a695b6f5b6e46d96b1cad036dd8de274cc6da2421788046e6dbe7fc5fde56169e75162767f77b3f513b75b1f8e58
|
7
|
+
data.tar.gz: 052113312da2cacdd349e15c47b2c993baeb05c4b7f40f1b06f5cf83e8864015594dd54bffe75dea1946c18a5e4dd3d780f1695b0fe15809a40f60dd5fddb920
|
@@ -0,0 +1,85 @@
|
|
1
|
+
# This workflow uses actions that are not certified by GitHub.
|
2
|
+
# They are provided by a third-party and are governed by
|
3
|
+
# separate terms of service, privacy policy, and support
|
4
|
+
# documentation.
|
5
|
+
# This workflow will download a prebuilt Ruby version, install dependencies and run tests with Rake
|
6
|
+
# For more information see: https://github.com/marketplace/actions/setup-ruby-jruby-and-truffleruby
|
7
|
+
|
8
|
+
name: Build
|
9
|
+
|
10
|
+
on: [push, pull_request]
|
11
|
+
|
12
|
+
jobs:
|
13
|
+
test:
|
14
|
+
runs-on: ubuntu-latest
|
15
|
+
strategy:
|
16
|
+
matrix:
|
17
|
+
ruby: ['2.5', '2.6', '2.7', '3.0', '3.1']
|
18
|
+
activerecord: ['5.2', '6.0', '6.1', '7.0']
|
19
|
+
plugin: ['', '_with_request_store']
|
20
|
+
experimental: [false]
|
21
|
+
exclude:
|
22
|
+
- ruby: '2.5'
|
23
|
+
activerecord: '7.0'
|
24
|
+
plugin: ''
|
25
|
+
experimental: false
|
26
|
+
- ruby: '2.5'
|
27
|
+
activerecord: '7.0'
|
28
|
+
plugin: '_with_request_store'
|
29
|
+
experimental: false
|
30
|
+
- ruby: '2.6'
|
31
|
+
activerecord: '7.0'
|
32
|
+
plugin: ''
|
33
|
+
experimental: false
|
34
|
+
- ruby: '2.6'
|
35
|
+
activerecord: '7.0'
|
36
|
+
plugin: '_with_request_store'
|
37
|
+
experimental: false
|
38
|
+
- ruby: '2.7'
|
39
|
+
activerecord: '5.2'
|
40
|
+
plugin: ''
|
41
|
+
experimental: false
|
42
|
+
- ruby: '2.7'
|
43
|
+
activerecord: '5.2'
|
44
|
+
plugin: '_with_request_store'
|
45
|
+
experimental: false
|
46
|
+
- ruby: '3.0'
|
47
|
+
activerecord: '5.2'
|
48
|
+
plugin: ''
|
49
|
+
experimental: false
|
50
|
+
- ruby: '3.0'
|
51
|
+
activerecord: '5.2'
|
52
|
+
plugin: '_with_request_store'
|
53
|
+
experimental: false
|
54
|
+
- ruby: '3.1'
|
55
|
+
activerecord: '5.2'
|
56
|
+
plugin: ''
|
57
|
+
experimental: false
|
58
|
+
- ruby: '3.1'
|
59
|
+
activerecord: '5.2'
|
60
|
+
plugin: '_with_request_store'
|
61
|
+
experimental: false
|
62
|
+
include:
|
63
|
+
- ruby: '2.7'
|
64
|
+
activerecord: '5.2'
|
65
|
+
plugin: ''
|
66
|
+
experimental: true
|
67
|
+
- ruby: '2.7'
|
68
|
+
activerecord: '5.2'
|
69
|
+
plugin: '_with_request_store'
|
70
|
+
experimental: true
|
71
|
+
continue-on-error: ${{ matrix.experimental }}
|
72
|
+
env:
|
73
|
+
APPRAISAL: activerecord_${{ matrix.activerecord }}${{ matrix.plugin }}
|
74
|
+
steps:
|
75
|
+
- uses: actions/checkout@v2
|
76
|
+
- name: Set up Ruby
|
77
|
+
uses: ruby/setup-ruby@v1
|
78
|
+
with:
|
79
|
+
ruby-version: ${{ matrix.ruby }}
|
80
|
+
- name: Install dependencies
|
81
|
+
run: |
|
82
|
+
bundle install
|
83
|
+
bundle exec appraisal $APPRAISAL bundle install
|
84
|
+
- name: Run tests
|
85
|
+
run: bundle exec appraisal $APPRAISAL rake
|
data/.gitignore
CHANGED
data/.rubocop.yml
CHANGED
@@ -1,5 +1,7 @@
|
|
1
1
|
AllCops:
|
2
|
-
|
2
|
+
Exclude:
|
3
|
+
- gemfiles/**/*
|
4
|
+
TargetRubyVersion: 2.5
|
3
5
|
|
4
6
|
Style/AsciiComments:
|
5
7
|
Enabled: false
|
@@ -18,6 +20,9 @@ Layout/EndOfLine:
|
|
18
20
|
Enabled: true
|
19
21
|
EnforcedStyle: lf
|
20
22
|
|
23
|
+
Layout/LineLength:
|
24
|
+
Max: 128
|
25
|
+
|
21
26
|
Metrics/BlockLength:
|
22
27
|
Exclude:
|
23
28
|
- spec/**/*
|
@@ -25,6 +30,3 @@ Metrics/BlockLength:
|
|
25
30
|
Metrics/MethodLength:
|
26
31
|
Exclude:
|
27
32
|
- spec/**/*
|
28
|
-
|
29
|
-
Metrics/LineLength:
|
30
|
-
Max: 128
|
data/Appraisals
ADDED
@@ -0,0 +1,43 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
appraise "activerecord_5.2" do
|
4
|
+
gem "activerecord", "~> 5.2.0"
|
5
|
+
end
|
6
|
+
|
7
|
+
appraise "activerecord_5.2_with_request_store" do
|
8
|
+
gem "activerecord", "~> 5.2.0"
|
9
|
+
gem "request_store"
|
10
|
+
end
|
11
|
+
|
12
|
+
appraise "activerecord_6.0" do
|
13
|
+
gem "activerecord", "~> 6.0.0"
|
14
|
+
gem "sqlite3", "~> 1.4"
|
15
|
+
end
|
16
|
+
|
17
|
+
appraise "activerecord_6.0_with_request_store" do
|
18
|
+
gem "activerecord", "~> 6.0.0"
|
19
|
+
gem "request_store"
|
20
|
+
gem "sqlite3", "~> 1.4"
|
21
|
+
end
|
22
|
+
|
23
|
+
appraise "activerecord_6.1" do
|
24
|
+
gem "activerecord", "~> 6.1.0"
|
25
|
+
gem "sqlite3", "~> 1.4"
|
26
|
+
end
|
27
|
+
|
28
|
+
appraise "activerecord_6.1_with_request_store" do
|
29
|
+
gem "activerecord", "~> 6.1.0"
|
30
|
+
gem "request_store"
|
31
|
+
gem "sqlite3", "~> 1.4"
|
32
|
+
end
|
33
|
+
|
34
|
+
appraise "activerecord_7.0" do
|
35
|
+
gem "activerecord", "~> 7.0.1"
|
36
|
+
gem "sqlite3", "~> 1.4"
|
37
|
+
end
|
38
|
+
|
39
|
+
appraise "activerecord_7.0_with_request_store" do
|
40
|
+
gem "activerecord", "~> 7.0.1"
|
41
|
+
gem "request_store"
|
42
|
+
gem "sqlite3", "~> 1.4"
|
43
|
+
end
|
data/CHANGELOG.md
CHANGED
@@ -1,15 +1,67 @@
|
|
1
1
|
## Unreleased
|
2
2
|
|
3
3
|
|
4
|
+
## 1.2.0 (2022-04-26)
|
5
|
+
|
6
|
+
### Changes
|
7
|
+
|
8
|
+
* Make associations optional
|
9
|
+
+ [PR#28](https://github.com/yujideveloper/operator_recordable/pull/25)
|
10
|
+
|
11
|
+
### Misc
|
12
|
+
|
13
|
+
* CI against for Rails 7.0 running on Ruby 3.1
|
14
|
+
+ [PR#26](https://github.com/yujideveloper/operator_recordable/pull/26)
|
15
|
+
* Call `super` in `OperatorRecordable::Recorder#initialize`
|
16
|
+
+ [PR#30](https://github.com/yujideveloper/operator_recordable/pull/30)
|
17
|
+
|
18
|
+
|
19
|
+
## 1.1.0 (2022-01-07)
|
20
|
+
|
21
|
+
### Changes
|
22
|
+
|
23
|
+
* Add gem metadata
|
24
|
+
+ [PR#24](https://github.com/yujideveloper/operator_recordable/pull/24)
|
25
|
+
* Drop Ruby 2.4 support
|
26
|
+
+ [PR#25](https://github.com/yujideveloper/operator_recordable/pull/25)
|
27
|
+
* Drop ActiveRecord 5.0 and 5.1 support
|
28
|
+
+ [PR#25](https://github.com/yujideveloper/operator_recordable/pull/25)
|
29
|
+
|
30
|
+
### Misc
|
31
|
+
|
32
|
+
* Introduce Appraisal
|
33
|
+
+ [PR#19](https://github.com/yujideveloper/operator_recordable/pull/19)
|
34
|
+
* CI against for ActiveRecord 6.1 and 7.0
|
35
|
+
+ [PR#19](https://github.com/yujideveloper/operator_recordable/pull/19)
|
36
|
+
+ [PR#22](https://github.com/yujideveloper/operator_recordable/pull/22)
|
37
|
+
* Use GitHub Actions and stop using Travis CI
|
38
|
+
+ [PR#20](https://github.com/yujideveloper/operator_recordable/pull/20)
|
39
|
+
* CI against for Ruby 3.0 and 3.1
|
40
|
+
+ [PR#23](https://github.com/yujideveloper/operator_recordable/pull/23)
|
41
|
+
+ [PR#25](https://github.com/yujideveloper/operator_recordable/pull/25)
|
42
|
+
* Require MFA to release gem
|
43
|
+
+ [PR#24](https://github.com/yujideveloper/operator_recordable/pull/24)
|
44
|
+
|
45
|
+
|
46
|
+
## 1.0.0 (2020-10-16)
|
47
|
+
|
48
|
+
### Changes
|
49
|
+
|
50
|
+
* Support Ruby 2.7
|
51
|
+
+ [PR#14](https://github.com/yujideveloper/operator_recordable/pull/14)
|
52
|
+
|
53
|
+
|
4
54
|
## 0.4.0 (2019-08-22)
|
5
55
|
|
6
|
-
###
|
56
|
+
### Changes
|
7
57
|
|
8
58
|
* Support ActiveRecord 6.0.0
|
59
|
+
+ [PR#13](https://github.com/yujideveloper/operator_recordable/pull/13)
|
9
60
|
|
10
61
|
### Misc
|
11
62
|
|
12
63
|
* Improve rspec and CI
|
64
|
+
+ [PR#11](https://github.com/yujideveloper/operator_recordable/pull/11)
|
13
65
|
|
14
66
|
|
15
67
|
## 0.3.0 (2018-10-05)
|
@@ -17,18 +69,22 @@
|
|
17
69
|
### Breaking changes
|
18
70
|
|
19
71
|
* Change mixin module from `OperatorRecordable` to `OperatorRecordable::Extension`
|
72
|
+
+ [PR#5](https://github.com/yujideveloper/operator_recordable/pull/5)
|
20
73
|
|
21
74
|
|
22
75
|
## 0.2.0 (2018-09-27)
|
23
76
|
|
24
|
-
###
|
77
|
+
### Changes
|
25
78
|
|
26
79
|
* Add association name options
|
80
|
+
+ [PR#2](https://github.com/yujideveloper/operator_recordable/pull/2)
|
27
81
|
* Modify not to define unnecessary class methods for ActiveRecord model
|
82
|
+
+ [PR#3](https://github.com/yujideveloper/operator_recordable/pull/3)
|
28
83
|
|
29
84
|
### Misc
|
30
85
|
|
31
86
|
* Remove unecessary `require`
|
87
|
+
+ [PR#4](https://github.com/yujideveloper/operator_recordable/pull/4)
|
32
88
|
|
33
89
|
|
34
90
|
## 0.1.1 (2018-09-19)
|
@@ -36,6 +92,7 @@
|
|
36
92
|
### Misc
|
37
93
|
|
38
94
|
* Refactor internal structures
|
95
|
+
+ [PR#1](https://github.com/yujideveloper/operator_recordable/pull/1)
|
39
96
|
|
40
97
|
|
41
98
|
## 0.1.0 (2018-09-14)
|
data/Gemfile
CHANGED
@@ -6,7 +6,3 @@ git_source(:github) { |repo_name| "https://github.com/#{repo_name}" }
|
|
6
6
|
|
7
7
|
# Specify your gem's dependencies in operator_recordable.gemspec
|
8
8
|
gemspec
|
9
|
-
|
10
|
-
gem "activerecord", ENV.fetch("AR_VERSION", "~> 6.0.0")
|
11
|
-
gem "request_store" unless ENV["WITHOUT_REQUEST_STORE"]
|
12
|
-
gem "sqlite3", ENV.fetch("SQLITE3_VERSION", ">= 1.4.0")
|
data/README.md
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
# OperatorRecordable
|
2
2
|
|
3
3
|
[](https://badge.fury.io/rb/operator_recordable)
|
4
|
-
[](https://github.com/yujideveloper/operator_recordable/actions?query=workflow%3ABuild)
|
5
5
|
[](https://codeclimate.com/github/yujideveloper/operator_recordable/maintainability)
|
6
6
|
|
7
7
|
OperatorRecordable is a Rails plugin gem that makes your ActiveRecord models to be saved or logically deleted with automatically set `created_by`, `updated_by`, and `deleted_by`.
|
@@ -19,7 +19,7 @@ gem 'operator_recordable'
|
|
19
19
|
|
20
20
|
And then execute:
|
21
21
|
|
22
|
-
$ bundle
|
22
|
+
$ bundle install
|
23
23
|
|
24
24
|
Or install it yourself as:
|
25
25
|
|
@@ -58,7 +58,7 @@ OperatorRecordable.config = {
|
|
58
58
|
| `creator_association_name` | String | association name of creator. | `"creator"` |
|
59
59
|
| `updater_association_name` | String | association name of updater. | `"updater"` |
|
60
60
|
| `deleter_association_name` | String | association name of deleter. | `"deleter"` |
|
61
|
-
| `operator_association_options` | Hash | options of operator associations. e.g. `{
|
61
|
+
| `operator_association_options` | Hash | options of operator associations. e.g. `{ touch: true }` | `{}` |
|
62
62
|
| `operator_association_scope` | Proc | The scope of operator associations. e.g. `-> { with_deleted }` | `nil` |
|
63
63
|
| `store` | Enum | operator store. any value of `:thread_store`, `:request_store` or `:current_attributes_store` | `:thread_store` |
|
64
64
|
|
@@ -99,7 +99,7 @@ This is default store.
|
|
99
99
|
This store is implemented by using [RequestStore gem](https://github.com/steveklabnik/request_store).
|
100
100
|
So, this requires RequestStore gem.
|
101
101
|
|
102
|
-
RequestStore must be
|
102
|
+
RequestStore must be loaded before OperatorRecordable.
|
103
103
|
|
104
104
|
``` ruby
|
105
105
|
gem "request_store"
|
@@ -112,7 +112,7 @@ require "request_store"
|
|
112
112
|
require "operator_recordable"
|
113
113
|
```
|
114
114
|
|
115
|
-
Otherwise, you need to
|
115
|
+
Otherwise, you need to load it yourself.
|
116
116
|
``` ruby
|
117
117
|
require "operator_recordable/store/request_store"
|
118
118
|
```
|
@@ -5,6 +5,7 @@ require "operator_recordable/configuration"
|
|
5
5
|
module OperatorRecordable
|
6
6
|
class Recorder < ::Module
|
7
7
|
def initialize(config)
|
8
|
+
super()
|
8
9
|
define_activate_method(config)
|
9
10
|
end
|
10
11
|
|
@@ -51,8 +52,9 @@ module OperatorRecordable
|
|
51
52
|
def run_add_association_dsl(type, klass, config)
|
52
53
|
klass.belongs_to config.association_name_for(type).to_sym,
|
53
54
|
config.operator_association_scope,
|
54
|
-
{ foreign_key: config.column_name_for(type),
|
55
|
-
|
55
|
+
**{ foreign_key: config.column_name_for(type),
|
56
|
+
class_name: config.operator_class_name,
|
57
|
+
optional: true }.merge(config.operator_association_options)
|
56
58
|
end
|
57
59
|
|
58
60
|
def define_creator_instance_methods(klass, config)
|
data/operator_recordable.gemspec
CHANGED
@@ -24,20 +24,31 @@ Gem::Specification.new do |spec| # rubocop:disable Metrics/BlockLength
|
|
24
24
|
spec.homepage = "https://github.com/yujideveloper/operator_recordable"
|
25
25
|
spec.license = "MIT"
|
26
26
|
|
27
|
+
spec.metadata["allowed_push_host"] = "https://rubygems.org"
|
28
|
+
|
29
|
+
spec.metadata["homepage_uri"] = spec.homepage
|
30
|
+
spec.metadata["source_code_uri"] = spec.homepage
|
31
|
+
spec.metadata["changelog_uri"] = "https://github.com/yujideveloper/operator_recordable/tree/master/CHANGELOG.md"
|
32
|
+
|
33
|
+
spec.metadata["rubygems_mfa_required"] = "true"
|
34
|
+
|
27
35
|
# Specify which files should be added to the gem when it is released.
|
28
36
|
# The `git ls-files -z` loads the files in the RubyGem that have been added into git.
|
29
|
-
spec.files
|
37
|
+
spec.files = Dir.chdir(__dir__) do
|
30
38
|
`git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
|
31
39
|
end
|
32
40
|
spec.bindir = "exe"
|
33
41
|
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
|
34
42
|
spec.require_paths = ["lib"]
|
35
43
|
|
36
|
-
spec.
|
44
|
+
spec.required_ruby_version = ">= 2.5"
|
45
|
+
|
46
|
+
spec.add_dependency "activerecord", ">= 5.2"
|
47
|
+
spec.add_development_dependency "appraisal", ">= 2.3.0"
|
37
48
|
spec.add_development_dependency "bundler", ">= 1.16"
|
38
49
|
spec.add_development_dependency "pry", ">= 0.10.0"
|
39
|
-
spec.add_development_dependency "rake", "
|
50
|
+
spec.add_development_dependency "rake", ">= 10.0"
|
40
51
|
spec.add_development_dependency "rspec", "~> 3.7"
|
41
|
-
spec.add_development_dependency "rubocop", ">= 0.
|
52
|
+
spec.add_development_dependency "rubocop", ">= 0.78.0"
|
42
53
|
spec.add_development_dependency "sqlite3", ">= 1.3.13"
|
43
54
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: operator_recordable
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version:
|
4
|
+
version: 1.2.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Yuji Hanamura
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2022-04-26 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activerecord
|
@@ -16,14 +16,28 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - ">="
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: '5.
|
19
|
+
version: '5.2'
|
20
20
|
type: :runtime
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
24
|
- - ">="
|
25
25
|
- !ruby/object:Gem::Version
|
26
|
-
version: '5.
|
26
|
+
version: '5.2'
|
27
|
+
- !ruby/object:Gem::Dependency
|
28
|
+
name: appraisal
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
30
|
+
requirements:
|
31
|
+
- - ">="
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: 2.3.0
|
34
|
+
type: :development
|
35
|
+
prerelease: false
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
37
|
+
requirements:
|
38
|
+
- - ">="
|
39
|
+
- !ruby/object:Gem::Version
|
40
|
+
version: 2.3.0
|
27
41
|
- !ruby/object:Gem::Dependency
|
28
42
|
name: bundler
|
29
43
|
requirement: !ruby/object:Gem::Requirement
|
@@ -56,14 +70,14 @@ dependencies:
|
|
56
70
|
name: rake
|
57
71
|
requirement: !ruby/object:Gem::Requirement
|
58
72
|
requirements:
|
59
|
-
- - "
|
73
|
+
- - ">="
|
60
74
|
- !ruby/object:Gem::Version
|
61
75
|
version: '10.0'
|
62
76
|
type: :development
|
63
77
|
prerelease: false
|
64
78
|
version_requirements: !ruby/object:Gem::Requirement
|
65
79
|
requirements:
|
66
|
-
- - "
|
80
|
+
- - ">="
|
67
81
|
- !ruby/object:Gem::Version
|
68
82
|
version: '10.0'
|
69
83
|
- !ruby/object:Gem::Dependency
|
@@ -86,14 +100,14 @@ dependencies:
|
|
86
100
|
requirements:
|
87
101
|
- - ">="
|
88
102
|
- !ruby/object:Gem::Version
|
89
|
-
version: 0.
|
103
|
+
version: 0.78.0
|
90
104
|
type: :development
|
91
105
|
prerelease: false
|
92
106
|
version_requirements: !ruby/object:Gem::Requirement
|
93
107
|
requirements:
|
94
108
|
- - ">="
|
95
109
|
- !ruby/object:Gem::Version
|
96
|
-
version: 0.
|
110
|
+
version: 0.78.0
|
97
111
|
- !ruby/object:Gem::Dependency
|
98
112
|
name: sqlite3
|
99
113
|
requirement: !ruby/object:Gem::Requirement
|
@@ -118,10 +132,11 @@ executables: []
|
|
118
132
|
extensions: []
|
119
133
|
extra_rdoc_files: []
|
120
134
|
files:
|
135
|
+
- ".github/workflows/ruby.yml"
|
121
136
|
- ".gitignore"
|
122
137
|
- ".rspec"
|
123
138
|
- ".rubocop.yml"
|
124
|
-
-
|
139
|
+
- Appraisals
|
125
140
|
- CHANGELOG.md
|
126
141
|
- Gemfile
|
127
142
|
- LICENSE.txt
|
@@ -129,14 +144,14 @@ files:
|
|
129
144
|
- Rakefile
|
130
145
|
- bin/console
|
131
146
|
- bin/setup
|
132
|
-
- gemfiles/activerecord_5.0.gemfile
|
133
|
-
- gemfiles/activerecord_5.0_with_request_store.gemfile
|
134
|
-
- gemfiles/activerecord_5.1.gemfile
|
135
|
-
- gemfiles/activerecord_5.1_with_request_store.gemfile
|
136
147
|
- gemfiles/activerecord_5.2.gemfile
|
137
148
|
- gemfiles/activerecord_5.2_with_request_store.gemfile
|
138
149
|
- gemfiles/activerecord_6.0.gemfile
|
139
150
|
- gemfiles/activerecord_6.0_with_request_store.gemfile
|
151
|
+
- gemfiles/activerecord_6.1.gemfile
|
152
|
+
- gemfiles/activerecord_6.1_with_request_store.gemfile
|
153
|
+
- gemfiles/activerecord_7.0.gemfile
|
154
|
+
- gemfiles/activerecord_7.0_with_request_store.gemfile
|
140
155
|
- lib/operator_recordable.rb
|
141
156
|
- lib/operator_recordable/configuration.rb
|
142
157
|
- lib/operator_recordable/extension.rb
|
@@ -150,7 +165,12 @@ files:
|
|
150
165
|
homepage: https://github.com/yujideveloper/operator_recordable
|
151
166
|
licenses:
|
152
167
|
- MIT
|
153
|
-
metadata:
|
168
|
+
metadata:
|
169
|
+
allowed_push_host: https://rubygems.org
|
170
|
+
homepage_uri: https://github.com/yujideveloper/operator_recordable
|
171
|
+
source_code_uri: https://github.com/yujideveloper/operator_recordable
|
172
|
+
changelog_uri: https://github.com/yujideveloper/operator_recordable/tree/master/CHANGELOG.md
|
173
|
+
rubygems_mfa_required: 'true'
|
154
174
|
post_install_message:
|
155
175
|
rdoc_options: []
|
156
176
|
require_paths:
|
@@ -159,15 +179,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
159
179
|
requirements:
|
160
180
|
- - ">="
|
161
181
|
- !ruby/object:Gem::Version
|
162
|
-
version: '
|
182
|
+
version: '2.5'
|
163
183
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
164
184
|
requirements:
|
165
185
|
- - ">="
|
166
186
|
- !ruby/object:Gem::Version
|
167
187
|
version: '0'
|
168
188
|
requirements: []
|
169
|
-
|
170
|
-
rubygems_version: 2.7.6
|
189
|
+
rubygems_version: 3.1.6
|
171
190
|
signing_key:
|
172
191
|
specification_version: 4
|
173
192
|
summary: OperatorRecordable is a Rails plugin to set created_by, updated_by, and deleted_by
|
data/.travis.yml
DELETED
@@ -1,26 +0,0 @@
|
|
1
|
-
---
|
2
|
-
sudo: false
|
3
|
-
language: ruby
|
4
|
-
cache: bundler
|
5
|
-
rvm:
|
6
|
-
- 2.4.6
|
7
|
-
- 2.5.5
|
8
|
-
- 2.6.3
|
9
|
-
- 2.7.0-preview1
|
10
|
-
gemfile:
|
11
|
-
- gemfiles/activerecord_5.0.gemfile
|
12
|
-
- gemfiles/activerecord_5.0_with_request_store.gemfile
|
13
|
-
- gemfiles/activerecord_5.1.gemfile
|
14
|
-
- gemfiles/activerecord_5.1_with_request_store.gemfile
|
15
|
-
- gemfiles/activerecord_5.2.gemfile
|
16
|
-
- gemfiles/activerecord_5.2_with_request_store.gemfile
|
17
|
-
- gemfiles/activerecord_6.0.gemfile
|
18
|
-
- gemfiles/activerecord_6.0_with_request_store.gemfile
|
19
|
-
matrix:
|
20
|
-
exclude:
|
21
|
-
- rvm: 2.4.6
|
22
|
-
gemfile: gemfiles/activerecord_6.0.gemfile
|
23
|
-
- rvm: 2.4.6
|
24
|
-
gemfile: gemfiles/activerecord_6.0_with_request_store.gemfile
|
25
|
-
allow_failures:
|
26
|
-
rvm: 2.7.0-preview1
|