Skip to content

Commit

Permalink
[FEATURE] Upgrade form builder to 3.8.2
Browse files Browse the repository at this point in the history
refs OSC-17
  • Loading branch information
Bunhok committed Aug 22, 2022
1 parent c0ef371 commit b0eb1c4
Show file tree
Hide file tree
Showing 7 changed files with 44 additions and 417 deletions.
1 change: 1 addition & 0 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -131,3 +131,4 @@ group :test do
end

gem "sentry-raven", "~> 2.13"
gem 'terser', '~> 1.1', '>= 1.1.12'
3 changes: 3 additions & 0 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -796,6 +796,8 @@ GEM
sysrandom (1.0.5)
terminal-table (1.8.0)
unicode-display_width (~> 1.1, >= 1.1.1)
terser (1.1.12)
execjs (>= 0.3.0, < 3)
text (1.3.1)
thin (1.7.2)
daemons (~> 1.0, >= 1.0.9)
Expand Down Expand Up @@ -976,6 +978,7 @@ DEPENDENCIES
sorbet-rails
spreadsheet (~> 1.1.3)
sysrandom (~> 1.0, >= 1.0.5)
terser (~> 1.1, >= 1.1.12)
text (~> 1.3, >= 1.3.1)
thin (~> 1.7)
thredded (~> 0.6.1)
Expand Down
1 change: 1 addition & 0 deletions config/environments/development.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
Rails.application.configure do
config.assets.js_compressor = :terser
# Settings specified here will take precedence over those in config/application.rb.

# In the development environment your application's code is reloaded on
Expand Down
2 changes: 2 additions & 0 deletions config/environments/production.rb
Original file line number Diff line number Diff line change
Expand Up @@ -98,4 +98,6 @@

# Do not dump schema after migrations.
config.active_record.dump_schema_after_migration = false

config.assets.js_compressor = :terser
end
2 changes: 2 additions & 0 deletions config/environments/staging.rb
Original file line number Diff line number Diff line change
Expand Up @@ -77,4 +77,6 @@
config.log_formatter = ::Logger::Formatter.new
# Do not dump schema after migrations.
config.active_record.dump_schema_after_migration = false

config.assets.js_compressor = :terser
end
30 changes: 19 additions & 11 deletions vendor/assets/javascripts/form_builder/form-builder.min.js

Large diffs are not rendered by default.

422 changes: 16 additions & 406 deletions vendor/assets/javascripts/form_builder/form-render.min.js

Large diffs are not rendered by default.

0 comments on commit b0eb1c4

Please sign in to comment.