Fix almost everything #8
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "master"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Fixes issues #1, #2, #4 and #6
Fixed #9 too, sorry I made a mistake in the last commit and commited two files that werent part of your project, I have already deleted them. If you want I can start a new Pull request with just one commit, I think that 9 commits is a little too much for the minor changes I made.
Whoa. You did such a great work.
A few questions I got:
@insweater
I am also confused my the removal of
tostrings
.The
http.lua
library comes distributed withLuaSocket2
, not just LOVE. Marking this library as dependent on the LuaSocket2 library is for the best, unless you intend on using a custom version ofhttp.lua
, but you are better off offering pull requests to the maintainer of that library then.I agree, this library should be able to work with and without LOVE. We could use
io
.I think there a lot of commits here, and this whole pull requests should be cherry picked or rebased. Especially because of this commit that was made in error
Concatenate casts any number to string (didn't thought about booleans though), tables and functions are pointless in this cases.
Yeah, if you have LuaSocket2 then you have http.lua, if you dont have LuaSocket then having
http.lua
is pointlessI know that getCredentials is really LÖVE specific, And I can think of a way to make it cross platform.
You would call it like this in LÖVE
I know that there are too many commits, I want to make all the changes, delete my repo and create it again, then submit all the changes in one commit, I want to know if you consider any of the changes is not good like you did here
Okey I checked, there are two cases where I really deleted the
tostring
function, inGJ.fetchTrophy
, theid
parameter, butid
must be a number or else there would be an error so... I'm not sureAnd the
limit
parameter inGJ.fetchScore
which I'm not sure at all but I guess should be a number.Maybe that part should be changed to
(tonumber(limit) or 10)
If you to remove http.lua from repo, shall we also remove md5.lua?
So long as the dependency is easily identified and linked, I see no problem in removing
http.lua
andmd5.lua
so long as this project maintains itself against the most recent version ofmd5.luq
.Yeah, and in installation you write that
md5.lua
file should be in the same folder asgamejolt.lua
, and put a link to themd5.lua
repo, or a way to install it through luarocks (which is also totally possible now).Should I create a new PR with all this changes?
That would be pretty nice.
new PR in the way