Permalink
Browse files

start of dzilification

  • Loading branch information...
apocalypse committed Feb 10, 2011
1 parent 1b8b805 commit a846fbd8a3f551d3ec036b8f46b13c324b717a91
Showing with 55 additions and 287 deletions.
  1. +2 −0 .gitignore
  2. +0 −47 Build.PL
  3. +32 −28 Changes
  4. +0 −16 MANIFEST
  5. +0 −29 MANIFEST.SKIP
  6. +2 −0 dist.ini
  7. +0 −1 examples/db.pl
  8. +13 −102 lib/POE/Component/SimpleDBI.pm
  9. +6 −32 lib/POE/Component/SimpleDBI/SubProcess.pm
  10. BIN { → releases}/POE-Component-SimpleDBI-1.03.tar.gz
  11. BIN { → releases}/POE-Component-SimpleDBI-1.04.tar.gz
  12. BIN { → releases}/POE-Component-SimpleDBI-1.05.tar.gz
  13. BIN { → releases}/POE-Component-SimpleDBI-1.06.tar.gz
  14. BIN { → releases}/POE-Component-SimpleDBI-1.07.tar.gz
  15. BIN { → releases}/POE-Component-SimpleDBI-1.08.tar.gz
  16. BIN { → releases}/POE-Component-SimpleDBI-1.09.tar.gz
  17. BIN { → releases}/POE-Component-SimpleDBI-1.10.tar.gz
  18. BIN { → releases}/POE-Component-SimpleDBI-1.11.tar.gz
  19. BIN { → releases}/POE-Component-SimpleDBI-1.12.tar.gz
  20. BIN { → releases}/POE-Component-SimpleDBI-1.13.tar.gz
  21. BIN { → releases}/POE-Component-SimpleDBI-1.14.tar.gz
  22. BIN { → releases}/POE-Component-SimpleDBI-1.15.tar.gz
  23. BIN { → releases}/POE-Component-SimpleDBI-1.16.tar.gz
  24. BIN { → releases}/POE-Component-SimpleDBI-1.17.tar.gz
  25. BIN { → releases}/POE-Component-SimpleDBI-1.18.tar.gz
  26. BIN { → releases}/POE-Component-SimpleDBI-1.19.tar.gz
  27. BIN { → releases}/POE-Component-SimpleDBI-1.20.tar.gz
  28. BIN { → releases}/POE-Component-SimpleDBI-1.21.tar.gz
  29. BIN { → releases}/POE-Component-SimpleDBI-1.22.tar.gz
  30. BIN { → releases}/POE-Component-SimpleDBI-1.23.tar.gz
  31. BIN { → releases}/POE-Component-SimpleDBI-1.24.tar.gz
  32. BIN { → releases}/POE-Component-SimpleDBI-1.25.tar.gz
  33. BIN { → releases}/POE-Component-SimpleDBI-1.26.tar.gz
  34. BIN { → releases}/POE-Component-SimpleDBI-1.27.tar.gz
  35. BIN { → releases}/POE-Component-SimpleDBI-1.28.tar.gz
  36. BIN { → releases}/POE-Component-SimpleDBI-1.29.tar.gz
  37. +0 −18 t/1_load.t
  38. +0 −14 t/apocalypse.t
View
@@ -0,0 +1,2 @@
+/POE-Component-SimpleDBI-*
+/.build/
View
@@ -1,47 +0,0 @@
-# Build.PL
-use strict; use warnings;
-use Module::Build;
-
-my $build = Module::Build->new(
- # look up Module::Build::API for the info!
- 'dynamic_config' => 0,
- 'module_name' => 'POE::Component::SimpleDBI',
- 'license' => 'perl',
-
- 'dist_abstract' => 'Asynchronous non-blocking DBI calls in POE made simple',
- 'dist_author' => 'Apocalypse <APOCAL@cpan.org>',
-
- 'create_packlist' => 1,
- 'create_makefile_pl' => 'traditional',
- 'create_readme' => 1,
- 'create_license' => 1,
- 'sign' => 0,
-
- 'test_files' => 't/*.t',
-
- 'add_to_cleanup' => [ 'META.yml', 'Makefile.PL', 'README', 'Makefile', 'LICENSE' ], # automatically generated
-
- 'requires' => {
- # POE Stuff
- 'POE' => 0,
-
- # FIXME POE stuff that Test::Dependencies needs to see
- 'POE::Session' => 0,
- 'POE::Filter::Line' => 0,
- 'POE::Filter::Reference' => 0,
- 'POE::Wheel::Run' => 0,
-
- # DB access
- 'DBI' => '1.30',
-
- # error handling
- 'Error' => '0.15',
-
- # minimum perl version
- 'perl' => '5.006',
- },
-);
-
-# all done!
-$build->create_build_script;
-
View
60 Changes
@@ -1,72 +1,76 @@
Revision history for Perl extension POE::Component::SimpleDBI.
-* 1.29
+{{$NEXT}}
+
+ Converted to Dist::Zilla for the release process!
+
+1.29
Added better caching control in the SubProcess - resolves a memory leak, thanks Andrew Feren and wirelessdreamer!
Added the CACHEDKIDS argument to CONNECT
-* 1.28
+1.28
Minor POD tweaks
Fixed RT#45948 ( Database doesn't reconnect when child died ) - thanks Paul Williams!
Fixed RT#48237 ( use of exit causes crashes in threaded code (MsWin32) ) - thanks Andrew Feren!
Fixed RT#48400 ( BAGGAGE not a valid argument for CONNECT ) - thanks Andrew Feren!
BAGGAGE is now a valid argument for CONNECT/DISCONNECT
-* 1.27
+1.27
Fixed RT#43408 ( fix "Modification of a read-only value attempted at" error at shutdown ) - thanks acferen!
Fixed RT#43442 ( tweak binmode for MSWin32 ) - thanks acferen!
Added link to the github.com repository in the POD
Added link to CPAN::Forum in the POD
-* 1.26
+1.26
Kwalitee-related fixes ( moved to Test::Apocalypse )
Fixed RT#42890 ( tweaked Wheel::Run arguments on Win32, please yell at me if it doesn't work for you! )
Added sigCHLD management
-* 1.25
+1.25
Kwalitee-related fixes
-* 1.24
+1.24
Bumped Test::More prereq to 0.86 because I was getting FAIL reports from outdated people :(
-* 1.23
+1.23
Switched to Build.PL for the build system
Fixed the stupid test dependencies, thanks BiNGOs!
Added the new EXPERIMENTAL 'ATOMIC' support, please let me know if it's broken on your setup!
Added some more author tests
Added AUTO_COMMIT argument to CONNECT to control the DBI variable ( defaults to true )
-* 1.22
+1.22
Kwalitee-related fixes
-* 1.21
+1.21
silence warnings when used with DBD::SQLite - thanks to Sjors Gielen for tracking this down!
-* 1.20
+1.20
Added the INSERT_ID to control $dbh->last_insert_id usage
-* 1.19
+1.19
Added the PREPARE_CACHED argument to control caching
-* 1.18
+1.18
Ignore the DBI error for last_insert_id and default to undef
-* 1.17
+1.17
Added "INSERTID" to the result of DO
-* 1.16
+1.16
Noticed a glaring documentation bug
- SINGLE queries return mixedCaps rows ( not lowercase! )
@@ -76,29 +80,29 @@ Revision history for Perl extension POE::Component::SimpleDBI.
Fixed SimpleDBI failure on Win32 - thanks RT #23851
-* 1.15
+1.15
Thanks to Fred Castellano, who stumbled on a DEADLOCK bug, fixed!
Added sanity tests to CONNECT/DISCONNECT
-* 1.14
+1.14
learned about the difference between ref $self and ref( $self )
Kwalitee-related fixes
-* 1.13
+1.13
Finally use a Changes file - thanks RT #18981
Fixed a bug in SINGLE if returned_rows = 0 it will not return undef, but give us blank rows!
Documentation tweaks
-* 1.12
+1.12
In the SubProcess, added a binmode() to STDIN and STDERR, for the windows attempt
Added code to make SimpleDBI work in Win32 boxes, thanks to the recent Wheel::Run patches!
Documentation tweaks as usual
-* 1.11
+1.11
Hannes had a problem:
His IRC bot logs events to a database, and sometimes there is no events to log after
@@ -107,11 +111,11 @@ Revision history for Perl extension POE::Component::SimpleDBI.
The solution was to do a $dbh->ping() before each query, if your DBI driver does it inefficiently, go yell at them!
In the event that a reconnect is not possible, an error will be sent to the CONNECT event handler, look at the updated pod.
-* 1.10
+1.10
Fixed a bug in the DO routine, thanks to Hannes!
-* 1.09
+1.09
Removed the abstract LIMIT 1 to the SINGLE query
@@ -139,11 +143,11 @@ Revision history for Perl extension POE::Component::SimpleDBI.
Added a new command -> Clear_Queue ( clears the queue )
-* 1.08
+1.08
In the SubProcess, removed the select statement requirement
-* 1.07
+1.07
In the SubProcess, fixed a silly mistake in DO's execution of placeholders
@@ -155,19 +159,19 @@ Revision history for Perl extension POE::Component::SimpleDBI.
Documented the _child events
-* 1.06
+1.06
Fixed some typos in the POD
Added the BAGGAGE option
-* 1.05
+1.05
Fixed some typos in the POD
Fixed the DEBUG + MAX_RETRIES "Subroutine redefined" foolishness
-* 1.04
+1.04
Got rid of the EVENT_S and EVENT_E handlers, replaced with a single EVENT handler
@@ -185,7 +189,7 @@ Revision history for Perl extension POE::Component::SimpleDBI.
Fixed some typos in the POD
-* 1.03
+1.03
Increments refcount for querying sessions so they don't go away
@@ -201,6 +205,6 @@ Revision history for Perl extension POE::Component::SimpleDBI.
SubProcess -> added DBI connect failure handling
-* 1.02
+1.02
Initial release
View
@@ -1,16 +0,0 @@
-Build.PL
-MANIFEST
-MANIFEST.SKIP
-README
-Makefile.PL
-META.yml
-Changes
-LICENSE
-
-lib/POE/Component/SimpleDBI.pm
-lib/POE/Component/SimpleDBI/SubProcess.pm
-
-examples/db.pl
-
-t/1_load.t
-t/apocalypse.t
View
@@ -1,29 +0,0 @@
-# skip Eclipse IDE stuff
-\.includepath$
-\.project$
-\.settings/
-
-# Avoid version control files.
-\B\.svn\b
-\B\.git\b
-
-# Avoid Makemaker generated and utility files.
-\bMakefile$
-\bblib/
-\bMakeMaker-\d
-\bpm_to_blib$
-
-# Avoid Module::Build generated and utility files.
-\bBuild$
-\b_build/
-^MYMETA.yml$
-
-# Avoid temp and backup files.
-~$
-\.old$
-\#$
-\b\.#
-\.bak$
-
-# our tarballs
-\.tar\.gz$
View
@@ -0,0 +1,2 @@
+name = POE-Component-SimpleDBI
+[@Apocalyptic]
View
@@ -1,5 +1,4 @@
#!/usr/bin/perl
-use strict; use warnings;
use POE;
use POE::Component::SimpleDBI;
Oops, something went wrong.

0 comments on commit a846fbd

Please sign in to comment.