activerecord_null_object 0.6.0 → 0.8.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/.git-blame-ignore-revs +12 -0
- data/.github/workflows/ruby.yml +1 -1
- data/.ruby-version +1 -1
- data/CHANGELOG.md +10 -2
- data/lib/activerecord_null_object/version.rb +1 -1
- data/lib/activerecord_null_object.rb +3 -1
- metadata +4 -4
- data/VERSION +0 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 2ecd35bf5b621b6b343dda8c7864098c8c70ff34b7f3330f8fdadbb8b79a2fe1
|
|
4
|
+
data.tar.gz: 5582025fed063729b9bf552560feebd5d4079baa8a1b184409888532a076d4da
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: '097267ce8162f55d8fa60f5863301f87457f56e5a3bc19688c41920b63c870f93ff564b7ed15de898bf1aa70b3dd2b40c8e9b332eee1a290e75759f35804a071'
|
|
7
|
+
data.tar.gz: 47a6de8f7a56063751e3f8af8e06c98f0a39c45318da5b3f214e5a1dc1143857ffe93895dd3846dd099827ab4e98965a9bdc68dffd43aa3327e66960228ee296
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
# The commits that did automated reformatting. You can ignore them
|
|
2
|
+
# during git-blame with `--ignore-rev` or `--ignore-revs-file`.
|
|
3
|
+
# You can also globally configure GIT with the following command
|
|
4
|
+
#
|
|
5
|
+
# $ git config --add 'blame.ignoreRevsFile' '.git-blame-ignore-revs'
|
|
6
|
+
#
|
|
7
|
+
# Example entries:
|
|
8
|
+
#
|
|
9
|
+
# <full commit hash> # initial black-format
|
|
10
|
+
# <full commit hash> # rename something internal
|
|
11
|
+
|
|
12
|
+
3d2125a071c028c33bd9f02881c0c75684c8668c # Pretty CHANGELOG.md
|
data/.github/workflows/ruby.yml
CHANGED
data/.ruby-version
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
3.
|
|
1
|
+
3.2.0
|
data/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,13 @@
|
|
|
1
1
|
# Change Log
|
|
2
2
|
|
|
3
|
+
## 0.8.0
|
|
4
|
+
|
|
5
|
+
- [PLAT-1175] Update to Ruby 3.2
|
|
6
|
+
|
|
7
|
+
## 0.7.0
|
|
8
|
+
|
|
9
|
+
- [PLAT-383] Improve boottime by lazy loading extension
|
|
10
|
+
|
|
3
11
|
## 0.6.0
|
|
4
12
|
|
|
5
13
|
- [PLAT-183] Ruby 3.0, Rails 7 and coveralls github action
|
|
@@ -10,5 +18,5 @@
|
|
|
10
18
|
|
|
11
19
|
## 0.4.0
|
|
12
20
|
|
|
13
|
-
|
|
14
|
-
|
|
21
|
+
- Use coverage kit to enforce maximum coverage
|
|
22
|
+
- [TT-6631] Fix present? and blank? checks on Rails6
|
|
@@ -4,4 +4,6 @@ require 'activerecord_null_object/version'
|
|
|
4
4
|
require 'activerecord_null_object/null_object'
|
|
5
5
|
require 'activerecord_null_object/null_object_support'
|
|
6
6
|
|
|
7
|
-
|
|
7
|
+
ActiveSupport.on_load(:active_record) do
|
|
8
|
+
ActiveRecord::Base.send :include, ActiveRecordNullObject::NullObjectSupport
|
|
9
|
+
end
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: activerecord_null_object
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.
|
|
4
|
+
version: 0.8.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Scott Woods
|
|
@@ -9,7 +9,7 @@ authors:
|
|
|
9
9
|
autorequire:
|
|
10
10
|
bindir: bin
|
|
11
11
|
cert_chain: []
|
|
12
|
-
date:
|
|
12
|
+
date: 2023-01-17 00:00:00.000000000 Z
|
|
13
13
|
dependencies:
|
|
14
14
|
- !ruby/object:Gem::Dependency
|
|
15
15
|
name: activesupport
|
|
@@ -156,6 +156,7 @@ executables: []
|
|
|
156
156
|
extensions: []
|
|
157
157
|
extra_rdoc_files: []
|
|
158
158
|
files:
|
|
159
|
+
- ".git-blame-ignore-revs"
|
|
159
160
|
- ".github/dependabot.yml"
|
|
160
161
|
- ".github/workflows/release.yml"
|
|
161
162
|
- ".github/workflows/ruby.yml"
|
|
@@ -166,7 +167,6 @@ files:
|
|
|
166
167
|
- MIT-LICENSE
|
|
167
168
|
- README.md
|
|
168
169
|
- Rakefile
|
|
169
|
-
- VERSION
|
|
170
170
|
- activerecord_null_object.gemspec
|
|
171
171
|
- gemfiles/rails60.gemfile
|
|
172
172
|
- gemfiles/rails61.gemfile
|
|
@@ -201,7 +201,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
201
201
|
- !ruby/object:Gem::Version
|
|
202
202
|
version: '0'
|
|
203
203
|
requirements: []
|
|
204
|
-
rubygems_version: 3.
|
|
204
|
+
rubygems_version: 3.4.1
|
|
205
205
|
signing_key:
|
|
206
206
|
specification_version: 4
|
|
207
207
|
summary: Implements the Null Object Pattern for nil values in ActiveRecord associations.
|
data/VERSION
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
0.2.0
|