Skip to content

Commit 6f9eaab

Browse files
committed
moved js into assets
1 parent 9bc1d9b commit 6f9eaab

File tree

5 files changed

+261
-0
lines changed

5 files changed

+261
-0
lines changed

Gemfile.lock

Lines changed: 254 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,254 @@
1+
PATH
2+
remote: .
3+
specs:
4+
nova (0.1.0)
5+
jsbundling-rails
6+
rails (>= 8.0.1)
7+
8+
GEM
9+
remote: https://rubygems.org/
10+
specs:
11+
actioncable (8.0.2)
12+
actionpack (= 8.0.2)
13+
activesupport (= 8.0.2)
14+
nio4r (~> 2.0)
15+
websocket-driver (>= 0.6.1)
16+
zeitwerk (~> 2.6)
17+
actionmailbox (8.0.2)
18+
actionpack (= 8.0.2)
19+
activejob (= 8.0.2)
20+
activerecord (= 8.0.2)
21+
activestorage (= 8.0.2)
22+
activesupport (= 8.0.2)
23+
mail (>= 2.8.0)
24+
actionmailer (8.0.2)
25+
actionpack (= 8.0.2)
26+
actionview (= 8.0.2)
27+
activejob (= 8.0.2)
28+
activesupport (= 8.0.2)
29+
mail (>= 2.8.0)
30+
rails-dom-testing (~> 2.2)
31+
actionpack (8.0.2)
32+
actionview (= 8.0.2)
33+
activesupport (= 8.0.2)
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.2)
42+
actionpack (= 8.0.2)
43+
activerecord (= 8.0.2)
44+
activestorage (= 8.0.2)
45+
activesupport (= 8.0.2)
46+
globalid (>= 0.6.0)
47+
nokogiri (>= 1.8.5)
48+
actionview (8.0.2)
49+
activesupport (= 8.0.2)
50+
builder (~> 3.1)
51+
erubi (~> 1.11)
52+
rails-dom-testing (~> 2.2)
53+
rails-html-sanitizer (~> 1.6)
54+
activejob (8.0.2)
55+
activesupport (= 8.0.2)
56+
globalid (>= 0.3.6)
57+
activemodel (8.0.2)
58+
activesupport (= 8.0.2)
59+
activerecord (8.0.2)
60+
activemodel (= 8.0.2)
61+
activesupport (= 8.0.2)
62+
timeout (>= 0.4.0)
63+
activestorage (8.0.2)
64+
actionpack (= 8.0.2)
65+
activejob (= 8.0.2)
66+
activerecord (= 8.0.2)
67+
activesupport (= 8.0.2)
68+
marcel (~> 1.0)
69+
activesupport (8.0.2)
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+
ast (2.4.3)
83+
base64 (0.3.0)
84+
benchmark (0.4.1)
85+
bigdecimal (3.2.2)
86+
builder (3.3.0)
87+
concurrent-ruby (1.3.5)
88+
connection_pool (2.5.3)
89+
crass (1.0.6)
90+
date (3.4.1)
91+
drb (2.2.3)
92+
erb (5.0.1)
93+
erubi (1.13.1)
94+
globalid (1.2.1)
95+
activesupport (>= 6.1)
96+
i18n (1.14.7)
97+
concurrent-ruby (~> 1.0)
98+
io-console (0.8.0)
99+
irb (1.15.2)
100+
pp (>= 0.6.0)
101+
rdoc (>= 4.0.0)
102+
reline (>= 0.4.2)
103+
jsbundling-rails (1.3.1)
104+
railties (>= 6.0.0)
105+
json (2.12.2)
106+
language_server-protocol (3.17.0.5)
107+
lint_roller (1.1.0)
108+
logger (1.7.0)
109+
loofah (2.24.1)
110+
crass (~> 1.0.2)
111+
nokogiri (>= 1.12.0)
112+
mail (2.8.1)
113+
mini_mime (>= 0.1.1)
114+
net-imap
115+
net-pop
116+
net-smtp
117+
marcel (1.0.4)
118+
mini_mime (1.1.5)
119+
minitest (5.25.5)
120+
net-imap (0.5.9)
121+
date
122+
net-protocol
123+
net-pop (0.1.2)
124+
net-protocol
125+
net-protocol (0.2.2)
126+
timeout
127+
net-smtp (0.5.1)
128+
net-protocol
129+
nio4r (2.7.4)
130+
nokogiri (1.18.8-arm64-darwin)
131+
racc (~> 1.4)
132+
parallel (1.27.0)
133+
parser (3.3.8.0)
134+
ast (~> 2.4.1)
135+
racc
136+
pp (0.6.2)
137+
prettyprint
138+
prettyprint (0.2.0)
139+
prism (1.4.0)
140+
propshaft (1.1.0)
141+
actionpack (>= 7.0.0)
142+
activesupport (>= 7.0.0)
143+
rack
144+
railties (>= 7.0.0)
145+
psych (5.2.6)
146+
date
147+
stringio
148+
puma (6.6.0)
149+
nio4r (~> 2.0)
150+
racc (1.8.1)
151+
rack (3.1.16)
152+
rack-session (2.1.1)
153+
base64 (>= 0.1.0)
154+
rack (>= 3.0.0)
155+
rack-test (2.2.0)
156+
rack (>= 1.3)
157+
rackup (2.2.1)
158+
rack (>= 3)
159+
rails (8.0.2)
160+
actioncable (= 8.0.2)
161+
actionmailbox (= 8.0.2)
162+
actionmailer (= 8.0.2)
163+
actionpack (= 8.0.2)
164+
actiontext (= 8.0.2)
165+
actionview (= 8.0.2)
166+
activejob (= 8.0.2)
167+
activemodel (= 8.0.2)
168+
activerecord (= 8.0.2)
169+
activestorage (= 8.0.2)
170+
activesupport (= 8.0.2)
171+
bundler (>= 1.15.0)
172+
railties (= 8.0.2)
173+
rails-dom-testing (2.3.0)
174+
activesupport (>= 5.0.0)
175+
minitest
176+
nokogiri (>= 1.6)
177+
rails-html-sanitizer (1.6.2)
178+
loofah (~> 2.21)
179+
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)
180+
railties (8.0.2)
181+
actionpack (= 8.0.2)
182+
activesupport (= 8.0.2)
183+
irb (~> 1.13)
184+
rackup (>= 1.0.0)
185+
rake (>= 12.2)
186+
thor (~> 1.0, >= 1.2.2)
187+
zeitwerk (~> 2.6)
188+
rainbow (3.1.1)
189+
rake (13.3.0)
190+
rdoc (6.14.1)
191+
erb
192+
psych (>= 4.0.0)
193+
regexp_parser (2.10.0)
194+
reline (0.6.1)
195+
io-console (~> 0.5)
196+
rubocop (1.76.2)
197+
json (~> 2.3)
198+
language_server-protocol (~> 3.17.0.2)
199+
lint_roller (~> 1.1.0)
200+
parallel (~> 1.10)
201+
parser (>= 3.3.0.2)
202+
rainbow (>= 2.2.2, < 4.0)
203+
regexp_parser (>= 2.9.3, < 3.0)
204+
rubocop-ast (>= 1.45.1, < 2.0)
205+
ruby-progressbar (~> 1.7)
206+
unicode-display_width (>= 2.4.0, < 4.0)
207+
rubocop-ast (1.45.1)
208+
parser (>= 3.3.7.2)
209+
prism (~> 1.4)
210+
rubocop-performance (1.25.0)
211+
lint_roller (~> 1.1)
212+
rubocop (>= 1.75.0, < 2.0)
213+
rubocop-ast (>= 1.38.0, < 2.0)
214+
rubocop-rails (2.32.0)
215+
activesupport (>= 4.2.0)
216+
lint_roller (~> 1.1)
217+
rack (>= 1.1)
218+
rubocop (>= 1.75.0, < 2.0)
219+
rubocop-ast (>= 1.44.0, < 2.0)
220+
rubocop-rails-omakase (1.1.0)
221+
rubocop (>= 1.72)
222+
rubocop-performance (>= 1.24)
223+
rubocop-rails (>= 2.30)
224+
ruby-progressbar (1.13.0)
225+
securerandom (0.4.1)
226+
sqlite3 (2.7.0-arm64-darwin)
227+
stringio (3.1.7)
228+
thor (1.3.2)
229+
timeout (0.4.3)
230+
tzinfo (2.0.6)
231+
concurrent-ruby (~> 1.0)
232+
unicode-display_width (3.1.4)
233+
unicode-emoji (~> 4.0, >= 4.0.4)
234+
unicode-emoji (4.0.4)
235+
uri (1.0.3)
236+
useragent (0.16.11)
237+
websocket-driver (0.8.0)
238+
base64
239+
websocket-extensions (>= 0.1.0)
240+
websocket-extensions (0.1.5)
241+
zeitwerk (2.7.3)
242+
243+
PLATFORMS
244+
arm64-darwin-24
245+
246+
DEPENDENCIES
247+
nova!
248+
propshaft
249+
puma
250+
rubocop-rails-omakase
251+
sqlite3
252+
253+
BUNDLED WITH
254+
2.4.17
File renamed without changes.

app/javascript/nova/src/contributors/search_orcid.js renamed to app/assets/javascripts/nova/src/contributors/search_orcid.js

File renamed without changes.

lib/nova/engine.rb

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,5 +8,10 @@ class Engine < ::Rails::Engine
88
end
99
end
1010

11+
# Expose assets to host app
12+
initializer "nova.assets.precompile" do |app|
13+
app.config.assets.precompile += %w[nova/application.js]
14+
end
15+
1116
end
1217
end

nova.gemspec

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,4 +11,6 @@ Gem::Specification.new do |spec|
1111
Dir["{app,config,db,lib}/**/*", "LICENSE", "Rakefile", "README.md"]
1212
end
1313
spec.add_dependency "rails", ">= 8.0.1"
14+
# nova/nova.gemspec
15+
# spec.add_dependency "jsbundling-rails"
1416
end

0 commit comments

Comments
 (0)