activerecord-hashlike_access 0.1.1 → 0.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/Gemfile.lock +2 -2
- data/README.md +9 -1
- data/docs/ActiveRecord/HashlikeAccess.html +810 -0
- data/docs/ActiveRecord.html +122 -0
- data/docs/_index.html +139 -0
- data/docs/class_list.html +54 -0
- data/docs/css/common.css +1 -0
- data/docs/css/full_list.css +206 -0
- data/docs/css/style.css +1089 -0
- data/docs/file.README.html +289 -0
- data/docs/file_list.html +59 -0
- data/docs/frames.html +22 -0
- data/docs/index.html +289 -0
- data/docs/js/app.js +801 -0
- data/docs/js/full_list.js +334 -0
- data/docs/js/jquery.js +4 -0
- data/docs/method_list.html +102 -0
- data/docs/top-level-namespace.html +112 -0
- data/lib/active_record/hashlike_access/auto_extend.rb +6 -0
- data/lib/active_record/hashlike_access/version.rb +1 -1
- metadata +18 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 7c11af72973363a017a98b192a5a8f393538a62848b93b081d50f0750c7a6184
|
|
4
|
+
data.tar.gz: 2eb4ad4660a7a0f8cf39f4b987cce1617004ff916fa45143c7e2b08b4ef39cab
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 8096df46e1ebadcabf6f90ad4af9b3bd5d3baacecfa74e8df99ac4b3a0b0497c48608a07d579ccac72312e3359c98906fb41a93290cd34b4f9260fc6b637ad77
|
|
7
|
+
data.tar.gz: a35b39c1e48eb248a897592d02b0fe06784e5c40b9b88f0f1932e24a8c239c7f14ef828126b6a68c64a3b6d70dcea535ef7db0be26a4c5818679941aa6792876
|
data/Gemfile.lock
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
PATH
|
|
2
2
|
remote: .
|
|
3
3
|
specs:
|
|
4
|
-
activerecord-hashlike_access (0.1.
|
|
4
|
+
activerecord-hashlike_access (0.1.1)
|
|
5
5
|
activerecord (>= 6)
|
|
6
6
|
|
|
7
7
|
GEM
|
|
@@ -145,7 +145,7 @@ DEPENDENCIES
|
|
|
145
145
|
CHECKSUMS
|
|
146
146
|
activemodel (8.1.3.1) sha256=99cc02ce2faec371d14440949d85787ebd23a907c9baef0a9d4bcd4d21888f88
|
|
147
147
|
activerecord (8.1.3.1) sha256=0a2fb6c28f4938f6b013a3a549bec0a7e37d535f3dc8990e804bcc3258c0403b
|
|
148
|
-
activerecord-hashlike_access (0.1.
|
|
148
|
+
activerecord-hashlike_access (0.1.1)
|
|
149
149
|
activesupport (8.1.3.1) sha256=85458765f25ea48b9019c46b6bb3fa5683197bf4280d9f06710a6e8d7a831376
|
|
150
150
|
ast (2.4.3) sha256=954615157c1d6a382bc27d690d973195e79db7f55e9765ac7c481c60bdb4d383
|
|
151
151
|
base64 (0.3.0) sha256=27337aeabad6ffae05c265c450490628ef3ebd4b67be58257393227588f5a97b
|
data/README.md
CHANGED
|
@@ -46,9 +46,17 @@ Importantly, note that **this gem works on the model, not its relations**. Activ
|
|
|
46
46
|
## Installation
|
|
47
47
|
|
|
48
48
|
- If your project uses [Bundler](https://github.com/bundler/bundler):
|
|
49
|
-
- Add the following to your application's Gemfile:
|
|
49
|
+
- Add one of the following to your application's Gemfile:
|
|
50
50
|
```ruby
|
|
51
|
+
# For on-demand usage:
|
|
52
|
+
|
|
51
53
|
gem 'activerecord-hashlike_access'
|
|
54
|
+
|
|
55
|
+
|
|
56
|
+
# To automatically `extend ActiveRecord::HashlikeAccess`
|
|
57
|
+
# into all your (`ActiveRecord::Base`-descended) models:
|
|
58
|
+
|
|
59
|
+
gem 'activerecord-hashlike_access', require: 'active_record/hashlike_access/auto_extend'
|
|
52
60
|
```
|
|
53
61
|
- And then run a:
|
|
54
62
|
```shell
|