|
1 | | -# coding: utf-8 |
2 | | -lib = File.expand_path('../lib', __FILE__) |
| 1 | +# frozen_string_literal: true |
| 2 | + |
| 3 | +lib = File.expand_path('lib', __dir__) |
3 | 4 | $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib) |
4 | 5 | require 'polymorphic_integer_type/version' |
5 | 6 |
|
6 | 7 | Gem::Specification.new do |spec| |
7 | | - spec.name = "polymorphic_integer_type" |
| 8 | + spec.name = 'polymorphic_integer_type' |
8 | 9 | spec.version = PolymorphicIntegerType::VERSION |
9 | | - spec.authors = ["Kyle d'Oliveira"] |
10 | | - spec.email = ["[email protected]"] |
11 | | - spec.description = %q{Allows the *_type field in the DB to be an integer rather than a string} |
12 | | - spec.summary = %q{Use integers rather than strings for the _type field} |
13 | | - spec.homepage = "" |
14 | | - spec.license = "MIT" |
| 10 | + spec.authors = ['Kyle d\'Oliveira'] |
| 11 | + spec.email = ['[email protected]'] |
| 12 | + spec.description = 'Allows the *_type field in the DB to be an integer rather than a string' |
| 13 | + spec.summary = 'Use integers rather than strings for the _type field' |
| 14 | + spec.homepage = '' |
| 15 | + spec.license = 'MIT' |
| 16 | + |
| 17 | + spec.required_ruby_version = '>= 3.0' |
15 | 18 |
|
16 | 19 | spec.files = `git ls-files -- . ':!.github/'`.split($/) |
17 | 20 | spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) } |
18 | 21 | spec.test_files = spec.files.grep(%r{^(test|spec|features)/}) |
19 | | - spec.require_paths = ["lib"] |
| 22 | + spec.require_paths = ['lib'] |
20 | 23 |
|
21 | | - spec.add_dependency "activerecord", "< 8" |
22 | | - spec.add_development_dependency "bundler" |
23 | | - spec.add_development_dependency "rake" |
24 | | - spec.add_development_dependency "rspec" |
25 | | - spec.add_development_dependency "sqlite3" |
26 | | - spec.add_development_dependency "pry-byebug" |
| 24 | + spec.add_dependency 'activerecord', '< 9.0' |
| 25 | + spec.add_development_dependency 'bundler' |
| 26 | + spec.add_development_dependency 'pry-byebug' |
| 27 | + spec.add_development_dependency 'rake' |
| 28 | + spec.add_development_dependency 'rspec' |
| 29 | + spec.add_development_dependency 'sqlite3' |
27 | 30 | end |
0 commit comments