Skip to content
This repository has been archived by the owner on Jan 6, 2023. It is now read-only.

Commit

Permalink
Browse files Browse the repository at this point in the history
stop using Echoe; regenerate correct gemspec
  • Loading branch information
mislav committed Sep 17, 2009
1 parent 5e88f3b commit 79348d7
Show file tree
Hide file tree
Showing 3 changed files with 33 additions and 43 deletions.
22 changes: 0 additions & 22 deletions Manifest

This file was deleted.

46 changes: 30 additions & 16 deletions Rakefile
@@ -1,20 +1,34 @@
require 'echoe'
require 'lib/hanna/rdoc_version'

Echoe.new('hanna') do |p|
p.version = '0.1.9'
desc "generates .gemspec file"
task :gemspec do
require 'lib/hanna/rdoc_version'

p.summary = "An RDoc template that scales"
p.description = "Hanna is an RDoc implemented in Haml, making its source clean and maintainable. It's built with simplicity, beauty and ease of browsing in mind."
spec = Gem::Specification.new do |gem|
gem.name = 'hanna'
gem.version = '0.1.9'

gem.summary = "An RDoc template that scales"
gem.description = "Hanna is an RDoc implemented in Haml, making its source clean and maintainable. It's built with simplicity, beauty and ease of browsing in mind."

gem.add_dependency 'rdoc', Hanna::RDOC_VERSION_REQUIREMENT
gem.add_dependency 'haml', '~> 2.0.4'
gem.add_dependency 'rake', '~> 0.8.2'

gem.email = 'mislav.marohnic@gmail.com'
gem.homepage = 'http://github.com/mislav/' + gem.name
gem.authors = ['Mislav Marohnić']
gem.has_rdoc = false

gem.files = FileList['Rakefile', '{bin,lib,rails,spec}/**/*', 'README*', 'LICENSE*'] & `git ls-files`.split("\n")
gem.executables = Dir['bin/*'].map { |f| File.basename(f) }
end

p.author = 'Mislav Marohnić'
p.email = 'mislav.marohnic@gmail.com'
p.url = 'http://github.com/mislav/hanna'
spec_string = spec.to_ruby

p.project = nil
p.has_rdoc = false

p.runtime_dependencies << ['rdoc', Hanna::RDOC_VERSION_REQUIREMENT]
p.runtime_dependencies << ['haml', '~> 2.0.4']
p.runtime_dependencies << ['rake', '~> 0.8.2']
begin
Thread.new { eval("$SAFE = 3\n#{spec_string}", binding) }.join
rescue
abort "unsafe gemspec: #{$!}"
else
File.open("#{spec.name}.gemspec", 'w') { |file| file.write spec_string }
end
end
8 changes: 3 additions & 5 deletions hanna.gemspec
Expand Up @@ -4,17 +4,15 @@ Gem::Specification.new do |s|
s.name = %q{hanna}
s.version = "0.1.9"

s.required_rubygems_version = Gem::Requirement.new(">= 1.2") if s.respond_to? :required_rubygems_version=
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
s.authors = ["Mislav Marohni\304\207"]
s.date = %q{2009-09-16}
s.date = %q{2009-09-17}
s.default_executable = %q{hanna}
s.description = %q{Hanna is an RDoc implemented in Haml, making its source clean and maintainable. It's built with simplicity, beauty and ease of browsing in mind.}
s.email = %q{mislav.marohnic@gmail.com}
s.executables = ["hanna"]
s.extra_rdoc_files = ["README.markdown", "bin/hanna", "lib/hanna.rb", "lib/hanna/hanna.rb", "lib/hanna/rdoc_version.rb", "lib/hanna/rdoctask.rb", "lib/hanna/template_files/class_index.haml", "lib/hanna/template_files/file_index.haml", "lib/hanna/template_files/index.haml", "lib/hanna/template_files/layout.haml", "lib/hanna/template_files/method_index.haml", "lib/hanna/template_files/method_list.haml", "lib/hanna/template_files/method_search.js", "lib/hanna/template_files/page.haml", "lib/hanna/template_files/prototype-1.6.0.3.js", "lib/hanna/template_files/sections.haml", "lib/hanna/template_files/styles.sass", "lib/hanna/template_helpers.rb", "lib/hanna/template_page_patch.rb", "lib/rubygems_plugin.rb"]
s.files = ["Manifest", "README.markdown", "Rakefile", "bin/hanna", "hanna.gemspec", "lib/hanna.rb", "lib/hanna/hanna.rb", "lib/hanna/rdoc_version.rb", "lib/hanna/rdoctask.rb", "lib/hanna/template_files/class_index.haml", "lib/hanna/template_files/file_index.haml", "lib/hanna/template_files/index.haml", "lib/hanna/template_files/layout.haml", "lib/hanna/template_files/method_index.haml", "lib/hanna/template_files/method_list.haml", "lib/hanna/template_files/method_search.js", "lib/hanna/template_files/page.haml", "lib/hanna/template_files/prototype-1.6.0.3.js", "lib/hanna/template_files/sections.haml", "lib/hanna/template_files/styles.sass", "lib/hanna/template_helpers.rb", "lib/hanna/template_page_patch.rb", "lib/rubygems_plugin.rb", "sample/output/classes/MockProject.html", "sample/output/classes/MockProject/EnterpriseProtocol.html", "sample/output/classes/MockProject/FunkyClass.html", "sample/output/created.rid", "sample/output/files/sample/source/LICENSE.html", "sample/output/index.html", "sample/output/styles.css"]
s.files = ["Rakefile", "bin/hanna", "lib/hanna/hanna.rb", "lib/hanna/rdoc_version.rb", "lib/hanna/rdoctask.rb", "lib/hanna/template_files/class_index.haml", "lib/hanna/template_files/file_index.haml", "lib/hanna/template_files/index.haml", "lib/hanna/template_files/layout.haml", "lib/hanna/template_files/method_index.haml", "lib/hanna/template_files/method_list.haml", "lib/hanna/template_files/method_search.js", "lib/hanna/template_files/page.haml", "lib/hanna/template_files/prototype-1.6.0.3.js", "lib/hanna/template_files/sections.haml", "lib/hanna/template_files/styles.sass", "lib/hanna/template_helpers.rb", "lib/hanna/template_page_patch.rb", "lib/hanna.rb", "lib/rubygems_plugin.rb", "README.markdown"]
s.homepage = %q{http://github.com/mislav/hanna}
s.rdoc_options = ["--line-numbers", "--inline-source", "--title", "Hanna", "--main", "README.markdown"]
s.require_paths = ["lib"]
s.rubygems_version = %q{1.3.5}
s.summary = %q{An RDoc template that scales}
Expand Down

0 comments on commit 79348d7

Please sign in to comment.