File tree Expand file tree Collapse file tree 6 files changed +37
-8
lines changed
Expand file tree Collapse file tree 6 files changed +37
-8
lines changed Original file line number Diff line number Diff line change 2121 - gemfiles/Gemfile.rails-7.1
2222 - gemfiles/Gemfile.rails-7.2
2323 - gemfiles/Gemfile.rails-8.0
24+ - gemfiles/Gemfile.rails-8.1
2425 orm :
2526 - active_record
2627 - mongoid
@@ -32,19 +33,21 @@ jobs:
3233 - gemfile : gemfiles/Gemfile.rails-7.1
3334 ruby-version : 3.2.9
3435 - gemfile : gemfiles/Gemfile.rails-7.2
35- ruby-version : 3.3.9
36+ ruby-version : 3.3.10
3637 - gemfile : gemfiles/Gemfile.rails-8.0
37- ruby-version : 3.4.5
38+ ruby-version : 3.4.8
39+ - gemfile : gemfiles/Gemfile.rails-8.1
40+ ruby-version : 4.0.0
3841 - gemfile : Gemfile
39- ruby-version : 3.4.5
42+ ruby-version : 4.0.0
4043 orm : active_record
4144 test-db : mysql
4245 - gemfile : Gemfile
43- ruby-version : 3.4.5
46+ ruby-version : 4.0.0
4447 orm : active_record
4548 test-db : postgresql
4649 - gemfile : Gemfile
47- ruby-version : 3.4.5
50+ ruby-version : 4.0.0
4851 orm : mongoid
4952 test-db : mongodb
5053
Original file line number Diff line number Diff line change @@ -26,6 +26,7 @@ group :test do
2626 gem 'coveralls_reborn' , require : false
2727end
2828
29+ gem 'ostruct'
2930gem 'webpacker' , groups : [ :production , :development ]
3031gem 'rack-cors' , groups : [ :production , :development ]
3132gem 'dotenv-rails' , groups : [ :development , :test ]
Original file line number Diff line number Diff line change @@ -19,7 +19,7 @@ Gem::Specification.new do |s|
1919 s . require_paths = [ "lib" ]
2020 s . required_ruby_version = '>= 2.1.0'
2121
22- s . add_dependency 'railties' , '>= 7.0.0' , '< 8.1 '
22+ s . add_dependency 'railties' , '>= 7.0.0' , '< 8.2 '
2323 s . add_dependency 'i18n' , '>= 0.5.0'
2424 s . add_dependency 'jquery-rails' , '>= 3.1.1'
2525 s . add_dependency 'swagger-blocks' , '>= 3.0.0'
Original file line number Diff line number Diff line change @@ -8,7 +8,6 @@ gem 'sprockets-rails'
88group :development do
99 gem 'bullet'
1010 gem 'rack-cors'
11- gem 'sqlite3'
1211end
1312
1413group :test do
Original file line number Diff line number Diff line change 1+ source 'https://rubygems.org'
2+
3+ gemspec path: '../'
4+
5+ gem 'rails', '~> 8.1.0'
6+ gem 'sprockets-rails'
7+ gem 'ostruct'
8+
9+ group :development do
10+ gem 'bullet'
11+ gem 'rack-cors'
12+ end
13+
14+ group :test do
15+ gem 'rails-controller-testing'
16+ gem 'ammeter'
17+ gem 'timecop'
18+ gem 'committee'
19+ gem 'committee-rails', '< 0.6'
20+ # gem 'coveralls', require: false
21+ gem 'coveralls_reborn', require: false
22+ end
23+
24+ gem 'dotenv-rails', groups: [:development, :test]
Original file line number Diff line number Diff line change @@ -34,7 +34,9 @@ class Application < Rails::Application
3434 if Gem ::Version . new ( "5.2.0" ) <= Rails . gem_version && Rails . gem_version < Gem ::Version . new ( "6.0.0" ) && ENV [ 'AN_TEST_DB' ] != 'mongodb'
3535 config . active_record . sqlite3 . represent_boolean_as_integer = true
3636 end
37- config . active_support . to_time_preserves_timezone = :zone
37+ if Rails . gem_version < Gem ::Version . new ( "8.1.0" )
38+ config . active_support . to_time_preserves_timezone = :zone
39+ end
3840
3941 # Configure CORS for API mode
4042 if defined? ( Rack ::Cors )
You can’t perform that action at this time.
0 commit comments