From jifty-commit at lists.jifty.org Thu Apr 30 15:15:29 2015 From: jifty-commit at lists.jifty.org (Jifty commits) Date: Thu, 30 Apr 2015 15:15:29 -0400 (EDT) Subject: [Jifty-commit] jifty-dbi annotated tag, 0.78, created. 0.78 Message-ID: The annotated tag, 0.78 has been created at 94324b6aeb0011196236e17a24a1df5846abeb29 (tag) tagging 210b08072bf2eeb6b5bf6e3862615a7157c04e4b (commit) replaces 0.77 tagged by Alex Vandiver on Thu Apr 30 15:15:00 2015 -0400 - Log ----------------------------------------------------------------- Version 0.78 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iEYEABECAAYFAlVCfzQACgkQMflWJZZAbqC2mQCgp/nMVqL7OWYHManrijIjElNp /OkAnjWVqDJf84nm+k4/OaWBQCA5+zxt =etF1 -----END PGP SIGNATURE----- Alex Vandiver (2): Fix spelling tests Version 0.78 releng ----------------------------------------------------------------------- From jifty-commit at lists.jifty.org Thu Apr 30 15:15:27 2015 From: jifty-commit at lists.jifty.org (Jifty commits) Date: Thu, 30 Apr 2015 15:15:27 -0400 (EDT) Subject: [Jifty-commit] jifty-dbi branch, master, updated. 0.78 Message-ID: The branch, master has been updated via 210b08072bf2eeb6b5bf6e3862615a7157c04e4b (commit) via 21b87f4071f3a7caf4b9d35cf69124519e246ed1 (commit) from a8a1bfef811b680c6e70e48ec3cc3c4423ce774b (commit) Summary of changes: Changes | 4 ++++ META.yml | 12 +++++------ inc/Module/AutoInstall.pm | 42 +++++++++++++++++++++------------------ inc/Module/Install.pm | 22 +++++++++++--------- inc/Module/Install/AutoInstall.pm | 2 +- inc/Module/Install/Base.pm | 2 +- inc/Module/Install/Can.pm | 2 +- inc/Module/Install/Fetch.pm | 2 +- inc/Module/Install/Include.pm | 2 +- inc/Module/Install/Makefile.pm | 4 ++-- inc/Module/Install/Metadata.pm | 6 +++--- inc/Module/Install/Win32.pm | 2 +- inc/Module/Install/WriteAll.pm | 2 +- lib/Jifty/DBI.pm | 4 ++-- t/99-pod-spelling.t | 5 +++++ 15 files changed, 65 insertions(+), 48 deletions(-) - Log ----------------------------------------------------------------- commit 21b87f4071f3a7caf4b9d35cf69124519e246ed1 Author: Alex Vandiver Date: Thu Apr 30 15:14:28 2015 -0400 Fix spelling tests diff --git a/t/99-pod-spelling.t b/t/99-pod-spelling.t index 40bc4ec..bf6b8c7 100644 --- a/t/99-pod-spelling.t +++ b/t/99-pod-spelling.t @@ -34,6 +34,7 @@ dbh DBI deserialize dsn +durations formatter Glasser Hanenkamp @@ -50,6 +51,7 @@ lookups lossy marshalling memcached +MERCHANTABILITY metadata mhat mixin @@ -59,6 +61,7 @@ myscript mysql's NULLs ODBC +optimizations OtherClass OtherCollection paramhash @@ -69,6 +72,7 @@ prefetch prefetched prefetches preload +preloaded prepends PrintError QUERYSTRING @@ -94,6 +98,7 @@ Syck TABLENAME Tappe TODO +transactional unimported unlimit unmarshalling commit 210b08072bf2eeb6b5bf6e3862615a7157c04e4b Author: Alex Vandiver Date: Thu Apr 30 15:14:53 2015 -0400 Version 0.78 releng diff --git a/Changes b/Changes index 692dd76..3623d9a 100644 --- a/Changes +++ b/Changes @@ -1,5 +1,9 @@ Revision history for Perl extension Jifty::DBI. +0.78 2015-04-30 + * Make t/99-pod-spelling.t pass + * Updated packaging + 0.77 2013-12-01 * Fix for perl 5.19.4 parsing of @{ foo { ... } } * Fix signature diff --git a/META.yml b/META.yml index e0b004e..fde547f 100644 --- a/META.yml +++ b/META.yml @@ -8,7 +8,7 @@ configure_requires: ExtUtils::MakeMaker: 6.59 distribution_type: module dynamic_config: 1 -generated_by: 'Module::Install version 1.06' +generated_by: 'Module::Install version 1.14' license: perl meta-spec: url: http://module-build.sourceforge.net/META-spec-v1.4.html @@ -21,15 +21,15 @@ no_index: - t requires: Cache::Memcached: 0 - Cache::Simple::TimedExpiry: 0.21 + Cache::Simple::TimedExpiry: '0.21' Class::Accessor::Fast: 0 Class::Data::Inheritable: 0 Class::ReturnValue: 0.4 Class::Trigger: 0.12 Clone: 0 DBI: 0 - DBIx::DBSchema: 0.34 - Data::Page: 2.0 + DBIx::DBSchema: '0.34' + Data::Page: '2.0' DateTime: 0.34 DateTime::Format::ISO8601: 0 DateTime::Format::Strptime: 0 @@ -40,7 +40,7 @@ requires: Object::Declare: 0.22 Scalar::Defer: 0.1 Time::Duration: 0 - Time::Duration::Parse: 0.06 + Time::Duration::Parse: '0.06' UNIVERSAL::require: 0.11 URI: 0 YAML::Syck: 0 @@ -49,4 +49,4 @@ requires: resources: license: http://dev.perl.org/licenses/ repository: https://github.com/bestpractical/jifty-dbi -version: 0.77 +version: '0.78' diff --git a/inc/Module/AutoInstall.pm b/inc/Module/AutoInstall.pm index aa7aa92..cd93d14 100644 --- a/inc/Module/AutoInstall.pm +++ b/inc/Module/AutoInstall.pm @@ -8,7 +8,7 @@ use ExtUtils::MakeMaker (); use vars qw{$VERSION}; BEGIN { - $VERSION = '1.06'; + $VERSION = '1.14'; } # special map on pre-defined feature sets @@ -115,7 +115,7 @@ sub import { print "*** $class version " . $class->VERSION . "\n"; print "*** Checking for Perl dependencies...\n"; - my $cwd = Cwd::cwd(); + my $cwd = Cwd::getcwd(); $Config = []; @@ -166,7 +166,7 @@ sub import { $modules = [ %{$modules} ] if UNIVERSAL::isa( $modules, 'HASH' ); unshift @$modules, -default => &{ shift(@$modules) } - if ( ref( $modules->[0] ) eq 'CODE' ); # XXX: bugward combatability + if ( ref( $modules->[0] ) eq 'CODE' ); # XXX: bugward compatibility while ( my ( $mod, $arg ) = splice( @$modules, 0, 2 ) ) { if ( $mod =~ m/^-(\w+)$/ ) { @@ -345,22 +345,26 @@ sub install { my $i; # used below to strip leading '-' from config keys my @config = ( map { s/^-// if ++$i; $_ } @{ +shift } ); - my ( @modules, @installed ); - while ( my ( $pkg, $ver ) = splice( @_, 0, 2 ) ) { + my ( @modules, @installed, @modules_to_upgrade ); + while (my ($pkg, $ver) = splice(@_, 0, 2)) { - # grep out those already installed - if ( _version_cmp( _version_of($pkg), $ver ) >= 0 ) { - push @installed, $pkg; - } - else { - push @modules, $pkg, $ver; - } - } + # grep out those already installed + if (_version_cmp(_version_of($pkg), $ver) >= 0) { + push @installed, $pkg; + if ($UpgradeDeps) { + push @modules_to_upgrade, $pkg, $ver; + } + } + else { + push @modules, $pkg, $ver; + } + } - if ($UpgradeDeps) { - push @modules, @installed; - @installed = (); - } + if ($UpgradeDeps) { + push @modules, @modules_to_upgrade; + @installed = (); + @modules_to_upgrade = (); + } return @installed unless @modules; # nothing to do return @installed if _check_lock(); # defer to the CPAN shell @@ -611,7 +615,7 @@ sub _under_cpan { require Cwd; require File::Spec; - my $cwd = File::Spec->canonpath( Cwd::cwd() ); + my $cwd = File::Spec->canonpath( Cwd::getcwd() ); my $cpan = File::Spec->canonpath( $CPAN::Config->{cpan_home} ); return ( index( $cwd, $cpan ) > -1 ); @@ -927,4 +931,4 @@ END_MAKE __END__ -#line 1193 +#line 1197 diff --git a/inc/Module/Install.pm b/inc/Module/Install.pm index 4ecf46b..ff767fa 100644 --- a/inc/Module/Install.pm +++ b/inc/Module/Install.pm @@ -17,7 +17,7 @@ package Module::Install; # 3. The ./inc/ version of Module::Install loads # } -use 5.005; +use 5.006; use strict 'vars'; use Cwd (); use File::Find (); @@ -31,7 +31,7 @@ BEGIN { # This is not enforced yet, but will be some time in the next few # releases once we can make sure it won't clash with custom # Module::Install extensions. - $VERSION = '1.06'; + $VERSION = '1.14'; # Storage for the pseudo-singleton $MAIN = undef; @@ -156,10 +156,10 @@ END_DIE sub autoload { my $self = shift; my $who = $self->_caller; - my $cwd = Cwd::cwd(); + my $cwd = Cwd::getcwd(); my $sym = "${who}::AUTOLOAD"; $sym->{$cwd} = sub { - my $pwd = Cwd::cwd(); + my $pwd = Cwd::getcwd(); if ( my $code = $sym->{$pwd} ) { # Delegate back to parent dirs goto &$code unless $cwd eq $pwd; @@ -239,7 +239,7 @@ sub new { # ignore the prefix on extension modules built from top level. my $base_path = Cwd::abs_path($FindBin::Bin); - unless ( Cwd::abs_path(Cwd::cwd()) eq $base_path ) { + unless ( Cwd::abs_path(Cwd::getcwd()) eq $base_path ) { delete $args{prefix}; } return $args{_self} if $args{_self}; @@ -338,7 +338,7 @@ sub find_extensions { if ( $subpath eq lc($subpath) || $subpath eq uc($subpath) ) { my $content = Module::Install::_read($subpath . '.pm'); my $in_pod = 0; - foreach ( split //, $content ) { + foreach ( split /\n/, $content ) { $in_pod = 1 if /^=\w/; $in_pod = 0 if /^=cut/; next if ($in_pod || /^=cut/); # skip pod text @@ -378,6 +378,7 @@ eval( $] >= 5.006 ? <<'END_NEW' : <<'END_OLD' ); die $@ if $@; sub _read { local *FH; open( FH, '<', $_[0] ) or die "open($_[0]): $!"; + binmode FH; my $string = do { local $/; }; close FH or die "close($_[0]): $!"; return $string; @@ -386,6 +387,7 @@ END_NEW sub _read { local *FH; open( FH, "< $_[0]" ) or die "open($_[0]): $!"; + binmode FH; my $string = do { local $/; }; close FH or die "close($_[0]): $!"; return $string; @@ -416,6 +418,7 @@ eval( $] >= 5.006 ? <<'END_NEW' : <<'END_OLD' ); die $@ if $@; sub _write { local *FH; open( FH, '>', $_[0] ) or die "open($_[0]): $!"; + binmode FH; foreach ( 1 .. $#_ ) { print FH $_[$_] or die "print($_[0]): $!"; } @@ -425,6 +428,7 @@ END_NEW sub _write { local *FH; open( FH, "> $_[0]" ) or die "open($_[0]): $!"; + binmode FH; foreach ( 1 .. $#_ ) { print FH $_[$_] or die "print($_[0]): $!"; } @@ -434,7 +438,7 @@ END_OLD # _version is for processing module versions (eg, 1.03_05) not # Perl versions (eg, 5.8.1). -sub _version ($) { +sub _version { my $s = shift || 0; my $d =()= $s =~ /(\.)/g; if ( $d >= 2 ) { @@ -450,12 +454,12 @@ sub _version ($) { return $l + 0; } -sub _cmp ($$) { +sub _cmp { _version($_[1]) <=> _version($_[2]); } # Cloned from Params::Util::_CLASS -sub _CLASS ($) { +sub _CLASS { ( defined $_[0] and diff --git a/inc/Module/Install/AutoInstall.pm b/inc/Module/Install/AutoInstall.pm index 6efe4fe..475303e 100644 --- a/inc/Module/Install/AutoInstall.pm +++ b/inc/Module/Install/AutoInstall.pm @@ -6,7 +6,7 @@ use Module::Install::Base (); use vars qw{$VERSION @ISA $ISCORE}; BEGIN { - $VERSION = '1.06'; + $VERSION = '1.14'; @ISA = 'Module::Install::Base'; $ISCORE = 1; } diff --git a/inc/Module/Install/Base.pm b/inc/Module/Install/Base.pm index 802844a..4206347 100644 --- a/inc/Module/Install/Base.pm +++ b/inc/Module/Install/Base.pm @@ -4,7 +4,7 @@ package Module::Install::Base; use strict 'vars'; use vars qw{$VERSION}; BEGIN { - $VERSION = '1.06'; + $VERSION = '1.14'; } # Suspend handler for "redefined" warnings diff --git a/inc/Module/Install/Can.pm b/inc/Module/Install/Can.pm index 22167b8..9929b1b 100644 --- a/inc/Module/Install/Can.pm +++ b/inc/Module/Install/Can.pm @@ -8,7 +8,7 @@ use Module::Install::Base (); use vars qw{$VERSION @ISA $ISCORE}; BEGIN { - $VERSION = '1.06'; + $VERSION = '1.14'; @ISA = 'Module::Install::Base'; $ISCORE = 1; } diff --git a/inc/Module/Install/Fetch.pm b/inc/Module/Install/Fetch.pm index bee0c4f..3d8de76 100644 --- a/inc/Module/Install/Fetch.pm +++ b/inc/Module/Install/Fetch.pm @@ -6,7 +6,7 @@ use Module::Install::Base (); use vars qw{$VERSION @ISA $ISCORE}; BEGIN { - $VERSION = '1.06'; + $VERSION = '1.14'; @ISA = 'Module::Install::Base'; $ISCORE = 1; } diff --git a/inc/Module/Install/Include.pm b/inc/Module/Install/Include.pm index 8310e4c..f274f87 100644 --- a/inc/Module/Install/Include.pm +++ b/inc/Module/Install/Include.pm @@ -6,7 +6,7 @@ use Module::Install::Base (); use vars qw{$VERSION @ISA $ISCORE}; BEGIN { - $VERSION = '1.06'; + $VERSION = '1.14'; @ISA = 'Module::Install::Base'; $ISCORE = 1; } diff --git a/inc/Module/Install/Makefile.pm b/inc/Module/Install/Makefile.pm index 7052f36..66993af 100644 --- a/inc/Module/Install/Makefile.pm +++ b/inc/Module/Install/Makefile.pm @@ -8,7 +8,7 @@ use Fcntl qw/:flock :seek/; use vars qw{$VERSION @ISA $ISCORE}; BEGIN { - $VERSION = '1.06'; + $VERSION = '1.14'; @ISA = 'Module::Install::Base'; $ISCORE = 1; } @@ -133,7 +133,7 @@ sub makemaker_args { return $args; } -# For mm args that take multiple space-seperated args, +# For mm args that take multiple space-separated args, # append an argument to the current list. sub makemaker_append { my $self = shift; diff --git a/inc/Module/Install/Metadata.pm b/inc/Module/Install/Metadata.pm index 58430f3..e547fa0 100644 --- a/inc/Module/Install/Metadata.pm +++ b/inc/Module/Install/Metadata.pm @@ -6,7 +6,7 @@ use Module::Install::Base (); use vars qw{$VERSION @ISA $ISCORE}; BEGIN { - $VERSION = '1.06'; + $VERSION = '1.14'; @ISA = 'Module::Install::Base'; $ISCORE = 1; } @@ -347,7 +347,7 @@ sub name_from { ^ \s* package \s* ([\w:]+) - \s* ; + [\s|;]* /ixms ) { my ($name, $module_name) = ($1, $1); @@ -705,7 +705,7 @@ sub _write_mymeta_data { my @yaml = Parse::CPAN::Meta::LoadFile('META.yml'); my $meta = $yaml[0]; - # Overwrite the non-configure dependency hashs + # Overwrite the non-configure dependency hashes delete $meta->{requires}; delete $meta->{build_requires}; delete $meta->{recommends}; diff --git a/inc/Module/Install/Win32.pm b/inc/Module/Install/Win32.pm index eeaa3fe..9706e5f 100644 --- a/inc/Module/Install/Win32.pm +++ b/inc/Module/Install/Win32.pm @@ -6,7 +6,7 @@ use Module::Install::Base (); use vars qw{$VERSION @ISA $ISCORE}; BEGIN { - $VERSION = '1.06'; + $VERSION = '1.14'; @ISA = 'Module::Install::Base'; $ISCORE = 1; } diff --git a/inc/Module/Install/WriteAll.pm b/inc/Module/Install/WriteAll.pm index 85d8018..dbedc00 100644 --- a/inc/Module/Install/WriteAll.pm +++ b/inc/Module/Install/WriteAll.pm @@ -6,7 +6,7 @@ use Module::Install::Base (); use vars qw{$VERSION @ISA $ISCORE}; BEGIN { - $VERSION = '1.06'; + $VERSION = '1.14'; @ISA = qw{Module::Install::Base}; $ISCORE = 1; } diff --git a/lib/Jifty/DBI.pm b/lib/Jifty/DBI.pm index 76bc10f..bcf827b 100644 --- a/lib/Jifty/DBI.pm +++ b/lib/Jifty/DBI.pm @@ -2,7 +2,7 @@ package Jifty::DBI; use warnings; use strict; -$Jifty::DBI::VERSION = '0.77'; +$Jifty::DBI::VERSION = '0.78'; =head1 NAME @@ -205,7 +205,7 @@ ever else I think of. =head1 LICENSE -Jifty::DBI is Copyright 2005-2010 Best Practical Solutions, LLC. +Jifty::DBI is Copyright 2005-2015 Best Practical Solutions, LLC. Jifty::DBI is distributed under the same terms as Perl itself. =cut ----------------------------------------------------------------------- From jifty-commit at lists.jifty.org Thu Apr 30 16:47:41 2015 From: jifty-commit at lists.jifty.org (Jifty commits) Date: Thu, 30 Apr 2015 16:47:41 -0400 (EDT) Subject: [Jifty-commit] jifty annotated tag, 1.50430, created. 1.50430 Message-ID: The annotated tag, 1.50430 has been created at 7fe1d84a1ec0d080ccaae0f82ef545cba4344405 (tag) tagging 53fc67152580a418ad2981c4d5bf64d092ddfd5a (commit) replaces 1.10518 tagged by Alex Vandiver on Thu Apr 30 16:46:58 2015 -0400 - Log ----------------------------------------------------------------- Version 1.50430 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iEYEABECAAYFAlVClMIACgkQMflWJZZAbqCCdwCeOKLH6pdYwkrlnj547924QDnG VuYAn0/q3omiAXLJO8NhBW2TrBhgKHxw =Zs7j -----END PGP SIGNATURE----- Alex Vandiver (89): Jifty::CAS no longer ISA Jifty::CAS::Store, with stupid ISA tricks Make Jifty::CAS::Store into an instance, and Moose-ify There is no reason the memcached CAS should have an explicit expiration Remove MemcachedFallback; later commits will add better fallback options Split the memory cache out into its own class, making Jifty::CAS::Store abstract Support different CAS backends for different domains; config version bump Make the CAS do its own serving, as opposed to relying on CCJS Add a way for a CAS backend to advertize itself as "durable" Add a durable local file CAS Add a tool to generate CCJS externally, on command generate_early is never what you want if you have external_publish Add a tiered CAS store; this allows a combination of durability and speed Merge branch 'cas-rewrite' Redispatch wrong relative-path CSS/JS requests from the squished versions Checking for path hygene in continuation returns is no longer necessary Allow a mechanism to force-set certain values, ignoring merging rules Allow a site_config.yml to override config.yml's plugin configuration, based on plugin class name Fix pod header sizes Add plugins one-at-a-time Make signup an optional part of the login plugin Make password hashing work out-of-the-box with the login plugin Allow Jifty->web->render_template to take a hashref of args to render with Factor out all Halo logic into a standalone plugin Ensure that Template::Declare halos run in the Provide backwards compatibility with old HTML::Mason wrapper files Short-circuit halo close on error Explicitly add Halo plugin to a tests which needs it Reduce repetition in back-compat configuration analysis Revert "Add CDN support to CompressedCSSandJS" Wrap links to static resources and CAS, prepending an optional CDN host Remove the IEFixes-specific CDN in favor of the newly added global CDN config Update MANIFEST; this fixes test failures caused by missing blib/ files POD updates for t/99-pod-coverage.t and t/99-pod-spelling.t Correct skip_all message for tabs author test Return cached failed sharedir early, rather than failing again Factor out shared code between _calculate_share codepaths Update Module::Install Revert "Add CDN support to CompressedCSSandJS" Wrap links to static resources and CAS, prepending an optional CDN host Remove the IEFixes-specific CDN in favor of the newly added global CDN config Gut the old IPC::PubSub implementation Add a minimal Pubsub plugin Add a basic Web::Hippie::Pipe endpoint at /__jifty/_hippie Accept -s Twiggy, and auto-detect if we should run that rather than Standalone Factor client handling code into its own (still no-op) module Use AppName::PubSub as the standard app-specific class for connectons Subscribe each connection to its own channel, for targetted delivery of messages Store (and re-enter on each message) the request and current user Parse and run actions passed from the client over the pipe Split hpipe functions into their own .js file Display hpipe-sent action results using jgrowl Store subscriptions generated during the request to be subscribed to in the pipe Don't bother adding action limits during subrequests Re-indent Split apply_fragment_updates into XML parsing and application Push fragment updates on appropriate events Add a simple RPC class atop the message bus Set a VERSION on the PubSub and RPC plugins Never assign to global (non-lexical) $_, due to AnyEvent event loop ->clear_for may be called before any subs are configured Rename hpipe to pubsub, to make its use more understandable Rename "render_with" key to Jifty->subs->add to the more canonical "path" For future-proofing, change prepend "jifty." to internal types from the client Add a Jifty AnyMQ subclass which pushes "type" explicitly For consistency, force messages sent via ->send to have a type Allow Jifty->subs->add( topic => "..." ) for direct-to-client subs Rename some ->new methods to be private Intentionally ignore subscriptions during region push Allow plugin configuration of the RPC serialization Add dependencies for the PubSub and RPC plugins Add documentation for all methods Reorder methods to read more logically in POD Make the dependencies tests happy Make the POD spelling test happy Update MANIFEST Remove old dead code from jifty.js Move unescape to being an internal method Tests now require width and height on images; placate them Make the POD spelling test happy Merge branch 'pubsub' Ensure that the current path is not interpreted as a regex Switch to the modern "use utf8" Fix typos found by Debian Anchor expressions, and ignore MYMETA.json Stop altering hash reference during "each" iteration Fix a backwards L<> in POD Modern Date::Manip has deprecated ConvTZ, in favor of a more expressive ForceDate Set explicit =encoding on non-ASCII pod files; switch to UTF-8 from ISO-8859-1 Version 1.50430 releng Jesse Vincent (13): Test::WWW::Mechanize no longer treats content_lacks as content_unlike, Quiet down 'diag' statements when we're not running in verbose mode Force selenium tests to run with a standalone server, rather than an Add CDN support to CompressedCSSandJS CDN enable a couple more uses of static CDN enable a couple more uses of static Merge remote-tracking branch 'remotes/origin/global-cdn' Actually log something to the debug log when the dispatcher requests a when not compressing CSS, don't use a literal \n after each CSS library. It turns out that clients that don't post a content type cause a warning :/ Add a PUT method to update a single column of a model to the REST API Drop Clientside sessions, which have never had any tests to an optional feature. used the wrong quotes. broke the regex. Luke Closs (5): Support using a subclassed Test::WWW::Selenium Finish testing so no_plan tests are happy. Add a WebDriver layer, similar to Selenium bump the version Add Jifty::Filter::JSON Shawn M Moore (1): Doc typo fix Thomas Sibley (46): Don't load the cssQuery compat JS anymore Remove manual h1.title elements since we specify page titles for the templates Remove the unused focus_javascript method Make the signup and login widgets a bit more flexible for apps to use Include the user-written condition in debug messages Log a debug message for under similar to before, on, and after Don't lose errors in our eval when building the upgrade steps Make full page refresh notifications sticky Don't require that Popout region links be in a region already or specify an element Add an empty method to Jifty::Web::Menu for deleting all children Bump the version for external deps Consolidate the jGrowl triggers and make full page refresh notifications only 10s, not sticky Doc fix I noticed while munging about J:ACTIONS Provide a no_request option to eliminate some script boilerplate Rewrite the documentation for record_detailed_messages so it doesn't lie Provide a class that leaves form elements enabled during ajax Remove unused and broken code Refactor the placeholder onblur handler so it can be called separately Clear placeholders before we serialize a form Strict JS parsers hate trailing commas... it ain't Perl Template args should be able to be 0 Only reinstate a placeholder if the input had one before we cleared it Try to be less brittle if we find ourselves without a placeholderText attribute Force the default configured URL when called from a Jifty::Notification Jifty.update supports before/after region insertion modes, so form elements should too Test that printing with multiple arguments works Print more than just the first argument in our overridden version of print Merge branch 'lukec/master' Don't call done_testing if the test is marked as no_plan Don't specify an absolute path to firefox -- let Selenium search Test for Alien::SeleniumRC failure and yell about it Extract action order information more robustly when AJAX submitting Test request mapping inside webservices action arguments Request map action arguments submitted via YAML or JSON Serialize actions to their moniker for JSON Selenium tests require an actual server Preserve current request headers when returning from a continuation Bump version for external deps Merge branch 'config-extensions' Update Module::Install framework Append clickable query params _before_ any hash fragment Bump version for external deps Fix a syntax error introduced by 070c6eab Unescape and potentially decode UTF8 in REST paramters Trailing commas make strict JS parsers unhappy YAML::Syck 1.22 fixed a spelling error in an error message which we catch ----------------------------------------------------------------------- From jifty-commit at lists.jifty.org Thu Apr 30 16:47:40 2015 From: jifty-commit at lists.jifty.org (Jifty commits) Date: Thu, 30 Apr 2015 16:47:40 -0400 (EDT) Subject: [Jifty-commit] jifty branch, master, updated. 1.50430 Message-ID: The branch, master has been updated via 53fc67152580a418ad2981c4d5bf64d092ddfd5a (commit) via 090ec94b16ed1377443e3c3859d4eb27d2d844a5 (commit) via 6422ab8098a86efe67147cf8b5bacdfbf2475e72 (commit) via 35bb2635637ea1354bfe87c3419ff9e18556aa18 (commit) via 81ec82a83bdfe455e02414778aa6d5cd0ce234c1 (commit) via 221db0b3e28a5a62cf46e4bf9cddc4aecc0e44af (commit) via 07b9736b160a9459097d0201dc75cea97e7b5559 (commit) via db83b10be98f9823f330a789448211764507fa80 (commit) from 113f5e2f2044d8b05f7e496695fd19ae2ac40084 (commit) Summary of changes: .gitignore | 36 +++--- Changelog | 12 ++ MANIFEST | 1 + inc/Module/AutoInstall.pm | 44 ++++--- inc/Module/Install.pm | 22 ++-- inc/Module/Install/AutoInstall.pm | 2 +- inc/Module/Install/Base.pm | 2 +- inc/Module/Install/Can.pm | 2 +- inc/Module/Install/Fetch.pm | 2 +- inc/Module/Install/Include.pm | 2 +- inc/Module/Install/Makefile.pm | 4 +- inc/Module/Install/Metadata.pm | 6 +- inc/Module/Install/Scripts.pm | 2 +- inc/Module/Install/Share.pm | 2 +- inc/Module/Install/Win32.pm | 2 +- inc/Module/Install/WriteAll.pm | 2 +- lib/Jifty.pm | 4 +- lib/Jifty/API.pm | 2 +- lib/Jifty/Action.pm | 2 +- lib/Jifty/DateTime.pm | 7 +- lib/Jifty/Manual/Actions_zhtw.pod | 2 + lib/Jifty/Manual/JavaScript_zhtw.pod | 2 + lib/Jifty/Manual/Models.pod | 2 +- lib/Jifty/Manual/PageRegions.pod | 2 +- lib/Jifty/Manual/Tutorial_de.pod | 214 ++++++++++++++++--------------- lib/Jifty/Manual/Tutorial_zhtw.pod | 2 +- lib/Jifty/Plugin/ViewDeclarePage/Page.pm | 2 +- lib/Jifty/Request.pm | 3 +- 28 files changed, 205 insertions(+), 182 deletions(-) - Log ----------------------------------------------------------------- commit db83b10be98f9823f330a789448211764507fa80 Author: Alex Vandiver Date: Thu Apr 30 15:19:37 2015 -0400 Switch to the modern "use utf8" Fixes CPAN #102760 diff --git a/lib/Jifty.pm b/lib/Jifty.pm index 835493f..a70500f 100644 --- a/lib/Jifty.pm +++ b/lib/Jifty.pm @@ -1,9 +1,9 @@ use warnings; use strict; +use utf8; package Jifty; use Data::UUID; -use encoding 'utf8'; use Class::Trigger; BEGIN { commit 07b9736b160a9459097d0201dc75cea97e7b5559 Author: Alex Vandiver Date: Thu Apr 30 15:20:31 2015 -0400 Fix typos found by Debian Fixes CPAN #75581 diff --git a/lib/Jifty/Action.pm b/lib/Jifty/Action.pm index aeddb7a..e519fcd 100644 --- a/lib/Jifty/Action.pm +++ b/lib/Jifty/Action.pm @@ -491,7 +491,7 @@ sub _form_widget { # It is in fact a form field for this action my $sticky = 0; - # $sticky can be overriden per-parameter + # $sticky can be overridden per-parameter if ( defined $field_info->{sticky} ) { $sticky = $field_info->{sticky}; } diff --git a/lib/Jifty/Manual/Models.pod b/lib/Jifty/Manual/Models.pod index 1cf88a7..0e5d691 100644 --- a/lib/Jifty/Manual/Models.pod +++ b/lib/Jifty/Manual/Models.pod @@ -60,7 +60,7 @@ Creating a model has important side effects: =back -To get all these things done, Jifty allows to describe the schema +To get all these things done, Jifty allows one to describe the schema definition in a simply comprehensible but powerful syntax that looks more like written text than a programming language. The schema definition is made inside the C package and diff --git a/lib/Jifty/Manual/PageRegions.pod b/lib/Jifty/Manual/PageRegions.pod index ae3cb07..d37dae1 100644 --- a/lib/Jifty/Manual/PageRegions.pod +++ b/lib/Jifty/Manual/PageRegions.pod @@ -199,7 +199,7 @@ First of all you'll need a region's component F: In this component we have one argument C<$collapsed> that controls either we show link or information. By default we prefer hidden state and in this case we show only the link with an C action that refreshes the -current region, however value of the argument is overriden. +current region, however value of the argument is overridden. You can add any arguments you want to this component that may be required to show the additional information, for example an id of some object, but diff --git a/lib/Jifty/Manual/Tutorial_zhtw.pod b/lib/Jifty/Manual/Tutorial_zhtw.pod index b128215..995c28a 100644 --- a/lib/Jifty/Manual/Tutorial_zhtw.pod +++ b/lib/Jifty/Manual/Tutorial_zhtw.pod @@ -453,7 +453,7 @@ F??? Jifty ?????? C ????????????????????? $self->render_header(); body { - # so that we dont show menu template here. + # so that we don't show menu template here. $self->render_pre_content_hook(); $body_code->(); diff --git a/lib/Jifty/Plugin/ViewDeclarePage/Page.pm b/lib/Jifty/Plugin/ViewDeclarePage/Page.pm index e051af1..a035076 100644 --- a/lib/Jifty/Plugin/ViewDeclarePage/Page.pm +++ b/lib/Jifty/Plugin/ViewDeclarePage/Page.pm @@ -31,7 +31,7 @@ Page classes implement such layouts. It's very hard to extended L class as it's written in such a way that forces you to copy&paste some -internals from the class to make overriden method work and don't +internals from the class to make overridden method work and don't break things. I think this implementation is much better thing. To use this class commit 221db0b3e28a5a62cf46e4bf9cddc4aecc0e44af Author: Alex Vandiver Date: Thu Apr 30 15:33:23 2015 -0400 Anchor expressions, and ignore MYMETA.json diff --git a/.gitignore b/.gitignore index 13d2d51..d8515a1 100644 --- a/.gitignore +++ b/.gitignore @@ -1,23 +1,23 @@ -MANIFEST -MANIFEST.bak -META.yml -MYMETA.yml -Makefile -Makefile.old -SIGNATURE -blib/ -inc/ -pm_to_blib -jiftyapp -t/*/mason*/ -t/*/t/mailbox* -var/ -mason*/ -.prove +/MANIFEST +/MANIFEST.bak +/META.yml +/MYMETA.* +/Makefile +/Makefile.old +/SIGNATURE +/blib/ +/inc/ +/pm_to_blib +/jiftyapp +/t/*/mason*/ +/t/*/t/mailbox* +/var/ +/mason*/ +/.prove *.swp \#*# .#* -t/TestApp-Plugin-SetupWizard/etc/site_config.yml -t/TestApp-Plugin-SetupWizard/testapp_plugin_setupwizard* +/t/TestApp-Plugin-SetupWizard/etc/site_config.yml +/t/TestApp-Plugin-SetupWizard/testapp_plugin_setupwizard* commit 81ec82a83bdfe455e02414778aa6d5cd0ce234c1 Author: Alex Vandiver Date: Thu Apr 30 15:33:43 2015 -0400 Stop altering hash reference during "each" iteration diff --git a/lib/Jifty/Request.pm b/lib/Jifty/Request.pm index a7dbd7d..18c3d1b 100644 --- a/lib/Jifty/Request.pm +++ b/lib/Jifty/Request.pm @@ -1057,7 +1057,8 @@ sub do_mapping { $self->argument($key => $value); } for my $request_action ($self->actions) { - while (my ($arg, $map) = each %{$request_action->arguments || {}}) { + for my $arg (keys %{$request_action->arguments || {}}) { + my $map = $request_action->arguments->{$arg}; my ($key, $value) = Jifty::Request::Mapper->map(destination => $arg, source => $map, %args); next unless $key ne $arg or not defined $value or $value ne $map; $request_action->delete($arg); commit 35bb2635637ea1354bfe87c3419ff9e18556aa18 Author: Alex Vandiver Date: Thu Apr 30 16:45:12 2015 -0400 Fix a backwards L<> in POD diff --git a/lib/Jifty/API.pm b/lib/Jifty/API.pm index 557d00d..ae01d83 100644 --- a/lib/Jifty/API.pm +++ b/lib/Jifty/API.pm @@ -228,7 +228,7 @@ Method that L, L, L, and L call internally; I is one of C, C, C, or C. Limits are evaluated in the order they're called. The last limit that applies will be the one which takes effect. Regexes are matched against the class; strings are -fully L and used as an exact match against the class name. +fully L and used as an exact match against the class name. The base set of restrictions (which is reset every request) is set in L, and usually modified by the application's L if need be. commit 6422ab8098a86efe67147cf8b5bacdfbf2475e72 Author: Alex Vandiver Date: Thu Apr 30 16:45:33 2015 -0400 Modern Date::Manip has deprecated ConvTZ, in favor of a more expressive ForceDate diff --git a/lib/Jifty/DateTime.pm b/lib/Jifty/DateTime.pm index a60861c..4295ccb 100644 --- a/lib/Jifty/DateTime.pm +++ b/lib/Jifty/DateTime.pm @@ -299,16 +299,11 @@ sub new_from_string { $args{time_zone} ? (time_zone => $args{time_zone}) : (), ); - my $dt_now = $class->now; - my $now = $dt_now->ymd . '-' . $dt_now->hms; - require Date::Manip; - # TZ sets the timezone for parsing - # ConvTZ sets the output timezone # ForceDate forces the current date to be now in the user's timezone, # if we don't set it then DM uses the machine's timezone - Date::Manip::Date_Init("TZ=$offset", "ConvTZ=+0000", "ForceDate=$now"); + Date::Manip::Date_Init("ForceDate=now,$offset"); $epoch = Date::Manip::UnixDate( $string, "%o" ); } commit 090ec94b16ed1377443e3c3859d4eb27d2d844a5 Author: Alex Vandiver Date: Thu Apr 30 16:46:12 2015 -0400 Set explicit =encoding on non-ASCII pod files; switch to UTF-8 from ISO-8859-1 diff --git a/lib/Jifty/Manual/Actions_zhtw.pod b/lib/Jifty/Manual/Actions_zhtw.pod index 8a3a7d4..260707f 100644 --- a/lib/Jifty/Manual/Actions_zhtw.pod +++ b/lib/Jifty/Manual/Actions_zhtw.pod @@ -1,3 +1,5 @@ +=encoding utf8 + =head1 NAME Jifty::Manual::Actions - ??? Jifty ?????? diff --git a/lib/Jifty/Manual/JavaScript_zhtw.pod b/lib/Jifty/Manual/JavaScript_zhtw.pod index 89dedde..09e2dfa 100644 --- a/lib/Jifty/Manual/JavaScript_zhtw.pod +++ b/lib/Jifty/Manual/JavaScript_zhtw.pod @@ -1,3 +1,5 @@ +=encoding utf8 + =head1 NAME Jifty::Manual::JavaScript_zhtw - Jifty ??? JavaScript ?????????????????? diff --git a/lib/Jifty/Manual/Tutorial_de.pod b/lib/Jifty/Manual/Tutorial_de.pod index bcfc6f9..42419bb 100644 --- a/lib/Jifty/Manual/Tutorial_de.pod +++ b/lib/Jifty/Manual/Tutorial_de.pod @@ -1,6 +1,8 @@ +=encoding utf8 + =head1 NAME -Jifty::Manual::Tutorial_de - Einf?hrung in Jifty +Jifty::Manual::Tutorial_de - Einf??hrung in Jifty =head1 BESCHREIBUNG @@ -18,28 +20,28 @@ es schreiben. =head2 Jifty installieren -Nicht wirklich eine gro?e Sache. Wir glauben stark an das DRY (Don't +Nicht wirklich eine gro??e Sache. Wir glauben stark an das DRY (Don't Repeat Yourself -- Keine Wiederholungen) Prinzip. Das ist einer der -gro?en Gr?nde, warum wir Perl und das CPAN lieben. Jifty benutzt viel -Code aus dem CPAN. Bei der letzten Z?hlung waren es wenigstens 60 +gro??en Gr??nde, warum wir Perl und das CPAN lieben. Jifty benutzt viel +Code aus dem CPAN. Bei der letzten Z??hlung waren es wenigstens 60 Pakete. Die meisten Module sind auf vielen Plattformen einsetzbare nur in Perl geschriebene Module und sollten ohne Probleme funktionieren. Wir haben einige Anstrengungen unternommen, damit Sie nicht Ihre Zeit -damit verbringen m?ssen, Abh?ngigkeiten aufzul?sen, nur um Jifty zu +damit verbringen m??ssen, Abh??ngigkeiten aufzul??sen, nur um Jifty zu installieren. Das Jifty Installationsprogramm stellt fest, welche -Module Ihr System ben?tigt und l?dt bei Bedarf die erforderlichen +Module Ihr System ben??tigt und l??dt bei Bedarf die erforderlichen Module nach. Also machen Sie sich keine Sorgen, Sie werden immer -gefragt, bevor ?nderungen vorgenommen werden. +gefragt, bevor ??nderungen vorgenommen werden. Auf den meisten Systemen wird Perl mit dem CPAN Modul ausgeliefert, womit die Jifty Installation einfach wird: - # perl -MCPAN -e'install Jifty' # auf Unix-?hnlichen Systemen + # perl -MCPAN -e'install Jifty' # auf Unix-??hnlichen Systemen # perl -MCPAN -e"install Jifty" # auf Win32 Systemen Falls Sie lieber eine C<.tar.gz> Datei von Jifty herunterladen wollen, -k?nnen Sie diese wie folgt installieren: +k??nnen Sie diese wie folgt installieren: # tar xzvf jifty-.tgz # cd jifty- @@ -48,28 +50,28 @@ k # make test # make install -Falls die Tests nicht erfolgreich verlaufen, w?re eine R?ckmeldung an +Falls die Tests nicht erfolgreich verlaufen, w??re eine R??ckmeldung an uns interessannt. Bitte melden Sie sich bei der Liste C und melden den Fehler. (Oder sehen Sie nach unter L weiter unten wo beschrieben ist, wie Sie sich uns -anschlie?en k?nnen.) +anschlie??en k??nnen.) =head2 Erstellung eines Rumpfes -Wenn Sie Jifty erfolgreich installiert haben, k?nnen Sie Ihre erste +Wenn Sie Jifty erfolgreich installiert haben, k??nnen Sie Ihre erste Applikation erstellen. -Jifty ist geplanterma?en Minimalistisch. Wenn Sie eine Applikation -erstellen m?chten, kopieren Sie einfach das F +Jifty ist geplanterma??en Minimalistisch. Wenn Sie eine Applikation +erstellen m??chten, kopieren Sie einfach das F Kommandozeilenprogramm in das F Unterverzeichnis in Ihr Applikations-Verzeichnis. -OK, es ist nat?rlich hilfreich, ein wenig strukturierter +OK, es ist nat??rlich hilfreich, ein wenig strukturierter vorzugehen. Jifty wird mit Werkzeugen geliefert, die Ihnen helfen, die notwendigen Strukturen anzulegen. Wechseln Sie in ein sicheres Verzeichnis, in dem Sie Ihre Applikation -anlegen m?chten (Jifty erstellt das notwendige Unterverzeichnis f?r Sie). +anlegen m??chten (Jifty erstellt das notwendige Unterverzeichnis f??r Sie). # jifty app --name MyWeblog Can't guess application root from current path (/tmp) or bin path (/usr/bin) @@ -101,16 +103,16 @@ Sehen wir uns die einzelnen Verzeichnisse genauer an. Innerhalb des F Verzeichnisses liegt F, die Jifty Kommandozentrale. Einige der wichtigsten Befehle sind C, welches ein Datenbank-Schema erstellt oder erneuert und C, -womit ein funktionsf?higer Webserver gestartet wird. Um die von +womit ein funktionsf??higer Webserver gestartet wird. Um die von F verstandenen Kommandos herauszufinden, tippen Sie: jifty help =item etc -Konfigurationsdateien leben in F und Jifty wird vern?nftige +Konfigurationsdateien leben in F und Jifty wird vern??nftige Standardwerte verwenden, sollte keine Konfigurationsdatei vorhanden -sein oder ben?tigte Eintr?ge fehlen. +sein oder ben??tigte Eintr??ge fehlen. =item doc @@ -125,7 +127,7 @@ F und F in das F Verzeichnis. =item share/web/templates -Jifty nutzt L als sein prim?res Template System. Legen +Jifty nutzt L als sein prim??res Template System. Legen Sie die Templates Ihrer Appkikation in F. Von Haus aus wird Jifty mit einer vordefinierten Applikation geliefert, die im Verzeichnis F installiert wird. Diese @@ -133,14 +135,14 @@ vordefinierte Applikation ist ein bequemer Weg um eine einfache eigene Applikation schnell zum Laufen zu bringen, jedoch sind sicher Anpassungen notwendig, wenn Ihre Applikation komplexer wird. -Sie k?nnen schnell herausfinden, wo Jifty seine vordefinierten +Sie k??nnen schnell herausfinden, wo Jifty seine vordefinierten Templates ablegt: perl -MJifty::Util -e 'print Jifty::Util->share_root' =item share/web/static -Einige einfache Dinge, die zu Ihrer Applikation geh?ren, brauchen +Einige einfache Dinge, die zu Ihrer Applikation geh??ren, brauchen nicht (oder I) durch das Template-System laufen. Stecken Sie solche Dateien einfach in das F @@ -154,11 +156,11 @@ wo Jifty seine Standard-Templates ablegt. =item lib/MyWeblog -Eine n?here Beschreibung des Objekt Modells und der +Eine n??here Beschreibung des Objekt Modells und der Verzeichnishierarchie finden Sie unter L -Zum Bau einer funktionsf?higen einfachen Applikation brauchen Sie sich -nur Gedanken ?ber zwei Arten von Klassen, B und B zu +Zum Bau einer funktionsf??higen einfachen Applikation brauchen Sie sich +nur Gedanken ??ber zwei Arten von Klassen, B und B zu machen. =item lib/MyWeblog/Model @@ -171,38 +173,38 @@ Aktualisieren des Datenbank-Schemas, wenn dies notwendig sein sollte. =item lib/MyWeblog/Action -Als wir gesagt haben, da? Sie sich nur ?ber B und B -den Kopf zerbrechen m?ssen, haben wir nicht die ganze Wahrheit -gesagt. Jifty k?mmert sich um grundlegende Datenbank Interaktionen +Als wir gesagt haben, da?? Sie sich nur ??ber B und B +den Kopf zerbrechen m??ssen, haben wir nicht die ganze Wahrheit +gesagt. Jifty k??mmert sich um grundlegende Datenbank Interaktionen (C). Entsprechend ben?tigte B werden f?r die -jeweiligen B automatisch erzeugt und k?nnen jederzeit -ver?ndert werden, sollte dies notwendig werden. +(L??schen)>). Entsprechend ben??tigte B werden f??r die +jeweiligen B automatisch erzeugt und k??nnen jederzeit +ver??ndert werden, sollte dies notwendig werden. =item t -Jifty legt bereits Test-Routinen f?r Ihre Applikation an, kann -allerdings nicht die Tests f?r Sie schreiben. (Es erstellt jedoch -einfache Tests f?r die Model-Klassen, die Sie anlegen.) +Jifty legt bereits Test-Routinen f??r Ihre Applikation an, kann +allerdings nicht die Tests f??r Sie schreiben. (Es erstellt jedoch +einfache Tests f??r die Model-Klassen, die Sie anlegen.) =item var -Jifty speichert Cache-Dateien hier, w?hrend der Server -l?uft. Normalerweise werden Sie hier nichts tun m?ssen. +Jifty speichert Cache-Dateien hier, w??hrend der Server +l??uft. Normalerweise werden Sie hier nichts tun m??ssen. =back =head2 Erstellung eines Datenmodells -Wie Sie sich aus der Tatsache, da? diese Tutorial-Applikation -B hei?t, vorstellen k?nnen, ist das hier vorgestellte -Beispiel ein einfaches Weblog. K?nftige Tutorials werden +Wie Sie sich aus der Tatsache, da?? diese Tutorial-Applikation +B hei??t, vorstellen k??nnen, ist das hier vorgestellte +Beispiel ein einfaches Weblog. K??nftige Tutorials werden Authentifizierung, Kommentare sowie RSS und Atom Feeds beschreiben. =head3 Posts Weblogs konzentrieren sich rund um Posts, daher ist es keine -?berraschung, da? unser erstes Model, das wir erzeugen werden, ein +??berraschung, da?? unser erstes Model, das wir erzeugen werden, ein C ist. # cd MyWeblog @@ -210,10 +212,10 @@ C ist. Writing file /tmp/MyWeblog/t/00-model-Post.t Writing file /tmp/MyWeblog/lib/MyWeblog/Model/Post.pm -Gro?artig! Nun haben Sie ein B Model (Nur, da? es im Augenblick +Gro??artig! Nun haben Sie ein B Model (Nur, da?? es im Augenblick noch nichts modelliert). -?ffnen Sie F in Ihrem Lieblings-Editor. +??ffnen Sie F in Ihrem Lieblings-Editor. Sie sollten etwas sehen wie: @@ -231,18 +233,18 @@ Sie sollten etwas sehen wie: 1; -Nun ist es an der Zeit, der Model Klasse etwas ?ber Posts zu -erz?hlen. Fangen wir damit an, einem Post einen C (Rumpf) und +Nun ist es an der Zeit, der Model Klasse etwas ??ber Posts zu +erz??hlen. Fangen wir damit an, einem Post einen C (Rumpf) und einen C (Titel) zu geben. (In einem kommenden Tutorial wird die -Applikation voll "Folksonomy"-tauglich werden, was wir durch Anf?gen +Applikation voll "Folksonomy"-tauglich werden, was wir durch Anf??gen einer C<category> (Kategorie) und Erweitern der C<category> zu einer -C<tags> (Indexierung, Etikett) Tabelle erreichen k?nnten.) +C<tags> (Indexierung, Etikett) Tabelle erreichen k??nnten.) Editieren Sie unter dieser Zeile: use MyWeblog::Record schema { -F?gen Sie diese Zeilen an: +F??gen Sie diese Zeilen an: column title => type is 'text', @@ -258,11 +260,11 @@ Abspeichern bitte nicht vergessen. =head2 Erstellung der Datenbank -Gut. Nun ist es an der Zeit, die Datenbank zu erstellen. Standardgem?? +Gut. Nun ist es an der Zeit, die Datenbank zu erstellen. Standardgem???? benutzt Jifty eine SQLite Datenbank. Wenn Sie lieber PostgreSQL oder -MySQL verwenden m?chten, dann k?nnen Sie Anpassungen an +MySQL verwenden m??chten, dann k??nnen Sie Anpassungen an F<etc/jifty.yml> vornehmen. (Sehen Sie dazu in C<Jifty::Config> nach, -um mehr dar?ber zu erfahren.) +um mehr dar??ber zu erfahren.) # jifty schema --setup INFO - Generating SQL for application MyWeblog... @@ -274,7 +276,7 @@ um mehr dar =head2 Start des Jifty Application Server -OK. Nun haben Sie eine lauff?hige, aber noch einfache +OK. Nun haben Sie eine lauff??hige, aber noch einfache Applikation. Starten Sie den Webserver und schauen Sie sich um. Werfen Sie einen Blick auf die AJAX gesteuerte Administrations-Umgebung, die Online Dokumentation und das Pony. @@ -289,7 +291,7 @@ sein. Auf den meisten Plattformen wird ein einfaches "jifty server" Kommando ebenfalls funktionieren. :) -=head2 Erstellung der Benutzeroberfl?che +=head2 Erstellung der Benutzeroberfl??che Die Administrations-Umgebung gibt Ihnen zwar alles, was Sie brauchen, um mit den Daten der Applikation zu arbeiten, ist aber noch lange kein @@ -302,7 +304,7 @@ Erstellen Sie eine Seite zum Posten eines neuen Weblog Eintrages: # cd share/web/templates/ Erstellen Sie eine neue Datei namens F<post> in Ihrem Editor. Stellen -Sie sicher, da? diese so aussieht: +Sie sicher, da?? diese so aussieht: <%init> my $action = Jifty->web->new_action(class => 'CreatePost'); @@ -318,29 +320,29 @@ Sie sicher, da </&> Ja, dies ist eine Template Datei in L<HTML::Mason> Syntax. Wenn Sie -noch nicht genug ?ber Mason wissen, empfehlen wir dessen Online -Dokumentation f?r mehr Details. I<Mason Templates> sollten jeweils in +noch nicht genug ??ber Mason wissen, empfehlen wir dessen Online +Dokumentation f??r mehr Details. I<Mason Templates> sollten jeweils in der ersten Spalte der Datei beginnen. Besonders wichtig sind die -C<E<lt>%initE<gt>> und C<E<lt>/%initE<gt>> Bl?cke, die unbedingt -lingsb?ndig geschrieben werden m?ssen. +C<E<lt>%initE<gt>> und C<E<lt>/%initE<gt>> Bl??cke, die unbedingt +lingsb??ndig geschrieben werden m??ssen. =head3 Anzeige -Es ist relativ einfach, eine I<einfache> Auflistung von Eintr?gen zu -erhalten und ein wenig aufw?ndiger, eine AJAX gesteuerte seitenweise +Es ist relativ einfach, eine I<einfache> Auflistung von Eintr??gen zu +erhalten und ein wenig aufw??ndiger, eine AJAX gesteuerte seitenweise Darstellung zu bekommen. Hier beschreiben wir, wie man beides macht; -Sie k?nnen entscheiden, welches Ihnen besser gef?llt. +Sie k??nnen entscheiden, welches Ihnen besser gef??llt. -(Falls Sie per Kopieren und Einf?gen den Beispiel-Code von unten -?bertragen, stellen Sie sicher, da? er in einer Spalte erscheint, +(Falls Sie per Kopieren und Einf??gen den Beispiel-Code von unten +??bertragen, stellen Sie sicher, da?? er in einer Spalte erscheint, ansonsten wird es nicht funktionieren.) =head4 Der schnelle Weg Erstellen Sie eine neue Datei F<index.html> im F<share/web/templates> Verzeichnis in Ihrem Editor. (Der Webserver wird die URL -C</index.html> als die I<Standard> Seite f?r Ihre Applikation -annehmen.) Bef?llen Sie die Datei wie folgt: +C</index.html> als die I<Standard> Seite f??r Ihre Applikation +annehmen.) Bef??llen Sie die Datei wie folgt: <%init> my $posts = MyWeblog::Model::PostCollection->new(); @@ -358,22 +360,22 @@ annehmen.) Bef (Entfernen Sie die Leerzeichen am Zeilenanfang!) -=head4 Die aufw?ndige Art, mit der Sie viele coole Dinge bekommen +=head4 Die aufw??ndige Art, mit der Sie viele coole Dinge bekommen -Die I<aufw?ndige Art> benutzt eines von Jifty's fortgeschrittenen +Die I<aufw??ndige Art> benutzt eines von Jifty's fortgeschrittenen Eigenschaften: I<PageRegions> (Seitenbereiche). Diese Bereiche erlauben Ihrer Applikation einzelne Bestandteile einer Seite -unabh?ngig voneinander neu zu laden. Das funktioniert sowohl unter +unabh??ngig voneinander neu zu laden. Das funktioniert sowohl unter Benutzung von AJAX auf modernen Browsern, als auch mit GET Requests -auf nicht JavaScript f?higen Browsern wie C<lynx>, C<w3m> oder dem +auf nicht JavaScript f??higen Browsern wie C<lynx>, C<w3m> oder dem Browser Ihres Handys. -Der Nachteil dieser Methode ist, da? jeder Seiten-Bereich in einer -eigenen I<Fragment> Datei vorliegen mu?. +Der Nachteil dieser Methode ist, da?? jeder Seiten-Bereich in einer +eigenen I<Fragment> Datei vorliegen mu??. -Die aufw?ndige Art beginnt zun?chst genauso wie der schnelle +Die aufw??ndige Art beginnt zun??chst genauso wie der schnelle Weg. Erstellen Sie eine neue Datei mit dem Namen -F<share/web/templates/index.html> in Ihrem Editor. Bef?llen Sie die +F<share/web/templates/index.html> in Ihrem Editor. Bef??llen Sie die Datei mit: <&| /_elements/wrapper, title => Jifty->config->framework('ApplicationName') &> @@ -382,10 +384,10 @@ Datei mit: path => "/fragments/page_of_posts") %> </&> -Wenn Sie mitgedacht haben, dann haben Sie bestimmt schon erraten, da? -Sie als n?chstes eine Datei +Wenn Sie mitgedacht haben, dann haben Sie bestimmt schon erraten, da?? +Sie als n??chstes eine Datei F<share/web/templates/fragments/page_of_posts> mit dem nachfolgenden -Inhalt anlegen d?rfen: +Inhalt anlegen d??rfen: <%args> $page => 1 @@ -396,7 +398,7 @@ Inhalt anlegen d $posts->set_page_info( current_page => $page, per_page => 15 ); - $m->out("Keine Eintr?ge.") if ($posts->pager->total_entries == 0); + $m->out("Keine Eintr??ge.") if ($posts->pager->total_entries == 0); </%init> % if ($posts->pager->last_page > 1) { @@ -413,15 +415,15 @@ Inhalt anlegen d <% Jifty->web->link( label => "vorherige Seite", onclick => { args => { page => $posts->pager->previous_page } } ) %> % } % if ($posts->pager->next_page) { - <% Jifty->web->link( label => "n?chste Seite", onclick => { args => { page => $posts->pager->next_page } } ) %> + <% Jifty->web->link( label => "n??chste Seite", onclick => { args => { page => $posts->pager->next_page } } ) %> % } Nun starten Sie den Jifty Webserver erneut. Erstellen Sie einen Post indem Sie die URL C</post> auf Ihrem Webserver anfahren. Erstellen Sie -wenigstens 15 Eintr?ge und beobachten Sie dabei, wie Jifty Ihnen die -AJAX Kn?pfe C<vorherige Seite> und C<n?chste Seite> erstellt. Schalten +wenigstens 15 Eintr??ge und beobachten Sie dabei, wie Jifty Ihnen die +AJAX Kn??pfe C<vorherige Seite> und C<n??chste Seite> erstellt. Schalten Sie JavaScript aus oder verwenden Sie lynx und beobachten Sie wie AJAX -automatisch zur?ckf?llt zum vollst?ndigen Laden der jeweils neuen +automatisch zur??ckf??llt zum vollst??ndigen Laden der jeweils neuen Seite. Alles umsonst. Danke, Jifty! =head3 Hey, woher kam diese Klasse? @@ -429,34 +431,34 @@ Seite. Alles umsonst. Danke, Jifty! Wenn Sie genau aufgepasst haben, dann haben Sie sich sicher gefragt, woher die C<MyWeblog::Model::PostCollection> Klasse kam. Es gibt keine Datei mit dem Namen F<PostCollection.pm>. Jifty setzt -C<Jifty::ClassLoader> ein, um einige Klassen f?r Sie zu -erstellen. Selbstverst?ndlich k?nnten Sie das ebenfalls tun. Lesen Sie -unter L<Jifty::ClassLoader> mehr dar?ber. +C<Jifty::ClassLoader> ein, um einige Klassen f??r Sie zu +erstellen. Selbstverst??ndlich k??nnten Sie das ebenfalls tun. Lesen Sie +unter L<Jifty::ClassLoader> mehr dar??ber. =head2 Navigation -Nat?rlich ist es unsch?n, sich die URL der Post Seite merken zu -m?ssen. Um einen B<Post> Eintrag im Men? zu bekommen, m?ssen Sie die -Standard Men?s ?berschreiben. +Nat??rlich ist es unsch??n, sich die URL der Post Seite merken zu +m??ssen. Um einen B<Post> Eintrag im Men?? zu bekommen, m??ssen Sie die +Standard Men??s ??berschreiben. -Jifty's I<Standard> Men?s werden durch F<_elements/nav> in den +Jifty's I<Standard> Men??s werden durch F<_elements/nav> in den Standard Applikations Templates (die mit dem Pony) erzeugt. Im -Augenblick bleibt Ihnen nichts anderes ?brig, als F<_elements/nav> zu -?berschreiben. (Wir arbeiten an Methoden, dies besser zu gestalten.) +Augenblick bleibt Ihnen nichts anderes ??brig, als F<_elements/nav> zu +??berschreiben. (Wir arbeiten an Methoden, dies besser zu gestalten.) Legen Sie innerhalb des Verzeichnisses F<share/web/templates> Ihrer Applikation ein Verzeichnis F<_elements> an. mkdir share/web/templates/_elements -Sie m?chten bestimmt mit den normalen Jifty Templates arbeiten, also -m?ssen wir nur den C<< $top->child( Post... ) >> Teil anf?gen. +Sie m??chten bestimmt mit den normalen Jifty Templates arbeiten, also +m??ssen wir nur den C<< $top->child( Post... ) >> Teil anf??gen. cat $(perl -MJifty::Util -e 'print Jifty::Util->share_root' \ )/web/templates/_elements/nav > share/web/templates/_elements/nav -Ansonsten k?nnen Sie innerhalb F<_elements> auch gerne eine neue Datei -namens C<nav> anlegen, die so aussehen k?nnte: +Ansonsten k??nnen Sie innerhalb F<_elements> auch gerne eine neue Datei +namens C<nav> anlegen, die so aussehen k??nnte: <%init> my $top = Jifty->web->navigation; @@ -465,15 +467,15 @@ namens C<nav> anlegen, die so aussehen k label => "Neuen Eintrag"); </%init> -Mehr Information ?ber das Men? System k?nnen Sie der Dokumentation +Mehr Information ??ber das Men?? System k??nnen Sie der Dokumentation unter L<Jifty::Web::Menu> entnehmen. =head2 Das war's -Das war alles, das Sie ben?tigen, um anzufangen, Jifty Applikationen +Das war alles, das Sie ben??tigen, um anzufangen, Jifty Applikationen zu erstellen. Wir arbeiten hart daran, Jifty noch einfacher einsetzbar zu machen und die I<dicken Brocken> dieses Tutorials so bald als -m?glich zu vereinfachen. +m??glich zu vereinfachen. Bitte nehmen Sie auf der C<jifty-devel> Mailing Liste Kontakt mit uns auf, wenn Sie Fragen haben, wie man Jifty benutzt oder was Sie @@ -493,40 +495,40 @@ Funktion. Wenn Ihr Server mit eingeschaltetem Administrations-Modus arbeitet (die Konfigurations-Einstellung C<AdminMode> fehlt oder sie ist -ungleich Null), dann k?nnen Sie den "Online Docs" Link in Ihrem -Browser benutzen, um eine ausf?hrliche modulweise Dokumentation zu +ungleich Null), dann k??nnen Sie den "Online Docs" Link in Ihrem +Browser benutzen, um eine ausf??hrliche modulweise Dokumentation zu Jifty zu erhalten. =head2 Beitreten der Mailing Liste C<jifty-devel at lists.jifty.org> ist der Ort, an dem wir besprechen, wie -wir Jifty erstellen, was es an Problemen oder Vorschl?gen gibt und so +wir Jifty erstellen, was es an Problemen oder Vorschl??gen gibt und so weiter. Um der Liste beizutreten, senden Sie eine Mail an -C<jifty-devel-subscribe at lists.jifty.org>. Bitte beachten Sie, da? die -Kommunikation in dieser Liste in englischer Sprache gef?hrt wird. +C<jifty-devel-subscribe at lists.jifty.org>. Bitte beachten Sie, da?? die +Kommunikation in dieser Liste in englischer Sprache gef??hrt wird. =head2 Unser Wiki -Wir haben ein Wiki! (Tats?chlich ist das Wiki die haupts?chliche +Wir haben ein Wiki! (Tats??chlich ist das Wiki die haupts??chliche Website von Jifty). Besuchen Sie uns unter L<http://jifty.org/>, lesen Sie und tragen Sie etwas bei! Das Wiki wird von I<Wifty> betrieben, einem Wiki das auf Jifty -basiert. Sein Code ist frei verf?gbar in unserem Subversion +basiert. Sein Code ist frei verf??gbar in unserem Subversion Repository. =head1 FEHLER MELDEN -In dieser fr?hen Phase von Jifty melden Sie bitte alle Fehler, die +In dieser fr??hen Phase von Jifty melden Sie bitte alle Fehler, die Ihnen auffallen, an C<jifty-devel at lists.jifty.org>. -=head1 K?NFTIGE TUTORIALS +=head1 K??NFTIGE TUTORIALS -K?nftige Tutorials werden enthalten: +K??nftige Tutorials werden enthalten: =over 4 commit 53fc67152580a418ad2981c4d5bf64d092ddfd5a Author: Alex Vandiver <alexmv at bestpractical.com> Date: Thu Apr 30 16:46:39 2015 -0400 Version 1.50430 releng diff --git a/Changelog b/Changelog index 0de85a8..4ca7243 100644 --- a/Changelog +++ b/Changelog @@ -1,3 +1,15 @@ +-------------------------------- +Jifty 1.50430 - April 30th, 2015 +-------------------------------- + * Stop including cssquery back-compat JS + * Make the CAS into a durable store + * Rewrite pubsub framework, using websockets and AnyMQ + * Remove clientside sessions + * Refactor how halos work; this changes the default wrapper + * Instead of just using Hash::Merge, use a "!" suffix on hash keys to + explicitly override the associated site_config value, instead of + merging. + ------------------------------ Jifty 1.10518 - May 17th, 2011 ------------------------------ diff --git a/MANIFEST b/MANIFEST index e8cb3cd..256f07f 100644 --- a/MANIFEST +++ b/MANIFEST @@ -350,6 +350,7 @@ Makefile.PL MANIFEST This list of files MANIFEST.SKIP META.yml +MYMETA.json README share/dtd/xhtml-lat1.ent share/dtd/xhtml-special.ent diff --git a/inc/Module/AutoInstall.pm b/inc/Module/AutoInstall.pm index aa7aa92..f7a9f42 100644 --- a/inc/Module/AutoInstall.pm +++ b/inc/Module/AutoInstall.pm @@ -8,7 +8,7 @@ use ExtUtils::MakeMaker (); use vars qw{$VERSION}; BEGIN { - $VERSION = '1.06'; + $VERSION = '1.15'; } # special map on pre-defined feature sets @@ -115,7 +115,7 @@ sub import { print "*** $class version " . $class->VERSION . "\n"; print "*** Checking for Perl dependencies...\n"; - my $cwd = Cwd::cwd(); + my $cwd = Cwd::getcwd(); $Config = []; @@ -166,7 +166,7 @@ sub import { $modules = [ %{$modules} ] if UNIVERSAL::isa( $modules, 'HASH' ); unshift @$modules, -default => &{ shift(@$modules) } - if ( ref( $modules->[0] ) eq 'CODE' ); # XXX: bugward combatability + if ( ref( $modules->[0] ) eq 'CODE' ); # XXX: bugward compatibility while ( my ( $mod, $arg ) = splice( @$modules, 0, 2 ) ) { if ( $mod =~ m/^-(\w+)$/ ) { @@ -345,22 +345,26 @@ sub install { my $i; # used below to strip leading '-' from config keys my @config = ( map { s/^-// if ++$i; $_ } @{ +shift } ); - my ( @modules, @installed ); - while ( my ( $pkg, $ver ) = splice( @_, 0, 2 ) ) { + my ( @modules, @installed, @modules_to_upgrade ); + while (my ($pkg, $ver) = splice(@_, 0, 2)) { - # grep out those already installed - if ( _version_cmp( _version_of($pkg), $ver ) >= 0 ) { - push @installed, $pkg; - } - else { - push @modules, $pkg, $ver; - } - } + # grep out those already installed + if (_version_cmp(_version_of($pkg), $ver) >= 0) { + push @installed, $pkg; + if ($UpgradeDeps) { + push @modules_to_upgrade, $pkg, $ver; + } + } + else { + push @modules, $pkg, $ver; + } + } - if ($UpgradeDeps) { - push @modules, @installed; - @installed = (); - } + if ($UpgradeDeps) { + push @modules, @modules_to_upgrade; + @installed = (); + @modules_to_upgrade = (); + } return @installed unless @modules; # nothing to do return @installed if _check_lock(); # defer to the CPAN shell @@ -533,7 +537,7 @@ sub _install_cpan { while ( my ( $opt, $arg ) = splice( @config, 0, 2 ) ) { ( $args{$opt} = $arg, next ) if $opt =~ /^(?:force|notest)$/; # pseudo-option - $CPAN::Config->{$opt} = $arg; + $CPAN::Config->{$opt} = $opt eq 'urllist' ? [$arg] : $arg; } if ($args{notest} && (not CPAN::Shell->can('notest'))) { @@ -611,7 +615,7 @@ sub _under_cpan { require Cwd; require File::Spec; - my $cwd = File::Spec->canonpath( Cwd::cwd() ); + my $cwd = File::Spec->canonpath( Cwd::getcwd() ); my $cpan = File::Spec->canonpath( $CPAN::Config->{cpan_home} ); return ( index( $cwd, $cpan ) > -1 ); @@ -927,4 +931,4 @@ END_MAKE __END__ -#line 1193 +#line 1197 diff --git a/inc/Module/Install.pm b/inc/Module/Install.pm index 4ecf46b..d56e828 100644 --- a/inc/Module/Install.pm +++ b/inc/Module/Install.pm @@ -17,7 +17,7 @@ package Module::Install; # 3. The ./inc/ version of Module::Install loads # } -use 5.005; +use 5.006; use strict 'vars'; use Cwd (); use File::Find (); @@ -31,7 +31,7 @@ BEGIN { # This is not enforced yet, but will be some time in the next few # releases once we can make sure it won't clash with custom # Module::Install extensions. - $VERSION = '1.06'; + $VERSION = '1.15'; # Storage for the pseudo-singleton $MAIN = undef; @@ -156,10 +156,10 @@ END_DIE sub autoload { my $self = shift; my $who = $self->_caller; - my $cwd = Cwd::cwd(); + my $cwd = Cwd::getcwd(); my $sym = "${who}::AUTOLOAD"; $sym->{$cwd} = sub { - my $pwd = Cwd::cwd(); + my $pwd = Cwd::getcwd(); if ( my $code = $sym->{$pwd} ) { # Delegate back to parent dirs goto &$code unless $cwd eq $pwd; @@ -239,7 +239,7 @@ sub new { # ignore the prefix on extension modules built from top level. my $base_path = Cwd::abs_path($FindBin::Bin); - unless ( Cwd::abs_path(Cwd::cwd()) eq $base_path ) { + unless ( Cwd::abs_path(Cwd::getcwd()) eq $base_path ) { delete $args{prefix}; } return $args{_self} if $args{_self}; @@ -338,7 +338,7 @@ sub find_extensions { if ( $subpath eq lc($subpath) || $subpath eq uc($subpath) ) { my $content = Module::Install::_read($subpath . '.pm'); my $in_pod = 0; - foreach ( split //, $content ) { + foreach ( split /\n/, $content ) { $in_pod = 1 if /^=\w/; $in_pod = 0 if /^=cut/; next if ($in_pod || /^=cut/); # skip pod text @@ -378,6 +378,7 @@ eval( $] >= 5.006 ? <<'END_NEW' : <<'END_OLD' ); die $@ if $@; sub _read { local *FH; open( FH, '<', $_[0] ) or die "open($_[0]): $!"; + binmode FH; my $string = do { local $/; <FH> }; close FH or die "close($_[0]): $!"; return $string; @@ -386,6 +387,7 @@ END_NEW sub _read { local *FH; open( FH, "< $_[0]" ) or die "open($_[0]): $!"; + binmode FH; my $string = do { local $/; <FH> }; close FH or die "close($_[0]): $!"; return $string; @@ -416,6 +418,7 @@ eval( $] >= 5.006 ? <<'END_NEW' : <<'END_OLD' ); die $@ if $@; sub _write { local *FH; open( FH, '>', $_[0] ) or die "open($_[0]): $!"; + binmode FH; foreach ( 1 .. $#_ ) { print FH $_[$_] or die "print($_[0]): $!"; } @@ -425,6 +428,7 @@ END_NEW sub _write { local *FH; open( FH, "> $_[0]" ) or die "open($_[0]): $!"; + binmode FH; foreach ( 1 .. $#_ ) { print FH $_[$_] or die "print($_[0]): $!"; } @@ -434,7 +438,7 @@ END_OLD # _version is for processing module versions (eg, 1.03_05) not # Perl versions (eg, 5.8.1). -sub _version ($) { +sub _version { my $s = shift || 0; my $d =()= $s =~ /(\.)/g; if ( $d >= 2 ) { @@ -450,12 +454,12 @@ sub _version ($) { return $l + 0; } -sub _cmp ($$) { +sub _cmp { _version($_[1]) <=> _version($_[2]); } # Cloned from Params::Util::_CLASS -sub _CLASS ($) { +sub _CLASS { ( defined $_[0] and diff --git a/inc/Module/Install/AutoInstall.pm b/inc/Module/Install/AutoInstall.pm index 6efe4fe..50d6080 100644 --- a/inc/Module/Install/AutoInstall.pm +++ b/inc/Module/Install/AutoInstall.pm @@ -6,7 +6,7 @@ use Module::Install::Base (); use vars qw{$VERSION @ISA $ISCORE}; BEGIN { - $VERSION = '1.06'; + $VERSION = '1.15'; @ISA = 'Module::Install::Base'; $ISCORE = 1; } diff --git a/inc/Module/Install/Base.pm b/inc/Module/Install/Base.pm index 802844a..78d7bdf 100644 --- a/inc/Module/Install/Base.pm +++ b/inc/Module/Install/Base.pm @@ -4,7 +4,7 @@ package Module::Install::Base; use strict 'vars'; use vars qw{$VERSION}; BEGIN { - $VERSION = '1.06'; + $VERSION = '1.15'; } # Suspend handler for "redefined" warnings diff --git a/inc/Module/Install/Can.pm b/inc/Module/Install/Can.pm index 22167b8..ae03eff 100644 --- a/inc/Module/Install/Can.pm +++ b/inc/Module/Install/Can.pm @@ -8,7 +8,7 @@ use Module::Install::Base (); use vars qw{$VERSION @ISA $ISCORE}; BEGIN { - $VERSION = '1.06'; + $VERSION = '1.15'; @ISA = 'Module::Install::Base'; $ISCORE = 1; } diff --git a/inc/Module/Install/Fetch.pm b/inc/Module/Install/Fetch.pm index bee0c4f..34d8485 100644 --- a/inc/Module/Install/Fetch.pm +++ b/inc/Module/Install/Fetch.pm @@ -6,7 +6,7 @@ use Module::Install::Base (); use vars qw{$VERSION @ISA $ISCORE}; BEGIN { - $VERSION = '1.06'; + $VERSION = '1.15'; @ISA = 'Module::Install::Base'; $ISCORE = 1; } diff --git a/inc/Module/Install/Include.pm b/inc/Module/Install/Include.pm index 8310e4c..f4ee5f9 100644 --- a/inc/Module/Install/Include.pm +++ b/inc/Module/Install/Include.pm @@ -6,7 +6,7 @@ use Module::Install::Base (); use vars qw{$VERSION @ISA $ISCORE}; BEGIN { - $VERSION = '1.06'; + $VERSION = '1.15'; @ISA = 'Module::Install::Base'; $ISCORE = 1; } diff --git a/inc/Module/Install/Makefile.pm b/inc/Module/Install/Makefile.pm index 7052f36..38e08c4 100644 --- a/inc/Module/Install/Makefile.pm +++ b/inc/Module/Install/Makefile.pm @@ -8,7 +8,7 @@ use Fcntl qw/:flock :seek/; use vars qw{$VERSION @ISA $ISCORE}; BEGIN { - $VERSION = '1.06'; + $VERSION = '1.15'; @ISA = 'Module::Install::Base'; $ISCORE = 1; } @@ -133,7 +133,7 @@ sub makemaker_args { return $args; } -# For mm args that take multiple space-seperated args, +# For mm args that take multiple space-separated args, # append an argument to the current list. sub makemaker_append { my $self = shift; diff --git a/inc/Module/Install/Metadata.pm b/inc/Module/Install/Metadata.pm index 58430f3..f6e8e25 100644 --- a/inc/Module/Install/Metadata.pm +++ b/inc/Module/Install/Metadata.pm @@ -6,7 +6,7 @@ use Module::Install::Base (); use vars qw{$VERSION @ISA $ISCORE}; BEGIN { - $VERSION = '1.06'; + $VERSION = '1.15'; @ISA = 'Module::Install::Base'; $ISCORE = 1; } @@ -347,7 +347,7 @@ sub name_from { ^ \s* package \s* ([\w:]+) - \s* ; + [\s|;]* /ixms ) { my ($name, $module_name) = ($1, $1); @@ -705,7 +705,7 @@ sub _write_mymeta_data { my @yaml = Parse::CPAN::Meta::LoadFile('META.yml'); my $meta = $yaml[0]; - # Overwrite the non-configure dependency hashs + # Overwrite the non-configure dependency hashes delete $meta->{requires}; delete $meta->{build_requires}; delete $meta->{recommends}; diff --git a/inc/Module/Install/Scripts.pm b/inc/Module/Install/Scripts.pm index 419286f..ca1e072 100644 --- a/inc/Module/Install/Scripts.pm +++ b/inc/Module/Install/Scripts.pm @@ -6,7 +6,7 @@ use Module::Install::Base (); use vars qw{$VERSION @ISA $ISCORE}; BEGIN { - $VERSION = '1.06'; + $VERSION = '1.15'; @ISA = 'Module::Install::Base'; $ISCORE = 1; } diff --git a/inc/Module/Install/Share.pm b/inc/Module/Install/Share.pm index 4e2b602..cfa66d3 100644 --- a/inc/Module/Install/Share.pm +++ b/inc/Module/Install/Share.pm @@ -8,7 +8,7 @@ use ExtUtils::Manifest (); use vars qw{$VERSION @ISA $ISCORE}; BEGIN { - $VERSION = '1.06'; + $VERSION = '1.15'; @ISA = 'Module::Install::Base'; $ISCORE = 1; } diff --git a/inc/Module/Install/Win32.pm b/inc/Module/Install/Win32.pm index eeaa3fe..e32ef8f 100644 --- a/inc/Module/Install/Win32.pm +++ b/inc/Module/Install/Win32.pm @@ -6,7 +6,7 @@ use Module::Install::Base (); use vars qw{$VERSION @ISA $ISCORE}; BEGIN { - $VERSION = '1.06'; + $VERSION = '1.15'; @ISA = 'Module::Install::Base'; $ISCORE = 1; } diff --git a/inc/Module/Install/WriteAll.pm b/inc/Module/Install/WriteAll.pm index 85d8018..e511539 100644 --- a/inc/Module/Install/WriteAll.pm +++ b/inc/Module/Install/WriteAll.pm @@ -6,7 +6,7 @@ use Module::Install::Base (); use vars qw{$VERSION @ISA $ISCORE}; BEGIN { - $VERSION = '1.06'; + $VERSION = '1.15'; @ISA = qw{Module::Install::Base}; $ISCORE = 1; } diff --git a/lib/Jifty.pm b/lib/Jifty.pm index a70500f..c25c82d 100644 --- a/lib/Jifty.pm +++ b/lib/Jifty.pm @@ -12,7 +12,7 @@ BEGIN { require Time::Local; # Declare early to make sure Jifty::Record::schema_version works - $Jifty::VERSION = '1.20221'; + $Jifty::VERSION = '1.50430'; } =head1 NAME -----------------------------------------------------------------------