Rakefile in rest-more-3.3.4 vs Rakefile in rest-more-3.4.0

- old
+ new

@@ -1,21 +1,22 @@ begin require "#{dir = File.dirname(__FILE__)}/task/gemgem" rescue LoadError - sh 'git submodule update --init' + sh 'git submodule update --init --recursive' exec Gem.ruby, '-S', $PROGRAM_NAME, *ARGV end -$LOAD_PATH.unshift(File.expand_path("#{dir}/rest-core/lib")) +%w[lib rest-builder/lib rest-builder/promise_pool/lib].each do |path| + $LOAD_PATH.unshift(File.expand_path("#{dir}/rest-core/#{path}")) +end Gemgem.init(dir) do |s| require 'rest-more/version' - s.name = 'rest-more' - s.version = RestMore::VERSION - s.homepage = 'https://github.com/godfat/rest-more' + s.name = 'rest-more' + s.version = RestMore::VERSION - %w[rest-core].each{ |g| s.add_runtime_dependency(g, '>=3.3.0') } + %w[rest-core].each{ |g| s.add_runtime_dependency(g, '>=4.0.0') } # exclude rest-core s.files.reject!{ |f| f.start_with?('rest-core/') } end