BxMS 0.0.18

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (60) hide show
  1. data/bin/bxms +8 -0
  2. data/bin/bxms.bat +3 -0
  3. data/bin/bxms.rb +8 -0
  4. data/bin/bxms.sh +3 -0
  5. data/examples/www.berlinfactor.com/Bx.css +317 -0
  6. data/examples/www.berlinfactor.com/Bx.js +39 -0
  7. data/examples/www.berlinfactor.com/Section.Books/books.txt +198 -0
  8. data/examples/www.berlinfactor.com/Section.Books/index.page +18 -0
  9. data/examples/www.berlinfactor.com/Section.Bx/index.page +18 -0
  10. data/examples/www.berlinfactor.com/Section.Contact/index.page +12 -0
  11. data/examples/www.berlinfactor.com/Section.Links/Game.Development.txt +6 -0
  12. data/examples/www.berlinfactor.com/Section.Links/News.and.Stuff.txt +10 -0
  13. data/examples/www.berlinfactor.com/Section.Links/Software.Development.txt +25 -0
  14. data/examples/www.berlinfactor.com/Section.Links/Symbian.Development.txt +22 -0
  15. data/examples/www.berlinfactor.com/Section.Links/Tools.and.Utilities.txt +15 -0
  16. data/examples/www.berlinfactor.com/Section.Links/index.page +31 -0
  17. data/examples/www.berlinfactor.com/favicon.ico +0 -0
  18. data/examples/www.berlinfactor.com/images/background.png +0 -0
  19. data/examples/www.berlinfactor.com/images/logo_above.gif +0 -0
  20. data/examples/www.berlinfactor.com/images/logo_below.gif +0 -0
  21. data/examples/www.berlinfactor.com/images/logo_clickable.gif +0 -0
  22. data/examples/www.berlinfactor.com/images/no_section_name.gif +0 -0
  23. data/examples/www.berlinfactor.com/images/section_books.gif +0 -0
  24. data/examples/www.berlinfactor.com/images/section_books_hover.gif +0 -0
  25. data/examples/www.berlinfactor.com/images/section_books_name.gif +0 -0
  26. data/examples/www.berlinfactor.com/images/section_bx.gif +0 -0
  27. data/examples/www.berlinfactor.com/images/section_bx_hover.gif +0 -0
  28. data/examples/www.berlinfactor.com/images/section_bx_name.gif +0 -0
  29. data/examples/www.berlinfactor.com/images/section_contact.gif +0 -0
  30. data/examples/www.berlinfactor.com/images/section_contact_hover.gif +0 -0
  31. data/examples/www.berlinfactor.com/images/section_contact_name.gif +0 -0
  32. data/examples/www.berlinfactor.com/images/section_links.gif +0 -0
  33. data/examples/www.berlinfactor.com/images/section_links_hover.gif +0 -0
  34. data/examples/www.berlinfactor.com/images/section_links_name.gif +0 -0
  35. data/examples/www.berlinfactor.com/images/section_tfdj.gif +0 -0
  36. data/examples/www.berlinfactor.com/images/section_tfdj_hover.gif +0 -0
  37. data/examples/www.berlinfactor.com/images/section_tfdj_name.gif +0 -0
  38. data/examples/www.berlinfactor.com/index.page +21 -0
  39. data/examples/www.berlinfactor.com/news.page +11 -0
  40. data/examples/www.berlinfactor.com/news.txt +210 -0
  41. data/src/bxms.rb +61 -0
  42. data/src/bxms/context.rb +96 -0
  43. data/src/bxms/functions.rb +39 -0
  44. data/src/bxms/processor.rb +53 -0
  45. data/src/bxms/root_state.rb +30 -0
  46. data/src/bxms/rules.rb +82 -0
  47. data/src/bxms/state.rb +105 -0
  48. data/src/bxms/tags.rb +108 -0
  49. data/src/bxms/variables.rb +9 -0
  50. data/src/page/part.rb +51 -0
  51. data/src/page/part_collector.rb +55 -0
  52. data/src/rules/base.rb +16 -0
  53. data/src/rules/copy.rb +17 -0
  54. data/src/rules/ignore.rb +14 -0
  55. data/src/rules/process.rb +23 -0
  56. data/src/rules/process_page.rb +69 -0
  57. data/src/util/chained_hash.rb +41 -0
  58. data/src/util/logger.rb +710 -0
  59. data/src/util/system_logger.rb +30 -0
  60. metadata +116 -0
@@ -0,0 +1,30 @@
1
+
2
+ require 'util/logger'
3
+
4
+
5
+
6
+ module Util
7
+
8
+ module SystemLogger
9
+
10
+ include Util::Logger::Severity
11
+
12
+ BASE_TAG = 'BxMS'
13
+
14
+ def self.new( name = BASE_TAG )
15
+ name = "#{BASE_TAG}::#{name}" unless name.index( BASE_TAG ) == 0
16
+
17
+ log_file_name = "#{BASE_TAG}.log"
18
+ logger = Util::Logger.new log_file_name, 0, 1024000
19
+ logger.level = Util::Logger::INFO
20
+ logger.progname = name
21
+
22
+ log_config_name = '.logging'
23
+ eval File.read( log_config_name ), binding if File.exists? log_config_name
24
+
25
+ logger
26
+ end
27
+
28
+ end
29
+
30
+ end
metadata ADDED
@@ -0,0 +1,116 @@
1
+ --- !ruby/object:Gem::Specification
2
+ rubygems_version: 0.8.11
3
+ specification_version: 1
4
+ name: BxMS
5
+ version: !ruby/object:Gem::Version
6
+ version: 0.0.18
7
+ date: 2006-05-04 00:00:00 +02:00
8
+ summary: Simple offline CMS framework based on ERB, 'tags' and 'functions'.
9
+ require_paths:
10
+ - src
11
+ email: bxms {AT} intensicode {DOT} com
12
+ homepage: bxms.rubyforge.org.
13
+ rubyforge_project: bxms
14
+ description: "Please see the Wiki found at: http://bxms.rubyforge.org/wiki/wiki.pl"
15
+ autorequire:
16
+ default_executable: bxms
17
+ bindir: bin
18
+ has_rdoc: true
19
+ required_ruby_version: !ruby/object:Gem::Version::Requirement
20
+ requirements:
21
+ - - ">"
22
+ - !ruby/object:Gem::Version
23
+ version: 0.0.0
24
+ version:
25
+ platform: ruby
26
+ signing_key:
27
+ cert_chain:
28
+ authors:
29
+ - The.French.DJ
30
+ files:
31
+ - bin/bxms
32
+ - bin/bxms.bat
33
+ - bin/bxms.rb
34
+ - bin/bxms.sh
35
+ - examples/www.berlinfactor.com
36
+ - examples/www.berlinfactor.com/Bx.css
37
+ - examples/www.berlinfactor.com/Bx.js
38
+ - examples/www.berlinfactor.com/favicon.ico
39
+ - examples/www.berlinfactor.com/images
40
+ - examples/www.berlinfactor.com/index.page
41
+ - examples/www.berlinfactor.com/news.page
42
+ - examples/www.berlinfactor.com/news.txt
43
+ - examples/www.berlinfactor.com/Section.Books
44
+ - examples/www.berlinfactor.com/Section.Bx
45
+ - examples/www.berlinfactor.com/Section.Contact
46
+ - examples/www.berlinfactor.com/Section.Links
47
+ - examples/www.berlinfactor.com/images/background.png
48
+ - examples/www.berlinfactor.com/images/logo_above.gif
49
+ - examples/www.berlinfactor.com/images/logo_below.gif
50
+ - examples/www.berlinfactor.com/images/logo_clickable.gif
51
+ - examples/www.berlinfactor.com/images/no_section_name.gif
52
+ - examples/www.berlinfactor.com/images/section_books.gif
53
+ - examples/www.berlinfactor.com/images/section_books_hover.gif
54
+ - examples/www.berlinfactor.com/images/section_books_name.gif
55
+ - examples/www.berlinfactor.com/images/section_bx.gif
56
+ - examples/www.berlinfactor.com/images/section_bx_hover.gif
57
+ - examples/www.berlinfactor.com/images/section_bx_name.gif
58
+ - examples/www.berlinfactor.com/images/section_contact.gif
59
+ - examples/www.berlinfactor.com/images/section_contact_hover.gif
60
+ - examples/www.berlinfactor.com/images/section_contact_name.gif
61
+ - examples/www.berlinfactor.com/images/section_links.gif
62
+ - examples/www.berlinfactor.com/images/section_links_hover.gif
63
+ - examples/www.berlinfactor.com/images/section_links_name.gif
64
+ - examples/www.berlinfactor.com/images/section_tfdj.gif
65
+ - examples/www.berlinfactor.com/images/section_tfdj_hover.gif
66
+ - examples/www.berlinfactor.com/images/section_tfdj_name.gif
67
+ - examples/www.berlinfactor.com/Section.Books/books.txt
68
+ - examples/www.berlinfactor.com/Section.Books/index.page
69
+ - examples/www.berlinfactor.com/Section.Bx/index.page
70
+ - examples/www.berlinfactor.com/Section.Contact/index.page
71
+ - examples/www.berlinfactor.com/Section.Links/Game.Development.txt
72
+ - examples/www.berlinfactor.com/Section.Links/index.page
73
+ - examples/www.berlinfactor.com/Section.Links/News.and.Stuff.txt
74
+ - examples/www.berlinfactor.com/Section.Links/Software.Development.txt
75
+ - examples/www.berlinfactor.com/Section.Links/Symbian.Development.txt
76
+ - examples/www.berlinfactor.com/Section.Links/Tools.and.Utilities.txt
77
+ - src/bxms
78
+ - src/bxms.rb
79
+ - src/page
80
+ - src/rules
81
+ - src/util
82
+ - src/bxms/context.rb
83
+ - src/bxms/functions.rb
84
+ - src/bxms/processor.rb
85
+ - src/bxms/root_state.rb
86
+ - src/bxms/rules.rb
87
+ - src/bxms/state.rb
88
+ - src/bxms/tags.rb
89
+ - src/bxms/variables.rb
90
+ - src/page/part.rb
91
+ - src/page/part_collector.rb
92
+ - src/rules/base.rb
93
+ - src/rules/copy.rb
94
+ - src/rules/ignore.rb
95
+ - src/rules/process.rb
96
+ - src/rules/process_page.rb
97
+ - src/util/chained_hash.rb
98
+ - src/util/logger.rb
99
+ - src/util/system_logger.rb
100
+ test_files: []
101
+
102
+ rdoc_options: []
103
+
104
+ extra_rdoc_files: []
105
+
106
+ executables:
107
+ - bxms
108
+ - bxms.bat
109
+ - bxms.rb
110
+ - bxms.sh
111
+ extensions: []
112
+
113
+ requirements: []
114
+
115
+ dependencies: []
116
+