Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Remove local_gemfile task and update the gemspec

  • Loading branch information...
commit a9a7e1362fe5518a97f5bd6ef88396612c9a4c06 1 parent 1421072
@snusnu snusnu authored
Showing with 1 addition and 18 deletions.
  1. +1 −2  dm-sqlite-adapter.gemspec
  2. +0 −16 tasks/local_gemfile.rake
View
3  dm-sqlite-adapter.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 = ["Dan Kubb"]
- s.date = %q{2010-09-07}
+ s.date = %q{2010-11-26}
s.description = %q{Sqlite3 Adapter for DataMapper}
s.email = %q{dan.kubb@gmail.com}
s.extra_rdoc_files = [
@@ -29,7 +29,6 @@ Gem::Specification.new do |s|
"spec/rcov.opts",
"spec/spec.opts",
"spec/spec_helper.rb",
- "tasks/local_gemfile.rake",
"tasks/spec.rake",
"tasks/yard.rake",
"tasks/yardstick.rake"
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
Please sign in to comment.
Something went wrong with that request. Please try again.