activemodel-errors-tree 0.2.0 → 0.2.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: d2941720b0183db2dfca93adaa79efe11b6a509e83b801b942fb6dd344350e48
4
- data.tar.gz: f74fc3517654ffe0bc5e1caf72fb092fcaf6e95caeecc3b219a7fb861a6977f9
3
+ metadata.gz: babdaf7b363bf59e2de3ede87902a24532581ca24491c7367bb25ca51c6c044d
4
+ data.tar.gz: 7b340b47e7cc115f03569f3a905182ffb90d504e67f54e0d8efbccef6a86e9df
5
5
  SHA512:
6
- metadata.gz: e1921aa30ba322f943f20c7e3d9b951ed44bffcabfa487836ad558b978372030036158acb79a718197f90648f61ad0cbdab33c55d1a9f6556f9dc57089921c1d
7
- data.tar.gz: 0024c57c1e61b77aad3d83a821eaa24a080c75ab06a9c9b6f18b2c008826a5ecc7fbc8dce9fa9cf15120c9e7c5bf187d796d50838bacfde14ba78889f18dda87
6
+ metadata.gz: 7159a2dc84e51a7bd9eee07f1eed65fc5f40ae3688ffd447eb6cfacab5f03114253c126dc3a98110deb7f6cc7f67595e61ad70352380f756f0a489d981fc1b91
7
+ data.tar.gz: 45d46862915b57c4beaedab469d828f8af33197ebf938c73ceab97984e4df133186ecb8325917ef80ac596bccc19f475d04c27f64502bcd42e70af56f0e7b192
@@ -4,7 +4,7 @@ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
4
4
 
5
5
  Gem::Specification.new do |spec|
6
6
  spec.name = "activemodel-errors-tree"
7
- spec.version = "0.2.0" # for some reason Rails applications do not like it defined in activemodel/errors/tree/version
7
+ spec.version = "0.2.1" # for some reason Rails applications do not like it defined in activemodel/errors/tree/version
8
8
  spec.authors = ["Oded Niv"]
9
9
  spec.email = ["oded.niv@gmail.com"]
10
10
 
@@ -41,21 +41,21 @@ module ActiveModel
41
41
  end
42
42
 
43
43
  alias_method :add_without_reset_tree, :add
44
- def add(*args)
44
+ def add(...)
45
45
  @tree = nil
46
- add_without_reset_tree(*args)
46
+ add_without_reset_tree(...)
47
47
  end
48
48
 
49
49
  alias_method :delete_without_reset_tree, :delete
50
- def delete(*args)
50
+ def delete(...)
51
51
  @tree = nil
52
- delete_without_reset_tree(*args)
52
+ delete_without_reset_tree(...)
53
53
  end
54
54
 
55
55
  alias_method :clear_without_reset_tree, :clear
56
- def clear(*args)
56
+ def clear(...)
57
57
  @tree = nil
58
- clear_without_reset_tree(*args)
58
+ clear_without_reset_tree(...)
59
59
  end
60
60
  end
61
61
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: activemodel-errors-tree
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
4
+ version: 0.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Oded Niv
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2024-05-10 00:00:00.000000000 Z
11
+ date: 2024-05-18 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport