require_relative "lib/version" Gem::Specification.new do |spec| spec.name = "activerecord-cipherstash-pg-adapter" spec.version = ActiveRecord::CIPHERSTASH_PG_ADAPTER_VERSION spec.authors = ["Robin Howard"] spec.email = ["robin@cipherstash.com"] spec.summary = "CipherStash PostgreSQL adapter for ActiveRecord." spec.description = spec.summary spec.homepage = "https://github.com/cipherstash/activerecord-cipherstash-pg-adapter" spec.license = "LicenseRef-LICENCE" spec.metadata["homepage_uri"] = spec.homepage spec.metadata["source_code_uri"] = "#{spec.homepage}.git" spec.metadata["changelog_uri"] = "#{spec.homepage}/blob/main/CHANGELOG.md" spec.required_ruby_version = ">= 2.6.0" # Specify which files should be added to the gem when it is released. # The `git ls-files -z` loads the files in the RubyGem that have been added into git. spec.files = Dir.chdir(File.expand_path(__dir__)) do `git ls-files -z`.split("\x0").reject do |f| (f == __FILE__) || f.match(%r{\A(?:(?:bin|test|spec|features)/|\.(?:git|travis|circleci)|appveyor)}) end end spec.bindir = "exe" spec.executables = spec.files.grep(%r{\Aexe/}) { |f| File.basename(f) } spec.require_paths = ["lib"] # Runtime dependencies here; dev+test go in Gemfile. spec.add_dependency "activerecord", ">= 6.0.0", "< 8.0.0" spec.add_dependency "cipherstash-pg", ">= 1.0.0.beta.12" end