Skip to content

Commit

Permalink
Merge branch 'master' of github.com:puritys/nodejs-phplike
Browse files Browse the repository at this point in the history
  • Loading branch information
puritys committed Nov 26, 2014
2 parents da426b4 + c101c16 commit 1dcd0e2
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 3 deletions.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -145,6 +145,8 @@ Functions will be implemented in the future
* strval: convert integer to string
* explode
* implode
* urlencode
* urldecode
* abs
* acos
* strtolower
Expand Down
3 changes: 3 additions & 0 deletions binding.gyp
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,9 @@
],
['OS=="mac"', {
"cflags": ["-std=gnu++0x"],
"xcode_settings": {
"GCC_ENABLE_CPP_EXCEPTIONS": "YES"
},
"libraries": [
'/usr/lib/libcurl.dylib'
],
Expand Down
2 changes: 1 addition & 1 deletion nodejs/curl.js
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,6 @@ exports.curl_exec = function (curlInput) {

};

if (UNIT_TEST) {
if (typeof(UNIT_TEST) != "undefined" && UNIT_TEST === true) {
exports.reformatCurlData = reformatCurlData;
}
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"version": "2.0.2",
"version": "2.0.5",
"description": "Implement php function to nodejs ",
"main": "phplike",
"contributors": "pipi00000@gmail.com",
Expand All @@ -11,6 +11,6 @@
"install": "node-gyp rebuild"
},
"gypfile": true,
"os" : ["linux" ],
"os" : ["linux", "mac", "darwin" ],
"cpu" : [ "x64", "ia32", "arm" ]
}

0 comments on commit 1dcd0e2

Please sign in to comment.