Skip to content
This repository has been archived by the owner on Nov 21, 2018. It is now read-only.

Cesinrm #14

Open
wants to merge 43 commits into
base: master
Choose a base branch
from
Open

Cesinrm #14

wants to merge 43 commits into from

Conversation

cesinrm
Copy link

@cesinrm cesinrm commented Apr 7, 2016

Hi!

I've just added some new features.

delOne. Instead of flush, now, you can delete a route one by one.

getAll. Retrieve all routes.

add. Modified to accept 'verb' as part of the route.

I've also added a poor posibility to retrieve the HOWTO as html.
Guess you like it and sorry with commit's mess! It's my first github contribution and my first node.js, too!

Regards.

if (err) {
res.send(500, "FAKE-SERVER is misconfigured");
}
send(parseInt(200, 10), headers, data);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

no need to parseInt if you know it is going to be an integer.

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fixed.

@bigodines
Copy link
Contributor

Thanks for your contribution. A few questions/requests tho:

  • What is the rationale behind creating a README2.html and a /howTo endpoint?
  • We use spaces and not "tabs".

all other comments are inline.

@cesinrm
Copy link
Author

cesinrm commented Apr 9, 2016

You're welcome!

@bigodines well, when I found your work throught github, I guessed that I could put it in my lan for my coworkers. So, README2.html and a /howTo endpoint, it's just a simple way to explain how it works for'em.

Sorry for tabs!!! I forgot to change my editor configuration for js... :O

cesinrm and others added 2 commits April 9, 2016 19:16
- controller.js  calls to fakeresponse has changed
- fakeresponse.js refactorized match and delOne to be one method.
- test/controller.js improvements in test and changes
- test/fakeresponse.js improvements in test and changes
@cesinrm
Copy link
Author

cesinrm commented Apr 12, 2016

I did some new changes with last commit. Hope everyhting is right.

Regards.

@cesinrm
Copy link
Author

cesinrm commented Apr 12, 2016

I also have a change to add CORS if you want.

@cesinrm
Copy link
Author

cesinrm commented May 2, 2016

Hi, @bigodines, I'm not sure if you think that I have to improve something. Don't hesitate to tell me.

Regards.

@bigodines
Copy link
Contributor

bigodines commented May 9, 2016

unfortunately, I've lost permissions to merge your PR to this project as I don't work for yahoo anymore and have been removed from the github organization :(

@cesinrm
Copy link
Author

cesinrm commented May 9, 2016

:s well, I'll wait for the next master developer.

@yahoocla
Copy link

Thank you for submitting this pull request, however I do not see a valid CLA on file for you. Before we can merge this request please visit https://yahoocla.herokuapp.com/ and agree to the terms. Thanks! 😄

@yahoocla
Copy link

CLA is valid!

@cesinrm
Copy link
Author

cesinrm commented Oct 18, 2016

Anyone owns this repo?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants