summaryrefslogtreecommitdiff
path: root/diff-lcs.gemspec
diff options
context:
space:
mode:
authorAustin Ziegler <austin@halostatue.ca>2011-07-30 19:40:23 -0400
committerAustin Ziegler <austin@halostatue.ca>2011-07-30 19:40:23 -0400
commit9feacf82a4859362662c05ffaaeaf26b40a36018 (patch)
tree57be359c74bcdabd2510835f5568b64ba61f769d /diff-lcs.gemspec
parentca444f81819ee49d3a174271dbca75061a4067f5 (diff)
downloaddiff-lcs-9feacf82a4859362662c05ffaaeaf26b40a36018.tar.gz
Converting diff-lcs from svn to git format.
Diffstat (limited to 'diff-lcs.gemspec')
-rw-r--r--diff-lcs.gemspec40
1 files changed, 40 insertions, 0 deletions
diff --git a/diff-lcs.gemspec b/diff-lcs.gemspec
new file mode 100644
index 0000000..ba49ed6
--- /dev/null
+++ b/diff-lcs.gemspec
@@ -0,0 +1,40 @@
+Gem::Specification.new do |s|
+ s.name = %{diff-lcs}
+ s.version = %{1.1.2}
+ s.author = %{Austin Ziegler}
+ s.email = %{diff-lcs@halostatue.ca}
+ s.homepage = %{http://rubyforge.org/projects/ruwiki/}
+ s.rubyforge_project = %{ruwiki}
+
+ s.files = Dir.glob("**/*").delete_if do |item|
+ item.include?("CVS") or item.include?(".svn") or
+ item == "install.rb" or item =~ /~$/ or
+ item =~ /gem(?:spec)?$/
+ end
+
+ s.summary = %{Provides a list of changes that represent the difference between two sequenced collections.}
+
+ s.required_ruby_version = %(>=1.8.1)
+
+ s.executables = %w(ldiff htmldiff)
+ s.bindir = %(bin)
+
+ s.test_files = %w{tests/00test.rb}
+
+ s.autorequire = %{diff/lcs}
+ s.require_paths = %w{lib}
+
+ description = []
+ File.open("README") do |file|
+ file.each do |line|
+ line.chomp!
+ break if line.empty?
+ description << "#{line.gsub(/\[\d\]/, '')}"
+ end
+ end
+ s.description = description[2..-1].join(" ")
+
+ s.has_rdoc = true
+ s.rdoc_options = ["--title", "Diff::LCS -- A Diff Algorithm", "--main", "README", "--line-numbers"]
+ s.extra_rdoc_files = %w(README ChangeLog Install)
+end