[Rt-commit] rt branch, 4.4/minify-css-js, repushed
Wallace Reis
wreis at bestpractical.com
Fri Feb 21 13:22:32 EST 2014
The branch 4.4/minify-css-js was deleted and repushed:
was 379e193a46f005b15f47812fa2d888622a05d574
now ee864dbc0b32b58b6ec7e3e9587196dcfb8c28d6
1: 65c9afb ! 1: 49fe920 Minify CSS
@@ -42,13 +42,13 @@
--- a/sbin/rt-test-dependencies.in
+++ b/sbin/rt-test-dependencies.in
@@
+ CGI::PSGI 0.12
Class::Accessor 0.34
Crypt::Eksblowfish
++CSS::Minifier::XS
CSS::Squish 0.06
-+CSS::Minifier::XS
Data::GUID
Date::Extract 0.02
- Date::Manip
diff --git a/t/web/squish.t b/t/web/squish.t
--- a/t/web/squish.t
@@ -69,7 +69,7 @@
-$m->content_like( qr!/\*\* End of .*?.css \*/!, 'squished css' );
-$m->content_lacks( 'counteract the titlebox',
- 'no mobile.css by default' );
-+$m->content_like( qr/Copyright\s*\(c\)\s*2008\,\s*Yahoo\!/, 'squished css' );
++$m->content_like( qr/body\{font.*table\{font/, 'squished css' );
+$m->content_lacks( 'a#fullsite', 'no mobile.css by default' );
$m->back;
@@ -81,7 +81,7 @@
-$m->content_like( qr!/\*\* End of .*?.css \*/!, 'squished css' );
-$m->content_contains( 'counteract the titlebox',
- 'has mobile.css' );
-+$m->content_like( qr/Copyright\s*\(c\)\s*2008\,\s*Yahoo\!/, 'squished css' );
++$m->content_like( qr/body\{font.*table\{font/, 'squished css' );
+$m->content_contains( 'a#fullsite', 'has mobile.css' );
$m->back;
2: 379e193 ! 2: d8b915a Minify JS
@@ -72,8 +72,10 @@
+++ b/etc/RT_Config.pm.in
@@
- =item C<$JSMinPath>
+ Set(@JSFiles, qw//);
+-=item C<$JSMinPath>
+-
-Path to the jsmin binary; if specified, it will be used to minify
-C<JSFiles>. The default, and the fallback if the binary cannot be
-found, is to simply concatenate the files.
@@ -84,10 +86,10 @@
-=cut
-
-# Set($JSMinPath, "/path/to/jsmin");
-+DEPRECATED: JS files are now minified by the RT app.
-
+-
=item C<@CSSFiles>
+ A list of additional CSS files to be included in head.
diff --git a/lib/RT/Squish/JS.pm b/lib/RT/Squish/JS.pm
--- a/lib/RT/Squish/JS.pm
@@ -146,13 +148,13 @@
--- a/sbin/rt-test-dependencies.in
+++ b/sbin/rt-test-dependencies.in
@@
- Tree::Simple 1.04
- UNIVERSAL::require
- XML::RSS 1.05
+ HTML::Scrubber 0.08
+ HTTP::Message 6.0
+ IPC::Run3
+JavaScript::Minifier::XS
- .
-
- $deps{'MAILGATE'} = [ text_to_hash( << '.') ];
+ JSON
+ LWP::Simple
+ List::MoreUtils
diff --git a/t/web/passthrough-jsmin b/t/web/passthrough-jsmin
deleted file mode 100755
@@ -182,3 +184,4 @@
$m->content_contains( 'function just_testing', "has not-by-default.js" );
$m->content_contains('jQuery.noConflict', "found default js content");
RT::Test->stop_server;
+
-: ------- > 3: ee864db Create UPGRADING-4.4 document
More information about the rt-commit
mailing list