activerecord_null_object 0.6.0 → 0.8.0

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: 8e814ba60434b9563a80ed56708733bcce37ac810148403ce512eede9006e0dc
4
- data.tar.gz: 7a79cb743fb799deb9ed2b899357fbbd34c71eeda7468cdd3e00737a1f1c3329
3
+ metadata.gz: 2ecd35bf5b621b6b343dda8c7864098c8c70ff34b7f3330f8fdadbb8b79a2fe1
4
+ data.tar.gz: 5582025fed063729b9bf552560feebd5d4079baa8a1b184409888532a076d4da
5
5
  SHA512:
6
- metadata.gz: 5c3d744c96242745bfd230f952de637728e2e8788407b72a5f95ca08d3fa4bbc1e804fbbc5953bde4cca15f5450e14f1e53499aafe37907e6f353b8c937958fc
7
- data.tar.gz: 95e60bb581a2f19dee479161bcad3a6dda3048986521f31228a2ff344e2808ccde837724b5724362b8d339447b64109499ff1574b6ef3592c622db93d906dbd1
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
@@ -6,7 +6,7 @@ jobs:
6
6
  fail-fast: false
7
7
  matrix:
8
8
  gemfile: [rails60, rails61, rails70]
9
- ruby: ["2.7", "3.0", "3.1"]
9
+ ruby: ["3.0", "3.1", "3.2"]
10
10
  runs-on: ubuntu-latest
11
11
  env:
12
12
  BUNDLE_GEMFILE: gemfiles/${{ matrix.gemfile }}.gemfile
data/.ruby-version CHANGED
@@ -1 +1 @@
1
- 3.1.0
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
- * Use coverage kit to enforce maximum coverage
14
- * [TT-6631] Fix present? and blank? checks on Rails6
21
+ - Use coverage kit to enforce maximum coverage
22
+ - [TT-6631] Fix present? and blank? checks on Rails6
@@ -1,3 +1,3 @@
1
1
  module ActiveRecordNullObject
2
- VERSION = '0.6.0'
2
+ VERSION = '0.8.0'
3
3
  end
@@ -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
- ActiveRecord::Base.send :include, ActiveRecordNullObject::NullObjectSupport
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.6.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: 2022-01-25 00:00:00.000000000 Z
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.3.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