Skip to content

Commit 9c0c880

Browse files
committed
updates for v1.0.1
1 parent e5167b2 commit 9c0c880

5 files changed

Lines changed: 82 additions & 45 deletions

File tree

README.md

Lines changed: 20 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,7 @@ For example, assume VCAP_SERVICES was set to the following:
149149
{
150150
"user-provided": [
151151
{
152-
"name": "cfenv-test",
152+
"name": "cf-env-test",
153153
"label": "user-provided",
154154
"tags": [],
155155
"credentials": {
@@ -167,8 +167,8 @@ In this case, `appEnv.services` would be set to that same object, but
167167
`appEnv.getServices()` would return
168168

169169
{
170-
"cfenv-test": {
171-
"name": "cfenv-test",
170+
"cf-env-test": {
171+
"name": "cf-env-test",
172172
"label": "user-provided",
173173
"tags": [],
174174
"credentials": {
@@ -232,7 +232,7 @@ For example, assume VCAP_SERVICES was set to the following:
232232
{
233233
"user-provided": [
234234
{
235-
"name": "cfenv-test",
235+
"name": "cf-env-test",
236236
"label": "user-provided",
237237
"tags": [],
238238
"credentials": {
@@ -248,7 +248,7 @@ For example, assume VCAP_SERVICES was set to the following:
248248

249249
Assume you run the following code:
250250

251-
url = appEnv.getServiceURL("cfenv-test", {
251+
url = appEnv.getServiceURL("cf-env-test", {
252252
pathname: "database",
253253
auth: ["username", "password"]
254254
})
@@ -287,9 +287,9 @@ testing with Cloud Foundry
287287

288288
You can push this project as a Cloud Foundry project to try it out.
289289

290-
First, create a service name `cfenv-test` with the following command:
290+
First, create a service name `cf-env-test` with the following command:
291291

292-
cf cups cfenv-test -p "url, username, password, database"
292+
cf cups cf-env-test -p "url, username, password, database"
293293

294294
You will be prompted for these values; enter something reasonable like:
295295

@@ -334,6 +334,19 @@ with no arguments to see what tasks are available, along with a short
334334
description of them.
335335

336336

337+
changes
338+
================================================================================
339+
340+
**1.0.1** - 2014/09/29
341+
342+
- remove node_modules from .cfignore - [issue #8](https://github.com/cloudfoundry-community/node-cfenv/issues/8)
343+
- updated package dependencies
344+
- changed README.md to correct sample service to cf-env-test
345+
- files in lib/ recompiled due to coffee-script update
346+
347+
**1.0.0** - 2014/09/03
348+
349+
- initial 1.0.0 release
337350

338351
license
339352
================================================================================

lib/cfenv.js

Lines changed: 33 additions & 32 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

lib/server.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

npm-debug.log

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
0 info it worked if it ends with ok
2+
1 verbose cli [ '/usr/local/bin/nsolid', '/usr/local/bin/npm', 'run', 'watch' ]
3+
2 info using npm@2.14.4
4+
3 info using node@v4.1.1
5+
4 verbose stack Error: missing script: watch
6+
4 verbose stack at run (/usr/local/lib/node_modules/npm/lib/run-script.js:142:19)
7+
4 verbose stack at /usr/local/lib/node_modules/npm/lib/run-script.js:58:5
8+
4 verbose stack at /usr/local/lib/node_modules/npm/node_modules/read-package-json/read-json.js:345:5
9+
4 verbose stack at checkBinReferences_ (/usr/local/lib/node_modules/npm/node_modules/read-package-json/read-json.js:309:45)
10+
4 verbose stack at final (/usr/local/lib/node_modules/npm/node_modules/read-package-json/read-json.js:343:3)
11+
4 verbose stack at then (/usr/local/lib/node_modules/npm/node_modules/read-package-json/read-json.js:113:5)
12+
4 verbose stack at /usr/local/lib/node_modules/npm/node_modules/read-package-json/read-json.js:300:12
13+
4 verbose stack at /usr/local/lib/node_modules/npm/node_modules/graceful-fs/graceful-fs.js:76:16
14+
4 verbose stack at FSReqWrap.readFileAfterClose [as oncomplete] (fs.js:395:3)
15+
5 verbose cwd /Users/pmuellr/Projects/node-cfenv
16+
6 error Darwin 14.5.0
17+
7 error argv "/usr/local/bin/nsolid" "/usr/local/bin/npm" "run" "watch"
18+
8 error node v4.1.1
19+
9 error npm v2.14.4
20+
10 error missing script: watch
21+
11 error If you need help, you may report this error at:
22+
11 error <https://github.com/npm/npm/issues>
23+
12 verbose exit [ 1, true ]

package.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"name": "cfenv",
33
"main": "./lib/cfenv",
44
"description": "easy access to your Cloud Foundry application environment",
5-
"version": "1.0.0",
5+
"version": "1.0.1",
66
"author": "pmuellr",
77
"license": "Apache-2.0",
88
"homepage": "https://github.com/cloudfoundry-community/node-cfenv",
@@ -11,13 +11,13 @@
1111
"url": "https://github.com/cloudfoundry-community/node-cfenv.git"
1212
},
1313
"dependencies": {
14-
"js-yaml": "3.2.x",
14+
"js-yaml": "3.4.x",
1515
"ports": "1.1.x",
16-
"underscore": "1.7.x"
16+
"underscore": "1.8.x"
1717
},
1818
"devDependencies": {
19-
"coffee-script": "1.8.x",
20-
"mocha": "1.21.x",
19+
"coffee-script": "1.10.x",
20+
"mocha": "2.3.x",
2121
"expect.js": "0.3.x"
2222
}
2323
}

0 commit comments

Comments
 (0)