forked from jeremyrwelch/Foursquare
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathfoursquare.gemspec
42 lines (37 loc) · 1.62 KB
/
foursquare.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
# -*- encoding: utf-8 -*-
Gem::Specification.new do |s|
s.name = %q{foursquare}
s.version = "0.3.4.1"
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
s.authors = ["Jeremy Welch", "Thomas Hanley", "Elise Wood", "Keith Gable"]
# s.autorequire = %q{foursquare}
s.date = %q{2010-12-28}
s.description = %q{A simple Ruby wrapper for the Foursquare API (v1 and v2)}
s.email = %q{[email protected]}
s.extra_rdoc_files = ["README.rdoc", "History"]
s.files = ["README.rdoc", "Rakefile", "History", "lib/foursquare.rb", "lib/foursquare2.rb", "spec/foursquare_spec.rb", "spec/spec_helper.rb", "script/destroy", "script/generate"]
s.homepage = %q{http://foursquare.rubyforge.org}
s.post_install_message = %q{NOTE: This fork of the Foursquare gem supports the v1 and v2 APIs. Documentation may not be updated to show this however.}
s.require_paths = ["lib"]
s.rubygems_version = %q{1.3.5}
s.summary = %q{See example: http://github.com/jeremyrwelch/Foursquare/blob/master/README.rdoc}
dependencies = [
['httparty', '>= 0.4.3'],
['hashie', '>= 0.1.8'],
['oauth', '>= 0.3.5'],
['oauth2', '>= 0.1.0']
]
dependencies.each do |dep|
if s.respond_to? :specification_version then
current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION
s.specification_version = 3
if Gem::Version.new(Gem::RubyGemsVersion) >= Gem::Version.new('1.2.0') then
s.add_runtime_dependency(dep.first, dep.last)
else
s.add_dependency(dep.first, dep.last)
end
else
s.add_dependency(dep.first, dep.last)
end
end
end