-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
* 1138 app and specs working under Ruby 3.0.6 1138 spelling error * Update Gemfile.lock * 1138 upgrade brakeman * 1138 upgrade PaperTrail, Ruby to 3.1 * 1138 update ruby version in Dockerfile * 1138 one more attempt at updating ruby version * 1138 update brakeman-analysis * 1138 use yaml_column_permitted_classes config --------- Co-authored-by: Daniel O'Connor <[email protected]>
- Loading branch information
1 parent
c98b94c
commit 5a708d6
Showing
14 changed files
with
83 additions
and
35 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -28,4 +28,5 @@ Design | |
|
||
.passenger | ||
.vagrant | ||
storage/ | ||
storage/ | ||
.byebug_history |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
2.7.5 | ||
3.1.4 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -12,7 +12,7 @@ Gem::Specification.new do |gem| | |
gem.email = ['[email protected]', '[email protected]', '[email protected]'] | ||
gem.files = Dir["{app,config,db,lib,vendor,public,bin,log/script}/**/*", "MIT-LICENSE", "Rakefile", "README.md", "config.ru", "CHANGELOG.md", "CONTRIBUTING.md"] | ||
gem.version = FatFreeCRM::VERSION::STRING | ||
gem.required_ruby_version = '>= 2.7.0' | ||
gem.required_ruby_version = '>= 3.1' | ||
gem.license = 'MIT' | ||
|
||
gem.add_dependency 'rails', '~> 6.1.0' | ||
|
@@ -27,7 +27,7 @@ Gem::Specification.new do |gem| | |
gem.add_dependency 'select2-rails' | ||
gem.add_dependency 'simple_form' | ||
gem.add_dependency 'will_paginate' | ||
gem.add_dependency 'paper_trail', '~> 12.0.0' | ||
gem.add_dependency 'paper_trail', '~> 15.0.0' | ||
gem.add_dependency 'devise', '~> 4.6' | ||
gem.add_dependency 'devise-encryptable', '~> 0.2.0' | ||
gem.add_dependency 'acts_as_commentable', '~> 6.0.0' | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
# frozen_string_literal: true | ||
|
||
# Copyright (c) 2008-2013 Michael Dvorkin and contributors. | ||
# | ||
# Fat Free CRM is freely distributable under the terms of MIT license. | ||
# See MIT-LICENSE file or http://www.opensource.org/licenses/mit-license.php | ||
#------------------------------------------------------------------------------ | ||
require File.expand_path(File.dirname(__FILE__) + '/../../spec_helper') | ||
|
||
class TestController < ActionController::Base | ||
include FatFreeCRM::I18n | ||
end | ||
|
||
describe 'I18n.t()' do | ||
let(:entity_string) { 'entities' } | ||
let(:hidden_count) { 10 } | ||
let(:test_controller) { TestController.new } | ||
|
||
it 'should translate hash arguments' do | ||
expect(test_controller.t(:not_showing_hidden_entities, entity: entity_string, count: hidden_count)) | ||
.to eq("Not showing 10 hidden entities.") | ||
end | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters