glyph 0.1.0 → 0.2.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (97) hide show
  1. data/AUTHORS.textile +8 -0
  2. data/CHANGELOG.textile +260 -0
  3. data/LICENSE.textile +26 -0
  4. data/README.textile +49 -21
  5. data/Rakefile +17 -7
  6. data/VERSION +1 -1
  7. data/book/config.yml +11 -5
  8. data/book/document.glyph +24 -13
  9. data/book/lib/macros/reference.rb +41 -14
  10. data/book/output/html/glyph.html +2298 -687
  11. data/book/output/pdf/glyph.pdf +6218 -2698
  12. data/book/script/authors +1 -0
  13. data/book/script/changelog +1 -0
  14. data/book/script/compile.rb +8 -0
  15. data/book/script/license +1 -0
  16. data/book/script/prof +1 -0
  17. data/book/script/prof_results.htm +21079 -0
  18. data/book/script/readme +1 -0
  19. data/book/snippets.yml +3 -4
  20. data/book/text/acknowledgement.glyph +8 -0
  21. data/book/text/authoring.glyph +548 -0
  22. data/book/text/changelog.glyph +76 -0
  23. data/book/text/extending.glyph +224 -0
  24. data/book/text/{getting_started.textile → getting_started.glyph} +30 -24
  25. data/book/text/{introduction.textile → introduction.glyph} +22 -12
  26. data/book/text/license.glyph +21 -0
  27. data/book/text/{ref_commands.textile → ref_commands.glyph} +30 -8
  28. data/book/text/ref_config.glyph +108 -0
  29. data/book/text/ref_macros.glyph +378 -0
  30. data/book/text/troubleshooting.glyph +179 -0
  31. data/config.yml +16 -4
  32. data/glyph.gemspec +83 -22
  33. data/lib/glyph.rb +164 -31
  34. data/lib/glyph/commands.rb +98 -23
  35. data/lib/glyph/document.rb +13 -7
  36. data/lib/glyph/glyph_language.rb +9 -1
  37. data/lib/glyph/glyph_language.treetop +1 -1
  38. data/lib/glyph/interpreter.rb +19 -9
  39. data/lib/glyph/macro.rb +88 -11
  40. data/lib/glyph/macro_validators.rb +48 -0
  41. data/lib/glyph/node.rb +13 -1
  42. data/lib/glyph/system_extensions.rb +0 -28
  43. data/macros/common.rb +125 -31
  44. data/macros/filters.rb +19 -13
  45. data/macros/html/block.rb +119 -68
  46. data/macros/html/inline.rb +29 -3
  47. data/macros/html/structure.rb +40 -40
  48. data/spec/files/article.glyph +5 -0
  49. data/spec/lib/commands_spec.rb +98 -3
  50. data/spec/lib/document_spec.rb +15 -2
  51. data/spec/lib/glyph_spec.rb +39 -10
  52. data/spec/lib/interpreter_spec.rb +8 -2
  53. data/spec/lib/macro_spec.rb +54 -6
  54. data/spec/lib/macro_validators_spec.rb +33 -0
  55. data/spec/lib/node_spec.rb +11 -3
  56. data/spec/macros/filters_spec.rb +5 -5
  57. data/spec/macros/macros_spec.rb +185 -8
  58. data/spec/macros/textile_spec.rb +217 -0
  59. data/spec/spec_helper.rb +25 -15
  60. data/spec/tasks/generate_spec.rb +3 -3
  61. data/spec/tasks/load_spec.rb +11 -1
  62. data/spec/tasks/project_spec.rb +0 -3
  63. data/styles/coderay.css +121 -0
  64. data/styles/default.css +54 -20
  65. data/{book/styles/css3.css → styles/pagination.css} +35 -7
  66. data/styles/ultraviolet/active4d.css +114 -0
  67. data/styles/ultraviolet/all_hallows_eve.css +72 -0
  68. data/styles/ultraviolet/amy.css +147 -0
  69. data/styles/ultraviolet/blackboard.css +88 -0
  70. data/styles/ultraviolet/brilliance_black.css +605 -0
  71. data/styles/ultraviolet/brilliance_dull.css +599 -0
  72. data/styles/ultraviolet/cobalt.css +149 -0
  73. data/styles/ultraviolet/dawn.css +121 -0
  74. data/styles/ultraviolet/eiffel.css +121 -0
  75. data/styles/ultraviolet/espresso_libre.css +109 -0
  76. data/styles/ultraviolet/idle.css +62 -0
  77. data/styles/ultraviolet/iplastic.css +80 -0
  78. data/styles/ultraviolet/lazy.css +73 -0
  79. data/styles/ultraviolet/mac_classic.css +123 -0
  80. data/styles/ultraviolet/magicwb_amiga.css +104 -0
  81. data/styles/ultraviolet/pastels_on_dark.css +188 -0
  82. data/styles/ultraviolet/slush_poppies.css +85 -0
  83. data/styles/ultraviolet/spacecadet.css +51 -0
  84. data/styles/ultraviolet/sunburst.css +180 -0
  85. data/styles/ultraviolet/twilight.css +137 -0
  86. data/styles/ultraviolet/zenburnesque.css +91 -0
  87. data/tasks/generate.rake +45 -26
  88. data/tasks/load.rake +21 -18
  89. data/tasks/project.rake +3 -1
  90. metadata +210 -41
  91. data/book/styles/default.css +0 -190
  92. data/book/text/authoring.textile +0 -351
  93. data/book/text/extending.textile +0 -148
  94. data/book/text/ref_config.textile +0 -0
  95. data/book/text/ref_macros.textile +0 -256
  96. data/book/text/troubleshooting.textile +0 -118
  97. data/styles/css3.css +0 -220
@@ -0,0 +1,91 @@
1
+ pre.zenburnesque .InheritedClass {
2
+ }
3
+ pre.zenburnesque .TypeName {
4
+ color: #F09040;
5
+ }
6
+ pre.zenburnesque .FloatingPointPrefixOperators {
7
+ text-decoration: underline;
8
+ }
9
+ pre.zenburnesque .Number {
10
+ color: #22C0FF;
11
+ }
12
+ pre.zenburnesque .Directive {
13
+ font-weight: bold;
14
+ }
15
+ pre.zenburnesque .LibraryVariable {
16
+ }
17
+ pre.zenburnesque .Storage {
18
+ }
19
+ pre.zenburnesque .line-numbers {
20
+ background-color: #A0A0C0;
21
+ color: #000000;
22
+ }
23
+ pre.zenburnesque .LineNumberDirectives {
24
+ text-decoration: underline;
25
+ }
26
+ pre.zenburnesque .TagName {
27
+ }
28
+ pre.zenburnesque .StorageTypes {
29
+ color: #6080FF;
30
+ }
31
+ pre.zenburnesque .Operators {
32
+ color: #FFFFA0;
33
+ }
34
+ pre.zenburnesque {
35
+ background-color: #404040;
36
+ color: #DEDEDE;
37
+ }
38
+ pre.zenburnesque .LibraryConstant {
39
+ }
40
+ pre.zenburnesque .VariantTypes {
41
+ color: #4080A0;
42
+ }
43
+ pre.zenburnesque .Characters {
44
+ color: #FF8080;
45
+ }
46
+ pre.zenburnesque .FunctionArgument {
47
+ }
48
+ pre.zenburnesque .LanguageKeyword {
49
+ color: #FFFFA0;
50
+ }
51
+ pre.zenburnesque .BuiltInConstant {
52
+ }
53
+ pre.zenburnesque .FloatingPointNumbers {
54
+ text-decoration: underline;
55
+ }
56
+ pre.zenburnesque .ClassTypeName {
57
+ color: #F4A020;
58
+ }
59
+ pre.zenburnesque .TypeName1 {
60
+ color: #FFE000;
61
+ }
62
+ pre.zenburnesque .ModuleKeyword {
63
+ font-weight: bold;
64
+ color: #FF8000;
65
+ }
66
+ pre.zenburnesque .Invalid {
67
+ }
68
+ pre.zenburnesque .LibraryClassType {
69
+ }
70
+ pre.zenburnesque .LibraryFunction {
71
+ }
72
+ pre.zenburnesque .TagAttribute {
73
+ }
74
+ pre.zenburnesque .FloatingPointInfixOperators {
75
+ text-decoration: underline;
76
+ }
77
+ pre.zenburnesque .UserDefinedConstant {
78
+ }
79
+ pre.zenburnesque .String {
80
+ color: #FF2020;
81
+ }
82
+ pre.zenburnesque .FunctionName {
83
+ font-weight: bold;
84
+ color: #FFCC66;
85
+ }
86
+ pre.zenburnesque .Variable {
87
+ }
88
+ pre.zenburnesque .Comment {
89
+ color: #709070;
90
+ font-style: italic;
91
+ }
data/tasks/generate.rake CHANGED
@@ -4,53 +4,72 @@ namespace :generate do
4
4
 
5
5
  desc "Process source"
6
6
  task :document => ["load:all"] do
7
- info "Parsing '#{cfg('document.source')}'..."
8
- text = file_load Glyph::PROJECT/cfg('document.source')
9
- interpreter = Glyph::Interpreter.new text, :source => "file: #{cfg('document.source')}"
10
- info "Processing..."
7
+ Glyph.info "Parsing '#{Glyph['document.source']}'..."
8
+ if Glyph.lite? then
9
+ text = file_load Pathname.new(Glyph['document.source'])
10
+ else
11
+ text = file_load Glyph::PROJECT/Glyph['document.source']
12
+ end
13
+ interpreter = Glyph::Interpreter.new text, :source => "file: #{Glyph['document.source']}"
14
+ Glyph.info "Processing..."
11
15
  interpreter.process
12
- info "Post-processing..."
16
+ Glyph.info "Post-processing..."
13
17
  interpreter.postprocess
14
- Glyph::DOCUMENT = interpreter.document
18
+ Glyph.document = interpreter.document
15
19
  end
16
20
 
17
21
  desc "Create a standalone html file"
18
22
  task :html => :document do
19
- info "Generating HTML file..."
20
- out = Glyph::PROJECT/"output/html"
23
+ Glyph.info "Generating HTML file..."
24
+ if Glyph.lite? then
25
+ out = Pathname.new Glyph['document.output_dir']
26
+ file = (Glyph['document.output'] == 'pdf') ? Glyph['document.filename']+".html" : Glyph['document.output_file']
27
+ else
28
+ out = Glyph::PROJECT/"output/html"
29
+ file = "#{Glyph['document.filename']}.html"
30
+ end
31
+ extension = '.html'
21
32
  out.mkpath
22
- file = "#{cfg('document.filename')}.html"
23
- file_write out/file, Glyph::DOCUMENT.output
24
- info "'#{cfg('document.filename')}.html' generated successfully."
25
- images = Glyph::PROJECT/'output/html/images'
26
- images.mkpath
27
- (Glyph::PROJECT/'images').find do |i|
28
- if i.file? then
29
- dest = "#{Glyph::PROJECT/'output/html/images'}/#{i.relative_path_from(Glyph::PROJECT/'images')}"
30
- Pathname.new(dest).parent.mkpath
31
- file_copy i.to_s, dest
33
+ file_write out/file, Glyph.document.output
34
+ Glyph.info "'#{file}' generated successfully."
35
+ unless Glyph.lite? then
36
+ images = Glyph::PROJECT/'output/html/images'
37
+ images.mkpath
38
+ (Glyph::PROJECT/'images').find do |i|
39
+ if i.file? then
40
+ dest = "#{Glyph::PROJECT/'output/html/images'}/#{i.relative_path_from(Glyph::PROJECT/'images')}"
41
+ Pathname.new(dest).parent.mkpath
42
+ file_copy i.to_s, dest
43
+ end
32
44
  end
33
45
  end
34
46
  end
35
47
 
36
48
  desc "Create a pdf file"
37
49
  task :pdf => :html do
38
- info "Generating PDF file..."
39
- out = Glyph::PROJECT/"output/pdf"
50
+ Glyph.info "Generating PDF file..."
51
+ if Glyph.lite? then
52
+ out = Pathname.new Glyph['document.output_dir']
53
+ src = out/"#{Glyph['document.filename']}.html"
54
+ file = Glyph['document.output_file']
55
+ else
56
+ out = Glyph::PROJECT/"output/pdf"
57
+ src = Glyph::PROJECT/"output/html/#{Glyph['document.filename']}.html"
58
+ file = "#{Glyph['document.filename']}.pdf"
59
+ end
40
60
  out.mkpath
41
- file = cfg('document.filename')
42
- case cfg('pdf_renderer')
61
+ case Glyph['tools.pdf_generator']
43
62
  when 'prince' then
44
63
  ENV['PATH'] += ";#{ENV['ProgramFiles']}\\Prince\\Engine\\bin" if RUBY_PLATFORM.match /mswin/
45
- res = system "prince #{Glyph::PROJECT/"output/html/#{file}.html"} -o #{out/"#{file}.pdf"}"
64
+ res = system "prince #{src} -o #{out/"#{file}"}"
46
65
  if res then
47
- info "'#{file}.pdf' generated successfully."
66
+ Glyph.info "'#{file}' generated successfully."
48
67
  else
49
- warning "An error occurred while generating #{file}.pdf"
68
+ Glyph.error "An error occurred while generating #{file}"
50
69
  end
51
70
  # TODO: support other PDF renderers
52
71
  else
53
- warning "Glyph cannot generate PDF. Please specify a valid pdf_renderer setting."
72
+ Glyph.error "Glyph cannot generate PDF. Please specify a valid tools.pdf_generator setting."
54
73
  end
55
74
  end
56
75
 
data/tasks/load.rake CHANGED
@@ -8,22 +8,24 @@ namespace :load do
8
8
 
9
9
  desc "Load snippets"
10
10
  task :snippets do
11
- raise RuntimeError, "The current directory is not a valid Glyph project" unless Glyph.project?
12
- info "Loading snippets..."
13
- snippets = yaml_load Glyph::PROJECT/'snippets.yml'
14
- raise RuntimeError, "Invalid snippets file" unless snippets.blank? || snippets.is_a?(Hash)
15
- Glyph::SNIPPETS.replace snippets
11
+ unless Glyph.lite? then
12
+ raise RuntimeError, "The current directory is not a valid Glyph project" unless Glyph.project?
13
+ Glyph.info "Loading snippets..."
14
+ snippets = yaml_load Glyph::PROJECT/'snippets.yml'
15
+ raise RuntimeError, "Invalid snippets file" unless snippets.blank? || snippets.is_a?(Hash)
16
+ Glyph::SNIPPETS.replace snippets
17
+ end
16
18
  end
17
19
 
18
20
  desc "Load macros"
19
21
  task :macros do
20
- raise RuntimeError, "The current directory is not a valid Glyph project" unless Glyph.project?
21
- info "Loading macros..."
22
+ raise RuntimeError, "The current directory is not a valid Glyph project" unless Glyph.project? || Glyph.lite?
23
+ Glyph.info "Loading macros..."
22
24
  load_macros = lambda do |macro_base|
23
25
  macro_base.children.each do |c|
24
26
  Glyph.instance_eval file_load(c) unless c.directory?
25
27
  end
26
- macro_dir = macro_base/cfg("filters.target").to_s
28
+ macro_dir = macro_base/Glyph["filters.target"].to_s
27
29
  if macro_dir.exist? then
28
30
  macro_dir.children.each do |f|
29
31
  Glyph.instance_eval file_load(f)
@@ -31,25 +33,26 @@ namespace :load do
31
33
  end
32
34
  end
33
35
  load_macros.call Glyph::HOME/"macros"
34
- load_macros.call Glyph::PROJECT/"lib/macros" rescue nil
36
+ unless Glyph.lite? then
37
+ load_macros.call Glyph::PROJECT/"lib/macros" rescue nil
38
+ end
35
39
  end
36
40
 
37
41
  desc "Load configuration files"
38
42
  task :config do
39
- raise RuntimeError, "The current directory is not a valid Glyph project" unless Glyph.project?
43
+ raise RuntimeError, "The current directory is not a valid Glyph project" unless Glyph.project? || Glyph.lite?
40
44
  # Save overrides set by commands...
41
45
  overrides = Glyph::PROJECT_CONFIG.dup
42
- Glyph::PROJECT_CONFIG.read
46
+ Glyph::PROJECT_CONFIG.read unless Glyph.lite?
43
47
  Glyph::PROJECT_CONFIG.merge! overrides
44
48
  Glyph::SYSTEM_CONFIG.read
45
49
  Glyph::GLOBAL_CONFIG.read
46
- Glyph.reset_config
47
- Glyph.config_override("structure.headers",
48
- [:section] +
49
- cfg('structure.frontmatter') +
50
- cfg('structure.backmatter') +
51
- cfg('structure.bodymatter') -
52
- cfg('structure.hidden'))
50
+ Glyph.config_refresh
51
+ Glyph["structure.headers"] = [:section] +
52
+ Glyph['structure.frontmatter'] +
53
+ Glyph['structure.backmatter'] +
54
+ Glyph['structure.bodymatter'] -
55
+ Glyph['structure.hidden']
53
56
  end
54
57
 
55
58
  end
data/tasks/project.rake CHANGED
@@ -16,9 +16,11 @@ namespace :project do
16
16
  file_copy Glyph::HOME/'document.glyph', Glyph::PROJECT/'document.glyph'
17
17
  config = yaml_load Glyph::HOME/'config.yml'
18
18
  config[:document][:filename] = dir.basename.to_s
19
+ config[:document][:title] = dir.basename.to_s
19
20
  config[:document][:author] = ENV['USER'] || ENV['USERNAME']
21
+ config.delete(:structure)
20
22
  yaml_dump Glyph::PROJECT/'config.yml', config
21
- info "Project '#{dir.basename}' created successfully."
23
+ Glyph.info "Project '#{dir.basename}' created successfully."
22
24
  end
23
25
 
24
26
  desc "Add a new text file to the project"
metadata CHANGED
@@ -1,7 +1,12 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: glyph
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ prerelease: false
5
+ segments:
6
+ - 0
7
+ - 2
8
+ - 0
9
+ version: 0.2.0
5
10
  platform: ruby
6
11
  authors:
7
12
  - Fabio Cevasco
@@ -9,69 +14,191 @@ autorequire:
9
14
  bindir: bin
10
15
  cert_chain: []
11
16
 
12
- date: 2010-04-09 00:00:00 +02:00
17
+ date: 2010-05-09 00:00:00 +02:00
13
18
  default_executable: glyph
14
19
  dependencies:
15
20
  - !ruby/object:Gem::Dependency
16
21
  name: gli
17
- type: :runtime
18
- version_requirement:
19
- version_requirements: !ruby/object:Gem::Requirement
22
+ prerelease: false
23
+ requirement: &id001 !ruby/object:Gem::Requirement
20
24
  requirements:
21
25
  - - ">="
22
26
  - !ruby/object:Gem::Version
27
+ segments:
28
+ - 0
29
+ - 3
30
+ - 1
23
31
  version: 0.3.1
24
- version:
32
+ type: :runtime
33
+ version_requirements: *id001
25
34
  - !ruby/object:Gem::Dependency
26
35
  name: extlib
27
- type: :runtime
28
- version_requirement:
29
- version_requirements: !ruby/object:Gem::Requirement
36
+ prerelease: false
37
+ requirement: &id002 !ruby/object:Gem::Requirement
30
38
  requirements:
31
39
  - - ">="
32
40
  - !ruby/object:Gem::Version
41
+ segments:
42
+ - 0
43
+ - 9
44
+ - 12
33
45
  version: 0.9.12
34
- version:
46
+ type: :runtime
47
+ version_requirements: *id002
35
48
  - !ruby/object:Gem::Dependency
36
49
  name: treetop
37
- type: :runtime
38
- version_requirement:
39
- version_requirements: !ruby/object:Gem::Requirement
50
+ prerelease: false
51
+ requirement: &id003 !ruby/object:Gem::Requirement
40
52
  requirements:
41
53
  - - ">="
42
54
  - !ruby/object:Gem::Version
55
+ segments:
56
+ - 0
57
+ - 4
58
+ - 3
43
59
  version: 0.4.3
44
- version:
60
+ type: :runtime
61
+ version_requirements: *id003
45
62
  - !ruby/object:Gem::Dependency
46
63
  name: rake
47
- type: :runtime
48
- version_requirement:
49
- version_requirements: !ruby/object:Gem::Requirement
64
+ prerelease: false
65
+ requirement: &id004 !ruby/object:Gem::Requirement
50
66
  requirements:
51
67
  - - ">="
52
68
  - !ruby/object:Gem::Version
69
+ segments:
70
+ - 0
71
+ - 8
72
+ - 7
53
73
  version: 0.8.7
54
- version:
74
+ type: :runtime
75
+ version_requirements: *id004
55
76
  - !ruby/object:Gem::Dependency
56
77
  name: rspec
57
- type: :development
58
- version_requirement:
59
- version_requirements: !ruby/object:Gem::Requirement
78
+ prerelease: false
79
+ requirement: &id005 !ruby/object:Gem::Requirement
60
80
  requirements:
61
81
  - - ">="
62
82
  - !ruby/object:Gem::Version
63
- version: "0"
64
- version:
83
+ segments:
84
+ - 1
85
+ - 1
86
+ - 11
87
+ version: 1.1.11
88
+ type: :development
89
+ version_requirements: *id005
65
90
  - !ruby/object:Gem::Dependency
66
91
  name: yard
92
+ prerelease: false
93
+ requirement: &id006 !ruby/object:Gem::Requirement
94
+ requirements:
95
+ - - ">="
96
+ - !ruby/object:Gem::Version
97
+ segments:
98
+ - 1
99
+ - 5
100
+ - 4
101
+ version: 1.5.4
102
+ type: :development
103
+ version_requirements: *id006
104
+ - !ruby/object:Gem::Dependency
105
+ name: jeweler
106
+ prerelease: false
107
+ requirement: &id007 !ruby/object:Gem::Requirement
108
+ requirements:
109
+ - - "="
110
+ - !ruby/object:Gem::Version
111
+ segments:
112
+ - 1
113
+ - 4
114
+ - 0
115
+ version: 1.4.0
116
+ type: :development
117
+ version_requirements: *id007
118
+ - !ruby/object:Gem::Dependency
119
+ name: directory_watcher
120
+ prerelease: false
121
+ requirement: &id008 !ruby/object:Gem::Requirement
122
+ requirements:
123
+ - - ">="
124
+ - !ruby/object:Gem::Version
125
+ segments:
126
+ - 1
127
+ - 3
128
+ - 2
129
+ version: 1.3.2
67
130
  type: :development
68
- version_requirement:
69
- version_requirements: !ruby/object:Gem::Requirement
131
+ version_requirements: *id008
132
+ - !ruby/object:Gem::Dependency
133
+ name: haml
134
+ prerelease: false
135
+ requirement: &id009 !ruby/object:Gem::Requirement
136
+ requirements:
137
+ - - ">="
138
+ - !ruby/object:Gem::Version
139
+ segments:
140
+ - 2
141
+ - 2
142
+ - 3
143
+ version: 2.2.3
144
+ type: :development
145
+ version_requirements: *id009
146
+ - !ruby/object:Gem::Dependency
147
+ name: RedCloth
148
+ prerelease: false
149
+ requirement: &id010 !ruby/object:Gem::Requirement
150
+ requirements:
151
+ - - ">="
152
+ - !ruby/object:Gem::Version
153
+ segments:
154
+ - 4
155
+ - 2
156
+ - 3
157
+ version: 4.2.3
158
+ type: :development
159
+ version_requirements: *id010
160
+ - !ruby/object:Gem::Dependency
161
+ name: bluecloth
162
+ prerelease: false
163
+ requirement: &id011 !ruby/object:Gem::Requirement
70
164
  requirements:
71
165
  - - ">="
72
166
  - !ruby/object:Gem::Version
73
- version: "0"
74
- version:
167
+ segments:
168
+ - 2
169
+ - 0
170
+ - 7
171
+ version: 2.0.7
172
+ type: :development
173
+ version_requirements: *id011
174
+ - !ruby/object:Gem::Dependency
175
+ name: coderay
176
+ prerelease: false
177
+ requirement: &id012 !ruby/object:Gem::Requirement
178
+ requirements:
179
+ - - ">="
180
+ - !ruby/object:Gem::Version
181
+ segments:
182
+ - 0
183
+ - 9
184
+ - 3
185
+ version: 0.9.3
186
+ type: :development
187
+ version_requirements: *id012
188
+ - !ruby/object:Gem::Dependency
189
+ name: ruby-prof
190
+ prerelease: false
191
+ requirement: &id013 !ruby/object:Gem::Requirement
192
+ requirements:
193
+ - - ">="
194
+ - !ruby/object:Gem::Version
195
+ segments:
196
+ - 0
197
+ - 8
198
+ - 1
199
+ version: 0.8.1
200
+ type: :development
201
+ version_requirements: *id013
75
202
  description: Glyph is a framework for structured document authoring.
76
203
  email: h3rald@h3rald.com
77
204
  executables:
@@ -79,8 +206,12 @@ executables:
79
206
  extensions: []
80
207
 
81
208
  extra_rdoc_files:
209
+ - LICENSE.textile
82
210
  - README.textile
83
211
  files:
212
+ - AUTHORS.textile
213
+ - CHANGELOG.textile
214
+ - LICENSE.textile
84
215
  - README.textile
85
216
  - Rakefile
86
217
  - VERSION
@@ -94,17 +225,25 @@ files:
94
225
  - book/output/html/images/glyph.png
95
226
  - book/output/html/images/glyph.svg
96
227
  - book/output/pdf/glyph.pdf
228
+ - book/script/authors
229
+ - book/script/changelog
230
+ - book/script/compile.rb
231
+ - book/script/license
232
+ - book/script/prof
233
+ - book/script/prof_results.htm
234
+ - book/script/readme
97
235
  - book/snippets.yml
98
- - book/styles/css3.css
99
- - book/styles/default.css
100
- - book/text/authoring.textile
101
- - book/text/extending.textile
102
- - book/text/getting_started.textile
103
- - book/text/introduction.textile
104
- - book/text/ref_commands.textile
105
- - book/text/ref_config.textile
106
- - book/text/ref_macros.textile
107
- - book/text/troubleshooting.textile
236
+ - book/text/acknowledgement.glyph
237
+ - book/text/authoring.glyph
238
+ - book/text/changelog.glyph
239
+ - book/text/extending.glyph
240
+ - book/text/getting_started.glyph
241
+ - book/text/introduction.glyph
242
+ - book/text/license.glyph
243
+ - book/text/ref_commands.glyph
244
+ - book/text/ref_config.glyph
245
+ - book/text/ref_macros.glyph
246
+ - book/text/troubleshooting.glyph
108
247
  - config.yml
109
248
  - document.glyph
110
249
  - glyph.gemspec
@@ -116,6 +255,7 @@ files:
116
255
  - lib/glyph/glyph_language.treetop
117
256
  - lib/glyph/interpreter.rb
118
257
  - lib/glyph/macro.rb
258
+ - lib/glyph/macro_validators.rb
119
259
  - lib/glyph/node.rb
120
260
  - lib/glyph/system_extensions.rb
121
261
  - macros/common.rb
@@ -123,6 +263,7 @@ files:
123
263
  - macros/html/block.rb
124
264
  - macros/html/inline.rb
125
265
  - macros/html/structure.rb
266
+ - spec/files/article.glyph
126
267
  - spec/files/container.textile
127
268
  - spec/files/document.glyph
128
269
  - spec/files/document_with_toc.glyph
@@ -136,15 +277,39 @@ files:
136
277
  - spec/lib/glyph_spec.rb
137
278
  - spec/lib/interpreter_spec.rb
138
279
  - spec/lib/macro_spec.rb
280
+ - spec/lib/macro_validators_spec.rb
139
281
  - spec/lib/node_spec.rb
140
282
  - spec/macros/filters_spec.rb
141
283
  - spec/macros/macros_spec.rb
284
+ - spec/macros/textile_spec.rb
142
285
  - spec/spec_helper.rb
143
286
  - spec/tasks/generate_spec.rb
144
287
  - spec/tasks/load_spec.rb
145
288
  - spec/tasks/project_spec.rb
146
- - styles/css3.css
289
+ - styles/coderay.css
147
290
  - styles/default.css
291
+ - styles/pagination.css
292
+ - styles/ultraviolet/active4d.css
293
+ - styles/ultraviolet/all_hallows_eve.css
294
+ - styles/ultraviolet/amy.css
295
+ - styles/ultraviolet/blackboard.css
296
+ - styles/ultraviolet/brilliance_black.css
297
+ - styles/ultraviolet/brilliance_dull.css
298
+ - styles/ultraviolet/cobalt.css
299
+ - styles/ultraviolet/dawn.css
300
+ - styles/ultraviolet/eiffel.css
301
+ - styles/ultraviolet/espresso_libre.css
302
+ - styles/ultraviolet/idle.css
303
+ - styles/ultraviolet/iplastic.css
304
+ - styles/ultraviolet/lazy.css
305
+ - styles/ultraviolet/mac_classic.css
306
+ - styles/ultraviolet/magicwb_amiga.css
307
+ - styles/ultraviolet/pastels_on_dark.css
308
+ - styles/ultraviolet/slush_poppies.css
309
+ - styles/ultraviolet/spacecadet.css
310
+ - styles/ultraviolet/sunburst.css
311
+ - styles/ultraviolet/twilight.css
312
+ - styles/ultraviolet/zenburnesque.css
148
313
  - tasks/generate.rake
149
314
  - tasks/load.rake
150
315
  - tasks/project.rake
@@ -161,28 +326,32 @@ required_ruby_version: !ruby/object:Gem::Requirement
161
326
  requirements:
162
327
  - - ">="
163
328
  - !ruby/object:Gem::Version
329
+ segments:
330
+ - 0
164
331
  version: "0"
165
- version:
166
332
  required_rubygems_version: !ruby/object:Gem::Requirement
167
333
  requirements:
168
334
  - - ">="
169
335
  - !ruby/object:Gem::Version
336
+ segments:
337
+ - 0
170
338
  version: "0"
171
- version:
172
339
  requirements: []
173
340
 
174
341
  rubyforge_project:
175
- rubygems_version: 1.3.5
342
+ rubygems_version: 1.3.6
176
343
  signing_key:
177
344
  specification_version: 3
178
345
  summary: Glyph -- A Ruby-powered Document Authoring Framework
179
346
  test_files:
180
347
  - spec/macros/filters_spec.rb
348
+ - spec/macros/textile_spec.rb
181
349
  - spec/macros/macros_spec.rb
182
350
  - spec/lib/interpreter_spec.rb
183
351
  - spec/lib/commands_spec.rb
184
352
  - spec/lib/node_spec.rb
185
353
  - spec/lib/macro_spec.rb
354
+ - spec/lib/macro_validators_spec.rb
186
355
  - spec/lib/config_spec.rb
187
356
  - spec/lib/glyph_spec.rb
188
357
  - spec/lib/document_spec.rb