-
Notifications
You must be signed in to change notification settings - Fork 0
/
geonames_client.gemspec
61 lines (51 loc) · 1.83 KB
/
geonames_client.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
# -*- encoding: utf-8 -*-
$:.push File.expand_path("../lib", __FILE__)
require "geonames_client/version"
Gem::Specification.new do |s|
s.name = "geonames_client"
s.version = GeonamesClient::VERSION
s.authors = ["C. Jason Harrelson"]
s.email = ["[email protected]"]
s.homepage = ""
s.summary = %q{A client to consume the geonames web services.}
s.description = %q{A client to consume the geonames web services (www.geonames.org).}
s.rubyforge_project = "geonames_client"
s.files = `git ls-files`.split("\n")
s.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")
s.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) }
s.require_paths = ["lib"]
development_dependencies = {
%q<rake> => [">= 0.9.2"],
%q<rspec> => [">= 2.6.0"],
%q<httparty> => [">= 0.8.0"]
}
runtime_dependencies = {
%q<httparty> => [">= 0.8.0"]
}
if s.respond_to? :specification_version then
current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION
s.specification_version = 3
if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
development_dependencies.each do |name, versions|
s.add_development_dependency( name, versions )
end
runtime_dependencies.each do |name, versions|
s.add_runtime_dependency( name, versions )
end
else
development_dependencies.each do |name, versions|
s.add_dependency( name, versions )
end
runtime_dependencies.each do |name, versions|
s.add_dependency( name, versions )
end
end
else
development_dependencies.each do |name, versions|
s.add_dependency( name, versions )
end
runtime_dependencies.each do |name, versions|
s.add_dependency( name, versions )
end
end
end