-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathRakefile
61 lines (57 loc) · 1.92 KB
/
Rakefile
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
require 'rake'
require 'rake/rdoctask'
begin
require 'jeweler'
Jeweler::Tasks.new do |s|
s.name = "yelp4r"
s.summary = %Q{Yelp API wrapper in Ruby}
s.email = "[email protected]"
s.homepage = "http://github.com/tcocca/yelp4r"
s.description = "Simple Ruby wrapper for the Yelp API built on HTTParty with parsers for available Neighborhoods and Categories"
s.files = [
"README",
"LICENSE",
"Rakefile",
"VERSION.yml",
"lib/yelp4r.rb",
"lib/rubyify_keys.rb",
"lib/yelp4r/categories.rb",
"lib/yelp4r/client.rb",
"lib/yelp4r/neighborhood_search.rb",
"lib/yelp4r/neighborhoods.rb",
"lib/yelp4r/phone_search.rb",
"lib/yelp4r/response.rb",
"lib/yelp4r/review_search.rb",
"spec/rcov.opts",
"spec/spec.opts",
"spec/spec_helper.rb",
"spec/fixtures/categories.html",
"spec/fixtures/neighborhoods.html",
"spec/yelp4r/categories_spec.rb",
"spec/yelp4r/client_spec.rb",
"spec/yelp4r/neighborhood_search_spec.rb",
"spec/yelp4r/neighborhoods_spec.rb",
"spec/yelp4r/phone_search_spec.rb",
"spec/yelp4r/review_search_spec.rb",
"examples/yelp.rb"
]
s.authors = ["Tom Cocca"]
s.add_dependency "httparty", ">= 0.6.1"
s.add_dependency "hashie", ">= 0.4.0"
s.add_dependency "rash", ">= 0.2.0"
s.add_dependency 'nokogiri'
s.add_development_dependency "rspec"
end
Jeweler::GemcutterTasks.new
rescue LoadError
puts "Jeweler not available. Install it with: sudo gem install technicalpickles-jeweler -s http://gems.github.com"
end
Rake::RDocTask.new do |rdoc|
rdoc.rdoc_dir = 'rdoc'
rdoc.title = 'yelp4r'
rdoc.options << '--line-numbers' << '--inline-source'
rdoc.rdoc_files.include('README*')
rdoc.rdoc_files.include('lib/**/*.rb')
end
Dir['tasks/**/*.rake'].each { |t| load t }
task :default => :spec