g2_command 2.0.0 → 2.4.1

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.
data/README.md CHANGED
@@ -30,7 +30,7 @@ To install this gem onto your local machine, run `bundle exec rake install`. To
30
30
 
31
31
  ## Contributing
32
32
 
33
- Bug reports and pull requests are welcome on GitHub at https://github.com/g2crowd/g2_command. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [code of conduct](https://github.com/[USERNAME]/g2_command/blob/master/CODE_OF_CONDUCT.md).
33
+ Bug reports and pull requests are welcome on GitHub at https://github.com/g2crowd/g2_command. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [code of conduct](https://github.com/[USERNAME]/g2_command/blob/main/CODE_OF_CONDUCT.md).
34
34
 
35
35
  ## License
36
36
 
@@ -38,4 +38,4 @@ The gem is available as open source under the terms of the [MIT License](https:/
38
38
 
39
39
  ## Code of Conduct
40
40
 
41
- Everyone interacting in the Command project's codebases, issue trackers, chat rooms and mailing lists is expected to follow the [code of conduct](https://github.com/g2crowd/g2_command/blob/master/CODE_OF_CONDUCT.md).
41
+ Everyone interacting in the Command project's codebases, issue trackers, chat rooms and mailing lists is expected to follow the [code of conduct](https://github.com/g2crowd/g2_command/blob/main/CODE_OF_CONDUCT.md).
data/g2_command.gemspec CHANGED
@@ -11,7 +11,7 @@ Gem::Specification.new do |spec|
11
11
  spec.summary = 'An implementation of the command pattern using dry-rb'
12
12
  spec.homepage = 'https://github.com/g2crowd/g2_command'
13
13
  spec.license = 'MIT'
14
- spec.required_ruby_version = Gem::Requirement.new('>= 2.3.0')
14
+ spec.required_ruby_version = Gem::Requirement.new('>= 2.4.0')
15
15
 
16
16
  spec.metadata['homepage_uri'] = spec.homepage
17
17
  spec.metadata['source_code_uri'] = 'https://github.com/g2crowd/g2_command'
@@ -25,8 +25,8 @@ Gem::Specification.new do |spec|
25
25
  spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
26
26
  spec.require_paths = ['lib']
27
27
 
28
- spec.add_dependency 'activemodel', '>= 6.0', '< 7'
29
- spec.add_dependency 'activesupport', '>= 6.0', '< 7'
28
+ spec.add_dependency 'activemodel', '>= 5.0', '< 7'
29
+ spec.add_dependency 'activesupport', '>= 5.0', '< 7'
30
30
  spec.add_dependency 'dry-initializer', '~> 3.0'
31
31
  spec.add_dependency 'dry-monads', '~> 1.3'
32
32
  end
@@ -0,0 +1,2 @@
1
+ ---
2
+ BUNDLE_RETRY: "1"
@@ -0,0 +1,16 @@
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", "~> 5.1", "< 5.2"
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
+ gem "sprockets", "~> 3"
15
+
16
+ gemspec path: "../"
@@ -0,0 +1,203 @@
1
+ PATH
2
+ remote: ..
3
+ specs:
4
+ g2_command (2.4.1)
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 (5.1.7)
14
+ actionpack (= 5.1.7)
15
+ nio4r (~> 2.0)
16
+ websocket-driver (~> 0.6.1)
17
+ actionmailer (5.1.7)
18
+ actionpack (= 5.1.7)
19
+ actionview (= 5.1.7)
20
+ activejob (= 5.1.7)
21
+ mail (~> 2.5, >= 2.5.4)
22
+ rails-dom-testing (~> 2.0)
23
+ actionpack (5.1.7)
24
+ actionview (= 5.1.7)
25
+ activesupport (= 5.1.7)
26
+ rack (~> 2.0)
27
+ rack-test (>= 0.6.3)
28
+ rails-dom-testing (~> 2.0)
29
+ rails-html-sanitizer (~> 1.0, >= 1.0.2)
30
+ actionview (5.1.7)
31
+ activesupport (= 5.1.7)
32
+ builder (~> 3.1)
33
+ erubi (~> 1.4)
34
+ rails-dom-testing (~> 2.0)
35
+ rails-html-sanitizer (~> 1.0, >= 1.0.3)
36
+ activejob (5.1.7)
37
+ activesupport (= 5.1.7)
38
+ globalid (>= 0.3.6)
39
+ activemodel (5.1.7)
40
+ activesupport (= 5.1.7)
41
+ activerecord (5.1.7)
42
+ activemodel (= 5.1.7)
43
+ activesupport (= 5.1.7)
44
+ arel (~> 8.0)
45
+ activesupport (5.1.7)
46
+ concurrent-ruby (~> 1.0, >= 1.0.2)
47
+ i18n (>= 0.7, < 2)
48
+ minitest (~> 5.1)
49
+ tzinfo (~> 1.1)
50
+ appraisal (2.3.0)
51
+ bundler
52
+ rake
53
+ thor (>= 0.14.0)
54
+ arel (8.0.0)
55
+ ast (2.4.1)
56
+ builder (3.2.4)
57
+ coderay (1.1.3)
58
+ concurrent-ruby (1.1.8)
59
+ crass (1.0.6)
60
+ diff-lcs (1.4.4)
61
+ docile (1.3.2)
62
+ dry-core (0.5.0)
63
+ concurrent-ruby (~> 1.0)
64
+ dry-equalizer (0.3.0)
65
+ dry-initializer (3.0.4)
66
+ dry-monads (1.3.5)
67
+ concurrent-ruby (~> 1.0)
68
+ dry-core (~> 0.4, >= 0.4.4)
69
+ dry-equalizer
70
+ erubi (1.10.0)
71
+ fivemat (1.3.7)
72
+ globalid (0.4.2)
73
+ activesupport (>= 4.2.0)
74
+ i18n (1.8.9)
75
+ concurrent-ruby (~> 1.0)
76
+ json (2.3.1)
77
+ loofah (2.9.0)
78
+ crass (~> 1.0.2)
79
+ nokogiri (>= 1.5.9)
80
+ mail (2.7.1)
81
+ mini_mime (>= 0.1.1)
82
+ method_source (1.0.0)
83
+ mini_mime (1.0.2)
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)
90
+ parallel (1.19.2)
91
+ parser (2.7.2.0)
92
+ ast (~> 2.4.1)
93
+ pry (0.13.1)
94
+ coderay (~> 1.1)
95
+ method_source (~> 1.0)
96
+ racc (1.5.2)
97
+ rack (2.2.3)
98
+ rack-test (1.1.0)
99
+ rack (>= 1.0, < 3)
100
+ rails (5.1.7)
101
+ actioncable (= 5.1.7)
102
+ actionmailer (= 5.1.7)
103
+ actionpack (= 5.1.7)
104
+ actionview (= 5.1.7)
105
+ activejob (= 5.1.7)
106
+ activemodel (= 5.1.7)
107
+ activerecord (= 5.1.7)
108
+ activesupport (= 5.1.7)
109
+ bundler (>= 1.3.0)
110
+ railties (= 5.1.7)
111
+ sprockets-rails (>= 2.0.0)
112
+ rails-dom-testing (2.0.3)
113
+ activesupport (>= 4.2.0)
114
+ nokogiri (>= 1.6)
115
+ rails-html-sanitizer (1.3.0)
116
+ loofah (~> 2.3)
117
+ railties (5.1.7)
118
+ actionpack (= 5.1.7)
119
+ activesupport (= 5.1.7)
120
+ method_source
121
+ rake (>= 0.8.7)
122
+ thor (>= 0.18.1, < 2.0)
123
+ rainbow (3.0.0)
124
+ rake (12.3.3)
125
+ regexp_parser (1.8.2)
126
+ rexml (3.2.4)
127
+ rspec (3.9.0)
128
+ rspec-core (~> 3.9.0)
129
+ rspec-expectations (~> 3.9.0)
130
+ rspec-mocks (~> 3.9.0)
131
+ rspec-core (3.9.3)
132
+ rspec-support (~> 3.9.3)
133
+ rspec-expectations (3.9.3)
134
+ diff-lcs (>= 1.2.0, < 2.0)
135
+ rspec-support (~> 3.9.0)
136
+ rspec-mocks (3.9.1)
137
+ diff-lcs (>= 1.2.0, < 2.0)
138
+ rspec-support (~> 3.9.0)
139
+ rspec-support (3.9.4)
140
+ rspec_junit_formatter (0.4.1)
141
+ rspec-core (>= 2, < 4, != 2.12.0)
142
+ rubocop (0.93.1)
143
+ parallel (~> 1.10)
144
+ parser (>= 2.7.1.5)
145
+ rainbow (>= 2.2.2, < 4.0)
146
+ regexp_parser (>= 1.8)
147
+ rexml
148
+ rubocop-ast (>= 0.6.0)
149
+ ruby-progressbar (~> 1.7)
150
+ unicode-display_width (>= 1.4.0, < 2.0)
151
+ rubocop-ast (1.1.0)
152
+ parser (>= 2.7.1.5)
153
+ rubocop-g2 (1.2.1)
154
+ rubocop (>= 0.82)
155
+ rubocop-rails (>= 2.5)
156
+ rubocop-rspec (>= 1.39)
157
+ rubocop-rails (2.8.1)
158
+ activesupport (>= 4.2.0)
159
+ rack (>= 1.1)
160
+ rubocop (>= 0.87.0)
161
+ rubocop-rspec (1.44.1)
162
+ rubocop (~> 0.87)
163
+ rubocop-ast (>= 0.7.1)
164
+ ruby-progressbar (1.10.1)
165
+ simplecov (0.16.1)
166
+ docile (~> 1.1)
167
+ json (>= 1.8, < 3)
168
+ simplecov-html (~> 0.10.0)
169
+ simplecov-html (0.10.2)
170
+ sprockets (3.7.2)
171
+ concurrent-ruby (~> 1.0)
172
+ rack (> 1, < 3)
173
+ sprockets-rails (3.2.2)
174
+ actionpack (>= 4.0)
175
+ activesupport (>= 4.0)
176
+ sprockets (>= 3.0.0)
177
+ thor (1.1.0)
178
+ thread_safe (0.3.6)
179
+ tzinfo (1.2.9)
180
+ thread_safe (~> 0.1)
181
+ unicode-display_width (1.7.0)
182
+ websocket-driver (0.6.5)
183
+ websocket-extensions (>= 0.1.0)
184
+ websocket-extensions (0.1.5)
185
+
186
+ PLATFORMS
187
+ ruby
188
+
189
+ DEPENDENCIES
190
+ appraisal
191
+ fivemat
192
+ g2_command!
193
+ pry
194
+ rails (~> 5.1, < 5.2)
195
+ rake (~> 12.0)
196
+ rspec (~> 3.0)
197
+ rspec_junit_formatter
198
+ rubocop-g2
199
+ simplecov (= 0.16.1)
200
+ sprockets (~> 3)
201
+
202
+ BUNDLED WITH
203
+ 2.2.3
@@ -0,0 +1,16 @@
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", "~> 5.2"
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
+ gem "sprockets", "~> 3"
15
+
16
+ gemspec path: "../"
@@ -0,0 +1,211 @@
1
+ PATH
2
+ remote: ..
3
+ specs:
4
+ g2_command (2.4.1)
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 (5.2.4.5)
14
+ actionpack (= 5.2.4.5)
15
+ nio4r (~> 2.0)
16
+ websocket-driver (>= 0.6.1)
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
+ mail (~> 2.5, >= 2.5.4)
22
+ rails-dom-testing (~> 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
+ rack-test (>= 0.6.3)
28
+ rails-dom-testing (~> 2.0)
29
+ rails-html-sanitizer (~> 1.0, >= 1.0.2)
30
+ actionview (5.2.4.5)
31
+ activesupport (= 5.2.4.5)
32
+ builder (~> 3.1)
33
+ erubi (~> 1.4)
34
+ rails-dom-testing (~> 2.0)
35
+ rails-html-sanitizer (~> 1.0, >= 1.0.3)
36
+ activejob (5.2.4.5)
37
+ activesupport (= 5.2.4.5)
38
+ globalid (>= 0.3.6)
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
+ arel (>= 9.0)
45
+ activestorage (5.2.4.5)
46
+ actionpack (= 5.2.4.5)
47
+ activerecord (= 5.2.4.5)
48
+ marcel (~> 0.3.1)
49
+ activesupport (5.2.4.5)
50
+ concurrent-ruby (~> 1.0, >= 1.0.2)
51
+ i18n (>= 0.7, < 2)
52
+ minitest (~> 5.1)
53
+ tzinfo (~> 1.1)
54
+ appraisal (2.3.0)
55
+ bundler
56
+ rake
57
+ thor (>= 0.14.0)
58
+ arel (9.0.0)
59
+ ast (2.4.1)
60
+ builder (3.2.4)
61
+ coderay (1.1.3)
62
+ concurrent-ruby (1.1.8)
63
+ crass (1.0.6)
64
+ diff-lcs (1.4.4)
65
+ docile (1.3.2)
66
+ dry-core (0.5.0)
67
+ concurrent-ruby (~> 1.0)
68
+ dry-equalizer (0.3.0)
69
+ dry-initializer (3.0.4)
70
+ dry-monads (1.3.5)
71
+ concurrent-ruby (~> 1.0)
72
+ dry-core (~> 0.4, >= 0.4.4)
73
+ dry-equalizer
74
+ erubi (1.10.0)
75
+ fivemat (1.3.7)
76
+ globalid (0.4.2)
77
+ activesupport (>= 4.2.0)
78
+ i18n (1.8.9)
79
+ concurrent-ruby (~> 1.0)
80
+ json (2.3.1)
81
+ loofah (2.9.0)
82
+ crass (~> 1.0.2)
83
+ nokogiri (>= 1.5.9)
84
+ mail (2.7.1)
85
+ mini_mime (>= 0.1.1)
86
+ marcel (0.3.3)
87
+ mimemagic (~> 0.3.2)
88
+ method_source (1.0.0)
89
+ mimemagic (0.3.5)
90
+ mini_mime (1.0.2)
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)
97
+ parallel (1.19.2)
98
+ parser (2.7.2.0)
99
+ ast (~> 2.4.1)
100
+ pry (0.13.1)
101
+ coderay (~> 1.1)
102
+ method_source (~> 1.0)
103
+ racc (1.5.2)
104
+ rack (2.2.3)
105
+ rack-test (1.1.0)
106
+ rack (>= 1.0, < 3)
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)
117
+ bundler (>= 1.3.0)
118
+ railties (= 5.2.4.5)
119
+ sprockets-rails (>= 2.0.0)
120
+ rails-dom-testing (2.0.3)
121
+ activesupport (>= 4.2.0)
122
+ nokogiri (>= 1.6)
123
+ rails-html-sanitizer (1.3.0)
124
+ loofah (~> 2.3)
125
+ railties (5.2.4.5)
126
+ actionpack (= 5.2.4.5)
127
+ activesupport (= 5.2.4.5)
128
+ method_source
129
+ rake (>= 0.8.7)
130
+ thor (>= 0.19.0, < 2.0)
131
+ rainbow (3.0.0)
132
+ rake (12.3.3)
133
+ regexp_parser (1.8.2)
134
+ rexml (3.2.4)
135
+ rspec (3.9.0)
136
+ rspec-core (~> 3.9.0)
137
+ rspec-expectations (~> 3.9.0)
138
+ rspec-mocks (~> 3.9.0)
139
+ rspec-core (3.9.3)
140
+ rspec-support (~> 3.9.3)
141
+ rspec-expectations (3.9.3)
142
+ diff-lcs (>= 1.2.0, < 2.0)
143
+ rspec-support (~> 3.9.0)
144
+ rspec-mocks (3.9.1)
145
+ diff-lcs (>= 1.2.0, < 2.0)
146
+ rspec-support (~> 3.9.0)
147
+ rspec-support (3.9.4)
148
+ rspec_junit_formatter (0.4.1)
149
+ rspec-core (>= 2, < 4, != 2.12.0)
150
+ rubocop (0.93.1)
151
+ parallel (~> 1.10)
152
+ parser (>= 2.7.1.5)
153
+ rainbow (>= 2.2.2, < 4.0)
154
+ regexp_parser (>= 1.8)
155
+ rexml
156
+ rubocop-ast (>= 0.6.0)
157
+ ruby-progressbar (~> 1.7)
158
+ unicode-display_width (>= 1.4.0, < 2.0)
159
+ rubocop-ast (1.1.0)
160
+ parser (>= 2.7.1.5)
161
+ rubocop-g2 (1.2.1)
162
+ rubocop (>= 0.82)
163
+ rubocop-rails (>= 2.5)
164
+ rubocop-rspec (>= 1.39)
165
+ rubocop-rails (2.8.1)
166
+ activesupport (>= 4.2.0)
167
+ rack (>= 1.1)
168
+ rubocop (>= 0.87.0)
169
+ rubocop-rspec (1.44.1)
170
+ rubocop (~> 0.87)
171
+ rubocop-ast (>= 0.7.1)
172
+ ruby-progressbar (1.10.1)
173
+ simplecov (0.16.1)
174
+ docile (~> 1.1)
175
+ json (>= 1.8, < 3)
176
+ simplecov-html (~> 0.10.0)
177
+ simplecov-html (0.10.2)
178
+ sprockets (3.7.2)
179
+ concurrent-ruby (~> 1.0)
180
+ rack (> 1, < 3)
181
+ sprockets-rails (3.2.2)
182
+ actionpack (>= 4.0)
183
+ activesupport (>= 4.0)
184
+ sprockets (>= 3.0.0)
185
+ thor (1.1.0)
186
+ thread_safe (0.3.6)
187
+ tzinfo (1.2.9)
188
+ thread_safe (~> 0.1)
189
+ unicode-display_width (1.7.0)
190
+ websocket-driver (0.7.3)
191
+ websocket-extensions (>= 0.1.0)
192
+ websocket-extensions (0.1.5)
193
+
194
+ PLATFORMS
195
+ ruby
196
+
197
+ DEPENDENCIES
198
+ appraisal
199
+ fivemat
200
+ g2_command!
201
+ pry
202
+ rails (~> 5.2)
203
+ rake (~> 12.0)
204
+ rspec (~> 3.0)
205
+ rspec_junit_formatter
206
+ rubocop-g2
207
+ simplecov (= 0.16.1)
208
+ sprockets (~> 3)
209
+
210
+ BUNDLED WITH
211
+ 2.2.3