-
Notifications
You must be signed in to change notification settings - Fork 10
/
Copy pathRakefile
22 lines (19 loc) · 879 Bytes
/
Rakefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
require "jeweler"
Jeweler::Tasks.new do |gemspec|
gemspec.name = "addressabler"
gemspec.summary = "An Addressable::URI extension adding support for TLDs and query part editing"
gemspec.files = Dir["{lib}/**/*", "CHANGELOG.md", "LICENSE", "README.markdown"]
gemspec.description = %{
Addressabler extends the Addressable::URI class to provide information about, and manipulation of, specific parts of URI strings. It adds a `tld' method, a `domain' method,
and a `subdomain' method.
It also allows users to easily modify the URL's query values as a hash.
}
gemspec.email = "flip@x451.com"
gemspec.homepage = "http://github.com/flipsasser/addressabler"
gemspec.authors = ["Flip Sasser"]
gemspec.test_files = Dir["{spec}/**/*"]
end
desc "Update TLD list"
task :update_tlds do
`curl https://publicsuffix.org/list/effective_tld_names.dat > lib/tlds`
end