diff --git a/CHANGELOG.md b/CHANGELOG.md index 91842e5..3b8da58 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,9 @@ All notable changes to this project will be documented in this file. +## 2.7.1 (2025-11-03) +* Fixed: Removed some unnecessary files from the packaged gem. Gets rid of symlink warnings during installation. + ## 2.7.0 (2025-11-03) * Removed: Support for Ruby < 3.1, Rails < 7. * Fixed: Exception when using ActiveType::Record with Rails 8.1. diff --git a/Gemfile b/Gemfile index 027c099..981bf80 120000 --- a/Gemfile +++ b/Gemfile @@ -1 +1 @@ -Gemfile.7.0.sqlite3 \ No newline at end of file +Gemfile.8.0.sqlite3 \ No newline at end of file diff --git a/Gemfile.7.1.sqlite3.lock b/Gemfile.7.1.sqlite3.lock index fa94a4f..f6c6832 100644 --- a/Gemfile.7.1.sqlite3.lock +++ b/Gemfile.7.1.sqlite3.lock @@ -1,7 +1,7 @@ PATH remote: . specs: - active_type (2.7.0) + active_type (2.7.1) activerecord (>= 6.1) GEM diff --git a/Gemfile.7.2.mysql2.lock b/Gemfile.7.2.mysql2.lock index 54d46b4..b6e2217 100644 --- a/Gemfile.7.2.mysql2.lock +++ b/Gemfile.7.2.mysql2.lock @@ -1,7 +1,7 @@ PATH remote: . specs: - active_type (2.7.0) + active_type (2.7.1) activerecord (>= 6.1) GEM diff --git a/Gemfile.7.2.pg.lock b/Gemfile.7.2.pg.lock index d11a9ab..b748062 100644 --- a/Gemfile.7.2.pg.lock +++ b/Gemfile.7.2.pg.lock @@ -1,7 +1,7 @@ PATH remote: . specs: - active_type (2.7.0) + active_type (2.7.1) activerecord (>= 6.1) GEM diff --git a/Gemfile.7.2.sqlite3.lock b/Gemfile.7.2.sqlite3.lock index 4c4409c..586a894 100644 --- a/Gemfile.7.2.sqlite3.lock +++ b/Gemfile.7.2.sqlite3.lock @@ -1,7 +1,7 @@ PATH remote: . specs: - active_type (2.7.0) + active_type (2.7.1) activerecord (>= 6.1) GEM diff --git a/Gemfile.8.0.sqlite3.lock b/Gemfile.8.0.sqlite3.lock index b241f49..3c005bb 100644 --- a/Gemfile.8.0.sqlite3.lock +++ b/Gemfile.8.0.sqlite3.lock @@ -1,7 +1,7 @@ PATH remote: . specs: - active_type (2.7.0) + active_type (2.7.1) activerecord (>= 6.1) GEM diff --git a/Gemfile.8.1.pg.lock b/Gemfile.8.1.pg.lock index 54ea964..4c93ca6 100644 --- a/Gemfile.8.1.pg.lock +++ b/Gemfile.8.1.pg.lock @@ -1,7 +1,7 @@ PATH remote: . specs: - active_type (2.7.0) + active_type (2.7.1) activerecord (>= 6.1) GEM diff --git a/Gemfile.8.1.sqlite3.lock b/Gemfile.8.1.sqlite3.lock index b50b5db..3816fe1 100644 --- a/Gemfile.8.1.sqlite3.lock +++ b/Gemfile.8.1.sqlite3.lock @@ -1,7 +1,7 @@ PATH remote: . specs: - active_type (2.7.0) + active_type (2.7.1) activerecord (>= 6.1) GEM diff --git a/Gemfile.lock b/Gemfile.lock index 2e5414e..29df229 120000 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -1 +1 @@ -Gemfile.7.0.sqlite3.lock \ No newline at end of file +Gemfile.8.0.sqlite3.lock \ No newline at end of file diff --git a/active_type.gemspec b/active_type.gemspec index 143e662..d5e04a1 100644 --- a/active_type.gemspec +++ b/active_type.gemspec @@ -17,7 +17,11 @@ Gem::Specification.new do |s| 'rubygems_mfa_required' => 'true', } - s.files = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) } + s.files = IO.popen(%w[git ls-files -z], chdir: __dir__, err: IO::NULL) do |ls| + ls.readlines("\x0", chomp: true).select do |f| + f.start_with?(*%w[lib LICENSE README.md CHANGELOG.md]) + end + end s.executables = s.files.grep(%r{^bin/}) { |f| File.basename(f) } s.test_files = s.files.grep(%r{^(test|spec|features)/}) s.require_paths = ["lib"] diff --git a/lib/active_type/version.rb b/lib/active_type/version.rb index bf3a068..d0415d7 100644 --- a/lib/active_type/version.rb +++ b/lib/active_type/version.rb @@ -1,5 +1,5 @@ # frozen_string_literal: true module ActiveType - VERSION = '2.7.0' + VERSION = '2.7.1' end