Skip to content

Commit

Permalink
Pin tests to Rails 7.0.8
Browse files Browse the repository at this point in the history
  • Loading branch information
adfoster-r7 committed Apr 3, 2024
1 parent a6e363c commit 0c552e1
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ group :development, :test do
# code coverage of tests
gem 'simplecov', :require => false
# dummy app
gem 'rails'
gem 'rails', '7.0.8'
# running documentation generation tasks and rspec tasks
gem 'rake'
# unit testing framework with rails integration
Expand Down
2 changes: 1 addition & 1 deletion app/models/metasploit/credential/krb_enc_key.rb
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ class Metasploit::Credential::KrbEncKey < Metasploit::Credential::PasswordHash
# Callbacks
#

serialize :data, coder: Metasploit::Credential::CaseInsensitiveSerializer
serialize :data, Metasploit::Credential::CaseInsensitiveSerializer
validates_uniqueness_of :data, :case_sensitive => false

#
Expand Down
2 changes: 1 addition & 1 deletion app/models/metasploit/credential/ntlm_hash.rb
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ class Metasploit::Credential::NTLMHash < Metasploit::Credential::ReplayableHash

# Hash results are always downcased when stored in the database
# This serializer allows for ORM to search in a case-insensitive
serialize :data, coder: Metasploit::Credential::CaseInsensitiveSerializer
serialize :data, Metasploit::Credential::CaseInsensitiveSerializer

#
# Validations
Expand Down
2 changes: 1 addition & 1 deletion app/models/metasploit/credential/postgres_md5.rb
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ class Metasploit::Credential::PostgresMD5 < Metasploit::Credential::ReplayableHa
# Callbacks
#

serialize :data, coder: Metasploit::Credential::CaseInsensitiveSerializer
serialize :data, Metasploit::Credential::CaseInsensitiveSerializer
validates_uniqueness_of :data, :case_sensitive => false

#
Expand Down

0 comments on commit 0c552e1

Please sign in to comment.