Skip to content

Commit b2e3a35

Browse files
authored
Merge pull request #1315 from sul-dlss/rails71-defaults
Use rails 7.2 default configs
2 parents cc5f2e1 + 05f83ba commit b2e3a35

File tree

5 files changed

+2
-465
lines changed

5 files changed

+2
-465
lines changed

app/models/stacks_media_token.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ def self.verify_encrypted_token?(encrypted_string, expected_id, expected_file_na
9090
end
9191

9292
def self.create_from_hash(token_hash)
93-
new token_hash[:id], token_hash[:file_name], token_hash[:user_ip]
93+
new token_hash['id'], token_hash['file_name'], token_hash['user_ip']
9494
end
9595
private_class_method :create_from_hash
9696

config/application.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
module DigitalStacks
2222
class Application < Rails::Application
2323
# Initialize configuration defaults for originally generated Rails version.
24-
config.load_defaults 7.0
24+
config.load_defaults 7.2
2525

2626
# Please, add to the `ignore` list any other `lib` subdirectories that do
2727
# not contain `.rb` files, or that should not be reloaded or eager loaded.

config/initializers/new_framework_defaults_6_1.rb

Lines changed: 0 additions & 63 deletions
This file was deleted.

config/initializers/new_framework_defaults_7_0.rb

Lines changed: 0 additions & 117 deletions
This file was deleted.

0 commit comments

Comments
 (0)