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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 701c396babd7d30d3e13779c5237bd1fbaf2fb719a75439154d17a167dc645dc
4
- data.tar.gz: 72cf835561b903fc913e9feadff380f8ca986f621320b1fdd1ebd7dc341539cb
3
+ metadata.gz: a87013307c9d2f0532ca4365765d94dc1423705c9d7df309af4f0c856d5803a6
4
+ data.tar.gz: fc650023b00d26306a222800f16949ffdf65c096028e07ccd855bed5b16258f9
5
5
  SHA512:
6
- metadata.gz: fddabb884fb62e215cc5a67abe823b563cf5be201f2e05b8057871e2c188025e04d46b5953b84f23e7cdc064840291882cb3f77a93efb221bed3b0c99a6dfe71
7
- data.tar.gz: 7b550abe98e5391de53a9b017b8ae214270844f8d6536dadb012587c1d553e4e01cab99f480ec59ae01eaf3d0b742c612ea676546cc7ce82ea945d0e99e0168d
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)
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module ActiveRecordCompose
4
- VERSION = '0.6.0'
4
+ VERSION = '0.6.1'
5
5
  end
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.0
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-11 00:00:00.000000000 Z
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.0
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: []