Skip to content

Commit

Permalink
Ruby 3.2 compatibility
Browse files Browse the repository at this point in the history
  • Loading branch information
mehanoid authored and ilyakatz committed Feb 21, 2023
1 parent 3b15bdd commit 81dd9be
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 2 deletions.
3 changes: 3 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ language: ruby
rvm:
- 2.7
- 3.0
- 3.2
script: bundle exec rspec
gemfile:
- gemfiles/rails_5.2.gemfile
Expand All @@ -12,3 +13,5 @@ jobs:
exclude:
- rvm: 3.0
gemfile: gemfiles/rails_5.2.gemfile
- rvm: 3.2
gemfile: gemfiles/rails_5.2.gemfile
4 changes: 4 additions & 0 deletions Changelog.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Changelog

## 8.6.0

Ruby 3.2 support [mehanoid](https://github.com/mehanoid)

## 8.5.0

Allow custom templates [bazay](https://github.com/bazay)
Expand Down
2 changes: 1 addition & 1 deletion lib/data_migrate/config.rb
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ def initialize

def data_template_path=(value)
@data_template_path = value.tap do |path|
raise ArgumentError, "File not found: '#{path}'" unless path == DEFAULT_DATA_TEMPLATE_PATH || File.exists?(path)
raise ArgumentError, "File not found: '#{path}'" unless path == DEFAULT_DATA_TEMPLATE_PATH || File.exist?(path)
end
end
end
Expand Down
2 changes: 1 addition & 1 deletion lib/data_migrate/version.rb
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
module DataMigrate
VERSION = "8.5.0".freeze
VERSION = "8.6.0".freeze
end

0 comments on commit 81dd9be

Please sign in to comment.