lite-command 2.1.3 → 3.0.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: 7d33153b2a39998b16565b6a486c71ac29ce975b784b9e7f0a0c1c053712d703
4
- data.tar.gz: 261fa88f0032d58d169d35e141bc76ca0770486b8fe0bc7fd65a3dbc5e269905
3
+ metadata.gz: b334836e64434045ade9238d62507c609c53893b8b79f17a9922054336bcf22f
4
+ data.tar.gz: c1c84f0f56da8fd3153326c7de316a2382864c5f56d6d1de89835a70c3453e30
5
5
  SHA512:
6
- metadata.gz: 2899e8d37519cb9a896f5573f230323141f24b99598f4a0674580fd795d51e92f2c7bbd32b875e6755779f6cfead9aacd81851ba2cfbaa8652b318c2849a924e
7
- data.tar.gz: f4e9b2bb0eaec8320c0e18f2c75768479369ae8f2cec0b1fce0812b0814b0e4e2a442189fb207fa34031557839b42aa4580590d39b8c87faaa8ca41b17803787
6
+ metadata.gz: db8e4a837b728ec4a95733b4820096acd666d956d5f14954366a3fef061a20bca16eb5ed3e6224c1b2bcb676d55d11d21e336ded98ad4fdd0d9968bdb9479a3e
7
+ data.tar.gz: d2e21206738f9d692784c05496568d79f42b390a9869a22dfdec6e58640d8019c78958e9df36871fd8ad2f642ea0f240a5f6070ebaa45957cc73fc41daca2aa7
data/.rubocop.yml CHANGED
@@ -44,6 +44,8 @@ Naming/MemoizedInstanceVariableName:
44
44
  Enabled: false
45
45
  RSpec/AnyInstance:
46
46
  Enabled: false
47
+ RSpec/DescribedClass:
48
+ Enabled: false
47
49
  RSpec/ExampleLength:
48
50
  Enabled: false
49
51
  RSpec/MessageSpies:
data/CHANGELOG.md CHANGED
@@ -6,6 +6,19 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
6
6
 
7
7
  ## [Unreleased]
8
8
 
9
+ ## [3.0.0] - 2024-10-15
10
+ ### Added
11
+ - Added `bad?` status method check
12
+ - Configuration class to handle dynamic error creation
13
+ - Added `on_before_validation` callback hook
14
+ - Added validation support
15
+ - Added new `required` and `optional` attribute methods
16
+ ### Changed
17
+ - Improved values of `caused_by` and `thrown_by`
18
+ - Use try util instead of hook
19
+ ### Removed
20
+ - Removed attributes method
21
+
9
22
  ## [2.1.3] - 2024-10-08
10
23
  ### Changed
11
24
  - Move super in inheritance
data/Gemfile.lock CHANGED
@@ -1,15 +1,16 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- lite-command (2.1.3)
4
+ lite-command (3.0.0)
5
+ activemodel
5
6
  ostruct
6
7
 
7
8
  GEM
8
9
  remote: https://rubygems.org/
9
10
  specs:
10
- actionpack (7.2.1)
11
- actionview (= 7.2.1)
12
- activesupport (= 7.2.1)
11
+ actionpack (7.2.1.1)
12
+ actionview (= 7.2.1.1)
13
+ activesupport (= 7.2.1.1)
13
14
  nokogiri (>= 1.8.5)
14
15
  racc
15
16
  rack (>= 2.2.4, < 3.2)
@@ -18,13 +19,15 @@ GEM
18
19
  rails-dom-testing (~> 2.2)
19
20
  rails-html-sanitizer (~> 1.6)
20
21
  useragent (~> 0.16)
21
- actionview (7.2.1)
22
- activesupport (= 7.2.1)
22
+ actionview (7.2.1.1)
23
+ activesupport (= 7.2.1.1)
23
24
  builder (~> 3.1)
24
25
  erubi (~> 1.11)
25
26
  rails-dom-testing (~> 2.2)
26
27
  rails-html-sanitizer (~> 1.6)
27
- activesupport (7.2.1)
28
+ activemodel (7.2.1.1)
29
+ activesupport (= 7.2.1.1)
30
+ activesupport (7.2.1.1)
28
31
  base64
29
32
  bigdecimal
30
33
  concurrent-ruby (~> 1.0, >= 1.3.1)
@@ -73,7 +76,7 @@ GEM
73
76
  psych (5.1.2)
74
77
  stringio
75
78
  racc (1.8.1)
76
- rack (3.1.7)
79
+ rack (3.1.8)
77
80
  rack-session (2.0.0)
78
81
  rack (>= 3.0.0)
79
82
  rack-test (2.1.0)
@@ -88,9 +91,9 @@ GEM
88
91
  rails-html-sanitizer (1.6.0)
89
92
  loofah (~> 2.21)
90
93
  nokogiri (~> 1.14)
91
- railties (7.2.1)
92
- actionpack (= 7.2.1)
93
- activesupport (= 7.2.1)
94
+ railties (7.2.1.1)
95
+ actionpack (= 7.2.1.1)
96
+ activesupport (= 7.2.1.1)
94
97
  irb (~> 1.13)
95
98
  rackup (>= 1.0.0)
96
99
  rake (>= 12.2)
@@ -116,7 +119,7 @@ GEM
116
119
  diff-lcs (>= 1.2.0, < 2.0)
117
120
  rspec-support (~> 3.13.0)
118
121
  rspec-support (3.13.1)
119
- rubocop (1.66.1)
122
+ rubocop (1.67.0)
120
123
  json (~> 2.3)
121
124
  language_server-protocol (>= 3.17.0)
122
125
  parallel (~> 1.10)
@@ -146,7 +149,7 @@ GEM
146
149
  unicode-display_width (2.6.0)
147
150
  useragent (0.16.10)
148
151
  webrick (1.8.2)
149
- zeitwerk (2.6.18)
152
+ zeitwerk (2.7.0)
150
153
 
151
154
  PLATFORMS
152
155
  ruby