Permalink
Browse files

Remove local_gemfile task and update the gemspec

  • Loading branch information...
1 parent f24ea4b commit b77b6e850f7ff795b91d527b97f8d9dee9fd78ea @snusnu snusnu committed Nov 26, 2010
Showing with 3 additions and 20 deletions.
  1. +3 −4 dm-is-remixable.gemspec
  2. +0 −16 tasks/local_gemfile.rake
View
7 dm-is-remixable.gemspec
@@ -9,7 +9,7 @@ Gem::Specification.new do |s|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
s.authors = ["Cory O'Daniel"]
- s.date = %q{2010-09-07}
+ s.date = %q{2010-11-26}
s.description = %q{dm-is-remixable allow you to create reusable data functionality}
s.email = %q{dm-is-remixable [a] coryodaniel [d] com}
s.extra_rdoc_files = [
@@ -32,6 +32,7 @@ Gem::Specification.new do |s|
"spec/data/bot.rb",
"spec/data/commentable.rb",
"spec/data/image.rb",
+ "spec/data/project.rb",
"spec/data/rating.rb",
"spec/data/tag.rb",
"spec/data/taggable.rb",
@@ -42,9 +43,6 @@ Gem::Specification.new do |s|
"spec/rcov.opts",
"spec/spec.opts",
"spec/spec_helper.rb",
- "tasks/ci.rake",
- "tasks/local_gemfile.rake",
- "tasks/metrics.rake",
"tasks/spec.rake",
"tasks/yard.rake",
"tasks/yardstick.rake"
@@ -63,6 +61,7 @@ Gem::Specification.new do |s|
"spec/data/bot.rb",
"spec/data/commentable.rb",
"spec/data/image.rb",
+ "spec/data/project.rb",
"spec/data/rating.rb",
"spec/data/tag.rb",
"spec/data/taggable.rb",
View
16 tasks/local_gemfile.rake
@@ -1,16 +0,0 @@
-desc "Support bundling from local source code (allows BUNDLE_GEMFILE=Gemfile.local bundle foo)"
-task :local_gemfile do |t|
-
- root = Pathname(__FILE__).dirname.parent
- datamapper = root.parent
-
- root.join('Gemfile.local').open('w') do |f|
- root.join('Gemfile').open.each do |line|
- line.sub!(/DATAMAPPER = 'git:\/\/github.com\/datamapper'/, "DATAMAPPER = '#{datamapper}'")
- line.sub!(/:git => \"#\{DATAMAPPER\}\/(.+?)(?:\.git)?\"/, ':path => "#{DATAMAPPER}/\1"')
- line.sub!(/do_options\[:git\] = \"#\{DATAMAPPER\}\/(.+?)(?:\.git)?\"/, 'do_options[:path] = "#{DATAMAPPER}/\1"')
- f.puts line
- end
- end
-
-end

0 comments on commit b77b6e8

Please sign in to comment.