lite-command 1.5.0 → 2.0.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 86f89baebccec981ab697dbe02cc25cae4f143f881b4a765719147eb832b9ae5
4
- data.tar.gz: 39b8e5010d1b4c107be5b6f2396e86730f85c2d115a8ee6f3e8585daf8754543
3
+ metadata.gz: 340d00e30b3a4ca140aaff5ee354c8c48d43e03a35533a69ea349afb8c429435
4
+ data.tar.gz: f05f29f0fcc6d55c2afe9cb4debb309491374db238f9bfdcbe3833169c5caeeb
5
5
  SHA512:
6
- metadata.gz: dab8d3533ec7efa114f6119dff6ec6e172c1de828a8bcfe9f968939d227e98bfc3f6607f5d0de621a49cdd0edf17dbe4b893739720a9ae768d8eae9f8de6331a
7
- data.tar.gz: e116e71fe7c0c895579e7d8bcc22b444c3cb681fe634cc435fb286ca5917bb6bb96a6c88848a3aa6e34c20a16efe0956605188448ef408b8cc0746637b1047ae
6
+ metadata.gz: e504efb0c085b59b57cbc05fb344c9568ee0ad18a275af25efef9cd3db6e5f6dde9b25dfbf971e1b34cab864c486c6efd6dabd015cb23f5ee1199abc0d85956f
7
+ data.tar.gz: 5ee4f05437705a5ed44a529cf776f32f0b5b049f020f7de8615c0aa1a1e47601db6b4d54cc381cd2280238e4e5d00f2b626c07688aa65795955cdc8092279f15
data/.rubocop.yml CHANGED
@@ -3,12 +3,11 @@ require:
3
3
  - rubocop-rake
4
4
  - rubocop-rspec
5
5
  AllCops:
6
- TargetRubyVersion: 3.0
7
6
  NewCops: enable
8
7
  DisplayCopNames: true
9
8
  DisplayStyleGuide: true
10
- Gemspec/RequireMFA:
11
- Enabled: false
9
+ Gemspec/DevelopmentDependencies:
10
+ EnforcedStyle: gemspec
12
11
  Gemspec/RequiredRubyVersion:
13
12
  Enabled: false
14
13
  Layout/EmptyLinesAroundAttributeAccessor:
@@ -21,26 +20,46 @@ Layout/EmptyLinesAroundClassBody:
21
20
  Layout/EmptyLinesAroundModuleBody:
22
21
  EnforcedStyle: empty_lines_except_namespace
23
22
  Layout/LineLength:
24
- Max: 100
23
+ Enabled: false
25
24
  Layout/SpaceAroundMethodCallOperator:
26
25
  Enabled: true
27
26
  Lint/RaiseException:
28
27
  Enabled: true
29
28
  Lint/StructNewOverride:
30
29
  Enabled: true
30
+ Metrics/AbcSize:
31
+ Enabled: false
31
32
  Metrics/BlockLength:
32
33
  Exclude:
33
34
  - 'spec/**/**/*'
34
35
  - '*.gemspec'
36
+ Metrics/CyclomaticComplexity:
37
+ Enabled: false
38
+ Metrics/MethodLength:
39
+ Enabled: false
40
+ Metrics/PerceivedComplexity:
41
+ Enabled: false
35
42
  Naming/MemoizedInstanceVariableName:
36
43
  Enabled: false
44
+ RSpec/AnyInstance:
45
+ Enabled: false
37
46
  RSpec/ExampleLength:
38
47
  Enabled: false
48
+ RSpec/MessageSpies:
49
+ Enabled: false
39
50
  RSpec/MultipleExpectations:
40
51
  Enabled: false
52
+ RSpec/MultipleMemoizedHelpers:
53
+ Enabled: false
41
54
  Style/ArgumentsForwarding:
42
55
  Enabled: false
43
56
  Style/Documentation:
44
57
  Enabled: false
58
+ Style/DocumentDynamicEvalDefinition:
59
+ Enabled: false
45
60
  Style/ExpandPathArguments:
46
61
  Enabled: false
62
+ Style/OpenStructUse:
63
+ Enabled: false
64
+ Style/StringLiterals:
65
+ EnforcedStyle: double_quotes
data/CHANGELOG.md CHANGED
@@ -6,6 +6,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
6
6
 
7
7
  ## [Unreleased]
8
8
 
9
+ ## [2.0.0] - 2024-09-22
10
+ ### Changed
11
+ - Rewrite app to use interactor pattern
12
+
9
13
  ## [1.5.0] - 2022-04-19
10
14
  ### Changed
11
15
  - Update docs
data/Gemfile CHANGED
@@ -1,6 +1,6 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- source 'https://rubygems.org'
3
+ source "https://rubygems.org"
4
4
 
5
5
  # Specify your gem's dependencies in lite-command.gemspec
6
6
  gemspec
data/Gemfile.lock CHANGED
@@ -1,140 +1,167 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- lite-command (1.5.0)
5
- lite-errors
6
- lite-memoize
4
+ lite-command (2.0.0)
5
+ activemodel
6
+ ostruct
7
7
 
8
8
  GEM
9
9
  remote: https://rubygems.org/
10
10
  specs:
11
- actionpack (7.0.2.3)
12
- actionview (= 7.0.2.3)
13
- activesupport (= 7.0.2.3)
14
- rack (~> 2.0, >= 2.2.0)
11
+ actionpack (7.2.1)
12
+ actionview (= 7.2.1)
13
+ activesupport (= 7.2.1)
14
+ nokogiri (>= 1.8.5)
15
+ racc
16
+ rack (>= 2.2.4, < 3.2)
17
+ rack-session (>= 1.0.1)
15
18
  rack-test (>= 0.6.3)
16
- rails-dom-testing (~> 2.0)
17
- rails-html-sanitizer (~> 1.0, >= 1.2.0)
18
- actionview (7.0.2.3)
19
- activesupport (= 7.0.2.3)
19
+ rails-dom-testing (~> 2.2)
20
+ rails-html-sanitizer (~> 1.6)
21
+ useragent (~> 0.16)
22
+ actionview (7.2.1)
23
+ activesupport (= 7.2.1)
20
24
  builder (~> 3.1)
21
- erubi (~> 1.4)
22
- rails-dom-testing (~> 2.0)
23
- rails-html-sanitizer (~> 1.1, >= 1.2.0)
24
- activemodel (7.0.2.3)
25
- activesupport (= 7.0.2.3)
26
- activerecord (7.0.2.3)
27
- activemodel (= 7.0.2.3)
28
- activesupport (= 7.0.2.3)
29
- activesupport (7.0.2.3)
30
- concurrent-ruby (~> 1.0, >= 1.0.2)
25
+ erubi (~> 1.11)
26
+ rails-dom-testing (~> 2.2)
27
+ rails-html-sanitizer (~> 1.6)
28
+ activemodel (7.2.1)
29
+ activesupport (= 7.2.1)
30
+ activesupport (7.2.1)
31
+ base64
32
+ bigdecimal
33
+ concurrent-ruby (~> 1.0, >= 1.3.1)
34
+ connection_pool (>= 2.2.5)
35
+ drb
31
36
  i18n (>= 1.6, < 2)
37
+ logger (>= 1.4.2)
32
38
  minitest (>= 5.1)
33
- tzinfo (~> 2.0)
39
+ securerandom (>= 0.3)
40
+ tzinfo (~> 2.0, >= 2.0.5)
34
41
  ast (2.4.2)
35
- builder (3.2.4)
36
- colorize (0.8.1)
37
- concurrent-ruby (1.1.10)
42
+ base64 (0.2.0)
43
+ bigdecimal (3.1.8)
44
+ builder (3.3.0)
45
+ concurrent-ruby (1.3.4)
46
+ connection_pool (2.4.1)
38
47
  crass (1.0.6)
39
- database_cleaner (2.0.1)
40
- database_cleaner-active_record (~> 2.0.0)
41
- database_cleaner-active_record (2.0.1)
42
- activerecord (>= 5.a)
43
- database_cleaner-core (~> 2.0.0)
44
- database_cleaner-core (2.0.1)
45
- diff-lcs (1.5.0)
46
- erubi (1.10.0)
47
- fasterer (0.9.0)
48
- colorize (~> 0.7)
49
- ruby_parser (>= 3.14.1)
50
- generator_spec (0.9.4)
48
+ diff-lcs (1.5.1)
49
+ drb (2.2.1)
50
+ erubi (1.13.0)
51
+ fasterer (0.11.0)
52
+ ruby_parser (>= 3.19.1)
53
+ generator_spec (0.10.0)
51
54
  activesupport (>= 3.0.0)
52
55
  railties (>= 3.0.0)
53
- i18n (1.10.0)
56
+ i18n (1.14.6)
54
57
  concurrent-ruby (~> 1.0)
55
- lite-errors (1.2.1)
56
- lite-memoize (1.1.1)
57
- loofah (2.16.0)
58
+ io-console (0.7.2)
59
+ irb (1.14.1)
60
+ rdoc (>= 4.0.0)
61
+ reline (>= 0.4.2)
62
+ json (2.7.2)
63
+ language_server-protocol (3.17.0.3)
64
+ logger (1.6.1)
65
+ loofah (2.22.0)
58
66
  crass (~> 1.0.2)
59
- nokogiri (>= 1.5.9)
60
- method_source (1.0.0)
61
- mini_portile2 (2.8.0)
62
- minitest (5.15.0)
63
- nokogiri (1.13.4)
64
- mini_portile2 (~> 2.8.0)
67
+ nokogiri (>= 1.12.0)
68
+ mini_portile2 (2.8.7)
69
+ minitest (5.25.1)
70
+ nokogiri (1.16.7)
71
+ mini_portile2 (~> 2.8.2)
65
72
  racc (~> 1.4)
66
- parallel (1.22.1)
67
- parser (3.1.2.0)
73
+ ostruct (0.6.0)
74
+ parallel (1.26.3)
75
+ parser (3.3.5.0)
68
76
  ast (~> 2.4.1)
69
- racc (1.6.0)
70
- rack (2.2.3)
71
- rack-test (1.1.0)
72
- rack (>= 1.0, < 3)
73
- rails-dom-testing (2.0.3)
74
- activesupport (>= 4.2.0)
77
+ racc
78
+ psych (5.1.2)
79
+ stringio
80
+ racc (1.8.1)
81
+ rack (3.1.7)
82
+ rack-session (2.0.0)
83
+ rack (>= 3.0.0)
84
+ rack-test (2.1.0)
85
+ rack (>= 1.3)
86
+ rackup (2.1.0)
87
+ rack (>= 3)
88
+ webrick (~> 1.8)
89
+ rails-dom-testing (2.2.0)
90
+ activesupport (>= 5.0.0)
91
+ minitest
75
92
  nokogiri (>= 1.6)
76
- rails-html-sanitizer (1.4.2)
77
- loofah (~> 2.3)
78
- railties (7.0.2.3)
79
- actionpack (= 7.0.2.3)
80
- activesupport (= 7.0.2.3)
81
- method_source
93
+ rails-html-sanitizer (1.6.0)
94
+ loofah (~> 2.21)
95
+ nokogiri (~> 1.14)
96
+ railties (7.2.1)
97
+ actionpack (= 7.2.1)
98
+ activesupport (= 7.2.1)
99
+ irb (~> 1.13)
100
+ rackup (>= 1.0.0)
82
101
  rake (>= 12.2)
83
- thor (~> 1.0)
84
- zeitwerk (~> 2.5)
102
+ thor (~> 1.0, >= 1.2.2)
103
+ zeitwerk (~> 2.6)
85
104
  rainbow (3.1.1)
86
- rake (13.0.6)
87
- regexp_parser (2.3.0)
88
- rexml (3.2.5)
89
- rspec (3.11.0)
90
- rspec-core (~> 3.11.0)
91
- rspec-expectations (~> 3.11.0)
92
- rspec-mocks (~> 3.11.0)
93
- rspec-core (3.11.0)
94
- rspec-support (~> 3.11.0)
95
- rspec-expectations (3.11.0)
105
+ rake (13.2.1)
106
+ rdoc (6.7.0)
107
+ psych (>= 4.0.0)
108
+ regexp_parser (2.9.2)
109
+ reline (0.5.10)
110
+ io-console (~> 0.5)
111
+ rspec (3.13.0)
112
+ rspec-core (~> 3.13.0)
113
+ rspec-expectations (~> 3.13.0)
114
+ rspec-mocks (~> 3.13.0)
115
+ rspec-core (3.13.1)
116
+ rspec-support (~> 3.13.0)
117
+ rspec-expectations (3.13.3)
96
118
  diff-lcs (>= 1.2.0, < 2.0)
97
- rspec-support (~> 3.11.0)
98
- rspec-mocks (3.11.1)
119
+ rspec-support (~> 3.13.0)
120
+ rspec-mocks (3.13.1)
99
121
  diff-lcs (>= 1.2.0, < 2.0)
100
- rspec-support (~> 3.11.0)
101
- rspec-support (3.11.0)
102
- rubocop (1.27.0)
122
+ rspec-support (~> 3.13.0)
123
+ rspec-support (3.13.1)
124
+ rubocop (1.66.1)
125
+ json (~> 2.3)
126
+ language_server-protocol (>= 3.17.0)
103
127
  parallel (~> 1.10)
104
- parser (>= 3.1.0.0)
128
+ parser (>= 3.3.0.2)
105
129
  rainbow (>= 2.2.2, < 4.0)
106
- regexp_parser (>= 1.8, < 3.0)
107
- rexml
108
- rubocop-ast (>= 1.16.0, < 2.0)
130
+ regexp_parser (>= 2.4, < 3.0)
131
+ rubocop-ast (>= 1.32.2, < 2.0)
109
132
  ruby-progressbar (~> 1.7)
110
- unicode-display_width (>= 1.4.0, < 3.0)
111
- rubocop-ast (1.17.0)
112
- parser (>= 3.1.1.0)
113
- rubocop-performance (1.13.3)
114
- rubocop (>= 1.7.0, < 2.0)
115
- rubocop-ast (>= 0.4.0)
133
+ unicode-display_width (>= 2.4.0, < 3.0)
134
+ rubocop-ast (1.32.3)
135
+ parser (>= 3.3.1.0)
136
+ rubocop-performance (1.22.1)
137
+ rubocop (>= 1.48.1, < 2.0)
138
+ rubocop-ast (>= 1.31.1, < 2.0)
116
139
  rubocop-rake (0.6.0)
117
140
  rubocop (~> 1.0)
118
- rubocop-rspec (2.10.0)
119
- rubocop (~> 1.19)
120
- ruby-progressbar (1.11.0)
121
- ruby_parser (3.19.1)
141
+ rubocop-rspec (3.0.5)
142
+ rubocop (~> 1.61)
143
+ ruby-progressbar (1.13.0)
144
+ ruby_parser (3.21.1)
145
+ racc (~> 1.5)
122
146
  sexp_processor (~> 4.16)
123
- sexp_processor (4.16.1)
124
- sqlite3 (1.4.2)
125
- thor (1.2.1)
126
- tzinfo (2.0.4)
147
+ securerandom (0.3.1)
148
+ sexp_processor (4.17.2)
149
+ sqlite3 (2.1.0)
150
+ mini_portile2 (~> 2.8.0)
151
+ stringio (3.1.1)
152
+ thor (1.3.2)
153
+ tzinfo (2.0.6)
127
154
  concurrent-ruby (~> 1.0)
128
- unicode-display_width (2.1.0)
129
- zeitwerk (2.5.4)
155
+ unicode-display_width (2.6.0)
156
+ useragent (0.16.10)
157
+ webrick (1.8.2)
158
+ zeitwerk (2.6.18)
130
159
 
131
160
  PLATFORMS
132
161
  ruby
133
162
 
134
163
  DEPENDENCIES
135
- activerecord
136
164
  bundler
137
- database_cleaner
138
165
  fasterer
139
166
  generator_spec
140
167
  lite-command!