Permalink
Browse files

fork from git://github.com/nekokak/p5-dbix-skinny.git

  • Loading branch information...
0 parents commit 917abb14e45260f2e999926b43cf763322562126 @nekokak committed Jan 6, 2011
Showing with 9,885 additions and 0 deletions.
  1. +14 −0 .gitignore
  2. +2 −0 .shipit
  3. +234 −0 Changes
  4. +381 −0 LICENSE
  5. +21 −0 MANIFEST.SKIP
  6. +27 −0 README
  7. +1,380 −0 lib/DBIx/Skinny.pm
  8. +17 −0 lib/DBIx/Skinny/DBD.pm
  9. +31 −0 lib/DBIx/Skinny/DBD/Base.pm
  10. +15 −0 lib/DBIx/Skinny/DBD/Oracle.pm
  11. +12 −0 lib/DBIx/Skinny/DBD/Pg.pm
  12. +18 −0 lib/DBIx/Skinny/DBD/SQLite.pm
  13. +43 −0 lib/DBIx/Skinny/DBD/mysql.pm
  14. +195 −0 lib/DBIx/Skinny/Iterator.pm
  15. +19 −0 lib/DBIx/Skinny/Manual.pm
  16. +39 −0 lib/DBIx/Skinny/Manual/EN.pod
  17. +461 −0 lib/DBIx/Skinny/Manual/EN/Intro.pod
  18. +62 −0 lib/DBIx/Skinny/Manual/JA.pod
  19. +605 −0 lib/DBIx/Skinny/Manual/JA/Intro.pod
  20. +175 −0 lib/DBIx/Skinny/Manual/JA/Resultset.pod
  21. +40 −0 lib/DBIx/Skinny/Mixin.pm
  22. +92 −0 lib/DBIx/Skinny/Profiler.pm
  23. +97 −0 lib/DBIx/Skinny/Profiler/Trace.pm
  24. +252 −0 lib/DBIx/Skinny/Row.pm
  25. +380 −0 lib/DBIx/Skinny/SQL.pm
  26. +34 −0 lib/DBIx/Skinny/SQL/Oracle.pm
  27. +255 −0 lib/DBIx/Skinny/Schema.pm
  28. +86 −0 lib/DBIx/Skinny/Util.pm
  29. +17 −0 sample/tinyurl/Sample.pm
  30. +21 −0 sample/tinyurl/Sample/Schema.pm
  31. +114 −0 sample/tinyurl/tinyurl.pl
  32. +11 −0 t/001_basic/001_compile.t
  33. +57 −0 t/001_basic/002_schema_info.t
  34. +9 −0 t/001_basic/003_explicit_schema.t
  35. +335 −0 t/001_basic/004_sql.t
  36. +78 −0 t/001_basic/005_set_columns.t
  37. +64 −0 t/001_basic/006_all_in_one_file.t
  38. +19 −0 t/001_basic/007_connect_info.t
  39. +41 −0 t/001_basic/008_mixin.t
  40. +18 −0 t/001_basic/009_no_check_schema.t
  41. +61 −0 t/001_basic/010_dbh.t
  42. +47 −0 t/001_basic/011_inflate.t
  43. +95 −0 t/001_basic/012_trigger.t
  44. +102 −0 t/001_basic/013_common_trigger.t
  45. +70 −0 t/001_basic/014_utf8.t
  46. +150 −0 t/001_basic/015_row_class.t
  47. +95 −0 t/001_basic/016_row_exception.t
  48. +59 −0 t/001_basic/017_profile.t
  49. +49 −0 t/001_basic/018_custom_profiler.t
  50. +26 −0 t/001_basic/019_profiler_trace.t
  51. +126 −0 t/001_basic/020_on_connect_do.t
  52. +104 −0 t/001_basic/021_reconnect.t
  53. +47 −0 t/001_basic/022_transaction.t
  54. +73 −0 t/001_basic/023_bulk_insert.t
  55. +92 −0 t/001_basic/024_bind_column.t
  56. +101 −0 t/002_common/000_new.t
  57. +27 −0 t/002_common/001_insert.t
  58. +72 −0 t/002_common/002_update.t
  59. +49 −0 t/002_common/003_delete.t
  60. +58 −0 t/002_common/004_find_or_create.t
  61. +30 −0 t/002_common/005_count.t
  62. +21 −0 t/002_common/006_single.t
  63. +86 −0 t/002_common/007_search.t
  64. +77 −0 t/002_common/008_search_named.t
  65. +24 −0 t/002_common/009_search_by_sql.t
  66. +41 −0 t/002_common/010_resultset.t
  67. +24 −0 t/002_common/011_do.t
  68. +25 −0 t/002_common/012_replace.t
  69. +57 −0 t/002_common/014_find_or_new.t
  70. +58 −0 t/002_common/015_data2row.t
  71. +30 −0 t/002_common/016_hash_to_row.t
  72. +168 −0 t/002_common/017_iterator.t
  73. +22 −0 t/002_common/018_refetch.t
  74. +45 −0 t/002_common/019_get_columns.t
  75. +45 −0 t/002_common/020_get_column.t
  76. +23 −0 t/002_common/021_quote.t
  77. +37 −0 t/002_common/022_disconnect.t
  78. +240 −0 t/002_common/023_multi_pk.t
  79. +21 −0 t/002_common/999_delete_by_sql.t
  80. +22 −0 t/002_common/999_update_by_sql.t
  81. +21 −0 t/500_deprecated/001_deprecated_setup.t
  82. +21 −0 t/500_deprecated/002_deprecated_profiler.t
  83. +90 −0 t/999_regression/bind_param.t
  84. +60 −0 t/999_regression/data2itr_objectarray.t
  85. +23 −0 t/999_regression/deflate_bug.t
  86. +25 −0 t/999_regression/deflate_scalarref.t
  87. +23 −0 t/999_regression/guess_table_name.t
  88. +26 −0 t/999_regression/loose_connect_options_after_new.t
  89. +15 −0 t/999_regression/new_attr.t
  90. +17 −0 t/999_regression/no_schema.t
  91. +16 −0 t/999_regression/prepare_error_handling.t
  92. +29 −0 t/999_regression/row_update_by_scalarref.t
  93. +55 −0 t/999_regression/where_condition_in.t
  94. +26 −0 t/Utils.pm
  95. +11 −0 t/lib/Mixin/Foo.pm
  96. +46 −0 t/lib/Mock/Basic.pm
  97. +15 −0 t/lib/Mock/Basic/Schema.pm
  98. +17 −0 t/lib/Mock/BasicBindColumn.pm
  99. +27 −0 t/lib/Mock/BasicBindColumn/Schema.pm
  100. +11 −0 t/lib/Mock/DeprecatedProfiler.pm
  101. +9 −0 t/lib/Mock/DeprecatedSetup.pm
  102. +18 −0 t/lib/Mock/ErrRow.pm
  103. +10 −0 t/lib/Mock/ErrRow/Row.pm
  104. +14 −0 t/lib/Mock/ErrRow/Schema.pm
  105. +18 −0 t/lib/Mock/ErrRowChild.pm
  106. +10 −0 t/lib/Mock/ErrRowChild/Row/MockErrChildRow.pm
  107. +14 −0 t/lib/Mock/ErrRowChild/Schema.pm
  108. +16 −0 t/lib/Mock/ExplicitSchema.pm
  109. +13 −0 t/lib/Mock/ExplicitSchemaSchema.pm
  110. +32 −0 t/lib/Mock/Inflate.pm
  111. +11 −0 t/lib/Mock/Inflate/Name.pm
  112. +25 −0 t/lib/Mock/Inflate/Schema.pm
  113. +64 −0 t/lib/Mock/Trigger.pm
  114. +71 −0 t/lib/Mock/Trigger/Schema.pm
  115. +41 −0 tools/benchmark.pl
  116. +31 −0 tools/benchmark_get_column.pl
  117. +26 −0 tools/benchmark_row.pl
  118. +38 −0 tools/benchmark_utf8.pl
  119. +29 −0 tools/bulk_insert_sqlite_bench.pl
  120. +42 −0 tools/externals_tests.pl
  121. +9 −0 xt/02_pod.t
  122. +19 −0 xt/Utils/mysql.pm
  123. +21 −0 xt/Utils/postgresql.pm
  124. +20 −0 xt/mysql/common.t
  125. +37 −0 xt/mysql/fork.t
  126. +262 −0 xt/mysql/transaction.t
  127. +9 −0 xt/perlcritic.t
  128. +5 −0 xt/perlcriticrc
  129. +20 −0 xt/postgresql/common.t
  130. +7 −0 xt/postgresql/transaction.t
@@ -0,0 +1,14 @@
+Makefile.PL
+cover_db
+META.yml
+Makefile
+blib
+inc
+pm_to_blib
+MANIFEST
+Makefile.old
+old/
+*.swp
+test.*
+*~
+tools/externals
@@ -0,0 +1,2 @@
+steps = FindVersion, ChangeVersion, CheckChangeLog, DistTest, Commit, Tag, MakeDist, UploadCPAN
+git.push_to = origin
234 Changes
@@ -0,0 +1,234 @@
+Revision history for Perl extension DBIx::Skinny
+
+0.0732
+ 2010-12-22
+ - FIXED : deflate bug. (thanks azumakuniyuki)
+ - MOD : check prepare method. (thanks tokuhirom)
+ - MOD : refactoring insert code. (thanks tokuhirom)
+
+0.0731
+ 2010-12-15
+ - FIXED : where condition bug fixed. (thanks tokuhirom)
+
+0.0730
+ 2010-12-14
+ - MOD : add load_class method.
+ - ADD : add_where_raw method for Skinny::SQL (thanks nihen)
+ - MOD : Iterator's no_cache method has been deprecated. use cache method instead.
+ - ADD : add find_or_create's knowun bug notice message.
+ - ADD : refetch method for DBIx::Skinny::Row.
+ - MOD : remove Skinny::Transaction. use DBIx::TransactionManager.
+ - MOD : refactoring tests.
+
+0.0729
+ 2010-11-30
+ - FIXED : _mk_row_class bug fixed. (report thanks nihen)
+
+0.0728
+ 2010-11-30
+ - MOD : remove DBIx::Skinny::Accessor. use Class::Accessor::Lite.
+ - MOD : DEPRECATED update_by_sql/delete_by_sql methods.
+ - MOD : no create anon row class.
+ - MOD : specific row class name for Schema.pm
+ - MOD : get now connection info from connect_info method.
+
+0.0727
+ 2010-11-09
+ - ADD : hash_to_row class.
+ - MOD : DBIx::Skinny::attribute method rename DBIx::Skinny::_attributes. [INCOMPATIBLE CHANGE]
+ - ADD : auto create Row class mode.
+ - MOD : no eval for txn_*. (thanks tokuhirom)
+
+0.0726
+ 2010-11-02
+ - ADD : disconnect method.(thanks lestrrat)
+ - FIXED : tweak English (thanks lestrrat)
+
+0.0725
+ 2010-10-28
+ - ADD : add handle method for DBIx::Skinny::Row.
+ - MOD : DBIx::Skinny did inherits without doing export.
+ - FIXED : don't warn on pk-less tables.(thanks lestrrat)
+ - MOD : allow setting the name of the schema at use DBIx::Skinny time (thanks lestrrat)
+ - MOD : change setup to connect_info. setup now warns, and is aliased to connect_info (thanks lestrrat)
+ - MOD : change where profiler is set, also now respect SKINNY_PROFILE env var (thanks lestrrat)
+ - ADD : add ARCHITECTURE document.(thanks lestrrat)
+
+0.0724
+ 2010-10-26
+ - FIXED : find_or_create multi pk bug (thanks tokuhirom)
+
+0.0723
+ 2010-10-25
+ - MOD : more infomation for no selected column error.
+ - MOD : no dependent Test::Output (thanks yibe)
+
+0.0722
+ 2010-10-20
+ - ADD : suppress_row_objects mode. more faster.
+
+0.0721
+ 2010-09-22
+ - FIXED : Fixed pod was broken.(thanks tokuhirom)
+ - FIXED : Makefile.PL
+
+0.0720
+ 2010-08-20
+ - FIXED : Fixed bug in using "IN" operator in "DELETE/UPDATE" statement (thanks magicalhat)
+
+0.0719
+ 2010-08-19
+ - FIXED : document.
+ - FIXED : inc/Test/SharedFork.pm
+
+0.0718
+ 2010-08-18
+ - MOD : some documetn. see) http://d.hatena.ne.jp/tokuhirom/20100815/1281886033
+
+0.0717
+ 2010-08-11
+ - FIXED : fixed bug for data2itr pass object-array (thanks nihen)
+
+0.0716
+ 2010-08-10
+ - FIXED : _guess_table_name support multiline sql (thanks nihen)
+ - ADD : Added position accessor to Iterator (thanks nihen)
+
+0.0715
+ 2010-07-26
+ - MOD : do method can take \%attr, @bind_params ( It's the same as DBI's "do" behavior ) (thanks tokuhirom)
+ - MOD : single/search method can select..for update.
+
+0.0714
+ 2010-07-06
+ - MOD : The setting method of Schema#pk is enhanced bug fixed. (thanks gfx)
+
+0.0713
+ 2010-07-06
+ - MOD : The setting method of Schema#pk is enhanced. (thanks tokuhirom)
+
+0.0712
+ 2010-06-29
+ - MOD : added method search_rs. Return DBIx::Skinny::SQL's object. (thanks walf443)
+ - MOD : add fork safe dbh handling (thanks nihen)
+ - ADD : DBIx::Skinny::SQL's docs (thanks walf443)
+ - ADD : add_complex_where's test (thanks walf443)
+ - ADD : DBIx::Skinny::Manual::EN (thanks metaperl)
+ - FIXED : t/218_transaction_mysql.t's typo (thanks nihen)
+
+0.0711
+ 2010-05-16
+ - FIXED : typo s/realy/really/ (thanks azumakuniyuki)
+ - FIXED : typo s/potition/position/g (thanks azumakuniyuki)
+ - FIXED : bind_param bug fixed.
+
+0.0710
+ 2010-04-22
+ - MOD : support bind_param.
+ - MOD : add replace method.
+ - INCOMPATIBLE MOD: pre_insert and post_insert trigger should not work in bulk_insert. mysql driver does not effect this change. (walf443)
+ - fix typo s/alreay/already/ ( magicalhat++ )
+ - FIXED: loose connect_options after new (thanks yibe)
+
+0.0709
+ 2010-04-20
+ - FIXED: check get_column argument and check no select column case (walf443)
+ - FIXED: typo fixed. s/coddnnect_options/connect_options/. (thanks yibe)
+
+0.0708
+ 2010-04-07
+ - FIXED: s/is not exist/dose not exist/g (thanks azumakuniyuki and mizzy)
+ - FIXED: fetch data for find_or_create. (walf443)
+ - FIXED: SQL function was able to be used by add_where method.
+
+0.0707
+ 2010-04-05
+ - ADD: added on_connect_do option. It's useful for hooking when connected (walf443)
+ - FIXED: IO::Handle->autoflush is not exist on some IO::Handle version (walf443)
+
+0.0706
+ 2010-03-23
+ - MOD: accept $dbh for DBIx::Skinny->new() (tokuhirom)
+ - FIXED: utf8_(on|off) should mention is_utf8_column (tokuhirom)
+
+0.0705
+ 2010-03-18
+ - MOD: add Profiler::Trace (thanks Makamaka Hannyaharamitu and tokuhirom)
+
+0.0704
+ 2010-03-16
+ - MOD: allow ArrayRef for search_named argument (thanks walf443)
+ - MOD: add check schema attribute (thanks nekoya)
+ - FIXED: t/217_transaction_sqlite.t requires DBD::SQLite (thanks tokuhirom)
+
+0.0703
+ 2010-03-09
+ - FIXED: DBD::* bulk_insert txn (report Makamaka Hannyaharamitu)
+ - MOD: support multi pk (thanks Makamaka Hannyaharamitu)
+ - MOD: logging txn_(begin|rollback|commit) (thanks Makamaka Hannyaharamitu)
+ - MOD: support nested transaction (thanks Makamaka Hannyaharamitu)
+
+0.0702
+ 2010-03-08
+ - FIXED: DBD::mysql bulk_insert profiler bug. (thanks Makamaka Hannyaharamitu)
+ - FIXED: Makefile.PL require Test::More 0.94 (thanks metaperl)
+ - MOD: more readable error message. (thanks tokuhirom)
+
+0.0701
+ 2010-03-05
+ - MOD: _execute call profiler (thanks Makamaka Hannyaharamitu)
+
+0.07
+ 2010-03-05
+ - FIXED: schema_info is not exist case. (thanks walf443)
+ - FIXED: row class syntax error case. (report by cho45)
+ - MOD: no depends Test::Declare.
+ - MOD: update/upate_by_sql/delete/delete_by_sql use _execute method (thanks magicalhat)
+
+0.06
+ 2010-02-07
+ - FIXED: _guess_table_name bug.
+ - MOD: utf8_on/utf8_off speed up. (thanks tokuhirom)
+ - MOD: direct call caller. (thanks yappo)
+ - FIXED: dbd exception (thanks tokuhirom/walf443)
+ - FIXED: (connecton|do) error handling (thanks walf443)
+ - ADD: some documents
+ - MOD: specific your query profiler (thanks walf443)
+ - FIXED: error processing when Schema.pm doesn't exist (thanks walf443)
+ - MOD: it came to be able to define original Row.pm
+
+0.05
+ 2009-12-21
+ - FIXED: quote col (thanks noblejasper/fujiwara).
+ (table etc no not yet.)
+ - FIXED: fetchrow_hashref('NAME_lc') for Oracle. (thanks Tomoyuki Misonou)
+ - ADD: Oracle support (thanks Tomoyuki Misonou)
+ - FIXED: set_dbh method bug. (report thanks walf443)
+ - FIXED: Row::set method using deflate data. (thanks nekoya)
+ - ADD: install_common_trigger method for DBIx::Skinny::Schema (thanks nekoya)
+
+0.04
+ 2009-10-01
+ - FIXED: avoid warning, in case of binds contains undef by Profiler.pm (thanks nekoya)
+ - FIXED: pod typo (thanks nekoya/yusukebe/fujiwara)
+ - MOD: Hide from pause by sample code.
+ - ADD: PostgreSQL support (thanks oinume and fujiwara)
+
+0.03
+ 2009-08-17
+ - FIXED: get delete rows count. (RT#48359)
+ - FIXED: pod typo (thanks TBONE)
+ - MOD: supported search with order_by as hashref or string (thanks nekoya)
+ - MOD: call set when updated row object (thanks nekoya)
+ - MOD: add new method and more.
+ - ADD: skinny sample code.
+ - ADD: Manual document.
+
+0.02
+ 2009-07-15
+ - FIXED: tests.
+ - MOD: connection method.
+
+0.01
+ 2008-11-24
+ - original version
Oops, something went wrong.

0 comments on commit 917abb1

Please sign in to comment.