forked from markus/eat
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy patheat.gemspec
24 lines (21 loc) · 1.06 KB
/
eat.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
# -*- encoding: utf-8 -*-
$:.push File.expand_path("../lib", __FILE__)
require "eat/version"
Gem::Specification.new do |s|
s.name = "eat"
s.version = Eat::VERSION
s.platform = Gem::Platform::RUBY
s.authors = ["Seamus Abshere"]
s.email = ["[email protected]"]
s.homepage = "https://github.com/seamusabshere/eat"
s.summary = %q{Defines an #eat method that takes local and remote paths and returns the contents it finds there as a String. Like open-uri but with fewer weirdnesses (and it doesn't override #open).}
s.description = %q{A (better?) replacement for open-uri. Gets the contents of local and remote files as a String, no questions asked.}
s.rubyforge_project = "eat"
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"]
s.add_runtime_dependency 'httpclient'
s.add_development_dependency 'test-unit'
s.add_development_dependency 'rake'
end