pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/lang/ruby-coffee-script-source Update ruby-coffee-scri...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/a095778a0d3f
branches:  trunk
changeset: 631948:a095778a0d3f
user:      taca <taca%pkgsrc.org@localhost>
date:      Fri Mar 14 17:19:18 2014 +0000

description:
Update ruby-coffee-script-source to 1.7.0.

1.7.0 – January 28, 2014

* When requiring CoffeeScript files in Node you must now explicitly register
  the compiler. This can be done with require 'coffee-script/register' or
  CoffeeScript.register(). Also for configuration such as Mocha's, use
  coffee-script/register.

* Improved error messages, source maps and stack traces. Source maps now use
  the updated //# syntax.

* Leading . now closes all open calls, allowing for simpler chaining syntax.

$ 'body'
.click (e) ->
  $ '.box'
  .fadeIn 'fast'
  .addClass '.active'
.css 'background', 'white'


$('body').click(function(e) {
  return $('.box').fadeIn('fast').addClass('.active');
}).css('background', 'white');

* Added **, // and %% operators and ... expansion in parameter lists and
  destructuring expressions.

* Multiline strings are now joined by a single space and ignore all
  indentation. A backslash at the end of a line can denote the amount of
  whitespace between lines, in both strings and heredocs. Backslashes
  correctly escape whitespace in block regexes.

* Closing brackets can now be indented and therefore no longer cause
  unexpected error.

* Several breaking compilation fixes. Non-callable literals (strings, numbers
  etc.) don't compile in a call now and multiple postfix conditionals compile
  properly. Postfix conditionals and loops always bind object
  literals. Conditional assignment compiles properly in subexpressions. super
  is disallowed outside of methods and works correctly inside for loops.

* Formatting of compiled block comments has been improved.

* No more -p folders on Windows.

* The options object passed to CoffeeScript is no longer mutated.

diffstat:

 lang/ruby-coffee-script-source/Makefile |  4 ++--
 lang/ruby-coffee-script-source/distinfo |  8 ++++----
 2 files changed, 6 insertions(+), 6 deletions(-)

diffs (25 lines):

diff -r c35663ed2fa8 -r a095778a0d3f lang/ruby-coffee-script-source/Makefile
--- a/lang/ruby-coffee-script-source/Makefile   Fri Mar 14 17:14:03 2014 +0000
+++ b/lang/ruby-coffee-script-source/Makefile   Fri Mar 14 17:19:18 2014 +0000
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.6 2013/09/15 13:50:49 taca Exp $
+# $NetBSD: Makefile,v 1.7 2014/03/14 17:19:18 taca Exp $
 
-DISTNAME=      coffee-script-source-1.6.3
+DISTNAME=      coffee-script-source-1.7.0
 CATEGORIES=    lang
 
 MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
diff -r c35663ed2fa8 -r a095778a0d3f lang/ruby-coffee-script-source/distinfo
--- a/lang/ruby-coffee-script-source/distinfo   Fri Mar 14 17:14:03 2014 +0000
+++ b/lang/ruby-coffee-script-source/distinfo   Fri Mar 14 17:19:18 2014 +0000
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.6 2013/09/15 13:50:49 taca Exp $
+$NetBSD: distinfo,v 1.7 2014/03/14 17:19:18 taca Exp $
 
-SHA1 (coffee-script-source-1.6.3.gem) = b97567bf39272d6d12f55a022e6c0addfd40cc3b
-RMD160 (coffee-script-source-1.6.3.gem) = 5fd3660c6e7fe463d96d741858374b49c0e8cf67
-Size (coffee-script-source-1.6.3.gem) = 51200 bytes
+SHA1 (coffee-script-source-1.7.0.gem) = 8f28a0b773a8f1ced6d70c3378f8274f7953e3a3
+RMD160 (coffee-script-source-1.7.0.gem) = 102067a755ef5c15208cd2f62008038ed5561e6b
+Size (coffee-script-source-1.7.0.gem) = 54272 bytes


Home | Main Index | Thread Index | Old Index