File tree 6 files changed +15
-7
lines changed
6 files changed +15
-7
lines changed Original file line number Diff line number Diff line change @@ -22,7 +22,7 @@ gem 'sass-rails', '~> 5.0'
22
22
# Use Devise for authentication
23
23
gem 'devise'
24
24
# Use Uglifier as compressor for JavaScript assets
25
- gem 'uglifier' , '>= 1.3.0 '
25
+ gem 'uglifier' , '~> 4.2' , '>= 4.2.1 '
26
26
# See https://github.com/rails/execjs#readme for more supported runtimes
27
27
# gem 'mini_racer', platforms: :ruby
28
28
# Use CoffeeScript for .coffee assets and views
Original file line number Diff line number Diff line change @@ -449,7 +449,7 @@ DEPENDENCIES
449
449
sqlite3 (~> 1.4 )
450
450
turbolinks (~> 5 )
451
451
tzinfo-data
452
- uglifier (>= 1.3.0 )
452
+ uglifier (~> 4.2 , >= 4.2.1 )
453
453
web-console (>= 3.3.0 )
454
454
455
455
RUBY VERSION
Original file line number Diff line number Diff line change 12
12
//
13
13
//= require rails-ujs
14
14
//= require jquery3
15
- //= require bootstrap-sprockets
15
+ //= require bootstrap
16
16
//= require gritter
17
17
//= require activestorage
18
18
//= require turbolinks
Original file line number Diff line number Diff line change 6
6
</ div >
7
7
< div class ="card-body " style ="overflow: scroll; height: 10%; background-color: black ; color: white ">
8
8
<% if @indesign_count != 0 %>
9
- < table class ="table text-center w-25 " style ="padding-left: 20p ; background-color: black ">
9
+ < table class ="table text-center w-25 " style ="padding-left: 20px ; background-color: black ">
10
10
< thead >
11
11
< tr >
12
12
< th class ="align-left " style ="padding-left: 20px; background-color: black ; color: white "> <%= sortable "title" , "Software Record" %>
28
28
< i class ="fa fa-caret-down float-none "> </ i >
29
29
<% end %> </ th >
30
30
< th class ="align-left " style ="padding-left: 20px; background-color: black ; color: white "> Status</ th >
31
- < th class ="align-left " style ="padding-left: 20px; background-color: black ; color: white "" > <%= sortable "production_url" , "URL" %>
31
+ < th class ="align-left " style ="padding-left: 20px; background-color: black ; color: white "> <%= sortable "production_url" , "URL" %>
32
32
<% if params [ :direction ] == "asc" || params [ :direction ] == nil %>
33
33
< i class ="fa fa-caret-up "> </ i >
34
34
<% else %>
Original file line number Diff line number Diff line change 62
62
WARN
63
63
ask :value , "Sure you want to continue deploying `#{ branch } ` on #{ stage } ? (Y)"
64
64
65
- if fetch ( :value ) != 'Y '
65
+ if fetch ( :value ) . to_s . downcase != 'y '
66
66
puts "\n Deploy cancelled!"
67
67
exit
68
68
end
Original file line number Diff line number Diff line change 112
112
config . active_record . dump_schema_after_migration = false
113
113
114
114
# Change the Uglifier parsing engine
115
- config . assets . js_compressor = Uglifier . new ( harmony : true )
115
+ config . assets . js_compressor = Uglifier . new (
116
+ harmony : true ,
117
+ mangle : false ,
118
+ compress : false ,
119
+ output : {
120
+ beautify : true ,
121
+ comments : :all
122
+ }
123
+ )
116
124
end
You can’t perform that action at this time.
0 commit comments