From 99b3606c2d21189dd3b76a95d361d9c7037f4461 Mon Sep 17 00:00:00 2001 From: Nweni Date: Fri, 15 Nov 2019 09:50:23 +0630 Subject: [PATCH] dump --- Gemfile | 2 +- Gemfile.lock | 4 ++-- config/initializers/action_controller.rb | 10 +++++----- config/puma.rb | 22 +++++++++++----------- dump.rdb | Bin 1864 -> 1864 bytes 5 files changed, 19 insertions(+), 19 deletions(-) diff --git a/Gemfile b/Gemfile index c8139eb7..ba95e3c9 100644 --- a/Gemfile +++ b/Gemfile @@ -1,5 +1,5 @@ source 'https://rubygems.org' -ruby '2.4.1' +ruby '2.6.3' git_source(:github) do |repo_name| repo_name = "#{repo_name}/#{repo_name}" unless repo_name.include?("/") "https://github.com/#{repo_name}.git" diff --git a/Gemfile.lock b/Gemfile.lock index 30925792..6c6a32d8 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -375,8 +375,8 @@ DEPENDENCIES web-console (>= 3.3.0) whenever - RUBY VERSION - ruby 2.4.1p111 + ruby 2.6.3p62 + BUNDLED WITH 2.0.2 diff --git a/config/initializers/action_controller.rb b/config/initializers/action_controller.rb index 205c330a..85f38ec5 100644 --- a/config/initializers/action_controller.rb +++ b/config/initializers/action_controller.rb @@ -21,11 +21,11 @@ class ActionController::Base end else # check for license file - if check_license - current_license(ENV["SX_PROVISION_URL"]) - else - redirect_to activate_path - end + # if check_license + # current_license(ENV["SX_PROVISION_URL"]) + # else + # redirect_to activate_path + # end end end diff --git a/config/puma.rb b/config/puma.rb index d24425ae..f0013d25 100755 --- a/config/puma.rb +++ b/config/puma.rb @@ -1,11 +1,11 @@ -application_path="#{File.expand_path("../..", __FILE__)}" -directory application_path -#environment ENV.fetch("RAILS_ENV") { "production" } -environment "production" -pidfile "#{application_path}/tmp/puma/pid" -state_path "#{application_path}/tmp/puma/state" -stdout_redirect "#{application_path}/log/puma.stdout.log", "#{application_path}/log/puma.stderr.log" -port ENV.fetch("PORT") { 62158 } -workers 2 -preload_app! -threads 1,1 +# application_path="#{File.expand_path("../..", __FILE__)}" +# directory application_path +# #environment ENV.fetch("RAILS_ENV") { "production" } +# environment "production" +# pidfile "#{application_path}/tmp/puma/pid" +# state_path "#{application_path}/tmp/puma/state" +# stdout_redirect "#{application_path}/log/puma.stdout.log", "#{application_path}/log/puma.stderr.log" +# port ENV.fetch("PORT") { 62158 } +# workers 2 +# preload_app! +# threads 1,1 diff --git a/dump.rdb b/dump.rdb index 2b0eb54ec77065e59631cfc96f9a0a9087d16625..05862db6fc21b6e2eafa4d7bb0e02bee4a890bba 100644 GIT binary patch delta 151 zcmV;I0BHZn4#*CWFc-&*%U${ib#rB8Ep26O!tkvQ0R8~`6_X(c8E#Q3ex}vIZ8BrX2w`la&TF z0W*>B8U!~jGBA^S1{sm>8U{BlF*v{gk&-Y1F*uQ`9J5*h-UN}yC=52h0RNc87W(IP FCafP3HZA}F delta 190 zcmX@XcY<$%f%xsbU9rD7N{drdbaPX44}Dn6$MBEgx9DU>CQ&vEU1Ng-3==OKOy0;S zGWidq42uzvKUtVvbMiz+DWJ50(E-MZ9&(eF*(F2`EevO7;L=-gnn1_0h+J;eY3