Nailed it. I was using 1.1.3; shoulda been 1.1.2. Thanks!
From: active-fedora@googlegroups.com [mailto:active-fedora@googlegroups.com] On Behalf Of Matt Zumwalt
Sent: Tuesday, August 02, 2011 5:16 PM
To: active-fedora@googlegroups.com
Subject: Re: -------------RubyMultipartPost
I think you might have gotten a newer version of ruby multipart-post in your gemset. This new version of multipart-post caused a bunch of the active-fedora tests to fail. We might have pinned down the version incorrectly in the gemspec
Matt Zumwalt
MediaShelf, LLC
http://www.yourmediashelf.com
On Aug 2, 2011, at 4:20 PM, Ingram, William A wrote:
Hi all,
I recently updated the gems for my project and the ActiveFedora::Datastream.new() seems to have changed. I now get this content at the top of XML datastreams.
-------------RubyMultipartPost
Content-Disposition: form-data; name="file"; filename="K000913.000.xml"
Content-Length: 20579
Content-Type: application/xml
Content-Transfer-Encoding: binary
Here's my code:
tei_ds = ActiveFedora::Datastream.new(:dsLabel => "TEI XML", :controlGroup => "M", :mime_type => "text/xml", :blob =>File.new(tei_path))
tei_obj.add_datastream(tei_ds)
And here's the result:
view-source:http://ramman.grainger.uiuc.edu:8080/fedora/objects/bamboo%3AK000913....
What am I doing wrong here?
Thanks,
Bill
--
Bill Ingram
Research Programmer
Scholarly Communication and Repository Services
University of Illinois at Urbana-Champaign
--
You received this message because you are subscribed to the Google Groups "ActiveFedora / Ruby + Fedora Commons" group.
To post to this group, send email to active-fedora@googlegroups.com<mailto:active-fedora@googlegroups.com>.
To unsubscribe from this group, send email to active-fedora+unsubscribe@googlegroups.com<mailto:active-fedora+unsubscribe @googlegroups.com>.
For more options, visit this group at http://groups.google.com/group/active-fedora?hl=en.
--
You received this message because you are subscribed to the Google Groups "ActiveFedora / Ruby + Fedora Commons" group.
To post to this group, send email to active-fedora@googlegroups.com<mailto:active-fedora@googlegroups.com>.
To unsubscribe from this group, send email to active-fedora+unsubscribe@googlegroups.com<mailto:active-fedora+unsubscribe @googlegroups.com>.
For more options, visit this group at http://groups.google.com/group/active-fedora?hl=en.