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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
- SHA1:
3
- metadata.gz: 974efd389a71d8056c697678020882b71f4b8b2b
4
- data.tar.gz: 7ff4f5361f8b4121893c5c0224ec2bc45639bbd4
2
+ SHA256:
3
+ metadata.gz: 9b5cefd678b611092060608ca78132d5427e7aed6a5352ae0dfa37e97900877b
4
+ data.tar.gz: 213e5e546f4e07e77da669bce4a19444f890b615139e333332a7dbaec08046f8
5
5
  SHA512:
6
- metadata.gz: 3e972e2dcf618c34f0b170ceb361edaaff5e4be239082be546fc5eda954ca94d38a807b2e6bf939c005b59fbc1ccf715a8e22c2b0b58de55a274221d375cb028
7
- data.tar.gz: a031c8e90774c4a5080ccf8c6ff126c797001e4ae8d133127cd52dea6bd738810b579fc7149b2b3dedd721ccbddf2381a7b8eef1559269a2cdb06bb457439d86
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: "default"
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 "errors_full_details", git: "https://github.com/umar221b/errors_full_details.git"
54
+ gem 'errors_full_details', '~> 0.0.4'
55
55
  ```
56
56
 
57
57
  And then execute:
@@ -1,3 +1,3 @@
1
1
  module ErrorsFullDetails
2
- VERSION = '0.0.3'.freeze
2
+ VERSION = '0.0.4'.freeze
3
3
  end
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.3
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: 2019-03-28 00:00:00.000000000 Z
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
- rubyforge_project:
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