Rakefile in rest-more-0.7.0 vs Rakefile in rest-more-0.7.1
- old
+ new
@@ -1,11 +1,12 @@
# encoding: utf-8
require "#{dir = File.dirname(__FILE__)}/task/gemgem"
Gemgem.dir = dir
-($LOAD_PATH << File.expand_path("#{Gemgem.dir}/lib" )).uniq!
+($LOAD_PATH << File.expand_path("#{Gemgem.dir}/lib" ) <<
+ File.expand_path("#{Gemgem.dir}/rest-core/lib")).uniq!
desc 'Generate gemspec'
task 'gem:spec' do
Gemgem.spec = Gemgem.create do |s|
require 'rest-more/version'
@@ -15,9 +16,12 @@
%w[rest-core].each{ |g| s.add_runtime_dependency(g) }
s.authors = ['Cardinal Blue', 'Lin Jen-Shin (godfat)']
s.email = ['dev (XD) cardinalblue.com']
+
+ # exclude rest-core
+ s.files.reject!{ |f| f.start_with?('rest-core/') }
end
Gemgem.write
end