aboutsummaryrefslogtreecommitdiffhomepage
path: root/org/db.org
diff options
context:
space:
mode:
authorRalph Amissah <ralph.amissah@gmail.com>2022-03-09 21:05:51 -0500
committerRalph Amissah <ralph.amissah@gmail.com>2022-03-11 12:29:57 -0500
commit0a87b8fbd5b013b8da07f6bc30360ff735217367 (patch)
tree16cd52e499f0cc9a919c8d0d32a3932573ebbfcd /org/db.org
parentorg-mode, track bin files (diff)
org-mode and ruby file headers modified
- org-mode file headers modified to preserve org-mode ruby syntax highlighting
Diffstat (limited to 'org/db.org')
-rw-r--r--org/db.org69
1 files changed, 40 insertions, 29 deletions
diff --git a/org/db.org b/org/db.org
index 696afb48..469416b3 100644
--- a/org/db.org
+++ b/org/db.org
@@ -18,8 +18,9 @@
* dbi.rb
-#+BEGIN_SRC ruby :tangle "../lib/sisu/dbi.rb"
-<<sisu_document_header>>
+#+HEADER: :tangle "../lib/sisu/dbi.rb"
+#+BEGIN_SRC ruby
+#<<sisu_document_header>>
module SiSU_DBI #% database building
require_relative 'se' # se.rb
include SiSU_Env; include SiSU_Screen
@@ -134,8 +135,9 @@ __END__
* dbi_discrete.rb
-#+BEGIN_SRC ruby :tangle "../lib/sisu/dbi_discrete.rb"
-<<sisu_document_header>>
+#+HEADER: :tangle "../lib/sisu/dbi_discrete.rb"
+#+BEGIN_SRC ruby
+#<<sisu_document_header>>
module SiSU_DBI_Discrete #% database building
require_relative 'se' # se.rb
include SiSU_Env; include SiSU_Screen
@@ -290,8 +292,9 @@ __END__
* db_dbi.rb
-#+BEGIN_SRC ruby :tangle "../lib/sisu/db_dbi.rb"
-<<sisu_document_header>>
+#+HEADER: :tangle "../lib/sisu/db_dbi.rb"
+#+BEGIN_SRC ruby
+#<<sisu_document_header>>
module SiSU_DbDBI
require_relative 'db_columns' # db_columns.rb
require_relative 'db_tests' # db_tests.rb
@@ -330,8 +333,9 @@ __END__
* db_sqltxt.rb
-#+BEGIN_SRC ruby :tangle "../lib/sisu/db_sqltxt.rb"
-<<sisu_document_header>>
+#+HEADER: :tangle "../lib/sisu/db_sqltxt.rb"
+#+BEGIN_SRC ruby
+#<<sisu_document_header>>
module SiSU_DbText
class Prepare
def special_character_escape(str)
@@ -454,8 +458,9 @@ __END__
* create drop import remove
** db_create.rb
-#+BEGIN_SRC ruby :tangle "../lib/sisu/db_create.rb"
-<<sisu_document_header>>
+#+HEADER: :tangle "../lib/sisu/db_create.rb"
+#+BEGIN_SRC ruby
+#<<sisu_document_header>>
module SiSU_DbCreate
require_relative 'db_columns' # db_columns.rb
class Create < SiSU_DbColumns::Columns
@@ -1093,8 +1098,9 @@ __END__
** db_drop.rb
-#+BEGIN_SRC ruby :tangle "../lib/sisu/db_drop.rb"
-<<sisu_document_header>>
+#+HEADER: :tangle "../lib/sisu/db_drop.rb"
+#+BEGIN_SRC ruby
+#<<sisu_document_header>>
module SiSU_DbDrop
require_relative 'utils_response' # utils_response.rb
class Drop
@@ -1250,8 +1256,9 @@ __END__
** db_import.rb
-#+BEGIN_SRC ruby :tangle "../lib/sisu/db_import.rb"
-<<sisu_document_header>>
+#+HEADER: :tangle "../lib/sisu/db_import.rb"
+#+BEGIN_SRC ruby
+#<<sisu_document_header>>
module SiSU_DbImport
require_relative 'db_columns' # db_columns.rb
require_relative 'db_load_tuple' # db_load_tuple.rb
@@ -2077,8 +2084,9 @@ __END__
** db_remove.rb
-#+BEGIN_SRC ruby :tangle "../lib/sisu/db_remove.rb"
-<<sisu_document_header>>
+#+HEADER: :tangle "../lib/sisu/db_remove.rb"
+#+BEGIN_SRC ruby
+#<<sisu_document_header>>
module SiSU_DbRemove
class Remove
include SiSU_DbAction
@@ -2209,8 +2217,9 @@ __END__
* db_load_tuple.rb
-#+BEGIN_SRC ruby :tangle "../lib/sisu/db_load_tuple.rb"
-<<sisu_document_header>>
+#+HEADER: :tangle "../lib/sisu/db_load_tuple.rb"
+#+BEGIN_SRC ruby
+#<<sisu_document_header>>
module SiSU_DbTuple
require_relative 'db_columns' # db_columns.rb
class LoadDocuments
@@ -2463,8 +2472,9 @@ __END__
* db_select.rb
-#+BEGIN_SRC ruby :tangle "../lib/sisu/db_select.rb"
-<<sisu_document_header>>
+#+HEADER: :tangle "../lib/sisu/db_select.rb"
+#+BEGIN_SRC ruby
+#<<sisu_document_header>>
module SiSU_DbAction
def db_action(sdb)
@sdb=sdb
@@ -2644,8 +2654,9 @@ __END__
* structure
** db_columns.rb
-#+BEGIN_SRC ruby :tangle "../lib/sisu/db_columns.rb"
-<<sisu_document_header>>
+#+HEADER: :tangle "../lib/sisu/db_columns.rb"
+#+BEGIN_SRC ruby
+#<<sisu_document_header>>
module SiSU_DbColumns
require_relative 'se' # se.rb
require_relative 'db_sqltxt' # db_sqltxt.rb
@@ -4592,8 +4603,9 @@ __END__
** db_indexes.rb
-#+BEGIN_SRC ruby :tangle "../lib/sisu/db_indexes.rb"
-<<sisu_document_header>>
+#+HEADER: :tangle "../lib/sisu/db_indexes.rb"
+#+BEGIN_SRC ruby
+#<<sisu_document_header>>
module SiSU_DbIndex
class Index # create documents Indexes def initialize(opt,conn='',sql_type)
def initialize(opt,conn,file,sql_type)
@@ -4688,8 +4700,9 @@ __END__
* db_tests.rb
-#+BEGIN_SRC ruby :tangle "../lib/sisu/db_tests.rb"
-<<sisu_document_header>>
+#+HEADER: :tangle "../lib/sisu/db_tests.rb"
+#+BEGIN_SRC ruby
+#<<sisu_document_header>>
module SiSU_DbTests
class Test
def initialize(info,opt)
@@ -4754,8 +4767,7 @@ __END__
#+NAME: sisu_document_header
#+BEGIN_SRC text
-#encoding: utf-8
-=begin
+encoding: utf-8
- Name: SiSU
- Description: documents, structuring, processing, publishing, search
@@ -4807,5 +4819,4 @@ __END__
<https://git.sisudoc.org/projects/>
<https://git.sisudoc.org/projects/?p=software/sisu.git;a=summary>
<https://git.sisudoc.org/projects/?p=markup/sisu-markup-samples.git;a=summary>
-=end
#+END_SRC