-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathtp_client.gemspec
More file actions
34 lines (28 loc) · 1.14 KB
/
tp_client.gemspec
File metadata and controls
34 lines (28 loc) · 1.14 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
Gem::Specification.new do |s|
s.platform = Gem::Platform::RUBY
s.name = "tp_client"
s.version = "1.0.1"
s.authors = ["TINYpulse DevOps"]
s.email = "devops@tinypulse.com"
s.license = 'MIT'
s.summary = 'TINYclient, an HTTP/JSON crud client toolkit.'
s.description = 'TINYclient is an HTTP/JSON crud toolkit inspired by ActiveRecord and based on Curb.'
s.homepage = 'https://github.com/TINYhr/tiny_client'
if s.respond_to?(:metadata)
s.metadata['allowed_push_host'] = 'https://rubygems.org'
s.metadata['homepage_uri'] = s.homepage
else
raise 'RubyGems 2.0 or newer is required to protect against public gem pushes.'
end
#### Load-time details
s.files = Dir.chdir(File.expand_path('..', __FILE__)) do
`git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
end
s.require_paths = %w[lib ext]
s.test_files = ['test/tiny_client/']
#### Documentation
s.rdoc_options = ['--main', 'README.md']
s.extra_rdoc_files = ['LICENSE', 'README.md']
s.add_dependency "curb", ">= 0.9.11", "< 1.1"
s.add_dependency "activesupport", ">= 4.0", "< 9"
end