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 +4 -4
- data/.rubocop.yml +2 -0
- data/CHANGELOG.md +13 -0
- data/Gemfile.lock +16 -13
- data/README.md +191 -174
- data/lib/generators/lite/command/install_generator.rb +15 -0
- data/lib/generators/lite/command/templates/install.rb +5 -0
- data/lib/lite/command/base.rb +20 -17
- data/lib/lite/command/configuration.rb +35 -0
- data/lib/lite/command/fault.rb +8 -8
- data/lib/lite/command/internals/attributes.rb +64 -0
- data/lib/lite/command/internals/{call.rb → calls.rb} +8 -4
- data/lib/lite/command/internals/{execute.rb → executions.rb} +11 -10
- data/lib/lite/command/internals/{fault.rb → faults.rb} +12 -6
- data/lib/lite/command/internals/{result.rb → results.rb} +1 -1
- data/lib/lite/command/sequence.rb +1 -1
- data/lib/lite/command/step.rb +1 -7
- data/lib/lite/command/utils.rb +11 -5
- data/lib/lite/command/version.rb +1 -1
- data/lib/lite/command.rb +10 -8
- data/lite-command.gemspec +1 -0
- metadata +24 -9
- data/lib/lite/command/attribute.rb +0 -102
- data/lib/lite/command/attribute_validator.rb +0 -35
- data/lib/lite/command/internals/context.rb +0 -46
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b334836e64434045ade9238d62507c609c53893b8b79f17a9922054336bcf22f
|
4
|
+
data.tar.gz: c1c84f0f56da8fd3153326c7de316a2382864c5f56d6d1de89835a70c3453e30
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: db8e4a837b728ec4a95733b4820096acd666d956d5f14954366a3fef061a20bca16eb5ed3e6224c1b2bcb676d55d11d21e336ded98ad4fdd0d9968bdb9479a3e
|
7
|
+
data.tar.gz: d2e21206738f9d692784c05496568d79f42b390a9869a22dfdec6e58640d8019c78958e9df36871fd8ad2f642ea0f240a5f6070ebaa45957cc73fc41daca2aa7
|
data/.rubocop.yml
CHANGED
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 (
|
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
|
-
|
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.
|
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.
|
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.
|
152
|
+
zeitwerk (2.7.0)
|
150
153
|
|
151
154
|
PLATFORMS
|
152
155
|
ruby
|