rblosxom.gemspec in rblosxom-0.1.2 vs rblosxom.gemspec in rblosxom-0.1.3

- old
+ new

@@ -1,41 +1,44 @@ +# -*- encoding: utf-8 -*- + Gem::Specification.new do |s| - s.name = 'rblosxom' - s.version = '0.1.2' - s.date = '2010-01-19' + s.name = %q{rblosxom} + s.version = "0.1.3" - s.description = "Ruby based Blosxom." - s.summary = "rblosxom is a Blosxom program written in ruby." - + s.required_rubygems_version = Gem::Requirement.new(">= 1.2") if s.respond_to? :required_rubygems_version= s.authors = ["Percy Lau"] - s.email = "percy.lau@gmail.com" - s.requirements << 'Ruby, version 1.8.0 (or newer)' - - # = MANIFEST = - s.files = Dir["lib/**/*.rb", - "bin/rblosxom-demo", - "README.rdoc", - "INSTALL", - "ChangeLog", - "MIT-LICENSE", - "AUTHORS", - "config/rackup.ru", - "demo/*.rb", - "public/**/*.gif", - "public/**/*.sass", - "public/**/*.css", - "views/**/*.haml", - "rblosxom.gemspec"] - # = MANIFEST = - + s.date = %q{2011-01-01} + s.default_executable = %q{rblosxom-demo} + s.description = %q{Rblosxom is a blosxom program written in ruby.} + s.email = %q{percy.lau@gmail.com} s.executables = ["rblosxom-demo"] - s.extra_rdoc_files = %w[README.rdoc MIT-LICENSE] - s.add_dependency 'sinatra', '>= 0.9.4' - s.add_dependency 'haml', '>= 2.2.14' - s.add_dependency 'rdiscount', '>= 1.5.5' - s.add_development_dependency 'compass-960-plugin', '>= 0.9.11', '< 1.0' + s.extra_rdoc_files = ["README.mkd", "bin/rblosxom-demo", "lib/rblosxom.rb", "lib/rblosxom/base.rb"] + s.files = ["AUTHORS", "ChangeLog", "INSTALL", "MIT-LICENSE", "Manifest", "README.mkd", "Rakefile", "VERSION", "bin/rblosxom-demo", "config/rackup.ru", "demo/grid.rb", "demo/main.rb", "demo/wiki_render.rb", "lib/rblosxom.rb", "lib/rblosxom/base.rb", "public/config.rb", "public/images/12_col.gif", "public/images/16_col.gif", "public/sass/grid.sass", "public/sass/screen.sass", "public/stylesheets/grid.css", "public/stylesheets/screen.css", "rblosxom.gemspec", "views/footer.haml", "views/grid.haml", "views/header.haml", "views/index.haml", "views/layout.haml", "views/404.haml", "views/500.haml", "views/wiki.haml", "views/wikis.haml"] + s.homepage = %q{http://rblosxom.heroku.com} + s.rdoc_options = ["--line-numbers", "--inline-source", "--title", "Rblosxom", "--main", "README.mkd"] + s.require_paths = ["lib"] + s.rubyforge_project = %q{rblosxom} + s.rubygems_version = %q{1.3.7} + s.summary = %q{Ruby based blosxom.} - s.has_rdoc = true - s.homepage = "http://rblosxom.heroku.com/" - s.rubygems_version = '1.3.5' - s.rdoc_options = ["--line-numbers", "--inline-source", "--title", "#{s.name} #{s.version}", "--main", "README.rdoc", "--webcvs", "http://bitbucket.org/itsucks/#{s.name}"] + if s.respond_to? :specification_version then + current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION + s.specification_version = 3 + + if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then + s.add_runtime_dependency(%q<sinatra>, [">= 0"]) + s.add_runtime_dependency(%q<haml>, [">= 0"]) + s.add_runtime_dependency(%q<rdiscount>, [">= 0"]) + s.add_development_dependency(%q<itsucks-compass-960-plugin>, [">= 0"]) + else + s.add_dependency(%q<sinatra>, [">= 0"]) + s.add_dependency(%q<haml>, [">= 0"]) + s.add_dependency(%q<rdiscount>, [">= 0"]) + s.add_dependency(%q<itsucks-compass-960-plugin>, [">= 0"]) + end + else + s.add_dependency(%q<sinatra>, [">= 0"]) + s.add_dependency(%q<haml>, [">= 0"]) + s.add_dependency(%q<rdiscount>, [">= 0"]) + s.add_dependency(%q<itsucks-compass-960-plugin>, [">= 0"]) + end end