Skip to content

Commit a47294b

Browse files
committedJun 10, 2024
update dependencies
1 parent 9a90cfc commit a47294b

File tree

6 files changed

+10
-7
lines changed

6 files changed

+10
-7
lines changed
 

‎.gitignore

+2-1
Original file line numberDiff line numberDiff line change
@@ -13,4 +13,5 @@ test/dummy/storage/
1313
test/dummy/tmp/
1414
test/dummy/test
1515
tmp/
16-
Gemfile.lock
16+
Gemfile.lock
17+
.ruby-version

‎.rubocop.yml

+2
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
TargetRubyVersion: 3.1
2+
13
Metrics/MethodLength:
24
Enabled: false
35

‎spatial_stats.gemspec

+3-3
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ Gem::Specification.new do |spec|
2020
'inside your rails app. Supports contiguious and distance-based'\
2121
' calculations.'
2222
spec.license = 'BSD-3-Clause'
23-
spec.required_ruby_version = Gem::Requirement.new('>= 2.3.0')
23+
spec.required_ruby_version = Gem::Requirement.new('>= 3.1.0')
2424

2525
spec.metadata['homepage_uri'] = spec.homepage
2626
spec.metadata['source_code_uri'] = spec.homepage
@@ -41,8 +41,8 @@ Gem::Specification.new do |spec|
4141

4242
spec.add_dependency 'numo-narray', '~>0.9.1'
4343
spec.add_dependency 'rails', '>= 6.0.0'
44-
spec.add_development_dependency 'activerecord-postgis-adapter', '~> 6.0.0'
45-
spec.add_development_dependency 'database_cleaner', '~> 1.8.3'
44+
spec.add_development_dependency 'activerecord-postgis-adapter', '>= 6.0.0'
45+
spec.add_development_dependency 'database_cleaner', '~> 2.0.2'
4646
spec.add_development_dependency 'pg', '~> 1.0'
4747
spec.add_development_dependency 'rake-compiler', '~>1.1.0'
4848
spec.add_development_dependency 'ruby-prof', '~> 1.3.1'

‎test/dummy/.ruby-version

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
ruby-2.6.3
1+
ruby-3.3

‎test/dummy/config/initializers/assets.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
# Be sure to restart your server when you modify this file.
44

55
# Version of your assets, change this if you want to expire all your assets.
6-
Rails.application.config.assets.version = '1.0'
6+
# Rails.application.config.assets.version = '1.0'
77

88
# Add additional assets to the asset load path.
99
# Rails.application.config.assets.paths << Emoji.images_path

‎test/test_helper.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323

2424
require 'database_cleaner'
2525
class ActiveSupport::TestCase
26-
ActiveRecord::Migration.check_pending!
26+
ActiveRecord::Migration.check_all_pending!
2727
DatabaseCleaner.strategy = :truncation
2828
setup { DatabaseCleaner.start }
2929
teardown { DatabaseCleaner.clean }

0 commit comments

Comments
 (0)
Please sign in to comment.