Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Add more ignores, prep for open source.

  • Loading branch information...
commit e0e69cb08516fcd0fc2efd3af75bb46d7901c003 1 parent 38d1779
@jbueza authored
View
1  .gitignore
@@ -1,3 +1,4 @@
.DS_Store
node_modules
*.sock
+.svn
View
53 .svn/all-wcprops
@@ -1,53 +0,0 @@
-K 25
-svn:wc:ra_dav:version-url
-V 54
-/svn/!svn/ver/1095/CP/trunk/source/RESAAS.UrlShortener
-END
-History.md
-K 25
-svn:wc:ra_dav:version-url
-V 65
-/svn/!svn/ver/1088/CP/trunk/source/RESAAS.UrlShortener/History.md
-END
-index.js
-K 25
-svn:wc:ra_dav:version-url
-V 63
-/svn/!svn/ver/1088/CP/trunk/source/RESAAS.UrlShortener/index.js
-END
-package.json
-K 25
-svn:wc:ra_dav:version-url
-V 67
-/svn/!svn/ver/1090/CP/trunk/source/RESAAS.UrlShortener/package.json
-END
-.gitignore
-K 25
-svn:wc:ra_dav:version-url
-V 65
-/svn/!svn/ver/1088/CP/trunk/source/RESAAS.UrlShortener/.gitignore
-END
-app.js
-K 25
-svn:wc:ra_dav:version-url
-V 61
-/svn/!svn/ver/1094/CP/trunk/source/RESAAS.UrlShortener/app.js
-END
-.npmignore
-K 25
-svn:wc:ra_dav:version-url
-V 65
-/svn/!svn/ver/1088/CP/trunk/source/RESAAS.UrlShortener/.npmignore
-END
-Readme.md
-K 25
-svn:wc:ra_dav:version-url
-V 64
-/svn/!svn/ver/1088/CP/trunk/source/RESAAS.UrlShortener/Readme.md
-END
-Makefile
-K 25
-svn:wc:ra_dav:version-url
-V 63
-/svn/!svn/ver/1088/CP/trunk/source/RESAAS.UrlShortener/Makefile
-END
View
318 .svn/entries
@@ -1,318 +0,0 @@
-10
-
-dir
-1263
-https://resaas.jira.com/svn/CP/trunk/source/RESAAS.UrlShortener
-https://resaas.jira.com/svn
-
-
-
-2011-09-11T05:48:36.366382Z
-1095
-jaime.bueza
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-ee9b0340-e8fc-4d76-9a68-d6a624e9d42a
-
-pids
-dir
-
-test
-dir
-
-History.md
-file
-
-
-
-
-2011-09-11T00:13:06.000000Z
-4d9553425fdaf46ca97bfa64c18ef85b
-2011-09-11T00:17:05.396757Z
-1088
-jaime.bueza
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-60
-
-index.js
-file
-
-
-
-
-2011-09-11T00:13:06.000000Z
-3c3d2f88fb571e6c22a2f85c580c0705
-2011-09-11T00:17:05.396757Z
-1088
-jaime.bueza
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-43
-
-package.json
-file
-
-
-
-
-2011-09-11T02:22:04.000000Z
-b6c8c3e5aaea38a8ea446ba742127e46
-2011-09-11T03:45:09.900503Z
-1090
-jaime.bueza
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-436
-
-logs
-dir
-
-.gitignore
-file
-
-
-
-
-2011-09-11T00:13:06.000000Z
-c41409fb4e3ba19c2777dd2cc8d9f35c
-2011-09-11T00:17:05.396757Z
-1088
-jaime.bueza
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-30
-
-lib
-dir
-
-app.js
-file
-
-
-
-
-2011-09-11T05:23:53.000000Z
-147b002e134686918b28d65c1aa3ed80
-2011-09-11T05:30:20.415132Z
-1094
-jaime.bueza
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-1251
-
-.npmignore
-file
-
-
-
-
-2011-09-11T00:13:06.000000Z
-4f2041bb781c6e873aeb359ef4b191d4
-2011-09-11T00:17:05.396757Z
-1088
-jaime.bueza
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-29
-
-Readme.md
-file
-
-
-
-
-2011-09-11T00:13:06.000000Z
-3e76caaa29d92062cd69f28ed013dfb5
-2011-09-11T00:17:05.396757Z
-1088
-jaime.bueza
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-1208
-
-Makefile
-file
-
-
-
-
-2011-09-11T00:13:06.000000Z
-aa1acfdb4ff954fad3d74c8c2d2dcb84
-2011-09-11T00:17:05.396757Z
-1088
-jaime.bueza
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-41
-
-views
-dir
-
-public
-dir
-
View
3  .svn/text-base/.gitignore.svn-base
@@ -1,3 +0,0 @@
-.DS_Store
-node_modules
-*.sock
View
4 .svn/text-base/.npmignore.svn-base
@@ -1,4 +0,0 @@
-support
-test
-examples
-*.sock
View
5 .svn/text-base/History.md.svn-base
@@ -1,5 +0,0 @@
-
-0.0.1 / 2010-01-03
-==================
-
- * Initial release
View
5 .svn/text-base/Makefile.svn-base
@@ -1,5 +0,0 @@
-
-test:
- @echo "populate me"
-
-.PHONY: test
View
29 .svn/text-base/Readme.md.svn-base
@@ -1,29 +0,0 @@
-
-# Shorteh
-
- Provides URL Shortening for RESAAS Core Platform as a lightweight REST API.
-
-## License
-
-(The MIT License)
-
-Copyright (c) 2011 Jaime Bueza <jaime.bueza@resaas.com>
-
-Permission is hereby granted, free of charge, to any person obtaining
-a copy of this software and associated documentation files (the
-'Software'), to deal in the Software without restriction, including
-without limitation the rights to use, copy, modify, merge, publish,
-distribute, sublicense, and/or sell copies of the Software, and to
-permit persons to whom the Software is furnished to do so, subject to
-the following conditions:
-
-The above copyright notice and this permission notice shall be
-included in all copies or substantial portions of the Software.
-
-THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND,
-EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
-MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
-IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
-CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
-TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
-SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
View
57 .svn/text-base/app.js.svn-base
@@ -1,57 +0,0 @@
-
-/**
- * Module dependencies.
- */
-
-var express = require('express')
- , Shorteh = require('./lib/Shorteh');
-var app = module.exports = express.createServer();
-
-// Configuration
-
-app.configure(function(){
- app.set('views', __dirname + '/views');
- app.set('view engine', 'jade');
- app.use(express.bodyParser());
- app.use(express.methodOverride());
- app.use(app.router);
- app.use(express['static'](__dirname + '/public'));
-});
-
-app.configure('development', function(){
- app.use(express.errorHandler({ dumpExceptions: true, showStack: true }));
-});
-
-app.configure('production', function(){
- app.use(express.errorHandler());
-});
-
-// Routes
-
-app.get('/', function(req, res){
- res.render('index', {
- title: 'RESA.AS'
- });
-});
-
-app.post('/api', function(req, res) {
- res.writeHead(200, {'Content-Type': 'application/json'});
- Shorteh.execute({ params: req.body, response: res});
-});
-
-app.get('/:hash', function(req, res){
- var params = { hash : req.params.hash, response: res };
- if (req.params.hash.length) {
- Shorteh.metrics(params);
- Shorteh.redirect(params);
- }
-});
-
-
-
-// Only listen on $ node app.js
-
-if (!module.parent) {
- app.listen(3000);
- console.log("Express server listening on port %d", app.address().port);
-}
View
2  .svn/text-base/index.js.svn-base
@@ -1,2 +0,0 @@
-
-module.exports = require('./lib/Shorteh');
View
16 .svn/text-base/package.json.svn-base
@@ -1,16 +0,0 @@
-{
- "name": "Shorteh"
- , "version": "0.0.1"
- , "description": "Provides URL Shortening for RESAAS Core Platform as a lightweight REST API."
- , "keywords": []
- , "author": "Jaime Bueza <jaime.bueza@resaas.com>"
- , "dependencies": {
- "express": ">= 1.0.0",
- "jade": ">= 0.0.1",
- "redis-node": ">= 0.0.1",
- "supervisor": ">= 0.0.1",
- "reds": ">= 0.0.1"
- }
- , "main": "index"
- , "engines": { "node": "0.4.x" }
-}
View
BIN  dump.rdb
Binary file not shown
View
2  package.json
@@ -12,5 +12,5 @@
"reds": ">= 0.0.1"
}
, "main": "index"
- , "engines": { "node": "0.4.x" }
+ , "engines": { "node": "0.6.x" }
}
View
11 test/.svn/all-wcprops
@@ -1,11 +0,0 @@
-K 25
-svn:wc:ra_dav:version-url
-V 59
-/svn/!svn/ver/1090/CP/trunk/source/RESAAS.UrlShortener/test
-END
-app.test.js
-K 25
-svn:wc:ra_dav:version-url
-V 71
-/svn/!svn/ver/1090/CP/trunk/source/RESAAS.UrlShortener/test/app.test.js
-END
View
62 test/.svn/entries
@@ -1,62 +0,0 @@
-10
-
-dir
-1263
-https://resaas.jira.com/svn/CP/trunk/source/RESAAS.UrlShortener/test
-https://resaas.jira.com/svn
-
-
-
-2011-09-11T03:45:09.900503Z
-1090
-jaime.bueza
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-ee9b0340-e8fc-4d76-9a68-d6a624e9d42a
-
-app.test.js
-file
-
-
-
-
-2011-09-11T00:32:12.000000Z
-42f9c3d7d992b33db47e9e72e6d63427
-2011-09-11T03:45:09.900503Z
-1090
-jaime.bueza
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-379
-
View
21 test/.svn/text-base/app.test.js.svn-base
@@ -1,21 +0,0 @@
-
-// Run $ expresso
-
-/**
- * Module dependencies.
- */
-
-var app = require('../app')
- , assert = require('assert');
-
-
-module.exports = {
- 'GET /': function(){
- assert.response(app,
- { url: '/' },
- { status: 200, headers: { 'Content-Type': 'text/html; charset=utf-8' }},
- function(res){
- assert.includes(res.body, '<title>Express</title>');
- });
- }
-};
View
21 test/app.test.js
@@ -1,21 +0,0 @@
-
-// Run $ expresso
-
-/**
- * Module dependencies.
- */
-
-var app = require('../app')
- , assert = require('assert');
-
-
-module.exports = {
- 'GET /': function(){
- assert.response(app,
- { url: '/' },
- { status: 200, headers: { 'Content-Type': 'text/html; charset=utf-8' }},
- function(res){
- assert.includes(res.body, '<title>Express</title>');
- });
- }
-};
Please sign in to comment.
Something went wrong with that request. Please try again.