mirror of
https://github.com/internetee/registry.git
synced 2025-07-20 17:55:55 +02:00
Pump iso8601 gem version
This commit is contained in:
parent
4e1bec3613
commit
ad46e08f32
4 changed files with 9 additions and 6 deletions
2
Gemfile
2
Gemfile
|
@ -1,7 +1,7 @@
|
|||
source 'https://rubygems.org'
|
||||
|
||||
# core
|
||||
gem 'iso8601', '0.8.6' # for dates and times
|
||||
gem 'iso8601', '0.12.1' # for dates and times
|
||||
gem 'rails', '~> 5.1.7'
|
||||
gem 'rest-client'
|
||||
gem 'uglifier'
|
||||
|
|
|
@ -214,7 +214,7 @@ GEM
|
|||
concurrent-ruby (~> 1.0)
|
||||
i18n_data (0.8.0)
|
||||
isikukood (0.1.2)
|
||||
iso8601 (0.8.6)
|
||||
iso8601 (0.12.1)
|
||||
jquery-rails (4.3.5)
|
||||
rails-dom-testing (>= 1, < 3)
|
||||
railties (>= 4.2.0)
|
||||
|
@ -473,7 +473,7 @@ DEPENDENCIES
|
|||
grape
|
||||
haml (~> 5.0)
|
||||
isikukood
|
||||
iso8601 (= 0.8.6)
|
||||
iso8601 (= 0.12.1)
|
||||
jquery-rails
|
||||
jquery-ui-rails (= 5.0.5)
|
||||
kaminari
|
||||
|
|
|
@ -3,7 +3,7 @@ module Concerns::Contact::Transferable
|
|||
|
||||
included do
|
||||
validates :auth_info, presence: true
|
||||
after_initialize :generate_auth_info, if: 'new_record? && auth_info.blank?'
|
||||
after_initialize :generate_auth_info, if: -> { new_record? && auth_info.blank? }
|
||||
end
|
||||
|
||||
def transfer(new_registrar)
|
||||
|
|
|
@ -6,7 +6,8 @@
|
|||
#
|
||||
# Read the Guide for Upgrading Ruby on Rails for more info on each option.
|
||||
|
||||
Rails.application.config.action_controller.raise_on_unfiltered_parameters = true
|
||||
# DEPRECATION WARNING: raise_on_unfiltered_parameters is deprecated and has no effect in Rails 5.1.
|
||||
#Rails.application.config.action_controller.raise_on_unfiltered_parameters = true
|
||||
|
||||
# Enable per-form CSRF tokens. Previous versions had false.
|
||||
Rails.application.config.action_controller.per_form_csrf_tokens = true
|
||||
|
@ -19,7 +20,9 @@ Rails.application.config.action_controller.forgery_protection_origin_check = tru
|
|||
ActiveSupport.to_time_preserves_timezone = true
|
||||
|
||||
# Do not halt callback chains when a callback returns false. Previous versions had true.
|
||||
ActiveSupport.halt_callback_chains_on_return_false = false
|
||||
# DEPRECATION WARNING: ActiveSupport.halt_callback_chains_on_return_false= is deprecated and
|
||||
# will be removed in Rails 5.2.
|
||||
#ActiveSupport.halt_callback_chains_on_return_false = false
|
||||
|
||||
# Configure SSL options to enable HSTS with subdomains. Previous versions had false.
|
||||
Rails.application.config.ssl_options = { hsts: { subdomains: true } }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue