lite-command 3.0.0 → 3.0.1
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 +4 -0
- data/Gemfile.lock +17 -17
- data/lib/lite/command/fault.rb +13 -0
- data/lib/lite/command/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ca95adc16c60158c9a6b826dc9b87f826dc0a81574fd85b996147bbc9ba7c7f2
|
4
|
+
data.tar.gz: 26d5c68abb7572aa5c887f324fe138c4eb282eb00308dcda83059ace331d2c1b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 73217979c23fff74cf8a9f4965627e3c69bb3d6b74b3b815cb70af3ad766a4ecd412acfb11e96dfc777427eca9dd113c1782e0e407838836d165e1f716f0e241
|
7
|
+
data.tar.gz: ec3f313e195d97d5c22f8187d78dc0b328288eaa4f2c57de72edce22949b4c75825f63842df7a8141059161efefb1ab45f6457c2b47d2e33efe6fa136b8e7ed7
|
data/.rubocop.yml
CHANGED
data/CHANGELOG.md
CHANGED
data/Gemfile.lock
CHANGED
@@ -1,16 +1,16 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
lite-command (3.0.
|
4
|
+
lite-command (3.0.1)
|
5
5
|
activemodel
|
6
6
|
ostruct
|
7
7
|
|
8
8
|
GEM
|
9
9
|
remote: https://rubygems.org/
|
10
10
|
specs:
|
11
|
-
actionpack (7.2.1.
|
12
|
-
actionview (= 7.2.1.
|
13
|
-
activesupport (= 7.2.1.
|
11
|
+
actionpack (7.2.1.2)
|
12
|
+
actionview (= 7.2.1.2)
|
13
|
+
activesupport (= 7.2.1.2)
|
14
14
|
nokogiri (>= 1.8.5)
|
15
15
|
racc
|
16
16
|
rack (>= 2.2.4, < 3.2)
|
@@ -19,15 +19,15 @@ GEM
|
|
19
19
|
rails-dom-testing (~> 2.2)
|
20
20
|
rails-html-sanitizer (~> 1.6)
|
21
21
|
useragent (~> 0.16)
|
22
|
-
actionview (7.2.1.
|
23
|
-
activesupport (= 7.2.1.
|
22
|
+
actionview (7.2.1.2)
|
23
|
+
activesupport (= 7.2.1.2)
|
24
24
|
builder (~> 3.1)
|
25
25
|
erubi (~> 1.11)
|
26
26
|
rails-dom-testing (~> 2.2)
|
27
27
|
rails-html-sanitizer (~> 1.6)
|
28
|
-
activemodel (7.2.1.
|
29
|
-
activesupport (= 7.2.1.
|
30
|
-
activesupport (7.2.1.
|
28
|
+
activemodel (7.2.1.2)
|
29
|
+
activesupport (= 7.2.1.2)
|
30
|
+
activesupport (7.2.1.2)
|
31
31
|
base64
|
32
32
|
bigdecimal
|
33
33
|
concurrent-ruby (~> 1.0, >= 1.3.1)
|
@@ -57,10 +57,10 @@ GEM
|
|
57
57
|
irb (1.14.1)
|
58
58
|
rdoc (>= 4.0.0)
|
59
59
|
reline (>= 0.4.2)
|
60
|
-
json (2.7.
|
60
|
+
json (2.7.4)
|
61
61
|
language_server-protocol (3.17.0.3)
|
62
62
|
logger (1.6.1)
|
63
|
-
loofah (2.
|
63
|
+
loofah (2.23.1)
|
64
64
|
crass (~> 1.0.2)
|
65
65
|
nokogiri (>= 1.12.0)
|
66
66
|
mini_portile2 (2.8.7)
|
@@ -91,9 +91,9 @@ GEM
|
|
91
91
|
rails-html-sanitizer (1.6.0)
|
92
92
|
loofah (~> 2.21)
|
93
93
|
nokogiri (~> 1.14)
|
94
|
-
railties (7.2.1.
|
95
|
-
actionpack (= 7.2.1.
|
96
|
-
activesupport (= 7.2.1.
|
94
|
+
railties (7.2.1.2)
|
95
|
+
actionpack (= 7.2.1.2)
|
96
|
+
activesupport (= 7.2.1.2)
|
97
97
|
irb (~> 1.13)
|
98
98
|
rackup (>= 1.0.0)
|
99
99
|
rake (>= 12.2)
|
@@ -110,7 +110,7 @@ GEM
|
|
110
110
|
rspec-core (~> 3.13.0)
|
111
111
|
rspec-expectations (~> 3.13.0)
|
112
112
|
rspec-mocks (~> 3.13.0)
|
113
|
-
rspec-core (3.13.
|
113
|
+
rspec-core (3.13.2)
|
114
114
|
rspec-support (~> 3.13.0)
|
115
115
|
rspec-expectations (3.13.3)
|
116
116
|
diff-lcs (>= 1.2.0, < 2.0)
|
@@ -140,7 +140,7 @@ GEM
|
|
140
140
|
rubocop (~> 1.61)
|
141
141
|
ruby-progressbar (1.13.0)
|
142
142
|
securerandom (0.3.1)
|
143
|
-
sqlite3 (2.1.
|
143
|
+
sqlite3 (2.1.1)
|
144
144
|
mini_portile2 (~> 2.8.0)
|
145
145
|
stringio (3.1.1)
|
146
146
|
thor (1.3.2)
|
@@ -149,7 +149,7 @@ GEM
|
|
149
149
|
unicode-display_width (2.6.0)
|
150
150
|
useragent (0.16.10)
|
151
151
|
webrick (1.8.2)
|
152
|
-
zeitwerk (2.7.
|
152
|
+
zeitwerk (2.7.1)
|
153
153
|
|
154
154
|
PLATFORMS
|
155
155
|
ruby
|
data/lib/lite/command/fault.rb
CHANGED
@@ -29,10 +29,23 @@ module Lite
|
|
29
29
|
fault
|
30
30
|
end
|
31
31
|
|
32
|
+
def self.===(item)
|
33
|
+
klass0 = respond_to?(:new) ? self : self.class
|
34
|
+
klass1 = item.respond_to?(:new) ? item : item.class
|
35
|
+
return true if klass0 == klass1
|
36
|
+
|
37
|
+
klass0.ancestors.include?(klass1) || klass1.ancestors.include?(klass0)
|
38
|
+
end
|
39
|
+
|
32
40
|
def type
|
33
41
|
@type ||= self.class.name.split("::").last.downcase
|
34
42
|
end
|
35
43
|
|
44
|
+
def ===(item)
|
45
|
+
klass = item.respond_to?(:new) ? item : item.class
|
46
|
+
is_a?(klass)
|
47
|
+
end
|
48
|
+
|
36
49
|
end
|
37
50
|
|
38
51
|
class Noop < Fault; end
|
data/lib/lite/command/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: lite-command
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.0.
|
4
|
+
version: 3.0.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Juan Gomez
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-10-
|
11
|
+
date: 2024-10-25 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activemodel
|