pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/textproc/ruby-haml Update ruby-haml from version 2.2.1...
details: https://anonhg.NetBSD.org/pkgsrc/rev/9cdf441d8cdd
branches: trunk
changeset: 574380:9cdf441d8cdd
user: seb <seb%pkgsrc.org@localhost>
date: Thu Apr 15 20:28:09 2010 +0000
description:
Update ruby-haml from version 2.2.13 to version 2.2.23.
Pkgsrc changes:
- adjust PLIST
Upstream changes:
* 2.2.23
[haml/sass] Don’t crash when rake gems is run in Rails with Haml
installed. Thanks to Florian Frank.
[haml ]Don’t remove \n in filters with interpolation.
[haml] Silence those annoying "regexp match /.../n against to UTF-8 string"
warnings.
[sass] When raising a file-not-found error, add a list of load paths that were
checked.
[sass] If an import isn’t found for a cached Sass file and the :full_exception
option is enabled, print the full exception rather than raising it.
[sass] Fix a bug with a weird interaction with Haml, DataMapper, and Rails 3
that caused some tag helpers to go into infinite recursion.
* 2.2.22
[haml/sass] Add a railtie so Haml and Sass will be automatically loaded
in Rails 3. Thanks to Daniel Neighman.
[haml] Add a deprecation message for using - with methods like form_for that
return strings in Rails 3. This is the same deprecation that exists in
Rails 3.
[haml] Make sure line numbers are reported correctly when filters are being
used.
[haml/sass] Make loading the gemspec not crash on read-only filesystems like
Heroku’s.
[haml] Don’t crash when methods like form_for return nil in, for example, Rails
3 beta.
[haml] Compatibility with Rails 3 beta’s RJS facilities.
* 2.2.21
[haml/sass] Fix a few bugs in the git-revision-reporting in
Haml::Version#version. In particular, it will still work if git gc has
been called recently, or if various files are missing.
[hamll/sass] Always use __FILE__ when reading files within the Haml repo
in the Rakefile. According to this bug report, this should make Haml
work better with Bundler.
[haml] Make the error message for - end a little more intuitive based on user
feedback.
[haml] Compatibility with methods like form_for that return strings rather than
concatenate to the template in Rails 3.
[haml] Add a with_tabs helper, which sets the indentation level for the
duration of a block.
* 2.2.20
[haml] The form_tag Rails helper is now properly marked as HTML-safe when using
Rails’ XSS protection with Rails 2.3.5.
[haml/sass] Calls to defined? shouldn’t interfere with Rails’
autoloading in very old versions (1.2.x).
[haml] Fix a bug where calls to ActionView’s render method with blocks and
layouts wouldn’t work under the Rails 3.0 beta.
[haml] Fix a bug where the closing tags of nested calls to
Haml::Helpers#haml_concat were improperly escaped under the Rails 3.0
beta.
[sass] If the cache file for a given Sass file is corrupt because it
doesn’t have enough content, produce a warning and read the Sass file
rather than letting the exception bubble up. This is consistent with
other sorts of sassc corruption handling.
* 2.2.19
[haml] Fix a bug with the integration with Rails’ XSS support. In particular,
correctly override safe_concat.
[sass] There were no changes made to Sass between versions 2.2.18 and
2.2.19.
* 2.2.18
[haml] Support the new XSS-protection API used in Rails 3.
[haml/sass] Use Rails.env rather than RAILS_ENV when running under Rails
3.0. Thanks to Duncan Grazier.
[haml] Add a --unix-newlines flag to all executables for outputting Unix-style
newlines on Windows.
[haml] Fix a couple bugs with the :erb filter: make sure error reporting uses
the correct line numbers, and allow multi-line expressions.
[haml] Fix a parsing bug for HTML-style attributes including #.
[sass] Support :line_numbers as an alias for :line_comments, since
that’s what the docs have said forever. Similarly, support
--line-numbers as a command-line option.
[sass] Add a --unix-newlines flag to all executables for outputting
Unix-style newlines on Windows.
[sass] Add a :unix_newlines option for Sass::Plugin for outputting
Unix-style newlines on Windows.
[sass] Fix the --cache-location flag, which was previously throwing
errors. Thanks to tav.
[sass] Allow comments at the beginning of the document to have arbitrary
indentation, just like comments elsewhere. Similarly, comment parsing is
a little nicer than before.
* 2.2.17
[haml] Fix compilation of HTML5 doctypes when using html2haml.
[sass] nil values for Sass options are now ignored, rather than raising
errors.
[sass] When the :full_exception option is false, raise the error in Ruby
code rather than swallowing it and printing something uninformative.
[sass] Fixed error-reporting when something goes wrong when loading Sass
using the sass executable. This used to raise a NameError because
Sass::SyntaxError wasn’t defined. Now it’ll raise the correct exception
instead.
[sass] Report the filename in warnings about selectors without
properties.
[sass] Fix a bug that appears when Plugin template locations have
multiple trailing slashes. Thanks to Jared Grippe.
[sass] Must Read! When @import is given a filename without an extension,
the behavior of rendering a CSS @import if no Sass file is found is
deprecated. In future versions, @import foo will either import the
template or raise an error.
* 2.2.16
[haml] Abstract out references to ActionView::TemplateError,
ActionView::TemplateHandler, etc. These have all been renamed to
ActionView::Template::* in Rails 3.0.
[sass] Fixed a bug where modules containing user-defined Sass functions
weren’t made available when simply included in Sass::Script::Functions
(Functions needed to be re-included in Functions::EvaluationContext).
Now the module simply needs to be included in Sass::Script::Functions.
* 2.2.15
[haml] Allow if statements with no content followed by else clauses. For
example:
- if foo - else bar
[sass] Added Sass::Script::Color#with for a way of setting color
channels that’s easier than manually constructing a new color and is
forwards-compatible with alpha-channel colors (to be introduced in Sass
2.4).
[sass] Added a missing require in Sass that caused crashes when it was
being run standalone.
* 2.2.14
[haml] Don’t print warnings when escaping attributes containing
non-ASCII characters in Ruby 1.9.
[haml] Don’t crash when parsing an XHTML Strict doctype in html2haml.
[haml] Support the HTML5 doctype in an XHTML document by using !!! 5 as the
doctype declaration.
[sass] All Sass functions now raise explicit errors if their inputs are of the incorrect type.
[sass] Allow the SassScript rgb() function to take percentages in addition to numerical values.
[sass] Fixed a bug where SassScript strings with # followed by #{} interpolation didn’t evaluate the interpolation.
[sass] SassScript Ruby API
These changes only affect people defining their own Sass functions
using Sass::Script::Functions.
Sass::Script::Color#value attribute is deprecated. Use
Sass::Script::Color#rgb instead. The returned array is now frozen as
well.
Add an assert_type function that’s available to
Sass::Script::Functions. This is useful for typechecking the inputs
to functions.
[sass] Rack Support
Sass 2.2.14 includes Rack middleware for running Sass, meaning that
all Rack-enabled frameworks can now use Sass. To activate this, just
add
require 'sass/plugin/rack'
use Sass::Plugin::Rack
to your config.ru. See the Sass::Plugin::Rack documentation for more
details.
diffstat:
textproc/ruby-haml/Makefile | 4 ++--
textproc/ruby-haml/PLIST | 5 ++++-
textproc/ruby-haml/distinfo | 8 ++++----
3 files changed, 10 insertions(+), 7 deletions(-)
diffs (58 lines):
diff -r ce1b721d916f -r 9cdf441d8cdd textproc/ruby-haml/Makefile
--- a/textproc/ruby-haml/Makefile Thu Apr 15 20:26:02 2010 +0000
+++ b/textproc/ruby-haml/Makefile Thu Apr 15 20:28:09 2010 +0000
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.3 2009/11/16 23:31:43 seb Exp $
+# $NetBSD: Makefile,v 1.4 2010/04/15 20:28:09 seb Exp $
-DISTNAME= haml-2.2.13
+DISTNAME= haml-2.2.23
PKGNAME= ${RUBY_PKGPREFIX}-${DISTNAME}
CATEGORIES= textproc
diff -r ce1b721d916f -r 9cdf441d8cdd textproc/ruby-haml/PLIST
--- a/textproc/ruby-haml/PLIST Thu Apr 15 20:26:02 2010 +0000
+++ b/textproc/ruby-haml/PLIST Thu Apr 15 20:28:09 2010 +0000
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.3 2009/10/31 06:18:16 seb Exp $
+@comment $NetBSD: PLIST,v 1.4 2010/04/15 20:28:09 seb Exp $
bin/css2sass
bin/haml
bin/html2haml
@@ -8,6 +8,7 @@
${GEM_LIBDIR}/CONTRIBUTING
${GEM_LIBDIR}/MIT-LICENSE
${GEM_LIBDIR}/README.md
+${GEM_LIBDIR}/REMEMBER
${GEM_LIBDIR}/REVISION
${GEM_LIBDIR}/Rakefile
${GEM_LIBDIR}/VERSION
@@ -32,6 +33,7 @@
${GEM_LIBDIR}/lib/haml/helpers/xss_mods.rb
${GEM_LIBDIR}/lib/haml/html.rb
${GEM_LIBDIR}/lib/haml/precompiler.rb
+${GEM_LIBDIR}/lib/haml/railtie.rb
${GEM_LIBDIR}/lib/haml/shared.rb
${GEM_LIBDIR}/lib/haml/template.rb
${GEM_LIBDIR}/lib/haml/template/patch.rb
@@ -46,6 +48,7 @@
${GEM_LIBDIR}/lib/sass/files.rb
${GEM_LIBDIR}/lib/sass/plugin.rb
${GEM_LIBDIR}/lib/sass/plugin/merb.rb
+${GEM_LIBDIR}/lib/sass/plugin/rack.rb
${GEM_LIBDIR}/lib/sass/plugin/rails.rb
${GEM_LIBDIR}/lib/sass/repl.rb
${GEM_LIBDIR}/lib/sass/script.rb
diff -r ce1b721d916f -r 9cdf441d8cdd textproc/ruby-haml/distinfo
--- a/textproc/ruby-haml/distinfo Thu Apr 15 20:26:02 2010 +0000
+++ b/textproc/ruby-haml/distinfo Thu Apr 15 20:28:09 2010 +0000
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.3 2009/11/16 23:31:43 seb Exp $
+$NetBSD: distinfo,v 1.4 2010/04/15 20:28:09 seb Exp $
-SHA1 (haml-2.2.13.gem) = 1bde1ace0175ae0c1b72eefcfd5f2e833812c831
-RMD160 (haml-2.2.13.gem) = 844a36f2db099ca242f6afc073f8537cbd370a03
-Size (haml-2.2.13.gem) = 144896 bytes
+SHA1 (haml-2.2.23.gem) = 49534730dbce6d253398de112d245773075620c3
+RMD160 (haml-2.2.23.gem) = be465b5b056207d09af42ed64392d4e47e400bce
+Size (haml-2.2.23.gem) = 154112 bytes
Home |
Main Index |
Thread Index |
Old Index