data_paths.gemspec in data_paths-0.2.1 vs data_paths.gemspec in data_paths-0.3.0.rc1

- old
+ new

@@ -1,75 +1,15 @@ -# Generated by jeweler -# DO NOT EDIT THIS FILE DIRECTLY -# Instead, edit Jeweler::Tasks in Rakefile, and run the gemspec command # -*- encoding: utf-8 -*- -Gem::Specification.new do |s| - s.name = %q{data_paths} - s.version = "0.2.1" - - s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version= - s.authors = ["Postmodern"] - s.date = %q{2010-04-13} - s.description = %q{DataPaths is a library to manage the paths of directories containing static-content across multiple libraries. For example, DataPaths can manage the `data/` directories of multiple RubyGems, in much the same way RubyGems manages the paths of `lib/` directories using `$LOAD_PATH`.} - s.email = %q{postmodern.mod3@gmail.com} - s.extra_rdoc_files = [ - "ChangeLog.md", - "LICENSE.txt", - "README.md" - ] - s.files = [ - ".gitignore", - ".specopts", - ".yardopts", - "ChangeLog.md", - "LICENSE.txt", - "README.md", - "Rakefile", - "data_paths.gemspec", - "lib/data_paths.rb", - "lib/data_paths/data_paths.rb", - "lib/data_paths/finders.rb", - "lib/data_paths/methods.rb", - "lib/data_paths/version.rb", - "spec/classes/data_class.rb", - "spec/data_paths_spec.rb", - "spec/finders_spec.rb", - "spec/helpers/data.rb", - "spec/helpers/data1/dir/two.txt", - "spec/helpers/data1/one.txt", - "spec/helpers/data2/dir/two.txt", - "spec/methods_examples.rb", - "spec/spec_helper.rb" - ] - s.has_rdoc = %q{yard} - s.homepage = %q{http://github.com/postmodern/data_paths} - s.rdoc_options = ["--charset=UTF-8"] - s.require_paths = ["lib"] - s.rubygems_version = %q{1.3.6} - s.summary = %q{DataPaths is a library to manage the paths of directories containing static-content across multiple libraries.} - s.test_files = [ - "spec/finders_spec.rb", - "spec/methods_examples.rb", - "spec/spec_helper.rb", - "spec/helpers/data.rb", - "spec/classes/data_class.rb", - "spec/data_paths_spec.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>, [">= 1.3.0"]) - s.add_development_dependency(%q<yard>, [">= 0.5.3"]) - else - s.add_dependency(%q<rspec>, [">= 1.3.0"]) - s.add_dependency(%q<yard>, [">= 0.5.3"]) - end - else - s.add_dependency(%q<rspec>, [">= 1.3.0"]) - s.add_dependency(%q<yard>, [">= 0.5.3"]) +begin + Ore::Specification.new do |gemspec| + # custom logic here end +rescue NameError + begin + require 'ore/specification' + retry + rescue LoadError + STDERR.puts "The 'data_paths.gemspec' file requires Ore." + STDERR.puts "Run `gem install ore-core` to install Ore." + end end -