Check-in [fac01e837f]
Many hyperlinks are disabled.
Use anonymous login
to enable hyperlinks.
Overview
| Comment: | Patch in File::write until the next backports gem is released (fixes #175, fixes #176) |
|---|---|
| Downloads: | Tarball | ZIP archive | SQL archive |
| Timelines: | family | ancestors | descendants | both | trunk |
| Files: | files | file ages | folders |
| SHA1: |
fac01e837f8ae16477138908746d455c |
| User & Date: | jls@semicomplete.com 2012-03-19 21:35:58 |
Context
|
2012-03-19
| ||
| 21:36 | . check-in: cb68f9bbea user: jls@semicomplete.com tags: trunk | |
| 21:35 | Patch in File::write until the next backports gem is released (fixes #175, fixes #176) check-in: fac01e837f user: jls@semicomplete.com tags: trunk | |
| 21:33 | - Fix Dir.mktmpdir invocations to work in both ruby 1.8 and 1.9 (Fixes #175, fixes #176) check-in: 62482b08f8 user: jls@semicomplete.com tags: trunk | |
Changes
Added lib/fpm/monkeypatches.rb.
> > > > > > > > > > > | 1 2 3 4 5 6 7 8 9 10 11 |
# Copied from https://raw.github.com/marcandre/backports/master/lib/backports/1.9.3/io.rb
# Also Hacked just to make it work
# This is necessary until a newer version of backports (> 2.3.0) is available
class << IO
# Standard in Ruby 1.9.3 See official documentation[http://ruby-doc.org/core-1.9.3/IO.html#method-c-write]
def write(name, string, offset = nil, options = Backports::Undefined)
File.open(name, "w") do |fd|
fd.write(string)
end
end unless method_defined? :write
end
|