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 +4 -4
- data/activemodel-errors-tree.gemspec +1 -1
- data/lib/activemodel/errors/tree.rb +6 -6
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: babdaf7b363bf59e2de3ede87902a24532581ca24491c7367bb25ca51c6c044d
|
4
|
+
data.tar.gz: 7b340b47e7cc115f03569f3a905182ffb90d504e67f54e0d8efbccef6a86e9df
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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.
|
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(
|
44
|
+
def add(...)
|
45
45
|
@tree = nil
|
46
|
-
add_without_reset_tree(
|
46
|
+
add_without_reset_tree(...)
|
47
47
|
end
|
48
48
|
|
49
49
|
alias_method :delete_without_reset_tree, :delete
|
50
|
-
def delete(
|
50
|
+
def delete(...)
|
51
51
|
@tree = nil
|
52
|
-
delete_without_reset_tree(
|
52
|
+
delete_without_reset_tree(...)
|
53
53
|
end
|
54
54
|
|
55
55
|
alias_method :clear_without_reset_tree, :clear
|
56
|
-
def clear(
|
56
|
+
def clear(...)
|
57
57
|
@tree = nil
|
58
|
-
clear_without_reset_tree(
|
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.
|
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-
|
11
|
+
date: 2024-05-18 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activesupport
|