inline_forms 1.3.22 → 1.3.23
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.
- data/bin/inline_forms +5 -6
- data/lib/inline_forms/version.rb +1 -1
- metadata +1 -1
data/bin/inline_forms
CHANGED
@@ -182,13 +182,12 @@ puts "Injecting precompile assets stuff in production.rb...\n"
|
|
182
182
|
precomp = "
|
183
183
|
\n
|
184
184
|
\n
|
185
|
-
#
|
186
|
-
#
|
187
|
-
|
188
|
-
|
189
|
-
end\n
|
185
|
+
# Precompile additional assets (application.js, application.css, and all non-JS/CSS are already added)
|
186
|
+
#{app_name}::Application.configure do
|
187
|
+
config.assets.precompile += %w( inline_forms_application.js inline_forms_application.css devise.css )
|
188
|
+
end
|
190
189
|
\n"
|
191
|
-
File.open( 'config/environments/production.rb', '
|
190
|
+
File.open( 'config/environments/production.rb', 'a') {|f| f.write(precomp) }
|
192
191
|
|
193
192
|
puts "Capify...\n"
|
194
193
|
system('capify .')
|
data/lib/inline_forms/version.rb
CHANGED