g2_command 2.4.0 → 3.2.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.
@@ -1,69 +1,69 @@
1
1
  PATH
2
2
  remote: ..
3
3
  specs:
4
- g2_command (2.4.0)
5
- activemodel (>= 5.0, < 7)
6
- activesupport (>= 5.0, < 7)
4
+ g2_command (3.2.0)
5
+ activemodel (>= 5.0, < 7.1)
6
+ activesupport (>= 5.0, < 7.1)
7
7
  dry-initializer (~> 3.0)
8
8
  dry-monads (~> 1.3)
9
9
 
10
10
  GEM
11
11
  remote: https://rubygems.org/
12
12
  specs:
13
- actioncable (6.1.3)
14
- actionpack (= 6.1.3)
15
- activesupport (= 6.1.3)
13
+ actioncable (6.1.4.4)
14
+ actionpack (= 6.1.4.4)
15
+ activesupport (= 6.1.4.4)
16
16
  nio4r (~> 2.0)
17
17
  websocket-driver (>= 0.6.1)
18
- actionmailbox (6.1.3)
19
- actionpack (= 6.1.3)
20
- activejob (= 6.1.3)
21
- activerecord (= 6.1.3)
22
- activestorage (= 6.1.3)
23
- activesupport (= 6.1.3)
18
+ actionmailbox (6.1.4.4)
19
+ actionpack (= 6.1.4.4)
20
+ activejob (= 6.1.4.4)
21
+ activerecord (= 6.1.4.4)
22
+ activestorage (= 6.1.4.4)
23
+ activesupport (= 6.1.4.4)
24
24
  mail (>= 2.7.1)
25
- actionmailer (6.1.3)
26
- actionpack (= 6.1.3)
27
- actionview (= 6.1.3)
28
- activejob (= 6.1.3)
29
- activesupport (= 6.1.3)
25
+ actionmailer (6.1.4.4)
26
+ actionpack (= 6.1.4.4)
27
+ actionview (= 6.1.4.4)
28
+ activejob (= 6.1.4.4)
29
+ activesupport (= 6.1.4.4)
30
30
  mail (~> 2.5, >= 2.5.4)
31
31
  rails-dom-testing (~> 2.0)
32
- actionpack (6.1.3)
33
- actionview (= 6.1.3)
34
- activesupport (= 6.1.3)
32
+ actionpack (6.1.4.4)
33
+ actionview (= 6.1.4.4)
34
+ activesupport (= 6.1.4.4)
35
35
  rack (~> 2.0, >= 2.0.9)
36
36
  rack-test (>= 0.6.3)
37
37
  rails-dom-testing (~> 2.0)
38
38
  rails-html-sanitizer (~> 1.0, >= 1.2.0)
39
- actiontext (6.1.3)
40
- actionpack (= 6.1.3)
41
- activerecord (= 6.1.3)
42
- activestorage (= 6.1.3)
43
- activesupport (= 6.1.3)
39
+ actiontext (6.1.4.4)
40
+ actionpack (= 6.1.4.4)
41
+ activerecord (= 6.1.4.4)
42
+ activestorage (= 6.1.4.4)
43
+ activesupport (= 6.1.4.4)
44
44
  nokogiri (>= 1.8.5)
45
- actionview (6.1.3)
46
- activesupport (= 6.1.3)
45
+ actionview (6.1.4.4)
46
+ activesupport (= 6.1.4.4)
47
47
  builder (~> 3.1)
48
48
  erubi (~> 1.4)
49
49
  rails-dom-testing (~> 2.0)
50
50
  rails-html-sanitizer (~> 1.1, >= 1.2.0)
51
- activejob (6.1.3)
52
- activesupport (= 6.1.3)
51
+ activejob (6.1.4.4)
52
+ activesupport (= 6.1.4.4)
53
53
  globalid (>= 0.3.6)
54
- activemodel (6.1.3)
55
- activesupport (= 6.1.3)
56
- activerecord (6.1.3)
57
- activemodel (= 6.1.3)
58
- activesupport (= 6.1.3)
59
- activestorage (6.1.3)
60
- actionpack (= 6.1.3)
61
- activejob (= 6.1.3)
62
- activerecord (= 6.1.3)
63
- activesupport (= 6.1.3)
64
- marcel (~> 0.3.1)
65
- mimemagic (~> 0.3.2)
66
- activesupport (6.1.3)
54
+ activemodel (6.1.4.4)
55
+ activesupport (= 6.1.4.4)
56
+ activerecord (6.1.4.4)
57
+ activemodel (= 6.1.4.4)
58
+ activesupport (= 6.1.4.4)
59
+ activestorage (6.1.4.4)
60
+ actionpack (= 6.1.4.4)
61
+ activejob (= 6.1.4.4)
62
+ activerecord (= 6.1.4.4)
63
+ activesupport (= 6.1.4.4)
64
+ marcel (~> 1.0.0)
65
+ mini_mime (>= 1.1.0)
66
+ activesupport (6.1.4.4)
67
67
  concurrent-ruby (~> 1.0, >= 1.0.2)
68
68
  i18n (>= 1.6, < 2)
69
69
  minitest (>= 5.1)
@@ -76,40 +76,36 @@ GEM
76
76
  ast (2.4.2)
77
77
  builder (3.2.4)
78
78
  coderay (1.1.3)
79
- concurrent-ruby (1.1.8)
79
+ concurrent-ruby (1.1.9)
80
80
  crass (1.0.6)
81
81
  diff-lcs (1.4.4)
82
82
  docile (1.3.5)
83
- dry-core (0.5.0)
83
+ dry-core (0.7.1)
84
84
  concurrent-ruby (~> 1.0)
85
- dry-equalizer (0.3.0)
86
85
  dry-initializer (3.0.4)
87
- dry-monads (1.3.5)
86
+ dry-monads (1.4.0)
88
87
  concurrent-ruby (~> 1.0)
89
- dry-core (~> 0.4, >= 0.4.4)
90
- dry-equalizer
88
+ dry-core (~> 0.7)
91
89
  erubi (1.10.0)
92
90
  fivemat (1.3.7)
93
- globalid (0.4.2)
94
- activesupport (>= 4.2.0)
95
- i18n (1.8.9)
91
+ globalid (1.0.0)
92
+ activesupport (>= 5.0)
93
+ i18n (1.9.1)
96
94
  concurrent-ruby (~> 1.0)
97
95
  json (2.5.1)
98
- loofah (2.9.0)
96
+ loofah (2.13.0)
99
97
  crass (~> 1.0.2)
100
98
  nokogiri (>= 1.5.9)
101
99
  mail (2.7.1)
102
100
  mini_mime (>= 0.1.1)
103
- marcel (0.3.3)
104
- mimemagic (~> 0.3.2)
101
+ marcel (1.0.2)
105
102
  method_source (1.0.0)
106
- mimemagic (0.3.5)
107
- mini_mime (1.0.2)
108
- mini_portile2 (2.5.0)
109
- minitest (5.14.4)
110
- nio4r (2.5.5)
111
- nokogiri (1.11.1)
112
- mini_portile2 (~> 2.5.0)
103
+ mini_mime (1.1.2)
104
+ mini_portile2 (2.7.1)
105
+ minitest (5.15.0)
106
+ nio4r (2.5.8)
107
+ nokogiri (1.13.1)
108
+ mini_portile2 (~> 2.7.0)
113
109
  racc (~> 1.4)
114
110
  parallel (1.20.1)
115
111
  parser (3.0.0.0)
@@ -117,40 +113,40 @@ GEM
117
113
  pry (0.13.1)
118
114
  coderay (~> 1.1)
119
115
  method_source (~> 1.0)
120
- racc (1.5.2)
116
+ racc (1.6.0)
121
117
  rack (2.2.3)
122
118
  rack-test (1.1.0)
123
119
  rack (>= 1.0, < 3)
124
- rails (6.1.3)
125
- actioncable (= 6.1.3)
126
- actionmailbox (= 6.1.3)
127
- actionmailer (= 6.1.3)
128
- actionpack (= 6.1.3)
129
- actiontext (= 6.1.3)
130
- actionview (= 6.1.3)
131
- activejob (= 6.1.3)
132
- activemodel (= 6.1.3)
133
- activerecord (= 6.1.3)
134
- activestorage (= 6.1.3)
135
- activesupport (= 6.1.3)
120
+ rails (6.1.4.4)
121
+ actioncable (= 6.1.4.4)
122
+ actionmailbox (= 6.1.4.4)
123
+ actionmailer (= 6.1.4.4)
124
+ actionpack (= 6.1.4.4)
125
+ actiontext (= 6.1.4.4)
126
+ actionview (= 6.1.4.4)
127
+ activejob (= 6.1.4.4)
128
+ activemodel (= 6.1.4.4)
129
+ activerecord (= 6.1.4.4)
130
+ activestorage (= 6.1.4.4)
131
+ activesupport (= 6.1.4.4)
136
132
  bundler (>= 1.15.0)
137
- railties (= 6.1.3)
133
+ railties (= 6.1.4.4)
138
134
  sprockets-rails (>= 2.0.0)
139
135
  rails-dom-testing (2.0.3)
140
136
  activesupport (>= 4.2.0)
141
137
  nokogiri (>= 1.6)
142
- rails-html-sanitizer (1.3.0)
138
+ rails-html-sanitizer (1.4.2)
143
139
  loofah (~> 2.3)
144
- railties (6.1.3)
145
- actionpack (= 6.1.3)
146
- activesupport (= 6.1.3)
140
+ railties (6.1.4.4)
141
+ actionpack (= 6.1.4.4)
142
+ activesupport (= 6.1.4.4)
147
143
  method_source
148
- rake (>= 0.8.7)
144
+ rake (>= 0.13)
149
145
  thor (~> 1.0)
150
146
  rainbow (3.0.0)
151
147
  rake (12.3.3)
152
148
  regexp_parser (2.0.3)
153
- rexml (3.2.4)
149
+ rexml (3.2.5)
154
150
  rspec (3.10.0)
155
151
  rspec-core (~> 3.10.0)
156
152
  rspec-expectations (~> 3.10.0)
@@ -197,18 +193,18 @@ GEM
197
193
  sprockets (4.0.2)
198
194
  concurrent-ruby (~> 1.0)
199
195
  rack (> 1, < 3)
200
- sprockets-rails (3.2.2)
201
- actionpack (>= 4.0)
202
- activesupport (>= 4.0)
196
+ sprockets-rails (3.4.2)
197
+ actionpack (>= 5.2)
198
+ activesupport (>= 5.2)
203
199
  sprockets (>= 3.0.0)
204
- thor (1.1.0)
200
+ thor (1.2.1)
205
201
  tzinfo (2.0.4)
206
202
  concurrent-ruby (~> 1.0)
207
203
  unicode-display_width (2.0.0)
208
- websocket-driver (0.7.3)
204
+ websocket-driver (0.7.5)
209
205
  websocket-extensions (>= 0.1.0)
210
206
  websocket-extensions (0.1.5)
211
- zeitwerk (2.4.2)
207
+ zeitwerk (2.5.4)
212
208
 
213
209
  PLATFORMS
214
210
  ruby
@@ -226,4 +222,4 @@ DEPENDENCIES
226
222
  simplecov (= 0.16.1)
227
223
 
228
224
  BUNDLED WITH
229
- 2.2.3
225
+ 2.3.6
@@ -5,7 +5,7 @@ source "https://rubygems.org"
5
5
  gem "appraisal"
6
6
  gem "fivemat"
7
7
  gem "pry"
8
- gem "rails", "~> 6.0.3"
8
+ gem "rails", "~> 7.0.0"
9
9
  gem "rake", "~> 12.0"
10
10
  gem "rspec", "~> 3.0"
11
11
  gem "rspec_junit_formatter"
@@ -0,0 +1,242 @@
1
+ PATH
2
+ remote: ..
3
+ specs:
4
+ g2_command (3.2.0)
5
+ activemodel (>= 5.0, < 7.1)
6
+ activesupport (>= 5.0, < 7.1)
7
+ dry-initializer (~> 3.0)
8
+ dry-monads (~> 1.3)
9
+
10
+ GEM
11
+ remote: https://rubygems.org/
12
+ specs:
13
+ actioncable (7.0.1)
14
+ actionpack (= 7.0.1)
15
+ activesupport (= 7.0.1)
16
+ nio4r (~> 2.0)
17
+ websocket-driver (>= 0.6.1)
18
+ actionmailbox (7.0.1)
19
+ actionpack (= 7.0.1)
20
+ activejob (= 7.0.1)
21
+ activerecord (= 7.0.1)
22
+ activestorage (= 7.0.1)
23
+ activesupport (= 7.0.1)
24
+ mail (>= 2.7.1)
25
+ net-imap
26
+ net-pop
27
+ net-smtp
28
+ actionmailer (7.0.1)
29
+ actionpack (= 7.0.1)
30
+ actionview (= 7.0.1)
31
+ activejob (= 7.0.1)
32
+ activesupport (= 7.0.1)
33
+ mail (~> 2.5, >= 2.5.4)
34
+ net-imap
35
+ net-pop
36
+ net-smtp
37
+ rails-dom-testing (~> 2.0)
38
+ actionpack (7.0.1)
39
+ actionview (= 7.0.1)
40
+ activesupport (= 7.0.1)
41
+ rack (~> 2.0, >= 2.2.0)
42
+ rack-test (>= 0.6.3)
43
+ rails-dom-testing (~> 2.0)
44
+ rails-html-sanitizer (~> 1.0, >= 1.2.0)
45
+ actiontext (7.0.1)
46
+ actionpack (= 7.0.1)
47
+ activerecord (= 7.0.1)
48
+ activestorage (= 7.0.1)
49
+ activesupport (= 7.0.1)
50
+ globalid (>= 0.6.0)
51
+ nokogiri (>= 1.8.5)
52
+ actionview (7.0.1)
53
+ activesupport (= 7.0.1)
54
+ builder (~> 3.1)
55
+ erubi (~> 1.4)
56
+ rails-dom-testing (~> 2.0)
57
+ rails-html-sanitizer (~> 1.1, >= 1.2.0)
58
+ activejob (7.0.1)
59
+ activesupport (= 7.0.1)
60
+ globalid (>= 0.3.6)
61
+ activemodel (7.0.1)
62
+ activesupport (= 7.0.1)
63
+ activerecord (7.0.1)
64
+ activemodel (= 7.0.1)
65
+ activesupport (= 7.0.1)
66
+ activestorage (7.0.1)
67
+ actionpack (= 7.0.1)
68
+ activejob (= 7.0.1)
69
+ activerecord (= 7.0.1)
70
+ activesupport (= 7.0.1)
71
+ marcel (~> 1.0)
72
+ mini_mime (>= 1.1.0)
73
+ activesupport (7.0.1)
74
+ concurrent-ruby (~> 1.0, >= 1.0.2)
75
+ i18n (>= 1.6, < 2)
76
+ minitest (>= 5.1)
77
+ tzinfo (~> 2.0)
78
+ appraisal (2.4.1)
79
+ bundler
80
+ rake
81
+ thor (>= 0.14.0)
82
+ ast (2.4.2)
83
+ builder (3.2.4)
84
+ coderay (1.1.3)
85
+ concurrent-ruby (1.1.9)
86
+ crass (1.0.6)
87
+ diff-lcs (1.4.4)
88
+ digest (3.1.0)
89
+ docile (1.4.0)
90
+ dry-core (0.7.1)
91
+ concurrent-ruby (~> 1.0)
92
+ dry-initializer (3.0.4)
93
+ dry-monads (1.4.0)
94
+ concurrent-ruby (~> 1.0)
95
+ dry-core (~> 0.7)
96
+ erubi (1.10.0)
97
+ fivemat (1.3.7)
98
+ globalid (1.0.0)
99
+ activesupport (>= 5.0)
100
+ i18n (1.9.1)
101
+ concurrent-ruby (~> 1.0)
102
+ io-wait (0.2.1)
103
+ json (2.5.1)
104
+ loofah (2.13.0)
105
+ crass (~> 1.0.2)
106
+ nokogiri (>= 1.5.9)
107
+ mail (2.7.1)
108
+ mini_mime (>= 0.1.1)
109
+ marcel (1.0.2)
110
+ method_source (1.0.0)
111
+ mini_mime (1.1.2)
112
+ mini_portile2 (2.7.1)
113
+ minitest (5.15.0)
114
+ net-imap (0.2.3)
115
+ digest
116
+ net-protocol
117
+ strscan
118
+ net-pop (0.1.1)
119
+ digest
120
+ net-protocol
121
+ timeout
122
+ net-protocol (0.1.2)
123
+ io-wait
124
+ timeout
125
+ net-smtp (0.3.1)
126
+ digest
127
+ net-protocol
128
+ timeout
129
+ nio4r (2.5.8)
130
+ nokogiri (1.13.1)
131
+ mini_portile2 (~> 2.7.0)
132
+ racc (~> 1.4)
133
+ parallel (1.21.0)
134
+ parser (3.0.3.2)
135
+ ast (~> 2.4.1)
136
+ pry (0.14.1)
137
+ coderay (~> 1.1)
138
+ method_source (~> 1.0)
139
+ racc (1.6.0)
140
+ rack (2.2.3)
141
+ rack-test (1.1.0)
142
+ rack (>= 1.0, < 3)
143
+ rails (7.0.1)
144
+ actioncable (= 7.0.1)
145
+ actionmailbox (= 7.0.1)
146
+ actionmailer (= 7.0.1)
147
+ actionpack (= 7.0.1)
148
+ actiontext (= 7.0.1)
149
+ actionview (= 7.0.1)
150
+ activejob (= 7.0.1)
151
+ activemodel (= 7.0.1)
152
+ activerecord (= 7.0.1)
153
+ activestorage (= 7.0.1)
154
+ activesupport (= 7.0.1)
155
+ bundler (>= 1.15.0)
156
+ railties (= 7.0.1)
157
+ rails-dom-testing (2.0.3)
158
+ activesupport (>= 4.2.0)
159
+ nokogiri (>= 1.6)
160
+ rails-html-sanitizer (1.4.2)
161
+ loofah (~> 2.3)
162
+ railties (7.0.1)
163
+ actionpack (= 7.0.1)
164
+ activesupport (= 7.0.1)
165
+ method_source
166
+ rake (>= 12.2)
167
+ thor (~> 1.0)
168
+ zeitwerk (~> 2.5)
169
+ rainbow (3.0.0)
170
+ rake (12.3.3)
171
+ regexp_parser (2.2.0)
172
+ rexml (3.2.5)
173
+ rspec (3.10.0)
174
+ rspec-core (~> 3.10.0)
175
+ rspec-expectations (~> 3.10.0)
176
+ rspec-mocks (~> 3.10.0)
177
+ rspec-core (3.10.1)
178
+ rspec-support (~> 3.10.0)
179
+ rspec-expectations (3.10.1)
180
+ diff-lcs (>= 1.2.0, < 2.0)
181
+ rspec-support (~> 3.10.0)
182
+ rspec-mocks (3.10.2)
183
+ diff-lcs (>= 1.2.0, < 2.0)
184
+ rspec-support (~> 3.10.0)
185
+ rspec-support (3.10.3)
186
+ rspec_junit_formatter (0.4.1)
187
+ rspec-core (>= 2, < 4, != 2.12.0)
188
+ rubocop (1.23.0)
189
+ parallel (~> 1.10)
190
+ parser (>= 3.0.0.0)
191
+ rainbow (>= 2.2.2, < 4.0)
192
+ regexp_parser (>= 1.8, < 3.0)
193
+ rexml
194
+ rubocop-ast (>= 1.12.0, < 2.0)
195
+ ruby-progressbar (~> 1.7)
196
+ unicode-display_width (>= 1.4.0, < 3.0)
197
+ rubocop-ast (1.15.0)
198
+ parser (>= 3.0.1.1)
199
+ rubocop-g2 (1.5.1)
200
+ rubocop (>= 0.82)
201
+ rubocop-rails (>= 2.5)
202
+ rubocop-rspec (>= 1.39)
203
+ rubocop-rails (2.12.4)
204
+ activesupport (>= 4.2.0)
205
+ rack (>= 1.1)
206
+ rubocop (>= 1.7.0, < 2.0)
207
+ rubocop-rspec (2.6.0)
208
+ rubocop (~> 1.19)
209
+ ruby-progressbar (1.11.0)
210
+ simplecov (0.16.1)
211
+ docile (~> 1.1)
212
+ json (>= 1.8, < 3)
213
+ simplecov-html (~> 0.10.0)
214
+ simplecov-html (0.10.2)
215
+ strscan (3.0.1)
216
+ thor (1.2.1)
217
+ timeout (0.2.0)
218
+ tzinfo (2.0.4)
219
+ concurrent-ruby (~> 1.0)
220
+ unicode-display_width (2.1.0)
221
+ websocket-driver (0.7.5)
222
+ websocket-extensions (>= 0.1.0)
223
+ websocket-extensions (0.1.5)
224
+ zeitwerk (2.5.4)
225
+
226
+ PLATFORMS
227
+ ruby
228
+
229
+ DEPENDENCIES
230
+ appraisal
231
+ fivemat
232
+ g2_command!
233
+ pry
234
+ rails (~> 7.0.0)
235
+ rake (~> 12.0)
236
+ rspec (~> 3.0)
237
+ rspec_junit_formatter
238
+ rubocop-g2
239
+ simplecov (= 0.16.1)
240
+
241
+ BUNDLED WITH
242
+ 2.3.6
@@ -1,7 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- require 'active_support/core_ext/hash'
4
-
5
3
  module Command
6
4
  module InputMiddleware
7
5
  class Symbolizer
@@ -0,0 +1,22 @@
1
+ module Command
2
+ module TestHelper
3
+ class ProxyCommand
4
+ include Command
5
+
6
+ option :error_list
7
+ option :return_value
8
+
9
+ def execute
10
+ error_list.each do |(key, value)|
11
+ errors.add(key.to_sym, value.to_s)
12
+ end
13
+
14
+ return_value
15
+ end
16
+ end
17
+
18
+ def create_outcome(errors: {}, value: nil)
19
+ ProxyCommand.run(error_list: errors, return_value: value)
20
+ end
21
+ end
22
+ end
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Command
4
- VERSION = '2.4.0'
4
+ VERSION = '3.2.0'
5
5
  end
data/lib/command.rb CHANGED
@@ -1,6 +1,6 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- require 'active_support/core_ext/string'
3
+ require 'active_support/all'
4
4
  require 'active_model'
5
5
  require 'dry-initializer'
6
6
  require 'dry-monads'
@@ -18,6 +18,8 @@ module Command
18
18
  include Dry::Monads[:result]
19
19
  include ActiveModel::Validations
20
20
 
21
+ private_class_method :new
22
+
21
23
  def initialize(inputs = {})
22
24
  super(**Command::InputMiddleware.call(inputs))
23
25
  end
@@ -38,8 +40,8 @@ module Command
38
40
  errors.empty? ? Success(result) : Failure(Command::Failure.new(result, errors))
39
41
  end
40
42
 
41
- def compose(command, **args)
42
- outcome = command.run(**args)
43
+ def compose(command, *args)
44
+ outcome = command.run(*args)
43
45
 
44
46
  raise Command::Interrupt, outcome.failure.errors if outcome.failure?
45
47
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: g2_command
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.4.0
4
+ version: 3.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Hamed Asghari
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2021-03-05 00:00:00.000000000 Z
11
+ date: 2022-02-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activemodel
@@ -19,7 +19,7 @@ dependencies:
19
19
  version: '5.0'
20
20
  - - "<"
21
21
  - !ruby/object:Gem::Version
22
- version: '7'
22
+ version: '7.1'
23
23
  type: :runtime
24
24
  prerelease: false
25
25
  version_requirements: !ruby/object:Gem::Requirement
@@ -29,7 +29,7 @@ dependencies:
29
29
  version: '5.0'
30
30
  - - "<"
31
31
  - !ruby/object:Gem::Version
32
- version: '7'
32
+ version: '7.1'
33
33
  - !ruby/object:Gem::Dependency
34
34
  name: activesupport
35
35
  requirement: !ruby/object:Gem::Requirement
@@ -39,7 +39,7 @@ dependencies:
39
39
  version: '5.0'
40
40
  - - "<"
41
41
  - !ruby/object:Gem::Version
42
- version: '7'
42
+ version: '7.1'
43
43
  type: :runtime
44
44
  prerelease: false
45
45
  version_requirements: !ruby/object:Gem::Requirement
@@ -49,7 +49,7 @@ dependencies:
49
49
  version: '5.0'
50
50
  - - "<"
51
51
  - !ruby/object:Gem::Version
52
- version: '7'
52
+ version: '7.1'
53
53
  - !ruby/object:Gem::Dependency
54
54
  name: dry-initializer
55
55
  requirement: !ruby/object:Gem::Requirement
@@ -86,12 +86,10 @@ extensions: []
86
86
  extra_rdoc_files: []
87
87
  files:
88
88
  - ".circleci/config.yml"
89
- - ".github/config/rubocop_linter_action.yml"
90
89
  - ".github/workflows/linters.yml"
91
90
  - ".gitignore"
92
91
  - ".rspec"
93
92
  - ".rubocop.yml"
94
- - ".ruby-version"
95
93
  - ".tool-versions"
96
94
  - Appraisals
97
95
  - CODE_OF_CONDUCT.md
@@ -104,20 +102,17 @@ files:
104
102
  - bin/setup
105
103
  - g2_command.gemspec
106
104
  - gemfiles/.bundle/config
107
- - gemfiles/rails_5.1.gemfile
108
- - gemfiles/rails_5.1.gemfile.lock
109
- - gemfiles/rails_5.2.gemfile
110
- - gemfiles/rails_5.2.gemfile.lock
111
- - gemfiles/rails_6.0.gemfile
112
- - gemfiles/rails_6.0.gemfile.lock
113
105
  - gemfiles/rails_6.1.gemfile
114
106
  - gemfiles/rails_6.1.gemfile.lock
107
+ - gemfiles/rails_7.0.gemfile
108
+ - gemfiles/rails_7.0.gemfile.lock
115
109
  - lib/command.rb
116
110
  - lib/command/failure.rb
117
111
  - lib/command/input_middleware.rb
118
112
  - lib/command/input_middleware/rails_params.rb
119
113
  - lib/command/input_middleware/symbolizer.rb
120
114
  - lib/command/interrupt.rb
115
+ - lib/command/test_helper.rb
121
116
  - lib/command/version.rb
122
117
  - lib/g2_command.rb
123
118
  - lib/gem_ext/active_model/errors.rb
@@ -135,14 +130,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
135
130
  requirements:
136
131
  - - ">="
137
132
  - !ruby/object:Gem::Version
138
- version: 2.4.0
133
+ version: 2.7.0
139
134
  required_rubygems_version: !ruby/object:Gem::Requirement
140
135
  requirements:
141
136
  - - ">="
142
137
  - !ruby/object:Gem::Version
143
138
  version: '0'
144
139
  requirements: []
145
- rubygems_version: 3.2.3
140
+ rubygems_version: 3.3.3
146
141
  signing_key:
147
142
  specification_version: 4
148
143
  summary: An implementation of the command pattern using dry-rb
@@ -1,17 +0,0 @@
1
- check_name: 'RuboCop'
2
-
3
- # Instead of installing gems from rubygems, we can run `bundle install` on your project,
4
- # you would need to do this if you are using something like 'rubocop-github' or if you don't
5
- # want to list out dependencies with the `versions` key.
6
- # Valid options: true || false
7
- # Default: false
8
- bundle: true
9
-
10
- # The scope of code that Rubocop should lint. Use this if you only want to lint changed files. If this is not set
11
- # or not equal to 'modified', Rubocop is run against the entire codebase. Note that this will not work on the main branch.
12
- # Valid options: 'modified'
13
- # Default: nil
14
- check_scope: 'modified'
15
-
16
- rubocop_force_exclusion: true
17
- base_branch: "origin/main"