g2_command 2.0.0 → 2.1.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 +7 -1
- data/.ruby-version +1 -1
- data/.tool-versions +1 -1
- data/Gemfile.lock +53 -53
- data/lib/command.rb +2 -2
- data/lib/command/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4a414e402e88042b9e912b0e2611107225cd72b2a64dde7109c925a203e7b252
|
4
|
+
data.tar.gz: 0e3f24ad1832e076fcd44bda650ccc3a974b5fa6a32047a51f381b8c95a350b8
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: da506bbdd9604b9b4c2e32e688cc0147d40e06cf65bf535cac6aa1ac492d9b6b46bf31adca323564291420aae0abda58a1086ab72ad6d0fe79075569fecde76f
|
7
|
+
data.tar.gz: 3434bf4a7299f14ffee726057d1c7738f57feb687bff860bbd3ccd01d017d0cdea3f808c40a9ae6002d5c47e3aa5ae22058af8544a73a04f768da48952eff282
|
data/.github/workflows/ruby.yml
CHANGED
@@ -7,12 +7,18 @@ jobs:
|
|
7
7
|
|
8
8
|
runs-on: ubuntu-latest
|
9
9
|
|
10
|
+
strategy:
|
11
|
+
matrix:
|
12
|
+
ruby:
|
13
|
+
- 2.6.6
|
14
|
+
- 2.7.1
|
15
|
+
|
10
16
|
steps:
|
11
17
|
- uses: actions/checkout@v2
|
12
18
|
- name: Set up Ruby
|
13
19
|
uses: ruby/setup-ruby@v1
|
14
20
|
with:
|
15
|
-
ruby-version:
|
21
|
+
ruby-version: ${{ matrix.ruby }}
|
16
22
|
- name: Configure Bundler
|
17
23
|
run: |
|
18
24
|
gem install bundler:2.1.4 --no-document
|
data/.ruby-version
CHANGED
@@ -1 +1 @@
|
|
1
|
-
2.
|
1
|
+
2.7.1
|
data/.tool-versions
CHANGED
@@ -1 +1 @@
|
|
1
|
-
ruby 2.
|
1
|
+
ruby 2.7.1
|
data/Gemfile.lock
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
g2_command (2.
|
4
|
+
g2_command (2.1.0)
|
5
5
|
activemodel (>= 6.0, < 7)
|
6
6
|
activesupport (>= 6.0, < 7)
|
7
7
|
dry-initializer (~> 3.0)
|
@@ -10,61 +10,61 @@ PATH
|
|
10
10
|
GEM
|
11
11
|
remote: https://rubygems.org/
|
12
12
|
specs:
|
13
|
-
actioncable (6.0.
|
14
|
-
actionpack (= 6.0.
|
13
|
+
actioncable (6.0.3)
|
14
|
+
actionpack (= 6.0.3)
|
15
15
|
nio4r (~> 2.0)
|
16
16
|
websocket-driver (>= 0.6.1)
|
17
|
-
actionmailbox (6.0.
|
18
|
-
actionpack (= 6.0.
|
19
|
-
activejob (= 6.0.
|
20
|
-
activerecord (= 6.0.
|
21
|
-
activestorage (= 6.0.
|
22
|
-
activesupport (= 6.0.
|
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)
|
23
23
|
mail (>= 2.7.1)
|
24
|
-
actionmailer (6.0.
|
25
|
-
actionpack (= 6.0.
|
26
|
-
actionview (= 6.0.
|
27
|
-
activejob (= 6.0.
|
24
|
+
actionmailer (6.0.3)
|
25
|
+
actionpack (= 6.0.3)
|
26
|
+
actionview (= 6.0.3)
|
27
|
+
activejob (= 6.0.3)
|
28
28
|
mail (~> 2.5, >= 2.5.4)
|
29
29
|
rails-dom-testing (~> 2.0)
|
30
|
-
actionpack (6.0.
|
31
|
-
actionview (= 6.0.
|
32
|
-
activesupport (= 6.0.
|
30
|
+
actionpack (6.0.3)
|
31
|
+
actionview (= 6.0.3)
|
32
|
+
activesupport (= 6.0.3)
|
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.
|
38
|
-
actionpack (= 6.0.
|
39
|
-
activerecord (= 6.0.
|
40
|
-
activestorage (= 6.0.
|
41
|
-
activesupport (= 6.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)
|
42
42
|
nokogiri (>= 1.8.5)
|
43
|
-
actionview (6.0.
|
44
|
-
activesupport (= 6.0.
|
43
|
+
actionview (6.0.3)
|
44
|
+
activesupport (= 6.0.3)
|
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.
|
50
|
-
activesupport (= 6.0.
|
49
|
+
activejob (6.0.3)
|
50
|
+
activesupport (= 6.0.3)
|
51
51
|
globalid (>= 0.3.6)
|
52
|
-
activemodel (6.0.
|
53
|
-
activesupport (= 6.0.
|
54
|
-
activerecord (6.0.
|
55
|
-
activemodel (= 6.0.
|
56
|
-
activesupport (= 6.0.
|
57
|
-
activestorage (6.0.
|
58
|
-
actionpack (= 6.0.
|
59
|
-
activejob (= 6.0.
|
60
|
-
activerecord (= 6.0.
|
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)
|
61
61
|
marcel (~> 0.3.1)
|
62
|
-
activesupport (6.0.
|
62
|
+
activesupport (6.0.3)
|
63
63
|
concurrent-ruby (~> 1.0, >= 1.0.2)
|
64
64
|
i18n (>= 0.7, < 2)
|
65
65
|
minitest (~> 5.1)
|
66
66
|
tzinfo (~> 1.1)
|
67
|
-
zeitwerk (~> 2.2)
|
67
|
+
zeitwerk (~> 2.2, >= 2.2.2)
|
68
68
|
ast (2.4.0)
|
69
69
|
builder (3.2.4)
|
70
70
|
coderay (1.1.2)
|
@@ -95,7 +95,7 @@ GEM
|
|
95
95
|
marcel (0.3.3)
|
96
96
|
mimemagic (~> 0.3.2)
|
97
97
|
method_source (0.9.2)
|
98
|
-
mimemagic (0.3.
|
98
|
+
mimemagic (0.3.5)
|
99
99
|
mini_mime (1.0.2)
|
100
100
|
mini_portile2 (2.4.0)
|
101
101
|
minitest (5.14.0)
|
@@ -111,29 +111,29 @@ GEM
|
|
111
111
|
rack (2.2.2)
|
112
112
|
rack-test (1.1.0)
|
113
113
|
rack (>= 1.0, < 3)
|
114
|
-
rails (6.0.
|
115
|
-
actioncable (= 6.0.
|
116
|
-
actionmailbox (= 6.0.
|
117
|
-
actionmailer (= 6.0.
|
118
|
-
actionpack (= 6.0.
|
119
|
-
actiontext (= 6.0.
|
120
|
-
actionview (= 6.0.
|
121
|
-
activejob (= 6.0.
|
122
|
-
activemodel (= 6.0.
|
123
|
-
activerecord (= 6.0.
|
124
|
-
activestorage (= 6.0.
|
125
|
-
activesupport (= 6.0.
|
114
|
+
rails (6.0.3)
|
115
|
+
actioncable (= 6.0.3)
|
116
|
+
actionmailbox (= 6.0.3)
|
117
|
+
actionmailer (= 6.0.3)
|
118
|
+
actionpack (= 6.0.3)
|
119
|
+
actiontext (= 6.0.3)
|
120
|
+
actionview (= 6.0.3)
|
121
|
+
activejob (= 6.0.3)
|
122
|
+
activemodel (= 6.0.3)
|
123
|
+
activerecord (= 6.0.3)
|
124
|
+
activestorage (= 6.0.3)
|
125
|
+
activesupport (= 6.0.3)
|
126
126
|
bundler (>= 1.3.0)
|
127
|
-
railties (= 6.0.
|
127
|
+
railties (= 6.0.3)
|
128
128
|
sprockets-rails (>= 2.0.0)
|
129
129
|
rails-dom-testing (2.0.3)
|
130
130
|
activesupport (>= 4.2.0)
|
131
131
|
nokogiri (>= 1.6)
|
132
132
|
rails-html-sanitizer (1.3.0)
|
133
133
|
loofah (~> 2.3)
|
134
|
-
railties (6.0.
|
135
|
-
actionpack (= 6.0.
|
136
|
-
activesupport (= 6.0.
|
134
|
+
railties (6.0.3)
|
135
|
+
actionpack (= 6.0.3)
|
136
|
+
activesupport (= 6.0.3)
|
137
137
|
method_source
|
138
138
|
rake (>= 0.8.7)
|
139
139
|
thor (>= 0.20.3, < 2.0)
|
data/lib/command.rb
CHANGED
@@ -19,7 +19,7 @@ module Command
|
|
19
19
|
include ActiveModel::Validations
|
20
20
|
|
21
21
|
def initialize(inputs = {})
|
22
|
-
super(Command::InputMiddleware.call(inputs))
|
22
|
+
super(**Command::InputMiddleware.call(inputs))
|
23
23
|
end
|
24
24
|
|
25
25
|
def execute
|
@@ -54,7 +54,7 @@ module Command
|
|
54
54
|
|
55
55
|
class_methods do
|
56
56
|
def run(inputs = {})
|
57
|
-
new(inputs).run
|
57
|
+
new(**inputs).run
|
58
58
|
end
|
59
59
|
|
60
60
|
def run!(inputs = {})
|
data/lib/command/version.rb
CHANGED
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
|
+
version: 2.1.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-05-
|
11
|
+
date: 2020-05-15 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activemodel
|
@@ -129,7 +129,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
129
129
|
- !ruby/object:Gem::Version
|
130
130
|
version: '0'
|
131
131
|
requirements: []
|
132
|
-
rubygems_version: 3.
|
132
|
+
rubygems_version: 3.1.2
|
133
133
|
signing_key:
|
134
134
|
specification_version: 4
|
135
135
|
summary: An implementation of the command pattern using dry-rb
|