g2_command 2.3.0 → 2.4.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 9217fb815c461a03b28aee50cc536dbc233f5e6382ec997bd49eca32974c7def
4
- data.tar.gz: 4ed49dde0c58e37e1f5b94bf206cd80b2b7c2266d73346f26a3d026ad519df9c
3
+ metadata.gz: 8b498126a177312a5f04fe6b4c410de93ac2bf9ba04979bd97eb4b557f9db2ba
4
+ data.tar.gz: 8c92c87dced570aa7529ba71e0bc7b81821c65b86dc6303aeb8d466dde436f3b
5
5
  SHA512:
6
- metadata.gz: 8cdc00cfe2a6c81ceb1ab2c7de10ecd160fb103e426e589c344ac1828643bcfba959e2ad4cb8c428654a50af074b7f34850616dc4bfa3a822a51978351b819fc
7
- data.tar.gz: a7064a74ef68395310a38d4e80b33cccdee17ef3c2352de6e711366b88fc0bdc791ab145049339ef70868db9982e3d7f37fb6e6bef06a2c79d972cfa61828d0e
6
+ metadata.gz: 90fac7759c6ef26ed7f687a5217758aa78094149b1397bb7d63cd398e0dc8327ea2197f8559e67645a02f43ec691433a9bf13a1feaf3e97706af7deeb606d293
7
+ data.tar.gz: 8384432912974a58e364540608a70f673ab17c80f29ddc082d77c800a307a5788b916cc586688b60c85b72f7402320266367eaac694657329ac08efce78ad419
data/.circleci/config.yml CHANGED
@@ -11,13 +11,18 @@ workflows:
11
11
  context: g2crowd-global
12
12
  matrix:
13
13
  parameters:
14
- ruby: ['2.4.10', '2.5.8', '2.6.6', '2.7.2']
14
+ ruby: ['2.5.8', '2.6.6', '2.7.2', '3.0.0']
15
15
  appraisal:
16
16
  - rails_5.1
17
17
  - rails_5.2
18
18
  - rails_6.0
19
+ - rails_6.1
19
20
  exclude:
20
- - ruby: '2.4.10'
21
+ - ruby: '3.0.0'
22
+ appraisal: rails_5.1
23
+ - ruby: '3.0.0'
24
+ appraisal: rails_5.2
25
+ - ruby: '3.0.0'
21
26
  appraisal: rails_6.0
22
27
  - ruby/build:
23
28
  context: g2crowd-global
data/.tool-versions CHANGED
@@ -1 +1 @@
1
- ruby 2.7.2
1
+ ruby 3.0.0
data/Appraisals CHANGED
@@ -1,13 +1,17 @@
1
1
  appraise 'rails_5.1' do
2
- gem 'rails', '5.1.7'
2
+ gem 'rails', '~> 5.1', '< 5.2'
3
3
  gem 'sprockets', '~> 3'
4
4
  end
5
5
 
6
6
  appraise 'rails_5.2' do
7
- gem 'rails', '5.2.4'
7
+ gem 'rails', '~> 5.2'
8
8
  gem 'sprockets', '~> 3'
9
9
  end
10
10
 
11
11
  appraise 'rails_6.0' do
12
- gem 'rails', '6.0.3'
12
+ gem 'rails', '~> 6.0.3'
13
+ end
14
+
15
+ appraise 'rails_6.1' do
16
+ gem 'rails', '~> 6.1.0'
13
17
  end
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- g2_command (2.3.0)
4
+ g2_command (2.4.0)
5
5
  activemodel (>= 5.0, < 7)
6
6
  activesupport (>= 5.0, < 7)
7
7
  dry-initializer (~> 3.0)
@@ -10,61 +10,65 @@ PATH
10
10
  GEM
11
11
  remote: https://rubygems.org/
12
12
  specs:
13
- actioncable (6.0.3.3)
14
- actionpack (= 6.0.3.3)
13
+ actioncable (6.1.3)
14
+ actionpack (= 6.1.3)
15
+ activesupport (= 6.1.3)
15
16
  nio4r (~> 2.0)
16
17
  websocket-driver (>= 0.6.1)
17
- actionmailbox (6.0.3.3)
18
- actionpack (= 6.0.3.3)
19
- activejob (= 6.0.3.3)
20
- activerecord (= 6.0.3.3)
21
- activestorage (= 6.0.3.3)
22
- activesupport (= 6.0.3.3)
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)
23
24
  mail (>= 2.7.1)
24
- actionmailer (6.0.3.3)
25
- actionpack (= 6.0.3.3)
26
- actionview (= 6.0.3.3)
27
- activejob (= 6.0.3.3)
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)
28
30
  mail (~> 2.5, >= 2.5.4)
29
31
  rails-dom-testing (~> 2.0)
30
- actionpack (6.0.3.3)
31
- actionview (= 6.0.3.3)
32
- activesupport (= 6.0.3.3)
33
- rack (~> 2.0, >= 2.0.8)
32
+ actionpack (6.1.3)
33
+ actionview (= 6.1.3)
34
+ activesupport (= 6.1.3)
35
+ rack (~> 2.0, >= 2.0.9)
34
36
  rack-test (>= 0.6.3)
35
37
  rails-dom-testing (~> 2.0)
36
38
  rails-html-sanitizer (~> 1.0, >= 1.2.0)
37
- actiontext (6.0.3.3)
38
- actionpack (= 6.0.3.3)
39
- activerecord (= 6.0.3.3)
40
- activestorage (= 6.0.3.3)
41
- activesupport (= 6.0.3.3)
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)
42
44
  nokogiri (>= 1.8.5)
43
- actionview (6.0.3.3)
44
- activesupport (= 6.0.3.3)
45
+ actionview (6.1.3)
46
+ activesupport (= 6.1.3)
45
47
  builder (~> 3.1)
46
48
  erubi (~> 1.4)
47
49
  rails-dom-testing (~> 2.0)
48
50
  rails-html-sanitizer (~> 1.1, >= 1.2.0)
49
- activejob (6.0.3.3)
50
- activesupport (= 6.0.3.3)
51
+ activejob (6.1.3)
52
+ activesupport (= 6.1.3)
51
53
  globalid (>= 0.3.6)
52
- activemodel (6.0.3.3)
53
- activesupport (= 6.0.3.3)
54
- activerecord (6.0.3.3)
55
- activemodel (= 6.0.3.3)
56
- activesupport (= 6.0.3.3)
57
- activestorage (6.0.3.3)
58
- actionpack (= 6.0.3.3)
59
- activejob (= 6.0.3.3)
60
- activerecord (= 6.0.3.3)
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)
61
64
  marcel (~> 0.3.1)
62
- activesupport (6.0.3.3)
65
+ mimemagic (~> 0.3.2)
66
+ activesupport (6.1.3)
63
67
  concurrent-ruby (~> 1.0, >= 1.0.2)
64
- i18n (>= 0.7, < 2)
65
- minitest (~> 5.1)
66
- tzinfo (~> 1.1)
67
- zeitwerk (~> 2.2, >= 2.2.2)
68
+ i18n (>= 1.6, < 2)
69
+ minitest (>= 5.1)
70
+ tzinfo (~> 2.0)
71
+ zeitwerk (~> 2.3)
68
72
  appraisal (2.3.0)
69
73
  bundler
70
74
  rake
@@ -72,11 +76,11 @@ GEM
72
76
  ast (2.4.1)
73
77
  builder (3.2.4)
74
78
  coderay (1.1.2)
75
- concurrent-ruby (1.1.7)
79
+ concurrent-ruby (1.1.8)
76
80
  crass (1.0.6)
77
- diff-lcs (1.3)
81
+ diff-lcs (1.4.4)
78
82
  docile (1.3.2)
79
- dry-core (0.4.9)
83
+ dry-core (0.5.0)
80
84
  concurrent-ruby (~> 1.0)
81
85
  dry-equalizer (0.3.0)
82
86
  dry-initializer (3.0.4)
@@ -84,14 +88,14 @@ GEM
84
88
  concurrent-ruby (~> 1.0)
85
89
  dry-core (~> 0.4, >= 0.4.4)
86
90
  dry-equalizer
87
- erubi (1.9.0)
91
+ erubi (1.10.0)
88
92
  fivemat (1.3.7)
89
93
  globalid (0.4.2)
90
94
  activesupport (>= 4.2.0)
91
- i18n (1.8.5)
95
+ i18n (1.8.9)
92
96
  concurrent-ruby (~> 1.0)
93
97
  json (2.3.0)
94
- loofah (2.7.0)
98
+ loofah (2.9.0)
95
99
  crass (~> 1.0.2)
96
100
  nokogiri (>= 1.5.9)
97
101
  mail (2.7.1)
@@ -101,63 +105,65 @@ GEM
101
105
  method_source (0.9.2)
102
106
  mimemagic (0.3.5)
103
107
  mini_mime (1.0.2)
104
- mini_portile2 (2.4.0)
105
- minitest (5.14.2)
106
- nio4r (2.5.4)
107
- nokogiri (1.10.10)
108
- mini_portile2 (~> 2.4.0)
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)
113
+ racc (~> 1.4)
109
114
  parallel (1.19.2)
110
115
  parser (2.7.2.0)
111
116
  ast (~> 2.4.1)
112
117
  pry (0.12.2)
113
118
  coderay (~> 1.1.0)
114
119
  method_source (~> 0.9.0)
120
+ racc (1.5.2)
115
121
  rack (2.2.3)
116
122
  rack-test (1.1.0)
117
123
  rack (>= 1.0, < 3)
118
- rails (6.0.3.3)
119
- actioncable (= 6.0.3.3)
120
- actionmailbox (= 6.0.3.3)
121
- actionmailer (= 6.0.3.3)
122
- actionpack (= 6.0.3.3)
123
- actiontext (= 6.0.3.3)
124
- actionview (= 6.0.3.3)
125
- activejob (= 6.0.3.3)
126
- activemodel (= 6.0.3.3)
127
- activerecord (= 6.0.3.3)
128
- activestorage (= 6.0.3.3)
129
- activesupport (= 6.0.3.3)
130
- bundler (>= 1.3.0)
131
- railties (= 6.0.3.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)
136
+ bundler (>= 1.15.0)
137
+ railties (= 6.1.3)
132
138
  sprockets-rails (>= 2.0.0)
133
139
  rails-dom-testing (2.0.3)
134
140
  activesupport (>= 4.2.0)
135
141
  nokogiri (>= 1.6)
136
142
  rails-html-sanitizer (1.3.0)
137
143
  loofah (~> 2.3)
138
- railties (6.0.3.3)
139
- actionpack (= 6.0.3.3)
140
- activesupport (= 6.0.3.3)
144
+ railties (6.1.3)
145
+ actionpack (= 6.1.3)
146
+ activesupport (= 6.1.3)
141
147
  method_source
142
148
  rake (>= 0.8.7)
143
- thor (>= 0.20.3, < 2.0)
149
+ thor (~> 1.0)
144
150
  rainbow (3.0.0)
145
151
  rake (12.3.3)
146
152
  regexp_parser (1.8.2)
147
153
  rexml (3.2.4)
148
- rspec (3.9.0)
149
- rspec-core (~> 3.9.0)
150
- rspec-expectations (~> 3.9.0)
151
- rspec-mocks (~> 3.9.0)
152
- rspec-core (3.9.1)
153
- rspec-support (~> 3.9.1)
154
- rspec-expectations (3.9.1)
154
+ rspec (3.10.0)
155
+ rspec-core (~> 3.10.0)
156
+ rspec-expectations (~> 3.10.0)
157
+ rspec-mocks (~> 3.10.0)
158
+ rspec-core (3.10.1)
159
+ rspec-support (~> 3.10.0)
160
+ rspec-expectations (3.10.1)
155
161
  diff-lcs (>= 1.2.0, < 2.0)
156
- rspec-support (~> 3.9.0)
157
- rspec-mocks (3.9.1)
162
+ rspec-support (~> 3.10.0)
163
+ rspec-mocks (3.10.2)
158
164
  diff-lcs (>= 1.2.0, < 2.0)
159
- rspec-support (~> 3.9.0)
160
- rspec-support (3.9.2)
165
+ rspec-support (~> 3.10.0)
166
+ rspec-support (3.10.2)
161
167
  rspec_junit_formatter (0.4.1)
162
168
  rspec-core (>= 2, < 4, != 2.12.0)
163
169
  rubocop (0.93.1)
@@ -195,15 +201,14 @@ GEM
195
201
  actionpack (>= 4.0)
196
202
  activesupport (>= 4.0)
197
203
  sprockets (>= 3.0.0)
198
- thor (1.0.1)
199
- thread_safe (0.3.6)
200
- tzinfo (1.2.7)
201
- thread_safe (~> 0.1)
204
+ thor (1.1.0)
205
+ tzinfo (2.0.4)
206
+ concurrent-ruby (~> 1.0)
202
207
  unicode-display_width (1.7.0)
203
208
  websocket-driver (0.7.3)
204
209
  websocket-extensions (>= 0.1.0)
205
210
  websocket-extensions (0.1.5)
206
- zeitwerk (2.4.0)
211
+ zeitwerk (2.4.2)
207
212
 
208
213
  PLATFORMS
209
214
  ruby
@@ -221,4 +226,4 @@ DEPENDENCIES
221
226
  simplecov (= 0.16.1)
222
227
 
223
228
  BUNDLED WITH
224
- 2.1.4
229
+ 2.2.3
@@ -5,7 +5,7 @@ source "https://rubygems.org"
5
5
  gem "appraisal"
6
6
  gem "fivemat"
7
7
  gem "pry"
8
- gem "rails", "5.1.7"
8
+ gem "rails", "~> 5.1", "< 5.2"
9
9
  gem "rake", "~> 12.0"
10
10
  gem "rspec", "~> 3.0"
11
11
  gem "rspec_junit_formatter"
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: ..
3
3
  specs:
4
- g2_command (2.2.0)
4
+ g2_command (2.4.0)
5
5
  activemodel (>= 5.0, < 7)
6
6
  activesupport (>= 5.0, < 7)
7
7
  dry-initializer (~> 3.0)
@@ -55,11 +55,11 @@ GEM
55
55
  ast (2.4.1)
56
56
  builder (3.2.4)
57
57
  coderay (1.1.3)
58
- concurrent-ruby (1.1.7)
58
+ concurrent-ruby (1.1.8)
59
59
  crass (1.0.6)
60
60
  diff-lcs (1.4.4)
61
61
  docile (1.3.2)
62
- dry-core (0.4.9)
62
+ dry-core (0.5.0)
63
63
  concurrent-ruby (~> 1.0)
64
64
  dry-equalizer (0.3.0)
65
65
  dry-initializer (3.0.4)
@@ -67,31 +67,33 @@ GEM
67
67
  concurrent-ruby (~> 1.0)
68
68
  dry-core (~> 0.4, >= 0.4.4)
69
69
  dry-equalizer
70
- erubi (1.9.0)
70
+ erubi (1.10.0)
71
71
  fivemat (1.3.7)
72
72
  globalid (0.4.2)
73
73
  activesupport (>= 4.2.0)
74
- i18n (1.8.5)
74
+ i18n (1.8.9)
75
75
  concurrent-ruby (~> 1.0)
76
76
  json (2.3.1)
77
- loofah (2.7.0)
77
+ loofah (2.9.0)
78
78
  crass (~> 1.0.2)
79
79
  nokogiri (>= 1.5.9)
80
80
  mail (2.7.1)
81
81
  mini_mime (>= 0.1.1)
82
82
  method_source (1.0.0)
83
83
  mini_mime (1.0.2)
84
- mini_portile2 (2.4.0)
85
- minitest (5.14.2)
86
- nio4r (2.5.4)
87
- nokogiri (1.10.10)
88
- mini_portile2 (~> 2.4.0)
84
+ mini_portile2 (2.5.0)
85
+ minitest (5.14.4)
86
+ nio4r (2.5.5)
87
+ nokogiri (1.11.1)
88
+ mini_portile2 (~> 2.5.0)
89
+ racc (~> 1.4)
89
90
  parallel (1.19.2)
90
91
  parser (2.7.2.0)
91
92
  ast (~> 2.4.1)
92
93
  pry (0.13.1)
93
94
  coderay (~> 1.1)
94
95
  method_source (~> 1.0)
96
+ racc (1.5.2)
95
97
  rack (2.2.3)
96
98
  rack-test (1.1.0)
97
99
  rack (>= 1.0, < 3)
@@ -172,9 +174,9 @@ GEM
172
174
  actionpack (>= 4.0)
173
175
  activesupport (>= 4.0)
174
176
  sprockets (>= 3.0.0)
175
- thor (1.0.1)
177
+ thor (1.1.0)
176
178
  thread_safe (0.3.6)
177
- tzinfo (1.2.7)
179
+ tzinfo (1.2.9)
178
180
  thread_safe (~> 0.1)
179
181
  unicode-display_width (1.7.0)
180
182
  websocket-driver (0.6.5)
@@ -189,7 +191,7 @@ DEPENDENCIES
189
191
  fivemat
190
192
  g2_command!
191
193
  pry
192
- rails (= 5.1.7)
194
+ rails (~> 5.1, < 5.2)
193
195
  rake (~> 12.0)
194
196
  rspec (~> 3.0)
195
197
  rspec_junit_formatter
@@ -198,4 +200,4 @@ DEPENDENCIES
198
200
  sprockets (~> 3)
199
201
 
200
202
  BUNDLED WITH
201
- 2.1.4
203
+ 2.2.3
@@ -5,7 +5,7 @@ source "https://rubygems.org"
5
5
  gem "appraisal"
6
6
  gem "fivemat"
7
7
  gem "pry"
8
- gem "rails", "5.2.4"
8
+ gem "rails", "~> 5.2"
9
9
  gem "rake", "~> 12.0"
10
10
  gem "rspec", "~> 3.0"
11
11
  gem "rspec_junit_formatter"
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: ..
3
3
  specs:
4
- g2_command (2.2.0)
4
+ g2_command (2.4.0)
5
5
  activemodel (>= 5.0, < 7)
6
6
  activesupport (>= 5.0, < 7)
7
7
  dry-initializer (~> 3.0)
@@ -10,43 +10,43 @@ PATH
10
10
  GEM
11
11
  remote: https://rubygems.org/
12
12
  specs:
13
- actioncable (5.2.4)
14
- actionpack (= 5.2.4)
13
+ actioncable (5.2.4.5)
14
+ actionpack (= 5.2.4.5)
15
15
  nio4r (~> 2.0)
16
16
  websocket-driver (>= 0.6.1)
17
- actionmailer (5.2.4)
18
- actionpack (= 5.2.4)
19
- actionview (= 5.2.4)
20
- activejob (= 5.2.4)
17
+ actionmailer (5.2.4.5)
18
+ actionpack (= 5.2.4.5)
19
+ actionview (= 5.2.4.5)
20
+ activejob (= 5.2.4.5)
21
21
  mail (~> 2.5, >= 2.5.4)
22
22
  rails-dom-testing (~> 2.0)
23
- actionpack (5.2.4)
24
- actionview (= 5.2.4)
25
- activesupport (= 5.2.4)
26
- rack (~> 2.0)
23
+ actionpack (5.2.4.5)
24
+ actionview (= 5.2.4.5)
25
+ activesupport (= 5.2.4.5)
26
+ rack (~> 2.0, >= 2.0.8)
27
27
  rack-test (>= 0.6.3)
28
28
  rails-dom-testing (~> 2.0)
29
29
  rails-html-sanitizer (~> 1.0, >= 1.0.2)
30
- actionview (5.2.4)
31
- activesupport (= 5.2.4)
30
+ actionview (5.2.4.5)
31
+ activesupport (= 5.2.4.5)
32
32
  builder (~> 3.1)
33
33
  erubi (~> 1.4)
34
34
  rails-dom-testing (~> 2.0)
35
35
  rails-html-sanitizer (~> 1.0, >= 1.0.3)
36
- activejob (5.2.4)
37
- activesupport (= 5.2.4)
36
+ activejob (5.2.4.5)
37
+ activesupport (= 5.2.4.5)
38
38
  globalid (>= 0.3.6)
39
- activemodel (5.2.4)
40
- activesupport (= 5.2.4)
41
- activerecord (5.2.4)
42
- activemodel (= 5.2.4)
43
- activesupport (= 5.2.4)
39
+ activemodel (5.2.4.5)
40
+ activesupport (= 5.2.4.5)
41
+ activerecord (5.2.4.5)
42
+ activemodel (= 5.2.4.5)
43
+ activesupport (= 5.2.4.5)
44
44
  arel (>= 9.0)
45
- activestorage (5.2.4)
46
- actionpack (= 5.2.4)
47
- activerecord (= 5.2.4)
45
+ activestorage (5.2.4.5)
46
+ actionpack (= 5.2.4.5)
47
+ activerecord (= 5.2.4.5)
48
48
  marcel (~> 0.3.1)
49
- activesupport (5.2.4)
49
+ activesupport (5.2.4.5)
50
50
  concurrent-ruby (~> 1.0, >= 1.0.2)
51
51
  i18n (>= 0.7, < 2)
52
52
  minitest (~> 5.1)
@@ -59,11 +59,11 @@ GEM
59
59
  ast (2.4.1)
60
60
  builder (3.2.4)
61
61
  coderay (1.1.3)
62
- concurrent-ruby (1.1.7)
62
+ concurrent-ruby (1.1.8)
63
63
  crass (1.0.6)
64
64
  diff-lcs (1.4.4)
65
65
  docile (1.3.2)
66
- dry-core (0.4.9)
66
+ dry-core (0.5.0)
67
67
  concurrent-ruby (~> 1.0)
68
68
  dry-equalizer (0.3.0)
69
69
  dry-initializer (3.0.4)
@@ -71,14 +71,14 @@ GEM
71
71
  concurrent-ruby (~> 1.0)
72
72
  dry-core (~> 0.4, >= 0.4.4)
73
73
  dry-equalizer
74
- erubi (1.9.0)
74
+ erubi (1.10.0)
75
75
  fivemat (1.3.7)
76
76
  globalid (0.4.2)
77
77
  activesupport (>= 4.2.0)
78
- i18n (1.8.5)
78
+ i18n (1.8.9)
79
79
  concurrent-ruby (~> 1.0)
80
80
  json (2.3.1)
81
- loofah (2.7.0)
81
+ loofah (2.9.0)
82
82
  crass (~> 1.0.2)
83
83
  nokogiri (>= 1.5.9)
84
84
  mail (2.7.1)
@@ -88,41 +88,43 @@ GEM
88
88
  method_source (1.0.0)
89
89
  mimemagic (0.3.5)
90
90
  mini_mime (1.0.2)
91
- mini_portile2 (2.4.0)
92
- minitest (5.14.2)
93
- nio4r (2.5.4)
94
- nokogiri (1.10.10)
95
- mini_portile2 (~> 2.4.0)
91
+ mini_portile2 (2.5.0)
92
+ minitest (5.14.4)
93
+ nio4r (2.5.5)
94
+ nokogiri (1.11.1)
95
+ mini_portile2 (~> 2.5.0)
96
+ racc (~> 1.4)
96
97
  parallel (1.19.2)
97
98
  parser (2.7.2.0)
98
99
  ast (~> 2.4.1)
99
100
  pry (0.13.1)
100
101
  coderay (~> 1.1)
101
102
  method_source (~> 1.0)
103
+ racc (1.5.2)
102
104
  rack (2.2.3)
103
105
  rack-test (1.1.0)
104
106
  rack (>= 1.0, < 3)
105
- rails (5.2.4)
106
- actioncable (= 5.2.4)
107
- actionmailer (= 5.2.4)
108
- actionpack (= 5.2.4)
109
- actionview (= 5.2.4)
110
- activejob (= 5.2.4)
111
- activemodel (= 5.2.4)
112
- activerecord (= 5.2.4)
113
- activestorage (= 5.2.4)
114
- activesupport (= 5.2.4)
107
+ rails (5.2.4.5)
108
+ actioncable (= 5.2.4.5)
109
+ actionmailer (= 5.2.4.5)
110
+ actionpack (= 5.2.4.5)
111
+ actionview (= 5.2.4.5)
112
+ activejob (= 5.2.4.5)
113
+ activemodel (= 5.2.4.5)
114
+ activerecord (= 5.2.4.5)
115
+ activestorage (= 5.2.4.5)
116
+ activesupport (= 5.2.4.5)
115
117
  bundler (>= 1.3.0)
116
- railties (= 5.2.4)
118
+ railties (= 5.2.4.5)
117
119
  sprockets-rails (>= 2.0.0)
118
120
  rails-dom-testing (2.0.3)
119
121
  activesupport (>= 4.2.0)
120
122
  nokogiri (>= 1.6)
121
123
  rails-html-sanitizer (1.3.0)
122
124
  loofah (~> 2.3)
123
- railties (5.2.4)
124
- actionpack (= 5.2.4)
125
- activesupport (= 5.2.4)
125
+ railties (5.2.4.5)
126
+ actionpack (= 5.2.4.5)
127
+ activesupport (= 5.2.4.5)
126
128
  method_source
127
129
  rake (>= 0.8.7)
128
130
  thor (>= 0.19.0, < 2.0)
@@ -180,9 +182,9 @@ GEM
180
182
  actionpack (>= 4.0)
181
183
  activesupport (>= 4.0)
182
184
  sprockets (>= 3.0.0)
183
- thor (1.0.1)
185
+ thor (1.1.0)
184
186
  thread_safe (0.3.6)
185
- tzinfo (1.2.7)
187
+ tzinfo (1.2.9)
186
188
  thread_safe (~> 0.1)
187
189
  unicode-display_width (1.7.0)
188
190
  websocket-driver (0.7.3)
@@ -197,7 +199,7 @@ DEPENDENCIES
197
199
  fivemat
198
200
  g2_command!
199
201
  pry
200
- rails (= 5.2.4)
202
+ rails (~> 5.2)
201
203
  rake (~> 12.0)
202
204
  rspec (~> 3.0)
203
205
  rspec_junit_formatter
@@ -206,4 +208,4 @@ DEPENDENCIES
206
208
  sprockets (~> 3)
207
209
 
208
210
  BUNDLED WITH
209
- 2.1.4
211
+ 2.2.3
@@ -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", "~> 6.0.3"
9
9
  gem "rake", "~> 12.0"
10
10
  gem "rspec", "~> 3.0"
11
11
  gem "rspec_junit_formatter"
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: ..
3
3
  specs:
4
- g2_command (2.2.0)
4
+ g2_command (2.4.0)
5
5
  activemodel (>= 5.0, < 7)
6
6
  activesupport (>= 5.0, < 7)
7
7
  dry-initializer (~> 3.0)
@@ -10,56 +10,56 @@ PATH
10
10
  GEM
11
11
  remote: https://rubygems.org/
12
12
  specs:
13
- actioncable (6.0.3)
14
- actionpack (= 6.0.3)
13
+ actioncable (6.0.3.5)
14
+ actionpack (= 6.0.3.5)
15
15
  nio4r (~> 2.0)
16
16
  websocket-driver (>= 0.6.1)
17
- actionmailbox (6.0.3)
18
- actionpack (= 6.0.3)
19
- activejob (= 6.0.3)
20
- activerecord (= 6.0.3)
21
- activestorage (= 6.0.3)
22
- activesupport (= 6.0.3)
17
+ actionmailbox (6.0.3.5)
18
+ actionpack (= 6.0.3.5)
19
+ activejob (= 6.0.3.5)
20
+ activerecord (= 6.0.3.5)
21
+ activestorage (= 6.0.3.5)
22
+ activesupport (= 6.0.3.5)
23
23
  mail (>= 2.7.1)
24
- actionmailer (6.0.3)
25
- actionpack (= 6.0.3)
26
- actionview (= 6.0.3)
27
- activejob (= 6.0.3)
24
+ actionmailer (6.0.3.5)
25
+ actionpack (= 6.0.3.5)
26
+ actionview (= 6.0.3.5)
27
+ activejob (= 6.0.3.5)
28
28
  mail (~> 2.5, >= 2.5.4)
29
29
  rails-dom-testing (~> 2.0)
30
- actionpack (6.0.3)
31
- actionview (= 6.0.3)
32
- activesupport (= 6.0.3)
30
+ actionpack (6.0.3.5)
31
+ actionview (= 6.0.3.5)
32
+ activesupport (= 6.0.3.5)
33
33
  rack (~> 2.0, >= 2.0.8)
34
34
  rack-test (>= 0.6.3)
35
35
  rails-dom-testing (~> 2.0)
36
36
  rails-html-sanitizer (~> 1.0, >= 1.2.0)
37
- actiontext (6.0.3)
38
- actionpack (= 6.0.3)
39
- activerecord (= 6.0.3)
40
- activestorage (= 6.0.3)
41
- activesupport (= 6.0.3)
37
+ actiontext (6.0.3.5)
38
+ actionpack (= 6.0.3.5)
39
+ activerecord (= 6.0.3.5)
40
+ activestorage (= 6.0.3.5)
41
+ activesupport (= 6.0.3.5)
42
42
  nokogiri (>= 1.8.5)
43
- actionview (6.0.3)
44
- activesupport (= 6.0.3)
43
+ actionview (6.0.3.5)
44
+ activesupport (= 6.0.3.5)
45
45
  builder (~> 3.1)
46
46
  erubi (~> 1.4)
47
47
  rails-dom-testing (~> 2.0)
48
48
  rails-html-sanitizer (~> 1.1, >= 1.2.0)
49
- activejob (6.0.3)
50
- activesupport (= 6.0.3)
49
+ activejob (6.0.3.5)
50
+ activesupport (= 6.0.3.5)
51
51
  globalid (>= 0.3.6)
52
- activemodel (6.0.3)
53
- activesupport (= 6.0.3)
54
- activerecord (6.0.3)
55
- activemodel (= 6.0.3)
56
- activesupport (= 6.0.3)
57
- activestorage (6.0.3)
58
- actionpack (= 6.0.3)
59
- activejob (= 6.0.3)
60
- activerecord (= 6.0.3)
52
+ activemodel (6.0.3.5)
53
+ activesupport (= 6.0.3.5)
54
+ activerecord (6.0.3.5)
55
+ activemodel (= 6.0.3.5)
56
+ activesupport (= 6.0.3.5)
57
+ activestorage (6.0.3.5)
58
+ actionpack (= 6.0.3.5)
59
+ activejob (= 6.0.3.5)
60
+ activerecord (= 6.0.3.5)
61
61
  marcel (~> 0.3.1)
62
- activesupport (6.0.3)
62
+ activesupport (6.0.3.5)
63
63
  concurrent-ruby (~> 1.0, >= 1.0.2)
64
64
  i18n (>= 0.7, < 2)
65
65
  minitest (~> 5.1)
@@ -72,11 +72,11 @@ GEM
72
72
  ast (2.4.1)
73
73
  builder (3.2.4)
74
74
  coderay (1.1.3)
75
- concurrent-ruby (1.1.7)
75
+ concurrent-ruby (1.1.8)
76
76
  crass (1.0.6)
77
77
  diff-lcs (1.4.4)
78
78
  docile (1.3.2)
79
- dry-core (0.4.9)
79
+ dry-core (0.5.0)
80
80
  concurrent-ruby (~> 1.0)
81
81
  dry-equalizer (0.3.0)
82
82
  dry-initializer (3.0.4)
@@ -84,14 +84,14 @@ GEM
84
84
  concurrent-ruby (~> 1.0)
85
85
  dry-core (~> 0.4, >= 0.4.4)
86
86
  dry-equalizer
87
- erubi (1.9.0)
87
+ erubi (1.10.0)
88
88
  fivemat (1.3.7)
89
89
  globalid (0.4.2)
90
90
  activesupport (>= 4.2.0)
91
- i18n (1.8.5)
91
+ i18n (1.8.9)
92
92
  concurrent-ruby (~> 1.0)
93
93
  json (2.3.1)
94
- loofah (2.7.0)
94
+ loofah (2.9.0)
95
95
  crass (~> 1.0.2)
96
96
  nokogiri (>= 1.5.9)
97
97
  mail (2.7.1)
@@ -101,43 +101,45 @@ GEM
101
101
  method_source (1.0.0)
102
102
  mimemagic (0.3.5)
103
103
  mini_mime (1.0.2)
104
- mini_portile2 (2.4.0)
105
- minitest (5.14.2)
106
- nio4r (2.5.4)
107
- nokogiri (1.10.10)
108
- mini_portile2 (~> 2.4.0)
104
+ mini_portile2 (2.5.0)
105
+ minitest (5.14.4)
106
+ nio4r (2.5.5)
107
+ nokogiri (1.11.1)
108
+ mini_portile2 (~> 2.5.0)
109
+ racc (~> 1.4)
109
110
  parallel (1.19.2)
110
111
  parser (2.7.2.0)
111
112
  ast (~> 2.4.1)
112
113
  pry (0.13.1)
113
114
  coderay (~> 1.1)
114
115
  method_source (~> 1.0)
116
+ racc (1.5.2)
115
117
  rack (2.2.3)
116
118
  rack-test (1.1.0)
117
119
  rack (>= 1.0, < 3)
118
- rails (6.0.3)
119
- actioncable (= 6.0.3)
120
- actionmailbox (= 6.0.3)
121
- actionmailer (= 6.0.3)
122
- actionpack (= 6.0.3)
123
- actiontext (= 6.0.3)
124
- actionview (= 6.0.3)
125
- activejob (= 6.0.3)
126
- activemodel (= 6.0.3)
127
- activerecord (= 6.0.3)
128
- activestorage (= 6.0.3)
129
- activesupport (= 6.0.3)
120
+ rails (6.0.3.5)
121
+ actioncable (= 6.0.3.5)
122
+ actionmailbox (= 6.0.3.5)
123
+ actionmailer (= 6.0.3.5)
124
+ actionpack (= 6.0.3.5)
125
+ actiontext (= 6.0.3.5)
126
+ actionview (= 6.0.3.5)
127
+ activejob (= 6.0.3.5)
128
+ activemodel (= 6.0.3.5)
129
+ activerecord (= 6.0.3.5)
130
+ activestorage (= 6.0.3.5)
131
+ activesupport (= 6.0.3.5)
130
132
  bundler (>= 1.3.0)
131
- railties (= 6.0.3)
133
+ railties (= 6.0.3.5)
132
134
  sprockets-rails (>= 2.0.0)
133
135
  rails-dom-testing (2.0.3)
134
136
  activesupport (>= 4.2.0)
135
137
  nokogiri (>= 1.6)
136
138
  rails-html-sanitizer (1.3.0)
137
139
  loofah (~> 2.3)
138
- railties (6.0.3)
139
- actionpack (= 6.0.3)
140
- activesupport (= 6.0.3)
140
+ railties (6.0.3.5)
141
+ actionpack (= 6.0.3.5)
142
+ activesupport (= 6.0.3.5)
141
143
  method_source
142
144
  rake (>= 0.8.7)
143
145
  thor (>= 0.20.3, < 2.0)
@@ -195,15 +197,15 @@ GEM
195
197
  actionpack (>= 4.0)
196
198
  activesupport (>= 4.0)
197
199
  sprockets (>= 3.0.0)
198
- thor (1.0.1)
200
+ thor (1.1.0)
199
201
  thread_safe (0.3.6)
200
- tzinfo (1.2.7)
202
+ tzinfo (1.2.9)
201
203
  thread_safe (~> 0.1)
202
204
  unicode-display_width (1.7.0)
203
205
  websocket-driver (0.7.3)
204
206
  websocket-extensions (>= 0.1.0)
205
207
  websocket-extensions (0.1.5)
206
- zeitwerk (2.4.0)
208
+ zeitwerk (2.4.2)
207
209
 
208
210
  PLATFORMS
209
211
  ruby
@@ -213,7 +215,7 @@ DEPENDENCIES
213
215
  fivemat
214
216
  g2_command!
215
217
  pry
216
- rails (= 6.0.3)
218
+ rails (~> 6.0.3)
217
219
  rake (~> 12.0)
218
220
  rspec (~> 3.0)
219
221
  rspec_junit_formatter
@@ -221,4 +223,4 @@ DEPENDENCIES
221
223
  simplecov (= 0.16.1)
222
224
 
223
225
  BUNDLED WITH
224
- 2.1.4
226
+ 2.2.3
@@ -0,0 +1,15 @@
1
+ # This file was generated by Appraisal
2
+
3
+ source "https://rubygems.org"
4
+
5
+ gem "appraisal"
6
+ gem "fivemat"
7
+ gem "pry"
8
+ gem "rails", "~> 6.1.0"
9
+ gem "rake", "~> 12.0"
10
+ gem "rspec", "~> 3.0"
11
+ gem "rspec_junit_formatter"
12
+ gem "rubocop-g2"
13
+ gem "simplecov", "0.16.1"
14
+
15
+ gemspec path: "../"
@@ -0,0 +1,229 @@
1
+ PATH
2
+ remote: ..
3
+ specs:
4
+ g2_command (2.4.0)
5
+ activemodel (>= 5.0, < 7)
6
+ activesupport (>= 5.0, < 7)
7
+ dry-initializer (~> 3.0)
8
+ dry-monads (~> 1.3)
9
+
10
+ GEM
11
+ remote: https://rubygems.org/
12
+ specs:
13
+ actioncable (6.1.3)
14
+ actionpack (= 6.1.3)
15
+ activesupport (= 6.1.3)
16
+ nio4r (~> 2.0)
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)
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)
30
+ mail (~> 2.5, >= 2.5.4)
31
+ rails-dom-testing (~> 2.0)
32
+ actionpack (6.1.3)
33
+ actionview (= 6.1.3)
34
+ activesupport (= 6.1.3)
35
+ rack (~> 2.0, >= 2.0.9)
36
+ rack-test (>= 0.6.3)
37
+ rails-dom-testing (~> 2.0)
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)
44
+ nokogiri (>= 1.8.5)
45
+ actionview (6.1.3)
46
+ activesupport (= 6.1.3)
47
+ builder (~> 3.1)
48
+ erubi (~> 1.4)
49
+ rails-dom-testing (~> 2.0)
50
+ rails-html-sanitizer (~> 1.1, >= 1.2.0)
51
+ activejob (6.1.3)
52
+ activesupport (= 6.1.3)
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)
67
+ concurrent-ruby (~> 1.0, >= 1.0.2)
68
+ i18n (>= 1.6, < 2)
69
+ minitest (>= 5.1)
70
+ tzinfo (~> 2.0)
71
+ zeitwerk (~> 2.3)
72
+ appraisal (2.3.0)
73
+ bundler
74
+ rake
75
+ thor (>= 0.14.0)
76
+ ast (2.4.2)
77
+ builder (3.2.4)
78
+ coderay (1.1.3)
79
+ concurrent-ruby (1.1.8)
80
+ crass (1.0.6)
81
+ diff-lcs (1.4.4)
82
+ docile (1.3.5)
83
+ dry-core (0.5.0)
84
+ concurrent-ruby (~> 1.0)
85
+ dry-equalizer (0.3.0)
86
+ dry-initializer (3.0.4)
87
+ dry-monads (1.3.5)
88
+ concurrent-ruby (~> 1.0)
89
+ dry-core (~> 0.4, >= 0.4.4)
90
+ dry-equalizer
91
+ erubi (1.10.0)
92
+ fivemat (1.3.7)
93
+ globalid (0.4.2)
94
+ activesupport (>= 4.2.0)
95
+ i18n (1.8.9)
96
+ concurrent-ruby (~> 1.0)
97
+ json (2.5.1)
98
+ loofah (2.9.0)
99
+ crass (~> 1.0.2)
100
+ nokogiri (>= 1.5.9)
101
+ mail (2.7.1)
102
+ mini_mime (>= 0.1.1)
103
+ marcel (0.3.3)
104
+ mimemagic (~> 0.3.2)
105
+ 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)
113
+ racc (~> 1.4)
114
+ parallel (1.20.1)
115
+ parser (3.0.0.0)
116
+ ast (~> 2.4.1)
117
+ pry (0.13.1)
118
+ coderay (~> 1.1)
119
+ method_source (~> 1.0)
120
+ racc (1.5.2)
121
+ rack (2.2.3)
122
+ rack-test (1.1.0)
123
+ 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)
136
+ bundler (>= 1.15.0)
137
+ railties (= 6.1.3)
138
+ sprockets-rails (>= 2.0.0)
139
+ rails-dom-testing (2.0.3)
140
+ activesupport (>= 4.2.0)
141
+ nokogiri (>= 1.6)
142
+ rails-html-sanitizer (1.3.0)
143
+ loofah (~> 2.3)
144
+ railties (6.1.3)
145
+ actionpack (= 6.1.3)
146
+ activesupport (= 6.1.3)
147
+ method_source
148
+ rake (>= 0.8.7)
149
+ thor (~> 1.0)
150
+ rainbow (3.0.0)
151
+ rake (12.3.3)
152
+ regexp_parser (2.0.3)
153
+ rexml (3.2.4)
154
+ rspec (3.10.0)
155
+ rspec-core (~> 3.10.0)
156
+ rspec-expectations (~> 3.10.0)
157
+ rspec-mocks (~> 3.10.0)
158
+ rspec-core (3.10.1)
159
+ rspec-support (~> 3.10.0)
160
+ rspec-expectations (3.10.1)
161
+ diff-lcs (>= 1.2.0, < 2.0)
162
+ rspec-support (~> 3.10.0)
163
+ rspec-mocks (3.10.2)
164
+ diff-lcs (>= 1.2.0, < 2.0)
165
+ rspec-support (~> 3.10.0)
166
+ rspec-support (3.10.2)
167
+ rspec_junit_formatter (0.4.1)
168
+ rspec-core (>= 2, < 4, != 2.12.0)
169
+ rubocop (1.10.0)
170
+ parallel (~> 1.10)
171
+ parser (>= 3.0.0.0)
172
+ rainbow (>= 2.2.2, < 4.0)
173
+ regexp_parser (>= 1.8, < 3.0)
174
+ rexml
175
+ rubocop-ast (>= 1.2.0, < 2.0)
176
+ ruby-progressbar (~> 1.7)
177
+ unicode-display_width (>= 1.4.0, < 3.0)
178
+ rubocop-ast (1.4.1)
179
+ parser (>= 2.7.1.5)
180
+ rubocop-g2 (1.3.0)
181
+ rubocop (>= 0.82)
182
+ rubocop-rails (>= 2.5)
183
+ rubocop-rspec (>= 1.39)
184
+ rubocop-rails (2.9.1)
185
+ activesupport (>= 4.2.0)
186
+ rack (>= 1.1)
187
+ rubocop (>= 0.90.0, < 2.0)
188
+ rubocop-rspec (2.1.0)
189
+ rubocop (~> 1.0)
190
+ rubocop-ast (>= 1.1.0)
191
+ ruby-progressbar (1.11.0)
192
+ simplecov (0.16.1)
193
+ docile (~> 1.1)
194
+ json (>= 1.8, < 3)
195
+ simplecov-html (~> 0.10.0)
196
+ simplecov-html (0.10.2)
197
+ sprockets (4.0.2)
198
+ concurrent-ruby (~> 1.0)
199
+ rack (> 1, < 3)
200
+ sprockets-rails (3.2.2)
201
+ actionpack (>= 4.0)
202
+ activesupport (>= 4.0)
203
+ sprockets (>= 3.0.0)
204
+ thor (1.1.0)
205
+ tzinfo (2.0.4)
206
+ concurrent-ruby (~> 1.0)
207
+ unicode-display_width (2.0.0)
208
+ websocket-driver (0.7.3)
209
+ websocket-extensions (>= 0.1.0)
210
+ websocket-extensions (0.1.5)
211
+ zeitwerk (2.4.2)
212
+
213
+ PLATFORMS
214
+ ruby
215
+
216
+ DEPENDENCIES
217
+ appraisal
218
+ fivemat
219
+ g2_command!
220
+ pry
221
+ rails (~> 6.1.0)
222
+ rake (~> 12.0)
223
+ rspec (~> 3.0)
224
+ rspec_junit_formatter
225
+ rubocop-g2
226
+ simplecov (= 0.16.1)
227
+
228
+ BUNDLED WITH
229
+ 2.2.3
data/lib/command.rb CHANGED
@@ -38,8 +38,8 @@ module Command
38
38
  errors.empty? ? Success(result) : Failure(Command::Failure.new(result, errors))
39
39
  end
40
40
 
41
- def compose(command, *args)
42
- outcome = command.run(*args)
41
+ def compose(command, **args)
42
+ outcome = command.run(**args)
43
43
 
44
44
  raise Command::Interrupt, outcome.failure.errors if outcome.failure?
45
45
 
@@ -53,7 +53,7 @@ module Command
53
53
 
54
54
  class_methods do
55
55
  def run(inputs = {})
56
- new(inputs).run
56
+ new(**Command::InputMiddleware.call(inputs)).run
57
57
  end
58
58
 
59
59
  def run!(inputs = {})
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Command
4
- VERSION = '2.3.0'
4
+ VERSION = '2.4.0'
5
5
  end
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.3.0
4
+ version: 2.4.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: 2020-10-28 00:00:00.000000000 Z
11
+ date: 2021-03-05 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activemodel
@@ -110,6 +110,8 @@ files:
110
110
  - gemfiles/rails_5.2.gemfile.lock
111
111
  - gemfiles/rails_6.0.gemfile
112
112
  - gemfiles/rails_6.0.gemfile.lock
113
+ - gemfiles/rails_6.1.gemfile
114
+ - gemfiles/rails_6.1.gemfile.lock
113
115
  - lib/command.rb
114
116
  - lib/command/failure.rb
115
117
  - lib/command/input_middleware.rb
@@ -140,7 +142,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
140
142
  - !ruby/object:Gem::Version
141
143
  version: '0'
142
144
  requirements: []
143
- rubygems_version: 3.1.4
145
+ rubygems_version: 3.2.3
144
146
  signing_key:
145
147
  specification_version: 4
146
148
  summary: An implementation of the command pattern using dry-rb