nacelle 0.6.0 → 0.6.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.
@@ -0,0 +1,251 @@
1
+ PATH
2
+ remote: ..
3
+ specs:
4
+ nacelle (0.6.0)
5
+ rails
6
+ sprockets-rails
7
+
8
+ GEM
9
+ remote: https://rubygems.org/
10
+ specs:
11
+ actioncable (8.0.4)
12
+ actionpack (= 8.0.4)
13
+ activesupport (= 8.0.4)
14
+ nio4r (~> 2.0)
15
+ websocket-driver (>= 0.6.1)
16
+ zeitwerk (~> 2.6)
17
+ actionmailbox (8.0.4)
18
+ actionpack (= 8.0.4)
19
+ activejob (= 8.0.4)
20
+ activerecord (= 8.0.4)
21
+ activestorage (= 8.0.4)
22
+ activesupport (= 8.0.4)
23
+ mail (>= 2.8.0)
24
+ actionmailer (8.0.4)
25
+ actionpack (= 8.0.4)
26
+ actionview (= 8.0.4)
27
+ activejob (= 8.0.4)
28
+ activesupport (= 8.0.4)
29
+ mail (>= 2.8.0)
30
+ rails-dom-testing (~> 2.2)
31
+ actionpack (8.0.4)
32
+ actionview (= 8.0.4)
33
+ activesupport (= 8.0.4)
34
+ nokogiri (>= 1.8.5)
35
+ rack (>= 2.2.4)
36
+ rack-session (>= 1.0.1)
37
+ rack-test (>= 0.6.3)
38
+ rails-dom-testing (~> 2.2)
39
+ rails-html-sanitizer (~> 1.6)
40
+ useragent (~> 0.16)
41
+ actiontext (8.0.4)
42
+ actionpack (= 8.0.4)
43
+ activerecord (= 8.0.4)
44
+ activestorage (= 8.0.4)
45
+ activesupport (= 8.0.4)
46
+ globalid (>= 0.6.0)
47
+ nokogiri (>= 1.8.5)
48
+ actionview (8.0.4)
49
+ activesupport (= 8.0.4)
50
+ builder (~> 3.1)
51
+ erubi (~> 1.11)
52
+ rails-dom-testing (~> 2.2)
53
+ rails-html-sanitizer (~> 1.6)
54
+ activejob (8.0.4)
55
+ activesupport (= 8.0.4)
56
+ globalid (>= 0.3.6)
57
+ activemodel (8.0.4)
58
+ activesupport (= 8.0.4)
59
+ activerecord (8.0.4)
60
+ activemodel (= 8.0.4)
61
+ activesupport (= 8.0.4)
62
+ timeout (>= 0.4.0)
63
+ activestorage (8.0.4)
64
+ actionpack (= 8.0.4)
65
+ activejob (= 8.0.4)
66
+ activerecord (= 8.0.4)
67
+ activesupport (= 8.0.4)
68
+ marcel (~> 1.0)
69
+ activesupport (8.0.4)
70
+ base64
71
+ benchmark (>= 0.3)
72
+ bigdecimal
73
+ concurrent-ruby (~> 1.0, >= 1.3.1)
74
+ connection_pool (>= 2.2.5)
75
+ drb
76
+ i18n (>= 1.6, < 2)
77
+ logger (>= 1.4.2)
78
+ minitest (>= 5.1)
79
+ securerandom (>= 0.3)
80
+ tzinfo (~> 2.0, >= 2.0.5)
81
+ uri (>= 0.13.1)
82
+ addressable (2.8.7)
83
+ public_suffix (>= 2.0.2, < 7.0)
84
+ appraisal (2.5.0)
85
+ bundler
86
+ rake
87
+ thor (>= 0.14.0)
88
+ base64 (0.3.0)
89
+ benchmark (0.5.0)
90
+ bigdecimal (3.3.1)
91
+ builder (3.3.0)
92
+ byebug (12.0.0)
93
+ capybara (3.40.0)
94
+ addressable
95
+ matrix
96
+ mini_mime (>= 0.1.3)
97
+ nokogiri (~> 1.11)
98
+ rack (>= 1.6.0)
99
+ rack-test (>= 0.6.3)
100
+ regexp_parser (>= 1.5, < 3.0)
101
+ xpath (~> 3.2)
102
+ concurrent-ruby (1.3.5)
103
+ connection_pool (2.5.4)
104
+ crass (1.0.6)
105
+ date (3.5.0)
106
+ diff-lcs (1.6.2)
107
+ drb (2.2.3)
108
+ erb (5.1.3)
109
+ erubi (1.13.1)
110
+ globalid (1.3.0)
111
+ activesupport (>= 6.1)
112
+ i18n (1.14.7)
113
+ concurrent-ruby (~> 1.0)
114
+ io-console (0.8.1)
115
+ irb (1.15.3)
116
+ pp (>= 0.6.0)
117
+ rdoc (>= 4.0.0)
118
+ reline (>= 0.4.2)
119
+ logger (1.7.0)
120
+ loofah (2.24.1)
121
+ crass (~> 1.0.2)
122
+ nokogiri (>= 1.12.0)
123
+ mail (2.9.0)
124
+ logger
125
+ mini_mime (>= 0.1.1)
126
+ net-imap
127
+ net-pop
128
+ net-smtp
129
+ marcel (1.1.0)
130
+ matrix (0.4.3)
131
+ mini_mime (1.1.5)
132
+ minitest (5.26.0)
133
+ net-imap (0.5.12)
134
+ date
135
+ net-protocol
136
+ net-pop (0.1.2)
137
+ net-protocol
138
+ net-protocol (0.2.2)
139
+ timeout
140
+ net-smtp (0.5.1)
141
+ net-protocol
142
+ nio4r (2.7.5)
143
+ nokogiri (1.18.10-x86_64-linux-gnu)
144
+ racc (~> 1.4)
145
+ pp (0.6.3)
146
+ prettyprint
147
+ prettyprint (0.2.0)
148
+ psych (5.2.6)
149
+ date
150
+ stringio
151
+ public_suffix (6.0.2)
152
+ racc (1.8.1)
153
+ rack (3.2.4)
154
+ rack-session (2.1.1)
155
+ base64 (>= 0.1.0)
156
+ rack (>= 3.0.0)
157
+ rack-test (2.2.0)
158
+ rack (>= 1.3)
159
+ rackup (2.2.1)
160
+ rack (>= 3)
161
+ rails (8.0.4)
162
+ actioncable (= 8.0.4)
163
+ actionmailbox (= 8.0.4)
164
+ actionmailer (= 8.0.4)
165
+ actionpack (= 8.0.4)
166
+ actiontext (= 8.0.4)
167
+ actionview (= 8.0.4)
168
+ activejob (= 8.0.4)
169
+ activemodel (= 8.0.4)
170
+ activerecord (= 8.0.4)
171
+ activestorage (= 8.0.4)
172
+ activesupport (= 8.0.4)
173
+ bundler (>= 1.15.0)
174
+ railties (= 8.0.4)
175
+ rails-dom-testing (2.3.0)
176
+ activesupport (>= 5.0.0)
177
+ minitest
178
+ nokogiri (>= 1.6)
179
+ rails-html-sanitizer (1.6.2)
180
+ loofah (~> 2.21)
181
+ nokogiri (>= 1.15.7, != 1.16.7, != 1.16.6, != 1.16.5, != 1.16.4, != 1.16.3, != 1.16.2, != 1.16.1, != 1.16.0.rc1, != 1.16.0)
182
+ railties (8.0.4)
183
+ actionpack (= 8.0.4)
184
+ activesupport (= 8.0.4)
185
+ irb (~> 1.13)
186
+ rackup (>= 1.0.0)
187
+ rake (>= 12.2)
188
+ thor (~> 1.0, >= 1.2.2)
189
+ tsort (>= 0.2)
190
+ zeitwerk (~> 2.6)
191
+ rake (13.3.1)
192
+ rdoc (6.15.1)
193
+ erb
194
+ psych (>= 4.0.0)
195
+ tsort
196
+ regexp_parser (2.11.3)
197
+ reline (0.6.2)
198
+ io-console (~> 0.5)
199
+ rspec (3.13.2)
200
+ rspec-core (~> 3.13.0)
201
+ rspec-expectations (~> 3.13.0)
202
+ rspec-mocks (~> 3.13.0)
203
+ rspec-core (3.13.6)
204
+ rspec-support (~> 3.13.0)
205
+ rspec-expectations (3.13.5)
206
+ diff-lcs (>= 1.2.0, < 2.0)
207
+ rspec-support (~> 3.13.0)
208
+ rspec-mocks (3.13.7)
209
+ diff-lcs (>= 1.2.0, < 2.0)
210
+ rspec-support (~> 3.13.0)
211
+ rspec-support (3.13.6)
212
+ securerandom (0.4.1)
213
+ sprockets (4.2.2)
214
+ concurrent-ruby (~> 1.0)
215
+ logger
216
+ rack (>= 2.2.4, < 4)
217
+ sprockets-rails (3.5.2)
218
+ actionpack (>= 6.1)
219
+ activesupport (>= 6.1)
220
+ sprockets (>= 3.0.0)
221
+ stringio (3.1.7)
222
+ thor (1.4.0)
223
+ timeout (0.4.4)
224
+ tsort (0.2.0)
225
+ tzinfo (2.0.6)
226
+ concurrent-ruby (~> 1.0)
227
+ uri (1.1.0)
228
+ useragent (0.16.11)
229
+ websocket-driver (0.8.0)
230
+ base64
231
+ websocket-extensions (>= 0.1.0)
232
+ websocket-extensions (0.1.5)
233
+ xpath (3.2.0)
234
+ nokogiri (~> 1.8)
235
+ zeitwerk (2.7.3)
236
+
237
+ PLATFORMS
238
+ x86_64-linux
239
+
240
+ DEPENDENCIES
241
+ appraisal
242
+ bundler
243
+ byebug
244
+ capybara
245
+ nacelle!
246
+ rails (~> 8.0.0)
247
+ rake
248
+ rspec
249
+
250
+ BUNDLED WITH
251
+ 2.4.19
@@ -2,7 +2,6 @@
2
2
 
3
3
  source "https://rubygems.org"
4
4
 
5
- gem "rails", "~>7.1.0"
6
- gem "sprockets", "~>3.0"
5
+ gem "rails", "~>8.1.0"
7
6
 
8
7
  gemspec path: "../"
@@ -0,0 +1,254 @@
1
+ PATH
2
+ remote: ..
3
+ specs:
4
+ nacelle (0.6.0)
5
+ rails
6
+ sprockets-rails
7
+
8
+ GEM
9
+ remote: https://rubygems.org/
10
+ specs:
11
+ action_text-trix (2.1.15)
12
+ railties
13
+ actioncable (8.1.1)
14
+ actionpack (= 8.1.1)
15
+ activesupport (= 8.1.1)
16
+ nio4r (~> 2.0)
17
+ websocket-driver (>= 0.6.1)
18
+ zeitwerk (~> 2.6)
19
+ actionmailbox (8.1.1)
20
+ actionpack (= 8.1.1)
21
+ activejob (= 8.1.1)
22
+ activerecord (= 8.1.1)
23
+ activestorage (= 8.1.1)
24
+ activesupport (= 8.1.1)
25
+ mail (>= 2.8.0)
26
+ actionmailer (8.1.1)
27
+ actionpack (= 8.1.1)
28
+ actionview (= 8.1.1)
29
+ activejob (= 8.1.1)
30
+ activesupport (= 8.1.1)
31
+ mail (>= 2.8.0)
32
+ rails-dom-testing (~> 2.2)
33
+ actionpack (8.1.1)
34
+ actionview (= 8.1.1)
35
+ activesupport (= 8.1.1)
36
+ nokogiri (>= 1.8.5)
37
+ rack (>= 2.2.4)
38
+ rack-session (>= 1.0.1)
39
+ rack-test (>= 0.6.3)
40
+ rails-dom-testing (~> 2.2)
41
+ rails-html-sanitizer (~> 1.6)
42
+ useragent (~> 0.16)
43
+ actiontext (8.1.1)
44
+ action_text-trix (~> 2.1.15)
45
+ actionpack (= 8.1.1)
46
+ activerecord (= 8.1.1)
47
+ activestorage (= 8.1.1)
48
+ activesupport (= 8.1.1)
49
+ globalid (>= 0.6.0)
50
+ nokogiri (>= 1.8.5)
51
+ actionview (8.1.1)
52
+ activesupport (= 8.1.1)
53
+ builder (~> 3.1)
54
+ erubi (~> 1.11)
55
+ rails-dom-testing (~> 2.2)
56
+ rails-html-sanitizer (~> 1.6)
57
+ activejob (8.1.1)
58
+ activesupport (= 8.1.1)
59
+ globalid (>= 0.3.6)
60
+ activemodel (8.1.1)
61
+ activesupport (= 8.1.1)
62
+ activerecord (8.1.1)
63
+ activemodel (= 8.1.1)
64
+ activesupport (= 8.1.1)
65
+ timeout (>= 0.4.0)
66
+ activestorage (8.1.1)
67
+ actionpack (= 8.1.1)
68
+ activejob (= 8.1.1)
69
+ activerecord (= 8.1.1)
70
+ activesupport (= 8.1.1)
71
+ marcel (~> 1.0)
72
+ activesupport (8.1.1)
73
+ base64
74
+ bigdecimal
75
+ concurrent-ruby (~> 1.0, >= 1.3.1)
76
+ connection_pool (>= 2.2.5)
77
+ drb
78
+ i18n (>= 1.6, < 2)
79
+ json
80
+ logger (>= 1.4.2)
81
+ minitest (>= 5.1)
82
+ securerandom (>= 0.3)
83
+ tzinfo (~> 2.0, >= 2.0.5)
84
+ uri (>= 0.13.1)
85
+ addressable (2.8.7)
86
+ public_suffix (>= 2.0.2, < 7.0)
87
+ appraisal (2.5.0)
88
+ bundler
89
+ rake
90
+ thor (>= 0.14.0)
91
+ base64 (0.3.0)
92
+ bigdecimal (3.3.1)
93
+ builder (3.3.0)
94
+ byebug (12.0.0)
95
+ capybara (3.40.0)
96
+ addressable
97
+ matrix
98
+ mini_mime (>= 0.1.3)
99
+ nokogiri (~> 1.11)
100
+ rack (>= 1.6.0)
101
+ rack-test (>= 0.6.3)
102
+ regexp_parser (>= 1.5, < 3.0)
103
+ xpath (~> 3.2)
104
+ concurrent-ruby (1.3.5)
105
+ connection_pool (2.5.4)
106
+ crass (1.0.6)
107
+ date (3.5.0)
108
+ diff-lcs (1.6.2)
109
+ drb (2.2.3)
110
+ erb (5.1.3)
111
+ erubi (1.13.1)
112
+ globalid (1.3.0)
113
+ activesupport (>= 6.1)
114
+ i18n (1.14.7)
115
+ concurrent-ruby (~> 1.0)
116
+ io-console (0.8.1)
117
+ irb (1.15.3)
118
+ pp (>= 0.6.0)
119
+ rdoc (>= 4.0.0)
120
+ reline (>= 0.4.2)
121
+ json (2.15.2)
122
+ logger (1.7.0)
123
+ loofah (2.24.1)
124
+ crass (~> 1.0.2)
125
+ nokogiri (>= 1.12.0)
126
+ mail (2.9.0)
127
+ logger
128
+ mini_mime (>= 0.1.1)
129
+ net-imap
130
+ net-pop
131
+ net-smtp
132
+ marcel (1.1.0)
133
+ matrix (0.4.3)
134
+ mini_mime (1.1.5)
135
+ minitest (5.26.0)
136
+ net-imap (0.5.12)
137
+ date
138
+ net-protocol
139
+ net-pop (0.1.2)
140
+ net-protocol
141
+ net-protocol (0.2.2)
142
+ timeout
143
+ net-smtp (0.5.1)
144
+ net-protocol
145
+ nio4r (2.7.5)
146
+ nokogiri (1.18.10-x86_64-linux-gnu)
147
+ racc (~> 1.4)
148
+ pp (0.6.3)
149
+ prettyprint
150
+ prettyprint (0.2.0)
151
+ psych (5.2.6)
152
+ date
153
+ stringio
154
+ public_suffix (6.0.2)
155
+ racc (1.8.1)
156
+ rack (3.2.4)
157
+ rack-session (2.1.1)
158
+ base64 (>= 0.1.0)
159
+ rack (>= 3.0.0)
160
+ rack-test (2.2.0)
161
+ rack (>= 1.3)
162
+ rackup (2.2.1)
163
+ rack (>= 3)
164
+ rails (8.1.1)
165
+ actioncable (= 8.1.1)
166
+ actionmailbox (= 8.1.1)
167
+ actionmailer (= 8.1.1)
168
+ actionpack (= 8.1.1)
169
+ actiontext (= 8.1.1)
170
+ actionview (= 8.1.1)
171
+ activejob (= 8.1.1)
172
+ activemodel (= 8.1.1)
173
+ activerecord (= 8.1.1)
174
+ activestorage (= 8.1.1)
175
+ activesupport (= 8.1.1)
176
+ bundler (>= 1.15.0)
177
+ railties (= 8.1.1)
178
+ rails-dom-testing (2.3.0)
179
+ activesupport (>= 5.0.0)
180
+ minitest
181
+ nokogiri (>= 1.6)
182
+ rails-html-sanitizer (1.6.2)
183
+ loofah (~> 2.21)
184
+ nokogiri (>= 1.15.7, != 1.16.7, != 1.16.6, != 1.16.5, != 1.16.4, != 1.16.3, != 1.16.2, != 1.16.1, != 1.16.0.rc1, != 1.16.0)
185
+ railties (8.1.1)
186
+ actionpack (= 8.1.1)
187
+ activesupport (= 8.1.1)
188
+ irb (~> 1.13)
189
+ rackup (>= 1.0.0)
190
+ rake (>= 12.2)
191
+ thor (~> 1.0, >= 1.2.2)
192
+ tsort (>= 0.2)
193
+ zeitwerk (~> 2.6)
194
+ rake (13.3.1)
195
+ rdoc (6.15.1)
196
+ erb
197
+ psych (>= 4.0.0)
198
+ tsort
199
+ regexp_parser (2.11.3)
200
+ reline (0.6.2)
201
+ io-console (~> 0.5)
202
+ rspec (3.13.2)
203
+ rspec-core (~> 3.13.0)
204
+ rspec-expectations (~> 3.13.0)
205
+ rspec-mocks (~> 3.13.0)
206
+ rspec-core (3.13.6)
207
+ rspec-support (~> 3.13.0)
208
+ rspec-expectations (3.13.5)
209
+ diff-lcs (>= 1.2.0, < 2.0)
210
+ rspec-support (~> 3.13.0)
211
+ rspec-mocks (3.13.7)
212
+ diff-lcs (>= 1.2.0, < 2.0)
213
+ rspec-support (~> 3.13.0)
214
+ rspec-support (3.13.6)
215
+ securerandom (0.4.1)
216
+ sprockets (4.2.2)
217
+ concurrent-ruby (~> 1.0)
218
+ logger
219
+ rack (>= 2.2.4, < 4)
220
+ sprockets-rails (3.5.2)
221
+ actionpack (>= 6.1)
222
+ activesupport (>= 6.1)
223
+ sprockets (>= 3.0.0)
224
+ stringio (3.1.7)
225
+ thor (1.4.0)
226
+ timeout (0.4.4)
227
+ tsort (0.2.0)
228
+ tzinfo (2.0.6)
229
+ concurrent-ruby (~> 1.0)
230
+ uri (1.1.0)
231
+ useragent (0.16.11)
232
+ websocket-driver (0.8.0)
233
+ base64
234
+ websocket-extensions (>= 0.1.0)
235
+ websocket-extensions (0.1.5)
236
+ xpath (3.2.0)
237
+ nokogiri (~> 1.8)
238
+ zeitwerk (2.7.3)
239
+
240
+ PLATFORMS
241
+ x86_64-linux
242
+
243
+ DEPENDENCIES
244
+ appraisal
245
+ bundler
246
+ byebug
247
+ capybara
248
+ nacelle!
249
+ rails (~> 8.1.0)
250
+ rake
251
+ rspec
252
+
253
+ BUNDLED WITH
254
+ 2.4.19
@@ -13,8 +13,9 @@ module Nacelle
13
13
 
14
14
  def call
15
15
  cells = cells controller.response.body
16
+ return if cells.empty?
16
17
 
17
- controller.response.body.gsub!(/(#{cells.keys.join('|')})/) do |tag|
18
+ controller.response.body = controller.response.body.gsub(/(#{cells.keys.join('|')})/) do |tag|
18
19
  name, action, attrs = cells[tag]
19
20
  action = action.to_sym
20
21
  attrs = HashWithIndifferentAccess.new(attrs)
@@ -30,7 +31,7 @@ module Nacelle
30
31
  else
31
32
  "<strong>Cell “#{name.capitalize} #{action}” not found!</strong>"
32
33
  end
33
- end unless cells.empty?
34
+ end
34
35
  end
35
36
 
36
37
  private
@@ -1,3 +1,3 @@
1
1
  module Nacelle
2
- VERSION = "0.6.0"
2
+ VERSION = "0.6.1"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: nacelle
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.6.0
4
+ version: 0.6.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Micah Geisel
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2024-11-11 00:00:00.000000000 Z
11
+ date: 2025-11-03 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -133,6 +133,7 @@ files:
133
133
  - ".gitignore"
134
134
  - ".rspec"
135
135
  - Appraisals
136
+ - CLAUDE.md
136
137
  - Gemfile
137
138
  - LICENSE.txt
138
139
  - README.md
@@ -148,12 +149,12 @@ files:
148
149
  - bin/setup
149
150
  - config/routes.rb
150
151
  - gemfiles/.bundle/config
151
- - gemfiles/rails_7.0.gemfile
152
- - gemfiles/rails_7.0.gemfile.lock
153
- - gemfiles/rails_7.1.gemfile
154
- - gemfiles/rails_7.1.gemfile.lock
155
152
  - gemfiles/rails_7.2.gemfile
156
153
  - gemfiles/rails_7.2.gemfile.lock
154
+ - gemfiles/rails_8.0.gemfile
155
+ - gemfiles/rails_8.0.gemfile.lock
156
+ - gemfiles/rails_8.1.gemfile
157
+ - gemfiles/rails_8.1.gemfile.lock
157
158
  - lib/nacelle.rb
158
159
  - lib/nacelle/after_filter.rb
159
160
  - lib/nacelle/cell.rb