forked from newrelic/newrelic-ruby-agent
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathnewrelic_rpm.gemspec
59 lines (53 loc) · 2.21 KB
/
newrelic_rpm.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
46
47
48
49
50
51
52
53
54
55
56
57
58
59
#-*- coding: utf-8 -*-
lib = File.expand_path('../lib', __FILE__)
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
require 'new_relic/version'
require 'new_relic/latest_changes'
Gem::Specification.new do |s|
s.name = "newrelic_rpm"
s.version = NewRelic::VERSION::STRING
s.required_ruby_version = '>= 2.0.0'
s.required_rubygems_version = Gem::Requirement.new("> 1.3.1") if s.respond_to? :required_rubygems_version=
s.authors = [ "Matthew Wear", "Chris Pine", "Erin Dees", "Rachel Klein" ]
s.date = Time.now.strftime('%Y-%m-%d')
s.licenses = ['New Relic']
s.description = <<-EOS
New Relic is a performance management system, developed by New Relic,
Inc (http://www.newrelic.com). New Relic provides you with deep
information about the performance of your web application as it runs
in production. The New Relic Ruby Agent is dual-purposed as a either a
Gem or plugin, hosted on
https://github.com/newrelic/rpm/
EOS
s.email = "[email protected]"
s.executables = [ "mongrel_rpm", "newrelic_cmd", "newrelic", "nrdebug" ]
s.extra_rdoc_files = [
"CHANGELOG.md",
"LICENSE",
"README.md",
"CONTRIBUTING.md",
"newrelic.yml"
]
file_list = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/(?!agent_helper.rb)}) }
build_file_path = 'lib/new_relic/build.rb'
file_list << build_file_path if File.exist?(build_file_path)
s.files = file_list
s.homepage = "https://github.com/newrelic/rpm"
s.require_paths = ["lib"]
s.rubygems_version = Gem::VERSION
s.summary = "New Relic Ruby Agent"
s.add_development_dependency 'rake', '10.1.0'
s.add_development_dependency 'minitest', '~> 4.7.5'
s.add_development_dependency 'mocha', '~> 0.13.0'
s.add_development_dependency 'yard'
s.add_development_dependency 'rails', '~> 3.2.13'
s.add_development_dependency 'json', '>= 2.0.2' if RUBY_VERSION >= '2.4.0' # possible bundler issue?
s.add_development_dependency 'pry-nav', '~> 0.2.4'
s.add_development_dependency 'pry-stack_explorer', '~> 0.4.9'
s.add_development_dependency 'hometown', '~> 0.2.5'
if RUBY_PLATFORM == 'java'
s.add_development_dependency 'activerecord-jdbcsqlite3-adapter'
else
s.add_development_dependency 'sqlite3', '~> 1.3.13'
end
end