lite-command 1.4.1 → 2.0.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: db69c57c2f2a1dbc5df71aac409ce0941225ac7cafa475fc2644b2598a0878c6
4
- data.tar.gz: 83f5bd351a8f8ff270a3a27b561c19cae7a30478dbf1dff2f76b08c2bbe89dcd
3
+ metadata.gz: 340d00e30b3a4ca140aaff5ee354c8c48d43e03a35533a69ea349afb8c429435
4
+ data.tar.gz: f05f29f0fcc6d55c2afe9cb4debb309491374db238f9bfdcbe3833169c5caeeb
5
5
  SHA512:
6
- metadata.gz: 9b945016a9fa3a9548def3c5a47e519ee53d2f5751699c95ed1041737682bcdd80fa1450d6deaec40fa3501b6c2bd2ace8e117331103009493985b08cb8a53bf
7
- data.tar.gz: 8d0f91b8f9273528114b65afe9855ad3fa83aececccdfc3dedba70c94bc70e9d3b0d5798c6594dcf0e656719711d3d0cebb32fab0c0696ae8d1830536cd5981d
6
+ metadata.gz: e504efb0c085b59b57cbc05fb344c9568ee0ad18a275af25efef9cd3db6e5f6dde9b25dfbf971e1b34cab864c486c6efd6dabd015cb23f5ee1199abc0d85956f
7
+ data.tar.gz: 5ee4f05437705a5ed44a529cf776f32f0b5b049f020f7de8615c0aa1a1e47601db6b4d54cc381cd2280238e4e5d00f2b626c07688aa65795955cdc8092279f15
data/.rubocop.yml CHANGED
@@ -3,10 +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
9
+ Gemspec/DevelopmentDependencies:
10
+ EnforcedStyle: gemspec
10
11
  Gemspec/RequiredRubyVersion:
11
12
  Enabled: false
12
13
  Layout/EmptyLinesAroundAttributeAccessor:
@@ -19,26 +20,46 @@ Layout/EmptyLinesAroundClassBody:
19
20
  Layout/EmptyLinesAroundModuleBody:
20
21
  EnforcedStyle: empty_lines_except_namespace
21
22
  Layout/LineLength:
22
- Max: 100
23
+ Enabled: false
23
24
  Layout/SpaceAroundMethodCallOperator:
24
25
  Enabled: true
25
26
  Lint/RaiseException:
26
27
  Enabled: true
27
28
  Lint/StructNewOverride:
28
29
  Enabled: true
30
+ Metrics/AbcSize:
31
+ Enabled: false
29
32
  Metrics/BlockLength:
30
33
  Exclude:
31
34
  - 'spec/**/**/*'
32
35
  - '*.gemspec'
36
+ Metrics/CyclomaticComplexity:
37
+ Enabled: false
38
+ Metrics/MethodLength:
39
+ Enabled: false
40
+ Metrics/PerceivedComplexity:
41
+ Enabled: false
33
42
  Naming/MemoizedInstanceVariableName:
34
43
  Enabled: false
44
+ RSpec/AnyInstance:
45
+ Enabled: false
35
46
  RSpec/ExampleLength:
36
47
  Enabled: false
48
+ RSpec/MessageSpies:
49
+ Enabled: false
37
50
  RSpec/MultipleExpectations:
38
51
  Enabled: false
52
+ RSpec/MultipleMemoizedHelpers:
53
+ Enabled: false
39
54
  Style/ArgumentsForwarding:
40
55
  Enabled: false
41
56
  Style/Documentation:
42
57
  Enabled: false
58
+ Style/DocumentDynamicEvalDefinition:
59
+ Enabled: false
43
60
  Style/ExpandPathArguments:
44
61
  Enabled: false
62
+ Style/OpenStructUse:
63
+ Enabled: false
64
+ Style/StringLiterals:
65
+ EnforcedStyle: double_quotes
data/CHANGELOG.md CHANGED
@@ -6,6 +6,16 @@ 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
+
13
+ ## [1.5.0] - 2022-04-19
14
+ ### Changed
15
+ - Update docs
16
+ - Rename internal variables for more clarity
17
+ - Improved spec checkers
18
+
9
19
  ## [1.4.1] - 2021-09-04
10
20
  ### Changed
11
21
  - Fixed nil issue with `assign_and_return!`
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,141 +1,167 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- lite-command (1.4.1)
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 (6.1.4.1)
12
- actionview (= 6.1.4.1)
13
- activesupport (= 6.1.4.1)
14
- rack (~> 2.0, >= 2.0.9)
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 (6.1.4.1)
19
- activesupport (= 6.1.4.1)
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 (6.1.4.1)
25
- activesupport (= 6.1.4.1)
26
- activerecord (6.1.4.1)
27
- activemodel (= 6.1.4.1)
28
- activesupport (= 6.1.4.1)
29
- activesupport (6.1.4.1)
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)
34
- zeitwerk (~> 2.3)
39
+ securerandom (>= 0.3)
40
+ tzinfo (~> 2.0, >= 2.0.5)
35
41
  ast (2.4.2)
36
- builder (3.2.4)
37
- colorize (0.8.1)
38
- concurrent-ruby (1.1.9)
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)
39
47
  crass (1.0.6)
40
- database_cleaner (2.0.1)
41
- database_cleaner-active_record (~> 2.0.0)
42
- database_cleaner-active_record (2.0.1)
43
- activerecord (>= 5.a)
44
- database_cleaner-core (~> 2.0.0)
45
- database_cleaner-core (2.0.1)
46
- diff-lcs (1.4.4)
47
- erubi (1.10.0)
48
- fasterer (0.9.0)
49
- colorize (~> 0.7)
50
- ruby_parser (>= 3.14.1)
51
- 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)
52
54
  activesupport (>= 3.0.0)
53
55
  railties (>= 3.0.0)
54
- i18n (1.8.10)
56
+ i18n (1.14.6)
55
57
  concurrent-ruby (~> 1.0)
56
- lite-errors (1.2.1)
57
- lite-memoize (1.1.1)
58
- loofah (2.12.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)
59
66
  crass (~> 1.0.2)
60
- nokogiri (>= 1.5.9)
61
- method_source (1.0.0)
62
- mini_portile2 (2.6.1)
63
- minitest (5.14.4)
64
- nokogiri (1.12.4)
65
- mini_portile2 (~> 2.6.1)
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)
66
72
  racc (~> 1.4)
67
- parallel (1.20.2)
68
- parser (3.0.2.0)
73
+ ostruct (0.6.0)
74
+ parallel (1.26.3)
75
+ parser (3.3.5.0)
69
76
  ast (~> 2.4.1)
70
- racc (1.5.2)
71
- rack (2.2.3)
72
- rack-test (1.1.0)
73
- rack (>= 1.0, < 3)
74
- rails-dom-testing (2.0.3)
75
- 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
76
92
  nokogiri (>= 1.6)
77
- rails-html-sanitizer (1.4.2)
78
- loofah (~> 2.3)
79
- railties (6.1.4.1)
80
- actionpack (= 6.1.4.1)
81
- activesupport (= 6.1.4.1)
82
- method_source
83
- rake (>= 0.13)
84
- thor (~> 1.0)
85
- rainbow (3.0.0)
86
- rake (13.0.6)
87
- regexp_parser (2.1.1)
88
- rexml (3.2.5)
89
- rspec (3.10.0)
90
- rspec-core (~> 3.10.0)
91
- rspec-expectations (~> 3.10.0)
92
- rspec-mocks (~> 3.10.0)
93
- rspec-core (3.10.1)
94
- rspec-support (~> 3.10.0)
95
- rspec-expectations (3.10.1)
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)
101
+ rake (>= 12.2)
102
+ thor (~> 1.0, >= 1.2.2)
103
+ zeitwerk (~> 2.6)
104
+ rainbow (3.1.1)
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.10.0)
98
- rspec-mocks (3.10.2)
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.10.0)
101
- rspec-support (3.10.2)
102
- rubocop (1.20.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.0.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.9.1, < 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.11.0)
112
- parser (>= 3.0.1.1)
113
- rubocop-performance (1.11.5)
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.4.0)
119
- rubocop (~> 1.0)
120
- rubocop-ast (>= 1.1.0)
121
- ruby-progressbar (1.11.0)
122
- ruby_parser (3.17.0)
123
- sexp_processor (~> 4.15, >= 4.15.1)
124
- sexp_processor (4.15.3)
125
- sqlite3 (1.4.2)
126
- thor (1.1.0)
127
- tzinfo (2.0.4)
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)
146
+ sexp_processor (~> 4.16)
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)
128
154
  concurrent-ruby (~> 1.0)
129
- unicode-display_width (2.0.0)
130
- zeitwerk (2.4.2)
155
+ unicode-display_width (2.6.0)
156
+ useragent (0.16.10)
157
+ webrick (1.8.2)
158
+ zeitwerk (2.6.18)
131
159
 
132
160
  PLATFORMS
133
161
  ruby
134
162
 
135
163
  DEPENDENCIES
136
- activerecord
137
164
  bundler
138
- database_cleaner
139
165
  fasterer
140
166
  generator_spec
141
167
  lite-command!
@@ -148,4 +174,4 @@ DEPENDENCIES
148
174
  sqlite3
149
175
 
150
176
  BUNDLED WITH
151
- 2.2.26
177
+ 2.3.11