forked from newrelic/newrelic-ruby-agent
-
Notifications
You must be signed in to change notification settings - Fork 0
/
newrelic_rpm.gemspec
64 lines (59 loc) · 2.56 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
60
61
62
63
64
#-*- 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_rubygems_version = Gem::Requirement.new("> 1.3.1") if s.respond_to? :required_rubygems_version=
s.authors = [ "Jason Clark", "Sam Goldstein", "Jonan Scheffler", "Ben Weintraub" ]
s.date = Time.now.strftime('%Y-%m-%d')
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
http://github.com/newrelic/rpm/
EOS
s.email = "[email protected]"
s.executables = [ "mongrel_rpm", "newrelic_cmd", "newrelic", "nrdebug" ]
s.extra_rdoc_files = [
"CHANGELOG",
"LICENSE",
"README.md",
"GUIDELINES_FOR_CONTRIBUTING.md",
"newrelic.yml"
]
file_list = `git ls-files`.split
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 = "http://www.github.com/newrelic/rpm"
s.rdoc_options = ["--line-numbers", "--inline-source", "--title", "New Relic Ruby Agent"]
s.require_paths = ["lib"]
s.rubygems_version = Gem::VERSION
s.summary = "New Relic Ruby Agent"
s.post_install_message = NewRelic::LatestChanges.read
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 'sdoc-helpers'
s.add_development_dependency 'rdoc', '>= 2.4.2'
s.add_development_dependency 'rails', '~> 3.2.13'
s.add_development_dependency 'sqlite3' unless RUBY_PLATFORM == 'java'
s.add_development_dependency 'activerecord-jdbcsqlite3-adapter' if RUBY_PLATFORM == 'java'
s.add_development_dependency 'jruby-openssl' if RUBY_PLATFORM == 'java'
s.add_development_dependency 'sequel', '~> 3.46.0'
s.add_development_dependency 'pry'
s.add_development_dependency 'guard'
s.add_development_dependency 'guard-test'
s.add_development_dependency 'rb-fsevent', '~> 0.9.1'
# Only sign with our private key if you can find it
signing_key_path = File.expand_path('~/.ssh/newrelic_rpm-private_key.pem')
if File.exists?(signing_key_path)
s.signing_key = signing_key_path
s.cert_chain = ['gem-public_cert.pem']
end
end