lite-errors 1.0.0 → 1.0.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: 236ce284b55e8fb17579794dd0ca284984b704247aeb9ea851fee63d4d6f889c
4
- data.tar.gz: febe41cb7f6f8cccfbb81bcd7a52c8cf871f4afb39eeef6469b93d531402ecb1
3
+ metadata.gz: d4eaa04d945498658217b31777776073e1b86e43ffa19bf4f04991f5165cfcc9
4
+ data.tar.gz: 9f7980b8485897c4dc79c49ff54a973b55ab9fbe95e4c6ca36185ac1cba83bd0
5
5
  SHA512:
6
- metadata.gz: ed7f3dfa023d44e685f3739797d0508c2be16ed79cc8b1fb9219b508efd99cff82a11774a763eb920072a246410d1d796a9e4686af4903ba05caa3ea4ddf3083
7
- data.tar.gz: acba5684831c8a132e5dcfcc63b85900e4761b410e6274de66c6c892ecbf940a6d138f7589f6aeecf8584ae06e5900835eeb239cb90d64f87bdd99b547b56a00
6
+ metadata.gz: 27632cf35daaa80f6c4505447cce5ca33199d506188b99f6fefd0c2ea5d5da6f5a794e80d8b91f62c59d11818c06dc9d45a0ee322e4c9ad8f76e80e866e8ed8c
7
+ data.tar.gz: 3e14ffe469b9425a1467ac27f481c19a4e95d520a6de3db050d7a5977b9b09ee6d6a35b9f78cd1622c6b57bd2b6863daf860c418090f9589254455358bc9746a
@@ -12,6 +12,8 @@ Layout/EmptyLinesAroundBlockBody:
12
12
  - 'spec/**/**/*'
13
13
  Layout/EmptyLinesAroundClassBody:
14
14
  EnforcedStyle: empty_lines
15
+ Layout/EmptyLinesAroundModuleBody:
16
+ EnforcedStyle: empty_lines_except_namespace
15
17
  Metrics/BlockLength:
16
18
  Exclude:
17
19
  - 'spec/**/**/*'
@@ -1,43 +1,23 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- lite-errors (1.0.0)
4
+ lite-errors (1.0.1)
5
5
 
6
6
  GEM
7
7
  remote: https://rubygems.org/
8
8
  specs:
9
9
  ast (2.4.0)
10
- axiom-types (0.1.1)
11
- descendants_tracker (~> 0.0.4)
12
- ice_nine (~> 0.11.0)
13
- thread_safe (~> 0.3, >= 0.3.1)
14
- codeclimate-engine-rb (0.4.1)
15
- virtus (~> 1.0)
16
- coercible (1.0.0)
17
- descendants_tracker (~> 0.0.1)
18
10
  colorize (0.8.1)
19
- descendants_tracker (0.0.4)
20
- thread_safe (~> 0.3, >= 0.3.1)
21
11
  diff-lcs (1.3)
22
- equalizer (0.0.11)
23
12
  fasterer (0.5.1)
24
13
  colorize (~> 0.7)
25
14
  ruby_parser (>= 3.13.0)
26
- ice_nine (0.11.2)
27
15
  jaro_winkler (1.5.3)
28
- kwalify (0.7.2)
29
16
  parallel (1.17.0)
30
17
  parser (2.6.3.0)
31
18
  ast (~> 2.4.0)
32
- psych (3.1.0)
33
19
  rainbow (3.0.0)
34
20
  rake (12.3.2)
35
- reek (5.4.0)
36
- codeclimate-engine-rb (~> 0.4.0)
37
- kwalify (~> 0.7.0)
38
- parser (>= 2.5.0.0, < 2.7, != 2.5.1.1)
39
- psych (~> 3.1.0)
40
- rainbow (>= 2.0, < 4.0)
41
21
  rspec (3.8.0)
42
22
  rspec-core (~> 3.8.0)
43
23
  rspec-expectations (~> 3.8.0)
@@ -66,13 +46,7 @@ GEM
66
46
  ruby_parser (3.13.1)
67
47
  sexp_processor (~> 4.9)
68
48
  sexp_processor (4.12.1)
69
- thread_safe (0.3.6)
70
49
  unicode-display_width (1.6.0)
71
- virtus (1.0.5)
72
- axiom-types (~> 0.1)
73
- coercible (~> 1.0)
74
- descendants_tracker (~> 0.0, >= 0.0.3)
75
- equalizer (~> 0.0, >= 0.0.9)
76
50
 
77
51
  PLATFORMS
78
52
  ruby
@@ -82,7 +56,6 @@ DEPENDENCIES
82
56
  fasterer
83
57
  lite-errors!
84
58
  rake
85
- reek
86
59
  rspec
87
60
  rubocop
88
61
  rubocop-performance
@@ -101,8 +101,8 @@ module Lite
101
101
 
102
102
  alias count size
103
103
 
104
- def slice!(key)
105
- delete(key)
104
+ def slice!(*keys)
105
+ keys.each { |key| delete(key) }
106
106
  @errors
107
107
  end
108
108
 
@@ -2,6 +2,8 @@
2
2
 
3
3
  module Lite
4
4
  module Errors
5
- VERSION ||= '1.0.0'
5
+
6
+ VERSION ||= '1.0.1'
7
+
6
8
  end
7
9
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: lite-errors
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0
4
+ version: 1.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Juan Gomez