-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Adding Multipart Parser (WIP) #25
Conversation
Initial work
corrected required gem path 'celluloid/extras/hash'
Basic Session Handler API (work in progress)
Initial Crypto code and using Celluloid essentials uuid to generate uuid
Session Handler (functional testing in progress, Some bugs in encryption/decryption)
Update .travis.yml
updating session code from gsoc16 branch
removed unnecessary require from session spec
@kenichi @digitalextremist I have added more test related to multipart, Kindly review 😃 |
looking good so far. i have a couple notes/questions:
i think that is it. i tried adding some more tests, refactoring some bits, but i immediately ran into the problem of rspec not being able to get at the exception. then i noticed this test pattern is copied from the server tests, which makes me wonder if those don't print meaningful messages/backtraces when they error either? good work on your part all around though! 🎉 |
@kenichi : I have applied suggestion you mentioned, kindly have a look and review 😃 . So shall we explicitly |
@kenichi I have updated |
Updated multipart spec pattern
405c3c5
to
f0de4ae
Compare
@kenichi I have refactored |
this is looking great, @pulkit4tech. i think we can jam on the tests a bit more to dry them up a little, i have some examples on my laptop at home. also, i noticed, when testing both sessions and multipart with angelo, the gem |
i'm having issues testing from curl with angelo (might be something i'm doing in angelo code): require 'reel/request/multipart'
require 'angelo'
class Multi < Angelo::Base
report_errors!
post '/' do
if request.multipart?
puts "received mulitpart file"
end
end
end
Multi.run! unless $0 == 'irb'
|
Yeah @kenichi this was the issue I am also facing as mentioned previously. Same |
@kenichi Shall I merge this PR to include |
Merging as per discussion 😃 |
This PR contains code to add
Multipart parser
into reelProgress:
dans
multipart-parser gem as parsing engine (although going through it)/cc: @kenichi @digitalextremist