Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
7 changed files
with
53 additions
and
156 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,50 +1,17 @@ | ||
# rcov generated | ||
coverage | ||
|
||
# rdoc generated | ||
rdoc | ||
|
||
# yard generated | ||
doc | ||
.yardoc | ||
|
||
# bundler | ||
*.gem | ||
*.rbc | ||
.bundle | ||
|
||
# jeweler generated | ||
pkg | ||
|
||
# Have editor/IDE/OS specific files you need to ignore? Consider using a global gitignore: | ||
# | ||
# * Create a file at ~/.gitignore | ||
# * Include files you want ignored | ||
# * Run: git config --global core.excludesfile ~/.gitignore | ||
# | ||
# After doing this, these files will be ignored in all your git projects, | ||
# saving you from having to 'pollute' every project you touch with them | ||
# | ||
# Not sure what to needs to be ignored for particular editors/OSes? Here's some ideas to get you started. (Remember, remove the leading # of the line) | ||
# | ||
# For MacOS: | ||
# | ||
#.DS_Store | ||
|
||
# For TextMate | ||
#*.tmproj | ||
#tmtags | ||
|
||
# For emacs: | ||
#*~ | ||
#\#* | ||
#.\#* | ||
|
||
# For vim: | ||
#*.swp | ||
|
||
# For redcar: | ||
#.redcar | ||
|
||
# For rubinius: | ||
#*.rbc | ||
|
||
.config | ||
.yardoc | ||
Gemfile.lock | ||
InstalledFiles | ||
_yardoc | ||
coverage | ||
doc/ | ||
lib/bundler/man | ||
pkg | ||
rdoc | ||
spec/reports | ||
test/tmp | ||
test/version_tmp | ||
tmp |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,4 @@ | ||
source "http://rubygems.org" | ||
# Add dependencies required to use your gem here. | ||
# Example: | ||
# gem "activesupport", ">= 2.3.5" | ||
source 'https://rubygems.org' | ||
|
||
gem "unf", "~> 0.0.3" | ||
|
||
# Add dependencies to develop your gem here. | ||
# Include everything needed to run rake, tests, features, etc. | ||
group :development do | ||
gem "shoulda", ">= 0" | ||
gem "bundler", "~> 1.1.0" | ||
gem "jeweler", "~> 1.6.4" | ||
gem "rdoc", ">= 2.4.2" | ||
end | ||
# Specify your gem's dependencies in domain_name.gemspec | ||
gemspec |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,67 +1,35 @@ | ||
# Generated by jeweler | ||
# DO NOT EDIT THIS FILE DIRECTLY | ||
# Instead, edit Jeweler::Tasks in Rakefile, and run 'rake gemspec' | ||
# -*- encoding: utf-8 -*- | ||
lib = File.expand_path('../lib', __FILE__) | ||
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib) | ||
require 'domain_name/version' | ||
|
||
Gem::Specification.new do |s| | ||
s.name = "domain_name" | ||
s.version = "0.5.3" | ||
Gem::Specification.new do |gem| | ||
gem.name = "domain_name" | ||
gem.version = DomainName::VERSION | ||
gem.authors = ["Akinori MUSHA"] | ||
gem.email = ["knu@idaemons.org"] | ||
gem.description = <<-'EOS' | ||
This is a Domain Name manipulation library for Ruby. | ||
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version= | ||
s.authors = ["Akinori MUSHA"] | ||
s.date = "2012-04-06" | ||
s.description = "This is a Domain Name manipulation library for Ruby.\n\nIt can also be used for cookie domain validation based on the Public\nSuffix List.\n" | ||
s.email = "knu@idaemons.org" | ||
s.extra_rdoc_files = [ | ||
It can also be used for cookie domain validation based on the Public | ||
Suffix List. | ||
EOS | ||
gem.summary = %q{Domain Name manipulation library for Ruby} | ||
gem.homepage = "https://github.com/knu/ruby-domain_name" | ||
gem.licenses = ["BSD + MPL 1.1/GPL 2.0/LGPL 2.1"] | ||
|
||
gem.files = `git ls-files`.split($/) | ||
gem.executables = gem.files.grep(%r{^bin/}).map{ |f| File.basename(f) } | ||
gem.test_files = gem.files.grep(%r{^(test|spec|features)/}) | ||
gem.require_paths = ["lib"] | ||
|
||
gem.extra_rdoc_files = [ | ||
"LICENSE.txt", | ||
"README.md" | ||
] | ||
s.files = [ | ||
".document", | ||
"Gemfile", | ||
"LICENSE.txt", | ||
"README.md", | ||
"Rakefile", | ||
"VERSION", | ||
"data/effective_tld_names.dat", | ||
"domain_name.gemspec", | ||
"lib/domain_name.rb", | ||
"lib/domain_name/etld_data.rb", | ||
"lib/domain_name/etld_data.rb.erb", | ||
"lib/domain_name/punycode.rb", | ||
"test/helper.rb", | ||
"test/test_domain_name-punycode.rb", | ||
"test/test_domain_name.rb", | ||
"tool/gen_etld_data.rb" | ||
] | ||
s.homepage = "http://github.com/knu/ruby-domain_name" | ||
s.licenses = ["BSD + MPL 1.1/GPL 2.0/LGPL 2.1"] | ||
s.require_paths = ["lib"] | ||
s.rubygems_version = "1.8.21" | ||
s.summary = "Domain Name manipulation library for Ruby" | ||
|
||
if s.respond_to? :specification_version then | ||
s.specification_version = 3 | ||
|
||
if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then | ||
s.add_runtime_dependency(%q<unf>, ["~> 0.0.3"]) | ||
s.add_development_dependency(%q<shoulda>, [">= 0"]) | ||
s.add_development_dependency(%q<bundler>, ["~> 1.1.0"]) | ||
s.add_development_dependency(%q<jeweler>, ["~> 1.6.4"]) | ||
s.add_development_dependency(%q<rdoc>, [">= 2.4.2"]) | ||
else | ||
s.add_dependency(%q<unf>, ["~> 0.0.3"]) | ||
s.add_dependency(%q<shoulda>, [">= 0"]) | ||
s.add_dependency(%q<bundler>, ["~> 1.1.0"]) | ||
s.add_dependency(%q<jeweler>, ["~> 1.6.4"]) | ||
s.add_dependency(%q<rdoc>, [">= 2.4.2"]) | ||
end | ||
else | ||
s.add_dependency(%q<unf>, ["~> 0.0.3"]) | ||
s.add_dependency(%q<shoulda>, [">= 0"]) | ||
s.add_dependency(%q<bundler>, ["~> 1.1.0"]) | ||
s.add_dependency(%q<jeweler>, ["~> 1.6.4"]) | ||
s.add_dependency(%q<rdoc>, [">= 2.4.2"]) | ||
end | ||
gem.add_runtime_dependency("unf", ["~> 0.0.3"]) | ||
gem.add_development_dependency("shoulda", [">= 0"]) | ||
gem.add_development_dependency("bundler", ["~> 1.2.0"]) | ||
gem.add_development_dependency("rdoc", [">= 2.4.2"]) | ||
end | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
class DomainName | ||
VERSION = "0.5.4" | ||
end |