annotated 0.1.2 → 0.1.3

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 322fcfe312ecabf47905840164d0a358f1b55ceb1e501f209dcd4dd005be7f2d
4
- data.tar.gz: b8b68c701826e8675387644ce445afd7dd0b2ad7ee820a9753e54ccbc329cedc
3
+ metadata.gz: 3a73532b20ded790ea5b146164382eab09a8166eb9bfc871c1f64c90ef09f118
4
+ data.tar.gz: 7b2c1c9ee04efd4dfbf1a54b42aab95efcb8073742a933c40e126bdd1a2bd1d0
5
5
  SHA512:
6
- metadata.gz: 4f8a6bc14a6879e94988861ef372efbb839919c35677ab40e13e20f59b2b0f56516de3b189ab651100fa193c6fc1eb07cefa0f53c0c582e3df1ccf71acafa430
7
- data.tar.gz: def9e9b25d63cf4dbbc4a1a50777c5dd30296bf9842e5f91452249d459eeb3603fc1f7134649d77df2f0af5523f317ff653f708fe4b79a9cce452fbc27df2dcf
6
+ metadata.gz: 64ea8a92628eca83fbecb055eac2c7ca27bb4130ab27e9e16ba128d9650e8f09761b3bff7311bfb649dd2e81ad890ca6b47729dfe7d43db5d0a98606f77a063d
7
+ data.tar.gz: 58073db39475ee25dc2bdd907fcd056e42cc8970c7d47e615501c88f92323c25b8a2f8b66df158c80ed0d9981dbefb55597ab806b94fe8c4d3fb891c7972dd7a
@@ -2,12 +2,11 @@
2
2
 
3
3
  module ::ActiveRecord
4
4
  class Base
5
- def self.method_missing(_name, *_args)
6
- # ignore this, so unknown/unloaded macros won't cause parsing to fail
7
- end
8
-
9
- def self.respond_to_missing?(_name, *_args)
10
- true
5
+ # Ignores unknown or unloaded macros so parsing a model doesn't fail.
6
+ # There is deliberately no respond_to_missing?: Rails asks
7
+ # ActiveRecord::Base.respond_to? before defining a scope or enum, and
8
+ # answering true for every name makes it refuse all of them.
9
+ def self.method_missing(_name, *_args) # standard:disable Style/MissingRespondToMissing
11
10
  end
12
11
  end
13
12
  end
@@ -1,5 +1,5 @@
1
1
  module Annotated
2
2
  def self.version
3
- "0.1.2"
3
+ "0.1.3"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: annotated
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.2
4
+ version: 0.1.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Stefan Froelich
@@ -13,7 +13,7 @@ authors:
13
13
  autorequire:
14
14
  bindir: bin
15
15
  cert_chain: []
16
- date: 2026-10-19 00:00:00.000000000 Z
16
+ date: 2026-10-22 00:00:00.000000000 Z
17
17
  dependencies:
18
18
  - !ruby/object:Gem::Dependency
19
19
  name: activerecord