errors_full_details 0.0.3 → 0.0.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/README.md +2 -2
- data/lib/errors_full_details/version.rb +1 -1
- metadata +3 -10
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: 9b5cefd678b611092060608ca78132d5427e7aed6a5352ae0dfa37e97900877b
|
4
|
+
data.tar.gz: 213e5e546f4e07e77da669bce4a19444f890b615139e333332a7dbaec08046f8
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e4edf923ce49c79cd4e55d1515cec2986dee1e7a66337ff4edad77fa2f336c760fd20ba5f480e5860c969833d7502268d96095ea5fd4ac6f6bfa38f010bc47d1
|
7
|
+
data.tar.gz: d1076fff2582f1d13b2941995c94615ad66936d15766961c72c5692b0f30903ba25d6affdd83ed6612cdd61d2ddf020c09830decc4b230e128f41b04a316c81b
|
data/README.md
CHANGED
@@ -40,7 +40,7 @@ Call `object.errors.full_details` to generate an array of error messages and cod
|
|
40
40
|
},
|
41
41
|
{
|
42
42
|
message: "This error has a default code",
|
43
|
-
code: "
|
43
|
+
code: "0"
|
44
44
|
}
|
45
45
|
]
|
46
46
|
```
|
@@ -51,7 +51,7 @@ Errors added without an error code will return `'0'` as a default error code.
|
|
51
51
|
Add this line to your application's Gemfile:
|
52
52
|
|
53
53
|
```ruby
|
54
|
-
gem
|
54
|
+
gem 'errors_full_details', '~> 0.0.4'
|
55
55
|
```
|
56
56
|
|
57
57
|
And then execute:
|
metadata
CHANGED
@@ -1,22 +1,19 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: errors_full_details
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Umar Al-Kfaween
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2021-04-17 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
|
-
- - "~>"
|
18
|
-
- !ruby/object:Gem::Version
|
19
|
-
version: 5.2.2
|
20
17
|
- - ">="
|
21
18
|
- !ruby/object:Gem::Version
|
22
19
|
version: 5.2.2.1
|
@@ -24,9 +21,6 @@ dependencies:
|
|
24
21
|
prerelease: false
|
25
22
|
version_requirements: !ruby/object:Gem::Requirement
|
26
23
|
requirements:
|
27
|
-
- - "~>"
|
28
|
-
- !ruby/object:Gem::Version
|
29
|
-
version: 5.2.2
|
30
24
|
- - ">="
|
31
25
|
- !ruby/object:Gem::Version
|
32
26
|
version: 5.2.2.1
|
@@ -66,8 +60,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
66
60
|
- !ruby/object:Gem::Version
|
67
61
|
version: '0'
|
68
62
|
requirements: []
|
69
|
-
|
70
|
-
rubygems_version: 2.6.11
|
63
|
+
rubygems_version: 3.0.3
|
71
64
|
signing_key:
|
72
65
|
specification_version: 4
|
73
66
|
summary: ErrorsFullDetails extends ActiveModel::Errors to allow adding error codes
|