Skip to content

Commit aeb6d35

Browse files
committed
Add required_ruby_version to gemspec
1 parent 8ce0e60 commit aeb6d35

File tree

1 file changed

+13
-12
lines changed

1 file changed

+13
-12
lines changed

jsonb_accessor.gemspec

Lines changed: 13 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -4,20 +4,21 @@ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
44
require "jsonb_accessor/version"
55

66
Gem::Specification.new do |spec|
7-
spec.name = "jsonb_accessor"
8-
spec.version = JsonbAccessor::VERSION
9-
spec.authors = ["Michael Crismali", "Joe Hirn"]
10-
7+
spec.name = "jsonb_accessor"
8+
spec.version = JsonbAccessor::VERSION
9+
spec.authors = ["Michael Crismali", "Joe Hirn"]
10+
1111

12-
spec.summary = %q{Adds typed jsonb backed fields to your ActiveRecord models.}
13-
spec.description = %q{Adds typed jsonb backed fields to your ActiveRecord models.}
14-
spec.homepage = "https://github.com/devmynd/jsonb_accessor"
15-
spec.license = "MIT"
12+
spec.summary = %q{Adds typed jsonb backed fields to your ActiveRecord models.}
13+
spec.description = %q{Adds typed jsonb backed fields to your ActiveRecord models.}
14+
spec.homepage = "https://github.com/devmynd/jsonb_accessor"
15+
spec.license = "MIT"
16+
spec.required_ruby_version = '~> 2.0'
1617

17-
spec.files = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
18-
spec.bindir = "exe"
19-
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
20-
spec.require_paths = ["lib"]
18+
spec.files = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
19+
spec.bindir = "exe"
20+
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
21+
spec.require_paths = ["lib"]
2122

2223
spec.add_dependency "activerecord", ">= 4.2.1"
2324
spec.add_dependency "pg"

0 commit comments

Comments
 (0)