lite-command 1.5.0 → 2.0.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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 86f89baebccec981ab697dbe02cc25cae4f143f881b4a765719147eb832b9ae5
4
- data.tar.gz: 39b8e5010d1b4c107be5b6f2396e86730f85c2d115a8ee6f3e8585daf8754543
3
+ metadata.gz: 71f2852f73f09542e278f594b692dd02c8e10f54fee85e1e9493d565520e5fc6
4
+ data.tar.gz: 668b62c1be78ee8b18ad06469ddbabf703497777bc73536395c6608fe8e26614
5
5
  SHA512:
6
- metadata.gz: dab8d3533ec7efa114f6119dff6ec6e172c1de828a8bcfe9f968939d227e98bfc3f6607f5d0de621a49cdd0edf17dbe4b893739720a9ae768d8eae9f8de6331a
7
- data.tar.gz: e116e71fe7c0c895579e7d8bcc22b444c3cb681fe634cc435fb286ca5917bb6bb96a6c88848a3aa6e34c20a16efe0956605188448ef408b8cc0746637b1047ae
6
+ metadata.gz: 18815326f8e22082e906c0142dd0b157a910a9d1755a56e67869b58cfe39ce4394beccb7c48565969ac291569005eb35d0a365ca9854bd9adf383def93ec8c8f
7
+ data.tar.gz: 3cba4a2e8fa9f780e7546e5934b38a5c3d3aadc318bca455824a8058aa5855cf47026c7c7813cfca8c2f390702b3fdb8d260139613853936d8e59cf68d6e8437
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,14 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
6
6
 
7
7
  ## [Unreleased]
8
8
 
9
+ ## [2.0.1] - 2024-09-27
10
+ ### Removed
11
+ - Activemodel dependency
12
+
13
+ ## [2.0.0] - 2024-09-27
14
+ ### Changed
15
+ - Rewrite app to use interactor pattern
16
+
9
17
  ## [1.5.0] - 2022-04-19
10
18
  ### Changed
11
19
  - 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,164 @@
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.1)
5
+ ostruct
7
6
 
8
7
  GEM
9
8
  remote: https://rubygems.org/
10
9
  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)
10
+ actionpack (7.2.1)
11
+ actionview (= 7.2.1)
12
+ activesupport (= 7.2.1)
13
+ nokogiri (>= 1.8.5)
14
+ racc
15
+ rack (>= 2.2.4, < 3.2)
16
+ rack-session (>= 1.0.1)
15
17
  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)
18
+ rails-dom-testing (~> 2.2)
19
+ rails-html-sanitizer (~> 1.6)
20
+ useragent (~> 0.16)
21
+ actionview (7.2.1)
22
+ activesupport (= 7.2.1)
20
23
  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)
24
+ erubi (~> 1.11)
25
+ rails-dom-testing (~> 2.2)
26
+ rails-html-sanitizer (~> 1.6)
27
+ activesupport (7.2.1)
28
+ base64
29
+ bigdecimal
30
+ concurrent-ruby (~> 1.0, >= 1.3.1)
31
+ connection_pool (>= 2.2.5)
32
+ drb
31
33
  i18n (>= 1.6, < 2)
34
+ logger (>= 1.4.2)
32
35
  minitest (>= 5.1)
33
- tzinfo (~> 2.0)
36
+ securerandom (>= 0.3)
37
+ tzinfo (~> 2.0, >= 2.0.5)
34
38
  ast (2.4.2)
35
- builder (3.2.4)
36
- colorize (0.8.1)
37
- concurrent-ruby (1.1.10)
39
+ base64 (0.2.0)
40
+ bigdecimal (3.1.8)
41
+ builder (3.3.0)
42
+ concurrent-ruby (1.3.4)
43
+ connection_pool (2.4.1)
38
44
  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)
45
+ diff-lcs (1.5.1)
46
+ drb (2.2.1)
47
+ erubi (1.13.0)
48
+ fasterer (0.11.0)
49
+ ruby_parser (>= 3.19.1)
50
+ generator_spec (0.10.0)
51
51
  activesupport (>= 3.0.0)
52
52
  railties (>= 3.0.0)
53
- i18n (1.10.0)
53
+ i18n (1.14.6)
54
54
  concurrent-ruby (~> 1.0)
55
- lite-errors (1.2.1)
56
- lite-memoize (1.1.1)
57
- loofah (2.16.0)
55
+ io-console (0.7.2)
56
+ irb (1.14.1)
57
+ rdoc (>= 4.0.0)
58
+ reline (>= 0.4.2)
59
+ json (2.7.2)
60
+ language_server-protocol (3.17.0.3)
61
+ logger (1.6.1)
62
+ loofah (2.22.0)
58
63
  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)
64
+ nokogiri (>= 1.12.0)
65
+ mini_portile2 (2.8.7)
66
+ minitest (5.25.1)
67
+ nokogiri (1.16.7)
68
+ mini_portile2 (~> 2.8.2)
65
69
  racc (~> 1.4)
66
- parallel (1.22.1)
67
- parser (3.1.2.0)
70
+ ostruct (0.6.0)
71
+ parallel (1.26.3)
72
+ parser (3.3.5.0)
68
73
  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)
74
+ racc
75
+ psych (5.1.2)
76
+ stringio
77
+ racc (1.8.1)
78
+ rack (3.1.7)
79
+ rack-session (2.0.0)
80
+ rack (>= 3.0.0)
81
+ rack-test (2.1.0)
82
+ rack (>= 1.3)
83
+ rackup (2.1.0)
84
+ rack (>= 3)
85
+ webrick (~> 1.8)
86
+ rails-dom-testing (2.2.0)
87
+ activesupport (>= 5.0.0)
88
+ minitest
75
89
  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
90
+ rails-html-sanitizer (1.6.0)
91
+ loofah (~> 2.21)
92
+ nokogiri (~> 1.14)
93
+ railties (7.2.1)
94
+ actionpack (= 7.2.1)
95
+ activesupport (= 7.2.1)
96
+ irb (~> 1.13)
97
+ rackup (>= 1.0.0)
82
98
  rake (>= 12.2)
83
- thor (~> 1.0)
84
- zeitwerk (~> 2.5)
99
+ thor (~> 1.0, >= 1.2.2)
100
+ zeitwerk (~> 2.6)
85
101
  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)
102
+ rake (13.2.1)
103
+ rdoc (6.7.0)
104
+ psych (>= 4.0.0)
105
+ regexp_parser (2.9.2)
106
+ reline (0.5.10)
107
+ io-console (~> 0.5)
108
+ rspec (3.13.0)
109
+ rspec-core (~> 3.13.0)
110
+ rspec-expectations (~> 3.13.0)
111
+ rspec-mocks (~> 3.13.0)
112
+ rspec-core (3.13.1)
113
+ rspec-support (~> 3.13.0)
114
+ rspec-expectations (3.13.3)
96
115
  diff-lcs (>= 1.2.0, < 2.0)
97
- rspec-support (~> 3.11.0)
98
- rspec-mocks (3.11.1)
116
+ rspec-support (~> 3.13.0)
117
+ rspec-mocks (3.13.1)
99
118
  diff-lcs (>= 1.2.0, < 2.0)
100
- rspec-support (~> 3.11.0)
101
- rspec-support (3.11.0)
102
- rubocop (1.27.0)
119
+ rspec-support (~> 3.13.0)
120
+ rspec-support (3.13.1)
121
+ rubocop (1.66.1)
122
+ json (~> 2.3)
123
+ language_server-protocol (>= 3.17.0)
103
124
  parallel (~> 1.10)
104
- parser (>= 3.1.0.0)
125
+ parser (>= 3.3.0.2)
105
126
  rainbow (>= 2.2.2, < 4.0)
106
- regexp_parser (>= 1.8, < 3.0)
107
- rexml
108
- rubocop-ast (>= 1.16.0, < 2.0)
127
+ regexp_parser (>= 2.4, < 3.0)
128
+ rubocop-ast (>= 1.32.2, < 2.0)
109
129
  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)
130
+ unicode-display_width (>= 2.4.0, < 3.0)
131
+ rubocop-ast (1.32.3)
132
+ parser (>= 3.3.1.0)
133
+ rubocop-performance (1.22.1)
134
+ rubocop (>= 1.48.1, < 2.0)
135
+ rubocop-ast (>= 1.31.1, < 2.0)
116
136
  rubocop-rake (0.6.0)
117
137
  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)
138
+ rubocop-rspec (3.0.5)
139
+ rubocop (~> 1.61)
140
+ ruby-progressbar (1.13.0)
141
+ ruby_parser (3.21.1)
142
+ racc (~> 1.5)
122
143
  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)
144
+ securerandom (0.3.1)
145
+ sexp_processor (4.17.2)
146
+ sqlite3 (2.1.0)
147
+ mini_portile2 (~> 2.8.0)
148
+ stringio (3.1.1)
149
+ thor (1.3.2)
150
+ tzinfo (2.0.6)
127
151
  concurrent-ruby (~> 1.0)
128
- unicode-display_width (2.1.0)
129
- zeitwerk (2.5.4)
152
+ unicode-display_width (2.6.0)
153
+ useragent (0.16.10)
154
+ webrick (1.8.2)
155
+ zeitwerk (2.6.18)
130
156
 
131
157
  PLATFORMS
132
158
  ruby
133
159
 
134
160
  DEPENDENCIES
135
- activerecord
136
161
  bundler
137
- database_cleaner
138
162
  fasterer
139
163
  generator_spec
140
164
  lite-command!