lite-errors 1.1.0 → 1.2.0

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: 04a784794ba9aa6e1944bf5a96757f2807327482218dbe3f16396977c20371f4
4
- data.tar.gz: 61b73313504f5cd116e3f64d555ee3d3dfd5c50b46b788bcce84f672b28e0974
3
+ metadata.gz: d7fa4a540e39bc96746e44f9064b671113a84a82bf5badaf8998c7c356855ef8
4
+ data.tar.gz: 1ad41dbd87374ad5fa6a7794817f18f7a40e757f2e77d2c743cfd95ea92c5f45
5
5
  SHA512:
6
- metadata.gz: 21a0a59af693705a89f5593991cef055d4e2ae98579ac2b1f7f670920283144d53e3ec0c97f451d7b9ac7b38f1e25f9c5bf532ffa6c5dd59713bc0b91ecc1714
7
- data.tar.gz: 7e7b38eb14a27f56dcbde51fdf6106c1d1651ed30c0adae403d4cb1d7fd2ead878dcab83f582c318fc8a59a1f3c103c15b0ce1496ab23bafbfdaa35e2ef6d388
6
+ metadata.gz: a060ff71659f903d45840bdc23ba11a98a47a9792f88f2e0f4fd63130359ff49b6c25a63a3332d8ef9ad4fa289014c5ef1d217ce5c4507fa79dde6ca6e618ac8
7
+ data.tar.gz: 8c66f00f2d999f6c849b481893d3fe46f88bf67ddff6f35bd470a5329868fba927eb03176751c8486af66a856e33613f0c3c95d3168d70dc2d656ac0d7c68bf6
data/.rubocop.yml CHANGED
@@ -2,7 +2,7 @@ require:
2
2
  - rubocop-performance
3
3
  - rubocop-rspec
4
4
  AllCops:
5
- TargetRubyVersion: 2.7
5
+ TargetRubyVersion: 3.0
6
6
  NewCops: enable
7
7
  DisplayCopNames: true
8
8
  DisplayStyleGuide: true
@@ -29,6 +29,8 @@ Metrics/BlockLength:
29
29
  Exclude:
30
30
  - 'spec/**/**/*'
31
31
  - '*.gemspec'
32
+ Style/ArgumentsForwarding:
33
+ Enabled: false
32
34
  Style/Documentation:
33
35
  Enabled: false
34
36
  Style/ExpandPathArguments:
data/CHANGELOG.md CHANGED
@@ -6,6 +6,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
6
6
 
7
7
  ## [Unreleased]
8
8
 
9
+ ## [1.2.0] - 2021-07-19
10
+ ### Added
11
+ - Added Ruby 3.0 support
12
+
9
13
  ## [1.1.0] - 2021-06-03
10
14
  ### Added
11
15
  - Added methods for Rails 6.1 changes
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- lite-errors (1.1.0)
4
+ lite-errors (1.2.0)
5
5
 
6
6
  GEM
7
7
  remote: https://rubygems.org/
@@ -13,10 +13,10 @@ GEM
13
13
  colorize (~> 0.7)
14
14
  ruby_parser (>= 3.14.1)
15
15
  parallel (1.20.1)
16
- parser (3.0.1.1)
16
+ parser (3.0.2.0)
17
17
  ast (~> 2.4.1)
18
18
  rainbow (3.0.0)
19
- rake (13.0.3)
19
+ rake (13.0.6)
20
20
  regexp_parser (2.1.1)
21
21
  rexml (3.2.5)
22
22
  rspec (3.10.0)
@@ -32,7 +32,7 @@ GEM
32
32
  diff-lcs (>= 1.2.0, < 2.0)
33
33
  rspec-support (~> 3.10.0)
34
34
  rspec-support (3.10.2)
35
- rubocop (1.16.0)
35
+ rubocop (1.18.3)
36
36
  parallel (~> 1.10)
37
37
  parser (>= 3.0.0.0)
38
38
  rainbow (>= 2.2.2, < 4.0)
@@ -41,12 +41,12 @@ GEM
41
41
  rubocop-ast (>= 1.7.0, < 2.0)
42
42
  ruby-progressbar (~> 1.7)
43
43
  unicode-display_width (>= 1.4.0, < 3.0)
44
- rubocop-ast (1.7.0)
44
+ rubocop-ast (1.8.0)
45
45
  parser (>= 3.0.1.1)
46
- rubocop-performance (1.11.3)
46
+ rubocop-performance (1.11.4)
47
47
  rubocop (>= 1.7.0, < 2.0)
48
48
  rubocop-ast (>= 0.4.0)
49
- rubocop-rspec (2.3.0)
49
+ rubocop-rspec (2.4.0)
50
50
  rubocop (~> 1.0)
51
51
  rubocop-ast (>= 1.1.0)
52
52
  ruby-progressbar (1.11.0)
@@ -69,4 +69,4 @@ DEPENDENCIES
69
69
  rubocop-rspec
70
70
 
71
71
  BUNDLED WITH
72
- 2.2.19
72
+ 2.2.24
data/README.md CHANGED
@@ -4,8 +4,9 @@
4
4
  [![Build Status](https://travis-ci.org/drexed/lite-errors.svg?branch=master)](https://travis-ci.org/drexed/lite-errors)
5
5
 
6
6
  Lite::Errors provides an API for generating and accessing error messages.
7
- The API is ~90% compatible with `ActiveModel::Errors` and there are few
8
- extra handy methods for interacting with errors so we encourage you to
7
+ The API is ~90% compatible with `ActiveModel::Errors` except that it returns
8
+ hashes instead of error objects (use Rails =< 6.0 documentation). There are
9
+ few extra handy methods for interacting with errors so we encourage you to
9
10
  look through the lib files.
10
11
 
11
12
  **NOTE:** If you are coming from `ActiveErrors`, please read the [port](#port) section.
@@ -3,7 +3,7 @@
3
3
  module Lite
4
4
  module Errors
5
5
 
6
- VERSION = '1.1.0'
6
+ VERSION = '1.2.0'
7
7
 
8
8
  end
9
9
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: lite-errors
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.0
4
+ version: 1.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Juan Gomez
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2021-06-03 00:00:00.000000000 Z
11
+ date: 2021-07-20 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -153,7 +153,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
153
153
  - !ruby/object:Gem::Version
154
154
  version: '0'
155
155
  requirements: []
156
- rubygems_version: 3.2.19
156
+ rubygems_version: 3.2.24
157
157
  signing_key:
158
158
  specification_version: 4
159
159
  summary: Build ActiveModel::Errors like errors in Ruby