Permalink
Browse files

Bundling rack/maintenance and getting nokogiri up to speed

  • Loading branch information...
1 parent 09a7fea commit 4de295009dcc39fb37008eedb25c11304d961465 @qrush qrush committed Nov 10, 2009
View
@@ -14,6 +14,7 @@ gem "xml-simple", "1.0.12"
gem "gchartrb", "0.8", :require_as => "google_chart"
gem "ddollar-pacecar", "1.1.6", :require_as => "pacecar"
gem "net-scp", "1.0.2"
+gem "rack-maintenance", "0.3.0", :require_as => "rack/maintenance"
only :test do
gem "shoulda", "2.10.2"
View
@@ -2,12 +2,9 @@ if ENV['MAINTENANCE_MODE']
require "#{File.dirname(__FILE__)}/vendor/bundler_gems/environment"
require 'config/environment'
- get '/' do
- send_file("public/maintenance/index.html")
- end
-
use Rack::Static, :urls => ["/index.html", "/favicon.ico", "/images", "/stylesheets"], :root => "public/maintenance"
use Hostess
+ use Rack::Maintenance, :file => File.join('public', 'maintenance', 'index.html')
run Sinatra::Application
else
require 'thin'
Binary file not shown.
Binary file not shown.
Binary file not shown.

Large diffs are not rendered by default.

Oops, something went wrong.
@@ -0,0 +1,5 @@
+README.rdoc
+lib/**/*.rb
+bin/*
+features/**/*.feature
+LICENSE
@@ -0,0 +1,5 @@
+*.sw?
+.DS_Store
+coverage
+rdoc
+pkg
@@ -0,0 +1,20 @@
+Copyright (c) 2009 David Dollar
+
+Permission is hereby granted, free of charge, to any person obtaining
+a copy of this software and associated documentation files (the
+"Software"), to deal in the Software without restriction, including
+without limitation the rights to use, copy, modify, merge, publish,
+distribute, sublicense, and/or sell copies of the Software, and to
+permit persons to whom the Software is furnished to do so, subject to
+the following conditions:
+
+The above copyright notice and this permission notice shall be
+included in all copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
+EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
+MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
+NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
+LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
+OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
+WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
@@ -0,0 +1,33 @@
+= rack-maintenance
+
+Rack::Maintenance is a simple Rack middleware to detect the existence of a
+maintenance.html page and display that instead of incoming requests.
+
+== Installation
+
+ sudo gem install rack-maintenance
+
+== Usage
+
+ # config/environment.rb
+ config.middleware.use 'Rack::Maintenance',
+ :file => Rails.root.join('public', 'maintenance.html'),
+ :env => 'MAINTENANCE'
+
+If <tt>:env</tt> is specified, all requests will be shown the
+maintenance page if the environment variable is set.
+
+If <tt>:env</tt> is not specified, the maintenance page will be shown if it exists.
+
+== Note on Patches/Pull Requests
+
+* Fork the project.
+* Make your feature addition or bug fix.
+* Add tests for it. This is important so I don't break it in a
+ future version unintentionally.
+* Commit, do not mess with Rakefile or VERSION (do that in a separate commit if you want a local version)
+* Send me a pull request. Bonus points for topic branches.
+
+== Copyright
+
+Copyright (c) 2009 David Dollar. See LICENSE for details.
@@ -0,0 +1,45 @@
+require 'rubygems'
+require 'rake'
+
+begin
+ require 'jeweler'
+ Jeweler::Tasks.new do |gem|
+ gem.name = "rack-maintenance"
+ gem.summary = %Q{Detect and show a maintenance page}
+ gem.description = gem.summary
+ gem.email = "<ddollar@gmail.com>"
+ gem.homepage = "http://github.com/ddollar/rack-maintenance"
+ gem.authors = ["David Dollar"]
+ gem.add_development_dependency "rspec"
+ gem.add_development_dependency "yard"
+ gem.add_dependency 'rack', '>= 1.0'
+ end
+ Jeweler::GemcutterTasks.new
+rescue LoadError
+ puts "Jeweler (or a dependency) not available. Install it with: sudo gem install jeweler"
+end
+
+require 'spec/rake/spectask'
+Spec::Rake::SpecTask.new(:spec) do |spec|
+ spec.libs << 'lib' << 'spec'
+ spec.spec_files = FileList['spec/**/*_spec.rb']
+end
+
+Spec::Rake::SpecTask.new(:rcov) do |spec|
+ spec.libs << 'lib' << 'spec'
+ spec.pattern = 'spec/**/*_spec.rb'
+ spec.rcov = true
+end
+
+task :spec => :check_dependencies
+
+task :default => :spec
+
+begin
+ require 'yard'
+ YARD::Rake::YardocTask.new
+rescue LoadError
+ task :yardoc do
+ abort "YARD is not available. In order to run yardoc, you must: sudo gem install yard"
+ end
+end
@@ -0,0 +1 @@
+0.3.0
@@ -0,0 +1,37 @@
+require 'rack'
+
+class Rack::Maintenance
+
+ attr_reader :app, :options
+
+ def initialize(app, options={})
+ @app = app
+ @options = options
+
+ raise(ArgumentError, 'Must specify a :file') unless options[:file]
+ end
+
+ def call(env)
+ if maintenance?
+ data = File.read(file)
+ [ 503, { 'Content-Type' => 'text/html', 'Content-Length' => data.length.to_s }, [data] ]
+ else
+ app.call(env)
+ end
+ end
+
+private ######################################################################
+
+ def environment
+ options[:env]
+ end
+
+ def file
+ options[:file]
+ end
+
+ def maintenance?
+ environment ? ENV[environment] : File.exists?(file)
+ end
+
+end
@@ -0,0 +1,59 @@
+# Generated by jeweler
+# DO NOT EDIT THIS FILE
+# Instead, edit Jeweler::Tasks in Rakefile, and run `rake gemspec`
+# -*- encoding: utf-8 -*-
+
+Gem::Specification.new do |s|
+ s.name = %q{rack-maintenance}
+ s.version = "0.3.0"
+
+ s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
+ s.authors = ["David Dollar"]
+ s.date = %q{2009-08-31}
+ s.description = %q{Detect and show a maintenance page}
+ s.email = %q{<ddollar@gmail.com>}
+ s.extra_rdoc_files = [
+ "LICENSE",
+ "README.rdoc"
+ ]
+ s.files = [
+ ".document",
+ ".gitignore",
+ "LICENSE",
+ "README.rdoc",
+ "Rakefile",
+ "VERSION",
+ "lib/rack/maintenance.rb",
+ "rack-maintenance.gemspec",
+ "spec/rack-maintenance_spec.rb",
+ "spec/spec_helper.rb"
+ ]
+ s.homepage = %q{http://github.com/ddollar/rack-maintenance}
+ s.rdoc_options = ["--charset=UTF-8"]
+ s.require_paths = ["lib"]
+ s.rubygems_version = %q{1.3.5}
+ s.summary = %q{Detect and show a maintenance page}
+ s.test_files = [
+ "spec/rack-maintenance_spec.rb",
+ "spec/spec_helper.rb"
+ ]
+
+ if s.respond_to? :specification_version then
+ current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION
+ s.specification_version = 3
+
+ if Gem::Version.new(Gem::RubyGemsVersion) >= Gem::Version.new('1.2.0') then
+ s.add_development_dependency(%q<rspec>, [">= 0"])
+ s.add_development_dependency(%q<yard>, [">= 0"])
+ s.add_runtime_dependency(%q<rack>, [">= 1.0"])
+ else
+ s.add_dependency(%q<rspec>, [">= 0"])
+ s.add_dependency(%q<yard>, [">= 0"])
+ s.add_dependency(%q<rack>, [">= 1.0"])
+ end
+ else
+ s.add_dependency(%q<rspec>, [">= 0"])
+ s.add_dependency(%q<yard>, [">= 0"])
+ s.add_dependency(%q<rack>, [">= 1.0"])
+ end
+end
@@ -0,0 +1,7 @@
+require File.expand_path(File.dirname(__FILE__) + '/spec_helper')
+
+describe "RackMaintenance" do
+ it "fails" do
+ fail "hey buddy, you should probably rename this file and start specing for real"
+ end
+end
@@ -0,0 +1,9 @@
+$LOAD_PATH.unshift(File.dirname(__FILE__))
+$LOAD_PATH.unshift(File.join(File.dirname(__FILE__), '..', 'lib'))
+require 'rack-maintenance'
+require 'spec'
+require 'spec/autorun'
+
+Spec::Runner.configure do |config|
+
+end
@@ -1,50 +0,0 @@
-# -*- encoding: utf-8 -*-
-
-Gem::Specification.new do |s|
- s.name = %q{nokogiri}
- s.version = "1.3.3"
-
- s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
- s.authors = ["Aaron Patterson", "Mike Dalessio"]
- s.date = %q{2009-07-27}
- s.default_executable = %q{nokogiri}
- s.description = %q{Nokogiri (鋸) is an HTML, XML, SAX, and Reader parser. Among Nokogiri's
-many features is the ability to search documents via XPath or CSS3 selectors.
-
-XML is like violence - if it doesn’t solve your problems, you are not using
-enough of it.}
- s.email = ["aaronp@rubyforge.org", "mike.dalessio@gmail.com"]
- s.executables = ["nokogiri"]
- s.extensions = ["ext/nokogiri/extconf.rb"]
- s.extra_rdoc_files = ["Manifest.txt", "CHANGELOG.ja.rdoc", "CHANGELOG.rdoc", "README.ja.rdoc", "README.rdoc"]
- s.files = [".autotest", "CHANGELOG.ja.rdoc", "CHANGELOG.rdoc", "Manifest.txt", "README.ja.rdoc", "README.rdoc", "Rakefile", "bin/nokogiri", "ext/nokogiri/extconf.rb", "ext/nokogiri/html_document.c", "ext/nokogiri/html_document.h", "ext/nokogiri/html_element_description.c", "ext/nokogiri/html_element_description.h", "ext/nokogiri/html_entity_lookup.c", "ext/nokogiri/html_entity_lookup.h", "ext/nokogiri/html_sax_parser.c", "ext/nokogiri/html_sax_parser.h", "ext/nokogiri/nokogiri.c", "ext/nokogiri/nokogiri.h", "ext/nokogiri/xml_attr.c", "ext/nokogiri/xml_attr.h", "ext/nokogiri/xml_cdata.c", "ext/nokogiri/xml_cdata.h", "ext/nokogiri/xml_comment.c", "ext/nokogiri/xml_comment.h", "ext/nokogiri/xml_document.c", "ext/nokogiri/xml_document.h", "ext/nokogiri/xml_document_fragment.c", "ext/nokogiri/xml_document_fragment.h", "ext/nokogiri/xml_dtd.c", "ext/nokogiri/xml_dtd.h", "ext/nokogiri/xml_entity_reference.c", "ext/nokogiri/xml_entity_reference.h", "ext/nokogiri/xml_io.c", "ext/nokogiri/xml_io.h", "ext/nokogiri/xml_namespace.c", "ext/nokogiri/xml_namespace.h", "ext/nokogiri/xml_node.c", "ext/nokogiri/xml_node.h", "ext/nokogiri/xml_node_set.c", "ext/nokogiri/xml_node_set.h", "ext/nokogiri/xml_processing_instruction.c", "ext/nokogiri/xml_processing_instruction.h", "ext/nokogiri/xml_reader.c", "ext/nokogiri/xml_reader.h", "ext/nokogiri/xml_relax_ng.c", "ext/nokogiri/xml_relax_ng.h", "ext/nokogiri/xml_sax_parser.c", "ext/nokogiri/xml_sax_parser.h", "ext/nokogiri/xml_sax_push_parser.c", "ext/nokogiri/xml_sax_push_parser.h", "ext/nokogiri/xml_schema.c", "ext/nokogiri/xml_schema.h", "ext/nokogiri/xml_syntax_error.c", "ext/nokogiri/xml_syntax_error.h", "ext/nokogiri/xml_text.c", "ext/nokogiri/xml_text.h", "ext/nokogiri/xml_xpath.c", "ext/nokogiri/xml_xpath.h", "ext/nokogiri/xml_xpath_context.c", "ext/nokogiri/xml_xpath_context.h", "ext/nokogiri/xslt_stylesheet.c", "ext/nokogiri/xslt_stylesheet.h", "lib/action-nokogiri.rb", "lib/nokogiri.rb", "lib/nokogiri/css.rb", "lib/nokogiri/css/generated_parser.rb", "lib/nokogiri/css/generated_tokenizer.rb", "lib/nokogiri/css/node.rb", "lib/nokogiri/css/parser.rb", "lib/nokogiri/css/parser.y", "lib/nokogiri/css/syntax_error.rb", "lib/nokogiri/css/tokenizer.rb", "lib/nokogiri/css/tokenizer.rex", "lib/nokogiri/css/xpath_visitor.rb", "lib/nokogiri/decorators.rb", "lib/nokogiri/decorators/hpricot.rb", "lib/nokogiri/decorators/hpricot/node.rb", "lib/nokogiri/decorators/hpricot/node_set.rb", "lib/nokogiri/decorators/hpricot/xpath_visitor.rb", "lib/nokogiri/decorators/slop.rb", "lib/nokogiri/ffi/html/document.rb", "lib/nokogiri/ffi/html/element_description.rb", "lib/nokogiri/ffi/html/entity_lookup.rb", "lib/nokogiri/ffi/html/sax/parser.rb", "lib/nokogiri/ffi/io_callbacks.rb", "lib/nokogiri/ffi/libxml.rb", "lib/nokogiri/ffi/structs/common_node.rb", "lib/nokogiri/ffi/structs/html_elem_desc.rb", "lib/nokogiri/ffi/structs/html_entity_desc.rb", "lib/nokogiri/ffi/structs/xml_alloc.rb", "lib/nokogiri/ffi/structs/xml_attr.rb", "lib/nokogiri/ffi/structs/xml_buffer.rb", "lib/nokogiri/ffi/structs/xml_document.rb", "lib/nokogiri/ffi/structs/xml_dtd.rb", "lib/nokogiri/ffi/structs/xml_node.rb", "lib/nokogiri/ffi/structs/xml_node_set.rb", "lib/nokogiri/ffi/structs/xml_notation.rb", "lib/nokogiri/ffi/structs/xml_ns.rb", "lib/nokogiri/ffi/structs/xml_relax_ng.rb", "lib/nokogiri/ffi/structs/xml_sax_handler.rb", "lib/nokogiri/ffi/structs/xml_sax_push_parser_context.rb", "lib/nokogiri/ffi/structs/xml_schema.rb", "lib/nokogiri/ffi/structs/xml_syntax_error.rb", "lib/nokogiri/ffi/structs/xml_text_reader.rb", "lib/nokogiri/ffi/structs/xml_xpath_context.rb", "lib/nokogiri/ffi/structs/xml_xpath_object.rb", "lib/nokogiri/ffi/structs/xml_xpath_parser_context.rb", "lib/nokogiri/ffi/structs/xslt_stylesheet.rb", "lib/nokogiri/ffi/xml/attr.rb", "lib/nokogiri/ffi/xml/cdata.rb", "lib/nokogiri/ffi/xml/comment.rb", "lib/nokogiri/ffi/xml/document.rb", "lib/nokogiri/ffi/xml/document_fragment.rb", "lib/nokogiri/ffi/xml/dtd.rb", "lib/nokogiri/ffi/xml/entity_reference.rb", "lib/nokogiri/ffi/xml/namespace.rb", "lib/nokogiri/ffi/xml/node.rb", "lib/nokogiri/ffi/xml/node_set.rb", "lib/nokogiri/ffi/xml/processing_instruction.rb", "lib/nokogiri/ffi/xml/reader.rb", "lib/nokogiri/ffi/xml/relax_ng.rb", "lib/nokogiri/ffi/xml/sax/parser.rb", "lib/nokogiri/ffi/xml/sax/push_parser.rb", "lib/nokogiri/ffi/xml/schema.rb", "lib/nokogiri/ffi/xml/syntax_error.rb", "lib/nokogiri/ffi/xml/text.rb", "lib/nokogiri/ffi/xml/xpath.rb", "lib/nokogiri/ffi/xml/xpath_context.rb", "lib/nokogiri/ffi/xslt/stylesheet.rb", "lib/nokogiri/hpricot.rb", "lib/nokogiri/html.rb", "lib/nokogiri/html/builder.rb", "lib/nokogiri/html/document.rb", "lib/nokogiri/html/document_fragment.rb", "lib/nokogiri/html/element_description.rb", "lib/nokogiri/html/entity_lookup.rb", "lib/nokogiri/html/sax/parser.rb", "lib/nokogiri/syntax_error.rb", "lib/nokogiri/version.rb", "lib/nokogiri/version_warning.rb", "lib/nokogiri/xml.rb", "lib/nokogiri/xml/attr.rb", "lib/nokogiri/xml/builder.rb", "lib/nokogiri/xml/cdata.rb", "lib/nokogiri/xml/document.rb", "lib/nokogiri/xml/document_fragment.rb", "lib/nokogiri/xml/dtd.rb", "lib/nokogiri/xml/entity_declaration.rb", "lib/nokogiri/xml/fragment_handler.rb", "lib/nokogiri/xml/namespace.rb", "lib/nokogiri/xml/node.rb", "lib/nokogiri/xml/node/save_options.rb", "lib/nokogiri/xml/node_set.rb", "lib/nokogiri/xml/notation.rb", "lib/nokogiri/xml/parse_options.rb", "lib/nokogiri/xml/processing_instruction.rb", "lib/nokogiri/xml/reader.rb", "lib/nokogiri/xml/relax_ng.rb", "lib/nokogiri/xml/sax.rb", "lib/nokogiri/xml/sax/document.rb", "lib/nokogiri/xml/sax/legacy_handlers.rb", "lib/nokogiri/xml/sax/parser.rb", "lib/nokogiri/xml/sax/push_parser.rb", "lib/nokogiri/xml/schema.rb", "lib/nokogiri/xml/syntax_error.rb", "lib/nokogiri/xml/xpath.rb", "lib/nokogiri/xml/xpath/syntax_error.rb", "lib/nokogiri/xml/xpath_context.rb", "lib/nokogiri/xslt.rb", "lib/nokogiri/xslt/stylesheet.rb", "lib/xsd/xmlparser/nokogiri.rb", "tasks/test.rb", "test/css/test_nthiness.rb", "test/css/test_parser.rb", "test/css/test_tokenizer.rb", "test/css/test_xpath_visitor.rb", "test/ffi/test_document.rb", "test/files/2ch.html", "test/files/address_book.rlx", "test/files/address_book.xml", "test/files/bar/bar.xsd", "test/files/dont_hurt_em_why.xml", "test/files/exslt.xml", "test/files/exslt.xslt", "test/files/foo/foo.xsd", "test/files/po.xml", "test/files/po.xsd", "test/files/shift_jis.xml", "test/files/snuggles.xml", "test/files/staff.xml", "test/files/staff.xslt", "test/files/tlm.html", "test/files/valid_bar.xml", "test/helper.rb", "test/hpricot/files/basic.xhtml", "test/hpricot/files/boingboing.html", "test/hpricot/files/cy0.html", "test/hpricot/files/immob.html", "test/hpricot/files/pace_application.html", "test/hpricot/files/tenderlove.html", "test/hpricot/files/uswebgen.html", "test/hpricot/files/utf8.html", "test/hpricot/files/week9.html", "test/hpricot/files/why.xml", "test/hpricot/load_files.rb", "test/hpricot/test_alter.rb", "test/hpricot/test_builder.rb", "test/hpricot/test_parser.rb", "test/hpricot/test_paths.rb", "test/hpricot/test_preserved.rb", "test/hpricot/test_xml.rb", "test/html/sax/test_parser.rb", "test/html/test_builder.rb", "test/html/test_document.rb", "test/html/test_document_encoding.rb", "test/html/test_document_fragment.rb", "test/html/test_element_description.rb", "test/html/test_named_characters.rb", "test/html/test_node.rb", "test/test_convert_xpath.rb", "test/test_css_cache.rb", "test/test_gc.rb", "test/test_memory_leak.rb", "test/test_nokogiri.rb", "test/test_reader.rb", "test/test_xslt_transforms.rb", "test/xml/node/test_save_options.rb", "test/xml/node/test_subclass.rb", "test/xml/sax/test_parser.rb", "test/xml/sax/test_push_parser.rb", "test/xml/test_attr.rb", "test/xml/test_builder.rb", "test/xml/test_cdata.rb", "test/xml/test_comment.rb", "test/xml/test_document.rb", "test/xml/test_document_encoding.rb", "test/xml/test_document_fragment.rb", "test/xml/test_dtd.rb", "test/xml/test_dtd_encoding.rb", "test/xml/test_entity_reference.rb", "test/xml/test_namespace.rb", "test/xml/test_node.rb", "test/xml/test_node_attributes.rb", "test/xml/test_node_encoding.rb", "test/xml/test_node_set.rb", "test/xml/test_parse_options.rb", "test/xml/test_processing_instruction.rb", "test/xml/test_reader_encoding.rb", "test/xml/test_relax_ng.rb", "test/xml/test_schema.rb", "test/xml/test_text.rb", "test/xml/test_unparented_node.rb", "test/xml/test_xpath.rb"]
- s.homepage = %q{http://nokogiri.org/}
- s.rdoc_options = ["--main", "README.rdoc"]
- s.require_paths = ["lib", "ext"]
- s.rubyforge_project = %q{nokogiri}
- s.rubygems_version = %q{1.3.5}
- s.summary = %q{Nokogiri (鋸) is an HTML, XML, SAX, and Reader parser}
- s.test_files = ["test/css/test_nthiness.rb", "test/css/test_parser.rb", "test/css/test_tokenizer.rb", "test/css/test_xpath_visitor.rb", "test/ffi/test_document.rb", "test/hpricot/test_alter.rb", "test/hpricot/test_builder.rb", "test/hpricot/test_parser.rb", "test/hpricot/test_paths.rb", "test/hpricot/test_preserved.rb", "test/hpricot/test_xml.rb", "test/html/sax/test_parser.rb", "test/html/test_builder.rb", "test/html/test_document.rb", "test/html/test_document_encoding.rb", "test/html/test_document_fragment.rb", "test/html/test_element_description.rb", "test/html/test_named_characters.rb", "test/html/test_node.rb", "test/test_convert_xpath.rb", "test/test_css_cache.rb", "test/test_gc.rb", "test/test_memory_leak.rb", "test/test_nokogiri.rb", "test/test_reader.rb", "test/test_xslt_transforms.rb", "test/xml/node/test_save_options.rb", "test/xml/node/test_subclass.rb", "test/xml/sax/test_parser.rb", "test/xml/sax/test_push_parser.rb", "test/xml/test_attr.rb", "test/xml/test_builder.rb", "test/xml/test_cdata.rb", "test/xml/test_comment.rb", "test/xml/test_document.rb", "test/xml/test_document_encoding.rb", "test/xml/test_document_fragment.rb", "test/xml/test_dtd.rb", "test/xml/test_dtd_encoding.rb", "test/xml/test_entity_reference.rb", "test/xml/test_namespace.rb", "test/xml/test_node.rb", "test/xml/test_node_attributes.rb", "test/xml/test_node_encoding.rb", "test/xml/test_node_set.rb", "test/xml/test_parse_options.rb", "test/xml/test_processing_instruction.rb", "test/xml/test_reader_encoding.rb", "test/xml/test_relax_ng.rb", "test/xml/test_schema.rb", "test/xml/test_text.rb", "test/xml/test_unparented_node.rb", "test/xml/test_xpath.rb"]
-
- if s.respond_to? :specification_version then
- current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION
- s.specification_version = 3
-
- if Gem::Version.new(Gem::RubyGemsVersion) >= Gem::Version.new('1.2.0') then
- s.add_development_dependency(%q<racc>, [">= 0"])
- s.add_development_dependency(%q<rexical>, [">= 0"])
- s.add_development_dependency(%q<rake-compiler>, [">= 0"])
- s.add_development_dependency(%q<hoe>, [">= 2.3.2"])
- else
- s.add_dependency(%q<racc>, [">= 0"])
- s.add_dependency(%q<rexical>, [">= 0"])
- s.add_dependency(%q<rake-compiler>, [">= 0"])
- s.add_dependency(%q<hoe>, [">= 2.3.2"])
- end
- else
- s.add_dependency(%q<racc>, [">= 0"])
- s.add_dependency(%q<rexical>, [">= 0"])
- s.add_dependency(%q<rake-compiler>, [">= 0"])
- s.add_dependency(%q<hoe>, [">= 2.3.2"])
- end
-end
Oops, something went wrong.

0 comments on commit 4de2950

Please sign in to comment.