@@ -5,31 +5,38 @@ require_relative "lib/activerecord_duckdb_adapter/version"
5
5
Gem ::Specification . new do |spec |
6
6
spec . name = "activerecord-duckdb-adapter"
7
7
spec . version = ActiveRecordDuckdbAdapter ::VERSION
8
- spec . authors = [ "okadakk" ]
9
- spec . email = [ "[email protected] " ]
8
+ spec . authors = [ "okadakk" , "Eddie A Tejeda" ]
9
+
10
10
11
- spec . summary = "https://github.com "
12
- spec . description = "https://github.com "
13
- spec . homepage = "https://github.com"
11
+ spec . summary = "ActiveRecord adapter for DuckDB database "
12
+ spec . description = "A Ruby gem that provides an ActiveRecord adapter for DuckDB, enabling Ruby and Rails applications to use DuckDB as their database backend. "
13
+ spec . homepage = "https://github.com/red-data-tools/activerecord-duckdb-adapter "
14
14
spec . license = "MIT"
15
- spec . required_ruby_version = ">= 2.4 .0"
15
+ spec . required_ruby_version = ">= 3.1 .0"
16
16
17
- spec . metadata [ "allowed_push_host" ] = "'https://mygemserver.com'"
17
+ spec . metadata = {
18
+ "bug_tracker_uri" => "https://github.com/red-data-tools/activerecord-duckdb-adapter/issues" ,
19
+ "changelog_uri" => "https://github.com/red-data-tools/activerecord-duckdb-adapter/blob/main/CHANGELOG.md" ,
20
+ "source_code_uri" => "https://github.com/red-data-tools/activerecord-duckdb-adapter" ,
21
+ "rubygems_mfa_required" => "true"
22
+ }
18
23
19
- spec . metadata [ "homepage_uri" ] = spec . homepage
20
- spec . metadata [ "source_code_uri" ] = "https://github.com"
21
- spec . metadata [ "changelog_uri" ] = "https://github.com"
22
-
23
- # Specify which files should be added to the gem when it is released.
24
- # The `git ls-files -z` loads the files in the RubyGem that have been added into git.
25
- spec . files = Dir . chdir ( File . expand_path ( __dir__ ) ) do
26
- `git ls-files -z` . split ( "\x0 " ) . reject { |f | f . match ( %r{\A (?:test|spec|features)/} ) }
27
- end
28
- spec . bindir = "exe"
29
- spec . executables = spec . files . grep ( %r{\A exe/} ) { |f | File . basename ( f ) }
24
+ # Specify files to include in the gem
25
+ spec . files = Dir [
26
+ "lib/**/*" ,
27
+ "README.md" ,
28
+ "LICENSE.txt" ,
29
+ "CHANGELOG.md"
30
+ ] . select { |f | File . file? ( f ) }
31
+
30
32
spec . require_paths = [ "lib" ]
31
33
32
- # Uncomment to register a new dependency of your gem
33
- spec . add_dependency ( 'activerecord' )
34
- spec . add_dependency ( 'duckdb' )
34
+ # Development dependencies with bounded versions
35
+ spec . add_development_dependency "bundler" , "~> 2.0"
36
+ spec . add_development_dependency "rake" , "~> 13.0"
37
+ spec . add_development_dependency "rspec" , "~> 3.13"
38
+
39
+ # Runtime dependencies with bounded versions
40
+ spec . add_dependency "activerecord" , "~> 7.1"
41
+ spec . add_dependency "duckdb" , "~> 1.1"
35
42
end
0 commit comments