-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathsequel-enum_values.gemspec
More file actions
40 lines (29 loc) · 1.18 KB
/
sequel-enum_values.gemspec
File metadata and controls
40 lines (29 loc) · 1.18 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
# frozen_string_literal: true
require_relative 'lib/sequel/plugins/enum_values/version'
Gem::Specification.new do |spec|
spec.name = 'sequel-enum_values'
spec.version = Sequel::Plugins::EnumValues::VERSION
spec.summary = <<~TEXT
Sequel plugin that provides method for getting `pg_enum` values
TEXT
spec.description = <<~TEXT
Now your `Sequel::Model` classes has method for getting `pg_enum` values from DataBase by field name.
TEXT
spec.authors = ['Alexander Popov']
spec.email = ['alex.wayfer@gmail.com']
spec.license = 'MIT'
github_uri = "https://github.com/AlexWayfer/#{spec.name}"
spec.homepage = github_uri
spec.metadata = {
'bug_tracker_uri' => "#{github_uri}/issues",
'changelog_uri' => "#{github_uri}/blob/v#{spec.version}/CHANGELOG.md",
'documentation_uri' => "http://www.rubydoc.info/gems/#{spec.name}/#{spec.version}",
'homepage_uri' => spec.homepage,
'rubygems_mfa_required' => 'true',
'source_code_uri' => github_uri,
'wiki_uri' => "#{github_uri}/wiki"
}
spec.files = Dir['lib/**/*.rb', 'README.md', 'LICENSE.txt', 'CHANGELOG.md']
spec.required_ruby_version = '>= 3.2', '< 5'
spec.add_dependency 'sequel', '~> 5.0'
end