Skip to content
Browse files

Fixed broken ruby code in rake tasks

  • Loading branch information...
1 parent 987a219 commit 052bdabe338191e0d9ab44c3e6930b7cd48c32a0 @dkubb dkubb committed
View
2 data_objects/tasks/release.rake
@@ -27,7 +27,7 @@ if defined?(RubyForge) then
# read project info and overview
notes = begin
r = File.read("README.markdown")
- r.split(/^(.*\n\-+)//)[1..4].join.strip
+ r.split(/^(.*\n\-+)/)[1..4].join.strip
rescue
warn "Missing README.markdown"
''
View
2 do_derby/tasks/release.rake
@@ -27,7 +27,7 @@ if defined?(RubyForge) then
# read project info and overview
notes = begin
r = File.read("README.markdown")
- r.split(/^(.*\n\-+)//)[1..4].join.strip
+ r.split(/^(.*\n\-+)/)[1..4].join.strip
rescue
warn "Missing README.markdown"
''
View
2 do_h2/tasks/release.rake
@@ -27,7 +27,7 @@ if defined?(RubyForge) then
# read project info and overview
notes = begin
r = File.read("README.markdown")
- r.split(/^(.*\n\-+)//)[1..4].join.strip
+ r.split(/^(.*\n\-+)/)[1..4].join.strip
rescue
warn "Missing README.markdown"
''
View
2 do_hsqldb/tasks/release.rake
@@ -27,7 +27,7 @@ if defined?(RubyForge) then
# read project info and overview
notes = begin
r = File.read("README.markdown")
- r.split(/^(.*\n\-+)//)[1..4].join.strip
+ r.split(/^(.*\n\-+)/)[1..4].join.strip
rescue
warn "Missing README.markdown"
''
View
2 do_jdbc/tasks/release.rake
@@ -27,7 +27,7 @@ if defined?(RubyForge) then
# read project info and overview
notes = begin
r = File.read("README.markdown")
- r.split(/^(.*\n\-+)//)[1..4].join.strip
+ r.split(/^(.*\n\-+)/)[1..4].join.strip
rescue
warn "Missing README.markdown"
''
View
2 do_mysql/tasks/release.rake
@@ -27,7 +27,7 @@ if defined?(RubyForge) then
# read project info and overview
notes = begin
r = File.read("README.markdown")
- r.split(/^(.*\n\-+)//)[1..4].join.strip
+ r.split(/^(.*\n\-+)/)[1..4].join.strip
rescue
warn "Missing README.markdown"
''
View
2 do_oracle/tasks/release.rake
@@ -27,7 +27,7 @@ if defined?(RubyForge) then
# read project info and overview
notes = begin
r = File.read("README.markdown")
- r.split(/^(.*\n\-+)//)[1..4].join.strip
+ r.split(/^(.*\n\-+)/)[1..4].join.strip
rescue
warn "Missing README.markdown"
''
View
2 do_postgres/tasks/release.rake
@@ -27,7 +27,7 @@ if defined?(RubyForge) then
# read project info and overview
notes = begin
r = File.read("README.markdown")
- r.split(/^(.*\n\-+)//)[1..4].join.strip
+ r.split(/^(.*\n\-+)/)[1..4].join.strip
rescue
warn "Missing README.markdown"
''
View
2 do_sqlite3/tasks/release.rake
@@ -27,7 +27,7 @@ if defined?(RubyForge) then
# read project info and overview
notes = begin
r = File.read("README.markdown")
- r.split(/^(.*\n\-+)//)[1..4].join.strip
+ r.split(/^(.*\n\-+)/)[1..4].join.strip
rescue
warn "Missing README.markdown"
''
View
2 do_sqlserver/tasks/release.rake
@@ -27,7 +27,7 @@ if defined?(RubyForge) then
# read project info and overview
notes = begin
r = File.read("README.markdown")
- r.split(/^(.*\n\-+)//)[1..4].join.strip
+ r.split(/^(.*\n\-+)/)[1..4].join.strip
rescue
warn "Missing README.markdown"
''

0 comments on commit 052bdab

Please sign in to comment.
Something went wrong with that request. Please try again.