-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathprofile_action.gemspec
37 lines (31 loc) · 1.47 KB
/
profile_action.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
lib = File.expand_path('lib', __dir__)
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
require 'profile_action/version'
# Describe your gem and declare its dependencies:
Gem::Specification.new do |s|
s.name = 'profile_action'
s.version = ProfileAction::VERSION
s.authors = ['ed.mare']
s.homepage = 'https://github.com/ed-mare/json_api_server'
s.summary = 'Profile Rails actions with an around ruby-prof filter.' \
' Prints FlatPrinter to log as text or optionally JSON.'
s.description = 'Profile Rails actions with an around ruby-prof filter.' \
' Prints FlatPrinter to log as text or optionally JSON.'
s.license = 'MIT'
if s.respond_to?(:metadata)
s.metadata['allowed_push_host'] = 'https://rubygems.org'
else
raise 'RubyGems 2.0 or newer is required to protect against ' \
'public gem pushes.'
end
s.files = Dir['{lib}/**/*', 'MIT-LICENSE', 'Rakefile', 'README.md']
s.required_ruby_version = '>= 2.1'
s.rdoc_options += ['--main', 'README.md', '--exclude', 'spec', '--exclude', 'bin', '--exclude', 'Dockerfile',
'--exclude', 'Gemfile', '--exclude', 'Gemfile.lock', '--exclude', 'Rakefile']
s.add_dependency 'ruby-prof', '~> 0.16'
s.add_development_dependency 'bundle-audit', '~> 0.1'
s.add_development_dependency 'bundler', '~> 1.1'
s.add_development_dependency 'rake', '~> 10.0'
s.add_development_dependency 'rspec', '~> 3.0'
s.add_development_dependency 'rubocop', '~> 0.4'
end