simple_command_dispatcher 3.0.4 → 4.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/.github/workflows/ruby.yml +47 -25
- data/.gitignore +3 -0
- data/.rubocop.yml +36 -41
- data/.ruby-version +1 -1
- data/CHANGELOG.md +148 -59
- data/Gemfile +3 -6
- data/Gemfile.lock +76 -69
- data/Jenkinsfile +2 -2
- data/README.md +371 -217
- data/Rakefile +0 -8
- data/lib/core_ext/kernel.rb +22 -0
- data/lib/simple_command_dispatcher/configuration.rb +37 -35
- data/lib/simple_command_dispatcher/errors/invalid_class_constant_error.rb +16 -0
- data/lib/simple_command_dispatcher/errors/required_class_method_missing_error.rb +15 -0
- data/lib/simple_command_dispatcher/errors.rb +4 -0
- data/lib/simple_command_dispatcher/helpers/camelize.rb +46 -0
- data/lib/simple_command_dispatcher/helpers/trim_all.rb +16 -0
- data/lib/simple_command_dispatcher/services/command_namespace_service.rb +60 -0
- data/lib/simple_command_dispatcher/services/command_service.rb +152 -0
- data/lib/simple_command_dispatcher/version.rb +2 -4
- data/lib/simple_command_dispatcher.rb +69 -121
- data/simple_command_dispatcher.gemspec +3 -3
- metadata +12 -31
- data/lib/core_extensions/string.rb +0 -10
- data/lib/simple_command_dispatcher/configure.rb +0 -22
- data/lib/simple_command_dispatcher/klass_transform.rb +0 -251
- data/lib/tasks/simple_command_dispatcher_sandbox.rake +0 -222
data/Gemfile.lock
CHANGED
@@ -1,125 +1,132 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
simple_command_dispatcher (
|
4
|
+
simple_command_dispatcher (4.0.0)
|
5
5
|
activesupport (>= 7.0.8, < 8.0)
|
6
|
-
simple_command (~> 1.0, >= 1.0.1)
|
7
6
|
|
8
7
|
GEM
|
9
8
|
remote: https://rubygems.org/
|
10
9
|
specs:
|
11
|
-
activesupport (7.
|
10
|
+
activesupport (7.2.2.1)
|
12
11
|
base64
|
12
|
+
benchmark (>= 0.3)
|
13
13
|
bigdecimal
|
14
|
-
concurrent-ruby (~> 1.0, >= 1.
|
14
|
+
concurrent-ruby (~> 1.0, >= 1.3.1)
|
15
15
|
connection_pool (>= 2.2.5)
|
16
16
|
drb
|
17
17
|
i18n (>= 1.6, < 2)
|
18
|
+
logger (>= 1.4.2)
|
18
19
|
minitest (>= 5.1)
|
19
|
-
|
20
|
-
tzinfo (~> 2.0)
|
21
|
-
ast (2.4.
|
22
|
-
base64 (0.
|
23
|
-
|
24
|
-
|
20
|
+
securerandom (>= 0.3)
|
21
|
+
tzinfo (~> 2.0, >= 2.0.5)
|
22
|
+
ast (2.4.3)
|
23
|
+
base64 (0.3.0)
|
24
|
+
benchmark (0.4.1)
|
25
|
+
bigdecimal (3.2.2)
|
26
|
+
byebug (12.0.0)
|
25
27
|
coderay (1.1.3)
|
26
28
|
colorize (1.1.0)
|
27
|
-
concurrent-ruby (1.3.
|
28
|
-
connection_pool (2.
|
29
|
-
diff-lcs (1.
|
30
|
-
|
31
|
-
|
29
|
+
concurrent-ruby (1.3.5)
|
30
|
+
connection_pool (2.5.3)
|
31
|
+
diff-lcs (1.6.2)
|
32
|
+
docile (1.4.1)
|
33
|
+
drb (2.2.3)
|
34
|
+
i18n (1.14.7)
|
32
35
|
concurrent-ruby (~> 1.0)
|
33
|
-
json (2.
|
34
|
-
language_server-protocol (3.17.0.
|
36
|
+
json (2.12.2)
|
37
|
+
language_server-protocol (3.17.0.5)
|
38
|
+
lint_roller (1.1.0)
|
39
|
+
logger (1.7.0)
|
35
40
|
method_source (1.1.0)
|
36
|
-
minitest (5.
|
37
|
-
|
38
|
-
|
39
|
-
parser (3.3.4.0)
|
41
|
+
minitest (5.25.5)
|
42
|
+
parallel (1.27.0)
|
43
|
+
parser (3.3.8.0)
|
40
44
|
ast (~> 2.4.1)
|
41
45
|
racc
|
42
|
-
|
46
|
+
prism (1.4.0)
|
47
|
+
pry (0.15.2)
|
43
48
|
coderay (~> 1.1)
|
44
49
|
method_source (~> 1.0)
|
45
|
-
pry-byebug (3.
|
46
|
-
byebug (~>
|
47
|
-
pry (>= 0.13, < 0.
|
48
|
-
psych (5.1.2)
|
49
|
-
stringio
|
50
|
+
pry-byebug (3.11.0)
|
51
|
+
byebug (~> 12.0)
|
52
|
+
pry (>= 0.13, < 0.16)
|
50
53
|
racc (1.8.1)
|
51
54
|
rainbow (3.1.1)
|
52
|
-
rake (13.
|
53
|
-
|
54
|
-
|
55
|
-
regexp_parser (2.9.2)
|
56
|
-
rexml (3.3.4)
|
57
|
-
strscan
|
58
|
-
rspec (3.13.0)
|
55
|
+
rake (13.3.0)
|
56
|
+
regexp_parser (2.10.0)
|
57
|
+
rspec (3.13.1)
|
59
58
|
rspec-core (~> 3.13.0)
|
60
59
|
rspec-expectations (~> 3.13.0)
|
61
60
|
rspec-mocks (~> 3.13.0)
|
62
|
-
rspec-core (3.13.
|
61
|
+
rspec-core (3.13.5)
|
63
62
|
rspec-support (~> 3.13.0)
|
64
|
-
rspec-expectations (3.13.
|
63
|
+
rspec-expectations (3.13.5)
|
65
64
|
diff-lcs (>= 1.2.0, < 2.0)
|
66
65
|
rspec-support (~> 3.13.0)
|
67
|
-
rspec-mocks (3.13.
|
66
|
+
rspec-mocks (3.13.5)
|
68
67
|
diff-lcs (>= 1.2.0, < 2.0)
|
69
68
|
rspec-support (~> 3.13.0)
|
70
|
-
rspec-support (3.13.
|
71
|
-
rubocop (1.
|
69
|
+
rspec-support (3.13.4)
|
70
|
+
rubocop (1.78.0)
|
72
71
|
json (~> 2.3)
|
73
|
-
language_server-protocol (
|
72
|
+
language_server-protocol (~> 3.17.0.2)
|
73
|
+
lint_roller (~> 1.1.0)
|
74
74
|
parallel (~> 1.10)
|
75
75
|
parser (>= 3.3.0.2)
|
76
76
|
rainbow (>= 2.2.2, < 4.0)
|
77
|
-
regexp_parser (>= 2.
|
78
|
-
|
79
|
-
rubocop-ast (>= 1.31.1, < 2.0)
|
77
|
+
regexp_parser (>= 2.9.3, < 3.0)
|
78
|
+
rubocop-ast (>= 1.45.1, < 2.0)
|
80
79
|
ruby-progressbar (~> 1.7)
|
81
|
-
unicode-display_width (>= 2.4.0, <
|
82
|
-
rubocop-ast (1.
|
83
|
-
parser (>= 3.3.
|
84
|
-
|
85
|
-
|
86
|
-
|
87
|
-
rubocop (
|
88
|
-
|
89
|
-
|
90
|
-
|
91
|
-
|
92
|
-
|
93
|
-
|
94
|
-
rubocop
|
95
|
-
rubocop-rspec_rails (~> 2.28)
|
96
|
-
rubocop-rspec_rails (2.29.1)
|
97
|
-
rubocop (~> 1.61)
|
80
|
+
unicode-display_width (>= 2.4.0, < 4.0)
|
81
|
+
rubocop-ast (1.45.1)
|
82
|
+
parser (>= 3.3.7.2)
|
83
|
+
prism (~> 1.4)
|
84
|
+
rubocop-performance (1.25.0)
|
85
|
+
lint_roller (~> 1.1)
|
86
|
+
rubocop (>= 1.75.0, < 2.0)
|
87
|
+
rubocop-ast (>= 1.38.0, < 2.0)
|
88
|
+
rubocop-rake (0.7.1)
|
89
|
+
lint_roller (~> 1.1)
|
90
|
+
rubocop (>= 1.72.1)
|
91
|
+
rubocop-rspec (3.6.0)
|
92
|
+
lint_roller (~> 1.1)
|
93
|
+
rubocop (~> 1.72, >= 1.72.1)
|
98
94
|
ruby-progressbar (1.13.0)
|
99
|
-
|
100
|
-
|
101
|
-
|
95
|
+
securerandom (0.4.1)
|
96
|
+
simplecov (0.22.0)
|
97
|
+
docile (~> 1.1)
|
98
|
+
simplecov-html (~> 0.11)
|
99
|
+
simplecov_json_formatter (~> 0.1)
|
100
|
+
simplecov-html (0.13.1)
|
101
|
+
simplecov_json_formatter (0.1.4)
|
102
102
|
tzinfo (2.0.6)
|
103
103
|
concurrent-ruby (~> 1.0)
|
104
|
-
unicode-display_width (
|
105
|
-
|
104
|
+
unicode-display_width (3.1.4)
|
105
|
+
unicode-emoji (~> 4.0, >= 4.0.4)
|
106
|
+
unicode-emoji (4.0.4)
|
106
107
|
|
107
108
|
PLATFORMS
|
108
|
-
|
109
|
+
arm64-darwin-22
|
110
|
+
arm64-darwin-23
|
111
|
+
x64-mingw-ucrt
|
112
|
+
x86_64-darwin-19
|
113
|
+
x86_64-darwin-20
|
109
114
|
x86_64-darwin-21
|
115
|
+
x86_64-darwin-22
|
116
|
+
x86_64-linux
|
110
117
|
|
111
118
|
DEPENDENCIES
|
112
119
|
bundler (~> 2.5, >= 2.5.3)
|
113
120
|
colorize (>= 0.8.1, < 2.0)
|
114
121
|
pry-byebug (>= 3.9, < 4.0)
|
115
122
|
rake (>= 13.0, < 14.0)
|
116
|
-
rdoc (>= 6.4, < 7.0)
|
117
123
|
rspec (>= 3.10, < 4.0)
|
118
124
|
rubocop (>= 1.62, < 2.0)
|
119
125
|
rubocop-performance (>= 1.20, < 2.0)
|
120
|
-
rubocop-
|
126
|
+
rubocop-rake (>= 0.6, < 1.0)
|
127
|
+
rubocop-rspec (~> 3.0, >= 3.0.3)
|
121
128
|
simple_command_dispatcher!
|
122
|
-
|
129
|
+
simplecov (>= 0.22.0, < 1.0)
|
123
130
|
|
124
131
|
BUNDLED WITH
|
125
132
|
2.5.6
|
data/Jenkinsfile
CHANGED