-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy patheasy_talk.gemspec
45 lines (37 loc) · 1.76 KB
/
easy_talk.gemspec
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
41
42
43
44
45
# frozen_string_literal: true
require_relative 'lib/easy_talk/version'
Gem::Specification.new do |spec|
spec.name = 'easy_talk'
spec.version = EasyTalk::VERSION
spec.authors = ['Sergio Bayona']
spec.email = ['[email protected]']
spec.summary = 'Generate json-schema from Ruby classes.'
spec.description = 'Generate json-schema from plain Ruby classes.'
spec.homepage = 'https://github.com/sergiobayona/easy_talk'
spec.license = 'MIT'
spec.required_ruby_version = '>= 3.2'
spec.metadata['allowed_push_host'] = 'https://rubygems.org'
spec.metadata['homepage_uri'] = spec.homepage
spec.metadata['source_code_uri'] = 'https://github.com/sergiobayona/easy_talk'
spec.metadata['changelog_uri'] = 'https://github.com/sergiobayona/easy_talk/blob/main/CHANGELOG.md'
# 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(__dir__) do
`git ls-files -z`.split("\x0").reject do |f|
(File.expand_path(f) == __FILE__) ||
f.start_with?(*%w[bin/ spec/ .git .github Gemfile])
end
end
spec.require_paths = ['lib']
spec.add_dependency 'activemodel', '>= 7.0'
spec.add_dependency 'activesupport', '>= 7.0'
spec.add_dependency 'sorbet-runtime', '>= 0.5'
spec.add_development_dependency 'pry-byebug', '>= 3.10'
spec.add_development_dependency 'rake', '>= 13.1'
spec.add_development_dependency 'rspec', '>= 3.0'
spec.add_development_dependency 'rspec-json_expectations', '>= 2.0'
spec.add_development_dependency 'rspec-mocks', '>= 3.13'
spec.add_development_dependency 'rubocop', '>= 1.21'
spec.add_development_dependency 'rubocop-rake', '>= 0.6'
spec.add_development_dependency 'rubocop-rspec', '>= 2.29'
end