active_record_compose 0.6.0 → 0.6.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.rubocop.yml +6 -0
- data/CHANGELOG.md +5 -0
- data/README.md +1 -1
- data/lib/active_record_compose/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a87013307c9d2f0532ca4365765d94dc1423705c9d7df309af4f0c856d5803a6
|
4
|
+
data.tar.gz: fc650023b00d26306a222800f16949ffdf65c096028e07ccd855bed5b16258f9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 95b6fdee6e5977ab27a7973aeb241a48f9dede2d05aa3685586b549db1f74dc5e4bf8df9e49e66fbe8e1bcf8be3f1dfaca4ff183dc67bd42771d10db64a371be
|
7
|
+
data.tar.gz: 410b89dd9af2e0878aa6646996d2ad48b33297b1b932c1dfb2caf21b284e7a2cb2a2fd7559d55a135984484719b44304086ae280692188a5001d1cd2759e3dcb
|
data/.rubocop.yml
CHANGED
@@ -9,6 +9,9 @@ Style/ArgumentsForwarding:
|
|
9
9
|
Style/CommentedKeyword:
|
10
10
|
Enabled: false
|
11
11
|
|
12
|
+
Style/ClassAndModuleChildren:
|
13
|
+
Enabled: false
|
14
|
+
|
12
15
|
Style/Documentation:
|
13
16
|
Enabled: false
|
14
17
|
|
@@ -51,6 +54,9 @@ Metrics/AbcSize:
|
|
51
54
|
Metrics/BlockLength:
|
52
55
|
Enabled: false
|
53
56
|
|
57
|
+
Metrics/ClassLength:
|
58
|
+
Enabled: false
|
59
|
+
|
54
60
|
Metrics/MethodLength:
|
55
61
|
Enabled: false
|
56
62
|
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,10 @@
|
|
1
1
|
## [Unreleased]
|
2
2
|
|
3
|
+
## [0.6.1] - 2024-12-23
|
4
|
+
|
5
|
+
- refactor: reorganize the overall structure of the test. Change from rspec to minitest
|
6
|
+
- ci: fix CI for rails new version.
|
7
|
+
|
3
8
|
## [0.6.0] - 2024-11-11
|
4
9
|
|
5
10
|
- refactor: limit the scope of methods needed only for internal library purposes.
|
data/README.md
CHANGED
@@ -37,7 +37,7 @@ If the callbacks are written in a class that inherits from `ActiveRecordCompose:
|
|
37
37
|
class AccountRegistration < ActiveRecordCompose::Model
|
38
38
|
def initialize(account = Account.new, attributes = {})
|
39
39
|
@account = account
|
40
|
-
super(attributes)
|
40
|
+
super(attributes) # When overrides `#initialize`, be sure to call `super`.
|
41
41
|
|
42
42
|
# By including AR instance in models, AR instance itself is saved when this model is saved.
|
43
43
|
models.push(account)
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: active_record_compose
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.6.
|
4
|
+
version: 0.6.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- hamajyotan
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-
|
11
|
+
date: 2024-12-22 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activerecord
|
@@ -52,7 +52,7 @@ metadata:
|
|
52
52
|
homepage_uri: https://github.com/hamajyotan/active_record_compose
|
53
53
|
source_code_uri: https://github.com/hamajyotan/active_record_compose
|
54
54
|
changelog_uri: https://github.com/hamajyotan/active_record_compose/blob/main/CHANGELOG.md
|
55
|
-
documentation_uri: https://www.rubydoc.info/gems/active_record_compose/0.6.
|
55
|
+
documentation_uri: https://www.rubydoc.info/gems/active_record_compose/0.6.1
|
56
56
|
rubygems_mfa_required: 'true'
|
57
57
|
post_install_message:
|
58
58
|
rdoc_options: []
|