-
Notifications
You must be signed in to change notification settings - Fork 229
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore(browserify): remove require-directory as a dependency for tests
- update testing method to remove reliance on `require-directory` - require-directory is now a `devDependency`
- Loading branch information
Ahmad Nassri
committed
Aug 26, 2015
1 parent
e7b77d2
commit 00e0b37
Showing
64 changed files
with
177 additions
and
194 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,12 @@ | ||
'use strict' | ||
|
||
module.exports = require('require-directory')(module) | ||
module.exports = { | ||
info: { | ||
key: 'c', | ||
title: 'C', | ||
extname: '.c', | ||
default: 'libcurl' | ||
}, | ||
|
||
libcurl: require('./libcurl') | ||
} |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,12 @@ | ||
'use strict' | ||
|
||
module.exports = require('require-directory')(module) | ||
module.exports = { | ||
info: { | ||
key: 'csharp', | ||
title: 'C#', | ||
extname: '.cs', | ||
default: 'restsharp' | ||
}, | ||
|
||
restsharp: require('./restsharp') | ||
} |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,12 @@ | ||
'use strict' | ||
|
||
module.exports = require('require-directory')(module) | ||
module.exports = { | ||
info: { | ||
key: 'go', | ||
title: 'Go', | ||
extname: '.go', | ||
default: 'native' | ||
}, | ||
|
||
native: require('./native') | ||
} |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,17 @@ | ||
'use strict' | ||
|
||
module.exports = require('require-directory')(module, { exclude: /helpers\.js$/ }) | ||
module.exports = { | ||
c: require('./c'), | ||
csharp: require('./csharp'), | ||
go: require('./go'), | ||
java: require('./java'), | ||
javascript: require('./javascript'), | ||
node: require('./node'), | ||
objc: require('./objc'), | ||
ocaml: require('./ocaml'), | ||
php: require('./php'), | ||
python: require('./python'), | ||
ruby: require('./ruby'), | ||
shell: require('./shell'), | ||
swift: require('./swift') | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,13 @@ | ||
'use strict' | ||
|
||
module.exports = require('require-directory')(module) | ||
module.exports = { | ||
info: { | ||
key: 'java', | ||
title: 'Java', | ||
extname: '.java', | ||
default: 'unirest' | ||
}, | ||
|
||
okhttp: require('./okhttp'), | ||
unirest: require('./unirest') | ||
} |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,13 @@ | ||
'use strict' | ||
|
||
module.exports = require('require-directory')(module) | ||
module.exports = { | ||
info: { | ||
key: 'javascript', | ||
title: 'JavaScript', | ||
extname: '.js', | ||
default: 'xhr' | ||
}, | ||
|
||
jquery: require('./jquery'), | ||
xhr: require('./xhr') | ||
} |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,14 @@ | ||
'use strict' | ||
|
||
module.exports = require('require-directory')(module) | ||
module.exports = { | ||
info: { | ||
key: 'node', | ||
title: 'Node.js', | ||
extname: '.js', | ||
default: 'native' | ||
}, | ||
|
||
native: require('./native'), | ||
request: require('./request'), | ||
unirest: require('./unirest') | ||
} |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,12 @@ | ||
'use strict' | ||
|
||
module.exports = require('require-directory')(module) | ||
module.exports = { | ||
info: { | ||
key: 'objc', | ||
title: 'Objective-C', | ||
extname: '.m', | ||
default: 'nsurlsession' | ||
}, | ||
|
||
nsurlsession: require('./nsurlsession') | ||
} |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,12 @@ | ||
'use strict' | ||
|
||
module.exports = require('require-directory')(module) | ||
module.exports = { | ||
info: { | ||
key: 'ocaml', | ||
title: 'OCaml', | ||
extname: '.ml', | ||
default: 'cohttp' | ||
}, | ||
|
||
cohttp: require('./cohttp') | ||
} |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,14 @@ | ||
'use strict' | ||
|
||
module.exports = require('require-directory')(module) | ||
module.exports = { | ||
info: { | ||
key: 'php', | ||
title: 'PHP', | ||
extname: '.php', | ||
default: 'curl' | ||
}, | ||
|
||
curl: require('./curl'), | ||
http1: require('./http1'), | ||
http2: require('./http2') | ||
} |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,13 @@ | ||
'use strict' | ||
|
||
module.exports = require('require-directory')(module) | ||
module.exports = { | ||
info: { | ||
key: 'python', | ||
title: 'Python', | ||
extname: '.py', | ||
default: 'python3' | ||
}, | ||
|
||
python3: require('./python3'), | ||
requests: require('./requests') | ||
} |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,12 @@ | ||
'use strict' | ||
|
||
module.exports = require('require-directory')(module) | ||
module.exports = { | ||
info: { | ||
key: 'ruby', | ||
title: 'Ruby', | ||
extname: '.rb', | ||
default: 'native' | ||
}, | ||
|
||
native: require('./native') | ||
} |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,14 @@ | ||
'use strict' | ||
|
||
module.exports = require('require-directory')(module) | ||
module.exports = { | ||
info: { | ||
key: 'shell', | ||
title: 'Shell', | ||
extname: '.sh', | ||
default: 'curl' | ||
}, | ||
|
||
curl: require('./curl'), | ||
httpie: require('./httpie'), | ||
wget: require('./wget') | ||
} |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,12 @@ | ||
'use strict' | ||
|
||
module.exports = require('require-directory')(module) | ||
module.exports = { | ||
info: { | ||
key: 'swift', | ||
title: 'Swift', | ||
extname: '.swift', | ||
default: 'nsurlsession' | ||
}, | ||
|
||
nsurlsession: require('./nsurlsession') | ||
} |
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.