forked from bmuller/gatling_gun
-
Notifications
You must be signed in to change notification settings - Fork 1
/
gatling_gun.gemspec
30 lines (27 loc) · 1.07 KB
/
gatling_gun.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
DIR = File.dirname(__FILE__)
LIB = File.join(DIR, *%w[lib gatling_gun.rb])
GG_VERSION = open(LIB) { |lib|
lib.each { |line|
if v = line[/^\s*VERSION\s*=\s*(['"])(\d\.\d\.\d)\1/, 2]
break v
end
}
}
SPEC = Gem::Specification.new do |s|
s.name = "gatling_gun"
s.version = GG_VERSION
s.platform = Gem::Platform::RUBY
s.authors = ["James Edward Gray II"]
s.email = ["[email protected]"]
s.homepage = "https://github.com/anilrh/gatling_gun"
s.summary = "A Ruby library wrapping SendGrid's Newsletter API."
s.description = <<-END_DESCRIPTION.gsub(/\s+/, " ").strip
A library for working with SendGrid's Newsletter API. The code is intended
for managing and sending newletters. Forked from original to support ruby 1.8.7 and add a few methods (notably category support).
END_DESCRIPTION
s.required_ruby_version = ">= 1.8.7"
s.required_rubygems_version = ">= 1.3.7"
s.files = `git ls-files`.split("\n")
# s.test_files = `git ls-files -- test/*.rb`.split("\n")
s.require_paths = %w[lib]
end