debian/0000755000000000000000000000000012032272160007161 5ustar debian/changelog0000644000000000000000000000062312032272157011042 0ustar underscore.logger (0.3.0~20111114-1ubuntu1) quantal; urgency=low * Replace octal escapes with hex escapes (thanks, Julian Taylor; closes: #669541). -- Colin Watson Mon, 01 Oct 2012 11:46:06 +0100 underscore.logger (0.3.0~20111114-1) unstable; urgency=low * Initial release. Closes: Bug#653064. -- Jonas Smedegaard Sun, 25 Dec 2011 11:41:05 +0700 debian/rules0000755000000000000000000000461111675525165010265 0ustar #!/usr/bin/make -f # -*- mode: makefile; coding: utf-8 -*- # Copyright © 2011, Jonas Smedegaard # Description: Main Debian packaging script for underscore.logger # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 2, or (at your option) # any later version. # # This program is distributed in the hope that it will be useful, but # WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU # General Public License for more details. # # You should have received a copy of the GNU General Public License # along with this program. If not, see . include /usr/share/cdbs/1/rules/upstream-tarball.mk include /usr/share/cdbs/1/rules/utils.mk include /usr/share/cdbs/1/rules/debhelper.mk libname = underscore.logger js-basedir = build js-stems = build/$(libname) js-pkgname = libjs-$(libname) node-pkgname = node-$(libname) CDBS_BUILD_DEPENDS += , coffeescript, uglifyjs CDBS_DEPENDS_$(node-pkgname) = nodejs, $(js-pkgname) CDBS_RECOMMENDS_$(js-pkgname) = javascript-common DEB_UPSTREAM_URL = http://githubredir.debian.net/github/viatropos/$(libname) # FIXME: when tagged upstream change to v$(DEB_UPSTREAM_TARBALL_VERSION) DEB_UPSTREAM_TARBALL_BASENAME = 0~master DEB_UPSTREAM_WGET_OPTS += --no-check-certificate DEB_UPSTREAM_TARBALL_MD5 = 4cecbc31e24f76aa3c9ddd00be9445bc DEB_INSTALL_DOCS_ALL += README.md build/$(node-pkgname):: coffee -o build src/*.coffee clean:: rm -rf build # TODO: generalize parts below as a CDBS javascript snippet #js-basedir = js-dirname ?= $(libname) js-stems ?= $(basename $(wildcard $(js-basedir)*.js)) js-min ?= $(js-stems:$(js-basedir)%=debian/%.min.js) js-destdir ?= /usr/share/javascript/$(js-dirname) js-compressor ?= uglifyjs js-compressor-opts ?= -o $@ $< DEB_DH_INSTALL_ARGS_$(js-pkgname) = $(addsuffix .js,$(js-stems)) debian/*.min.js $(js-destdir) build/$(js-pkgname):: $(js-min) $(js-min): debian/%.min.js: $(js-basedir)%.js $(js-compressor) $(js-compressor-opts) clean:: rm -f debian/*.js # TODO: maybe generalize parts below as a CDBS node snippet node-dirname ?= $(libname) js-nodestem ?= $(libname) node-destdir ?= /usr/lib/nodejs/ DEB_DH_LINK_$(node-pkgname) = $(js-destdir)/$(js-nodestem).js $(node-destdir)$(node-dirname).js debian/watch0000644000000000000000000000013711675517315010233 0ustar version=3 http://githubredir.debian.net/github/viatropos/underscore.logger .*?(\d[^/]*).tar.gz debian/compat0000644000000000000000000000000211627556167010404 0ustar 7 debian/source/0000755000000000000000000000000012032272121010456 5ustar debian/source/format0000644000000000000000000000001411530323745011677 0ustar 3.0 (quilt) debian/gbp.conf0000644000000000000000000000014611530323745010611 0ustar # Configuration file for git-buildpackage and friends [DEFAULT] pristine-tar = True sign-tags = True debian/control0000644000000000000000000000404012032272154010565 0ustar Source: underscore.logger Section: web Priority: optional Maintainer: Ubuntu Developers XSBC-Original-Maintainer: Debian Javascript Maintainers Uploaders: Jonas Smedegaard Build-Depends: cdbs (>= 0.4.72~), devscripts, debhelper, dh-buildinfo, coffeescript, uglifyjs Standards-Version: 3.9.2 Homepage: https://github.com/viatropos/underscore.logger Vcs-Git: git://git.debian.org/git/collab-maint/underscore.logger Vcs-Browser: http://git.debian.org/?p=collab-maint/underscore.logger.git Package: node-underscore.logger Architecture: all Depends: ${misc:Depends}, ${cdbs:Depends} Suggests: ${cdbs:Suggests} Description: cross-browser and Node empowered logging - Node module Node is an event-based server-side JavaScript engine. . Underscore is a utility-belt library for JavaScript that provides a lot of the functional programming support that you would expect in Prototype.js (or Ruby), but without extending any of the built-in JavaScript objects. It's the tie to go along with jQuery's tux. . underscore.logger is a logging library usable either directly in web browsers or as a Node module, optionally as an Underscore mixin. . This package contains underscore.logger usable with Node. Package: libjs-underscore.logger Architecture: all Depends: ${misc:Depends}, ${cdbs:Depends} Recommends: ${cdbs:Recommends} Suggests: ${cdbs:Suggests} Description: cross-browser and Node empowered logging - browser library Node is an event-based server-side JavaScript engine. . Underscore is a utility-belt library for JavaScript that provides a lot of the functional programming support that you would expect in Prototype.js (or Ruby), but without extending any of the built-in JavaScript objects. It's the tie to go along with jQuery's tux. . underscore.logger is a logging library usable either directly in web browsers or as a Node module, optionally as an Underscore mixin. . This package contains underscore.logger usable directly in web browsers. debian/patches/0000755000000000000000000000000012032272112010605 5ustar debian/patches/hex-escapes.patch0000644000000000000000000000113612032272074014043 0ustar Description: replace octal number with hex Author: Julian Taylor Bug-Debian: http://bugs.debian.org/669541 --- underscore.logger-0.3.0~20111114.orig/src/underscore.logger.coffee +++ underscore.logger-0.3.0~20111114/src/underscore.logger.coffee @@ -50,9 +50,9 @@ class Logger result = "" i = 0 while color = colors[i] - result += "\033[#{color}m" + result += "\x1b[#{color}m" i++ - result += "#{string}\033[#{Logger.ANSI.OFF}m" + result += "#{string}\x1b[#{Logger.ANSI.OFF}m" result format: (date, level, message) -> debian/patches/series0000644000000000000000000000002212032272112012014 0ustar hex-escapes.patch debian/copyright0000644000000000000000000000434011675045403011127 0ustar Format: http://svn.debian.org/wsvn/dep/web/deps/dep5.mdwn?rev=174 Upstream-Name: underscore.logger Upstream-Contact: Lance Pollard http://twitter.com/viatropos Source: https://github.com/viatropos/underscore.logger/downloads git://github.com/viatropos/underscore.logger Files: * Copyright: 2011, Lance Pollard License: Expat Files: debian/* Copyright: 2011, Jonas Smedegaard License: GPL-2+ License: Expat 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. License: GPL-2+ This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2, or (at your option) any later version. . This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. Comment: On Debian systems the 'GNU General Public License' version 2 is located in '/usr/share/common-licenses/GPL-2'. . You should have received a copy of the 'GNU General Public License' along with this program. If not, see . debian/control.in0000644000000000000000000000372312032272154011201 0ustar Source: underscore.logger Section: web Priority: optional Maintainer: Ubuntu Developers XSBC-Original-Maintainer: Debian Javascript Maintainers Uploaders: Jonas Smedegaard Build-Depends: @cdbs@ Standards-Version: 3.9.2 Homepage: https://github.com/viatropos/underscore.logger Vcs-Git: git://git.debian.org/git/collab-maint/underscore.logger Vcs-Browser: http://git.debian.org/?p=collab-maint/underscore.logger.git Package: node-underscore.logger Architecture: all Depends: ${misc:Depends}, ${cdbs:Depends} Suggests: ${cdbs:Suggests} Description: cross-browser and Node empowered logging - Node module Node is an event-based server-side JavaScript engine. . Underscore is a utility-belt library for JavaScript that provides a lot of the functional programming support that you would expect in Prototype.js (or Ruby), but without extending any of the built-in JavaScript objects. It's the tie to go along with jQuery's tux. . underscore.logger is a logging library usable either directly in web browsers or as a Node module, optionally as an Underscore mixin. . This package contains underscore.logger usable with Node. Package: libjs-underscore.logger Architecture: all Depends: ${misc:Depends}, ${cdbs:Depends} Recommends: ${cdbs:Recommends} Suggests: ${cdbs:Suggests} Description: cross-browser and Node empowered logging - browser library Node is an event-based server-side JavaScript engine. . Underscore is a utility-belt library for JavaScript that provides a lot of the functional programming support that you would expect in Prototype.js (or Ruby), but without extending any of the built-in JavaScript objects. It's the tie to go along with jQuery's tux. . underscore.logger is a logging library usable either directly in web browsers or as a Node module, optionally as an Underscore mixin. . This package contains underscore.logger usable directly in web browsers. debian/copyright_hints0000644000000000000000000000152511675523325012342 0ustar Format: http://svn.debian.org/wsvn/dep/web/deps/dep5.mdwn?rev=174 Upstream-Name: FIXME Upstream-Contact: FIXME Source: FIXME Disclaimer: Autogenerated by CDBS Files: Cakefile debian/compat debian/control debian/control.in debian/gbp.conf debian/source/format debian/watch lib/underscore.logger.js npm-debug.log package.json spec/index.html spec/loggerSpec.coffee src/underscore.logger.coffee Copyright: *No copyright* License: UNKNOWN FIXME Files: debian/rules Copyright: 2011, Jonas Smedegaard License: GPL FIXME Files: README.md Copyright: © 2011, [Lance Pollard 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 License: MIT/X11 (BSD like) FIXME