smartgen 0.3.0 → 0.4.0

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 (44) hide show
  1. data/Gemfile.lock +12 -12
  2. data/README.md +3 -2
  3. data/lib/smartgen/engines/base.rb +10 -10
  4. data/lib/smartgen/generator.rb +36 -33
  5. data/lib/smartgen/markup_file.rb +22 -21
  6. data/lib/smartgen/version.rb +1 -1
  7. metadata +14 -98
  8. data/spec/fixtures/expectations/common/another_index.html +0 -13
  9. data/spec/fixtures/expectations/common/index.html +0 -8
  10. data/spec/fixtures/expectations/common/other_index.html +0 -13
  11. data/spec/fixtures/expectations/indexer/index_with_indexer.html +0 -16
  12. data/spec/fixtures/expectations/indexer/index_with_indexer_and_numbered_index.html +0 -16
  13. data/spec/fixtures/expectations/with_layout/index.html +0 -12
  14. data/spec/fixtures/expectations/with_layout/index_with_metadata.html +0 -43
  15. data/spec/fixtures/expectations/with_layout/index_with_specific_metadata.html +0 -44
  16. data/spec/fixtures/src/assets/images/image.gif +0 -0
  17. data/spec/fixtures/src/assets/javascripts/somelib.js +0 -2
  18. data/spec/fixtures/src/assets/stylesheets/style.css +0 -2
  19. data/spec/fixtures/src/common/another_index.md +0 -12
  20. data/spec/fixtures/src/common/index.textile +0 -10
  21. data/spec/fixtures/src/common/other_index.markdown +0 -12
  22. data/spec/fixtures/src/common/somefile +0 -10
  23. data/spec/fixtures/src/indexer/index_with_indexer.textile +0 -26
  24. data/spec/fixtures/src/indexer/index_with_indexer_and_numbered_index.textile +0 -26
  25. data/spec/fixtures/src/layout.html.erb +0 -5
  26. data/spec/fixtures/src/layout_with_metadata.html.erb +0 -22
  27. data/spec/fixtures/src/layout_with_specific_metadata.html.erb +0 -23
  28. data/spec/fixtures/src/metadata.yml +0 -43
  29. data/spec/fixtures/src/with_layout/index.textile +0 -10
  30. data/spec/fixtures/src/with_layout/index_with_specific_metadata.textile +0 -10
  31. data/spec/lib/smartgen/configuration_spec.rb +0 -38
  32. data/spec/lib/smartgen/engines/base_spec.rb +0 -71
  33. data/spec/lib/smartgen/engines/markdown_spec.rb +0 -23
  34. data/spec/lib/smartgen/engines/textile_spec.rb +0 -19
  35. data/spec/lib/smartgen/generator_spec.rb +0 -226
  36. data/spec/lib/smartgen/indexer_spec.rb +0 -122
  37. data/spec/lib/smartgen/markup_file_spec.rb +0 -148
  38. data/spec/lib/smartgen/object_hash_spec.rb +0 -64
  39. data/spec/lib/smartgen/renderers/erb_spec.rb +0 -32
  40. data/spec/lib/smartgen/resource_spec.rb +0 -60
  41. data/spec/lib/smartgen/watcher_spec.rb +0 -71
  42. data/spec/lib/smartgen_spec.rb +0 -18
  43. data/spec/sandbox/.gitkeep +0 -0
  44. data/spec/spec_helper.rb +0 -37
data/Gemfile.lock CHANGED
@@ -1,8 +1,8 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- smartgen (0.3.0)
5
- RedCloth (>= 4.2.3)
4
+ smartgen (0.4.0)
5
+ RedCloth (= 4.2.3)
6
6
  activesupport (>= 2.3.5)
7
7
  bluecloth (>= 2.0.9)
8
8
  directory_watcher (>= 1.3.2)
@@ -14,9 +14,9 @@ GEM
14
14
  remote: http://rubygems.org/
15
15
  specs:
16
16
  RedCloth (4.2.3)
17
- activesupport (2.3.5)
17
+ activesupport (3.0.4)
18
18
  archive-tar-minitar (0.5.2)
19
- bluecloth (2.0.9)
19
+ bluecloth (2.0.10)
20
20
  columnize (0.3.2)
21
21
  diff-lcs (1.1.2)
22
22
  directory_watcher (1.3.2)
@@ -26,14 +26,14 @@ GEM
26
26
  ruby_core_source (>= 0.1.4)
27
27
  nokogiri (1.4.4)
28
28
  rake (0.8.7)
29
- rspec (2.3.0)
30
- rspec-core (~> 2.3.0)
31
- rspec-expectations (~> 2.3.0)
32
- rspec-mocks (~> 2.3.0)
33
- rspec-core (2.3.1)
34
- rspec-expectations (2.3.0)
29
+ rspec (2.5.0)
30
+ rspec-core (~> 2.5.0)
31
+ rspec-expectations (~> 2.5.0)
32
+ rspec-mocks (~> 2.5.0)
33
+ rspec-core (2.5.1)
34
+ rspec-expectations (2.5.0)
35
35
  diff-lcs (~> 1.1.2)
36
- rspec-mocks (2.3.0)
36
+ rspec-mocks (2.5.0)
37
37
  ruby-debug (0.10.4)
38
38
  columnize (>= 0.1)
39
39
  ruby-debug-base (~> 0.10.4.0)
@@ -55,7 +55,7 @@ PLATFORMS
55
55
  ruby
56
56
 
57
57
  DEPENDENCIES
58
- RedCloth (>= 4.2.3)
58
+ RedCloth (= 4.2.3)
59
59
  activesupport (>= 2.3.5)
60
60
  bluecloth (>= 2.0.9)
61
61
  directory_watcher (>= 1.3.2)
data/README.md CHANGED
@@ -108,7 +108,7 @@ You may create as many resource configurations as you want. When you call `Smart
108
108
  config.layout = 'doc/layout.html.erb'
109
109
  config.metadata_file = 'doc/metadata.yml'
110
110
  end
111
-
111
+
112
112
  Smartgen[:some_other_documentation].configure do |config|
113
113
  config.src_files = ['other_doc/**/*']
114
114
  config.output_folder = 'public/other_docs'
@@ -123,7 +123,7 @@ You may create as many resource configurations as you want. When you call `Smart
123
123
  You may also use a rake task:
124
124
 
125
125
  require 'smartgen/rake_task'
126
-
126
+
127
127
  Smartgen::RakeTask.new :my_doc do |config|
128
128
  config.src_files = ['doc/**/*']
129
129
  config.output_folder = 'public/docs'
@@ -167,6 +167,7 @@ Then you can call both `my_doc` and `watch_my_doc`:
167
167
  * [Emerson Leite](http://github.com/emerleite)
168
168
  * [Rodrigo Lopes](http://github.com/rodvlopes)
169
169
  * [Marcos Silva Pereira](http://github.com/marcospereira)
170
+ * [Wandenberg Peixoto](http://github.com/wandenberg)
170
171
 
171
172
  ## Copyright
172
173
 
@@ -8,21 +8,21 @@ module Smartgen
8
8
  class Base
9
9
  # An array of pre processors that will process files before conversion.
10
10
  class_inheritable_accessor :pre_processors
11
-
11
+
12
12
  def initialize
13
13
  self.pre_processors ||= []
14
14
  end
15
-
15
+
16
16
  # Process a file, calling each pre processor if any.
17
- def process(body)
18
- parse(pre_process(body))
17
+ def process(body, metadata={})
18
+ parse(pre_process(body, metadata))
19
19
  end
20
-
20
+
21
21
  # Returns true if the given extension is supported by this engine.
22
22
  def supported?(extension)
23
23
  extensions.include?(extension)
24
24
  end
25
-
25
+
26
26
  class << self
27
27
  # Registers a pre processor for this engine.
28
28
  def register(processor)
@@ -30,11 +30,11 @@ module Smartgen
30
30
  self.pre_processors << processor
31
31
  end
32
32
  end
33
-
33
+
34
34
  protected
35
- def pre_process(body)
35
+ def pre_process(body, metadata={})
36
36
  self.pre_processors.inject(body) do |processed_body, pre_processor|
37
- processed_body = pre_processor.process(processed_body)
37
+ processed_body = pre_processor.process(processed_body, metadata)
38
38
  processed_body
39
39
  end
40
40
  end
@@ -48,4 +48,4 @@ module Smartgen
48
48
  end
49
49
  end
50
50
  end
51
- end
51
+ end
@@ -4,60 +4,60 @@ module Smartgen
4
4
  # Generates files, possibly using layout and copying assets.
5
5
  class Generator < Thor::Group
6
6
  include Thor::Actions
7
-
7
+
8
8
  desc "An array with all the source files that should be generated. See Configuration#src_files"
9
9
  argument :src_files, :type => :array
10
-
10
+
11
11
  desc "The output folder, where all generated files will be located. See Configuration#output_folder"
12
12
  argument :output_folder, :type => :string
13
-
13
+
14
14
  desc "An optional layout file to be used when rendering each page. See Configuration#layout"
15
15
  class_option :layout, :type => :string
16
-
16
+
17
17
  desc "An array of dirs to be copied to output folder. See Configuration#assets"
18
18
  class_option :assets, :type => :array, :default => []
19
-
19
+
20
20
  desc "A YAML metadata file used to specify metadata used in all pages, or even specific page metadata. See Configuration#metadata_file"
21
21
  class_option :metadata_file, :type => :string
22
-
22
+
23
23
  desc "Whether indexer should be used or not. See Configuration#use_indexer"
24
24
  class_option :use_indexer, :type => :boolean, :default => false
25
-
25
+
26
26
  desc "Whether indexer should add numbered indexes on header tags. See Configuration#numbered_index"
27
27
  class_option :numbered_index, :type => :boolean, :default => false
28
-
28
+
29
29
  def create_output_folder
30
30
  destination_root = output_folder
31
31
  empty_directory output_folder
32
32
  end
33
-
33
+
34
34
  def generate_files
35
35
  markup_files.each do |markup_file|
36
36
  create_file output_folder_path("#{markup_file.filename}.html"), process_file(markup_file), :force => true
37
37
  end
38
38
  end
39
-
39
+
40
40
  def copy_assets
41
41
  options[:assets].each do |dir|
42
42
  self.class.source_root File.dirname(dir)
43
43
  directory File.basename(dir), output_folder_path(File.basename(dir)), :force => true
44
44
  end
45
45
  end
46
-
46
+
47
47
  class << self
48
48
  # Returns the current renderer.
49
49
  def renderer
50
50
  @renderer ||= Smartgen::Renderer::ERB.new
51
51
  end
52
-
52
+
53
53
  # Sets the renderer used when generating files.
54
54
  def renderer=(value)
55
55
  @renderer = value
56
56
  end
57
57
  end
58
-
58
+
59
59
  private
60
-
60
+
61
61
  def process_file(markup_file)
62
62
  if has_layout?
63
63
  self.class.renderer.render(layout, markup_file, metadata_for(markup_file))
@@ -65,21 +65,24 @@ module Smartgen
65
65
  markup_file.contents
66
66
  end
67
67
  end
68
-
68
+
69
69
  def has_layout?
70
70
  options["layout"].present?
71
71
  end
72
-
72
+
73
73
  def layout
74
74
  File.read(options["layout"])
75
75
  end
76
-
76
+
77
77
  def metadata_for(markup_file)
78
- metadata = load_metadata
79
- add_current_page_data_to(metadata, markup_file)
78
+ add_current_page_data_to(markup_file)
80
79
  metadata
81
80
  end
82
-
81
+
82
+ def metadata
83
+ @metadata ||= load_metadata
84
+ end
85
+
83
86
  def load_metadata
84
87
  if options["metadata_file"]
85
88
  YAML.load(File.read(options["metadata_file"]))
@@ -87,41 +90,41 @@ module Smartgen
87
90
  {}
88
91
  end
89
92
  end
90
-
91
- def add_current_page_data_to(metadata, markup_file)
93
+
94
+ def add_current_page_data_to(markup_file)
92
95
  if metadata.has_key?("pages")
93
- metadata["current_page"] = page_metadata(metadata, markup_file) || {}
96
+ metadata["current_page"] = page_metadata(markup_file) || {}
94
97
  end
95
98
  end
96
-
97
- def page_metadata(metadata, markup_file)
99
+
100
+ def page_metadata(markup_file)
98
101
  metadata["pages"].select { |page| current_page?(page, markup_file) }.first
99
102
  end
100
-
103
+
101
104
  def current_page?(page, markup_file)
102
105
  page.has_key?("file") && page["file"] == markup_file.filename
103
106
  end
104
-
107
+
105
108
  def markup_files
106
109
  Dir[*src_files].select { |f| supported?(File.extname(f)) }.map do |markup_filename|
107
110
  MarkupFile.new markup_filename, markup_file_options
108
111
  end
109
112
  end
110
-
113
+
111
114
  def markup_file_options
112
115
  if options[:numbered_index]
113
- { :indexer => { :numbered_index => true } }
116
+ { :indexer => { :numbered_index => true }, :metadata => metadata }
114
117
  else
115
- { :indexer => options[:use_indexer] }
118
+ { :indexer => options[:use_indexer], :metadata => metadata }
116
119
  end
117
120
  end
118
-
121
+
119
122
  def supported?(extension)
120
123
  MarkupFile.engines.one? { |engine| engine.supported?(extension) }
121
124
  end
122
-
125
+
123
126
  def output_folder_path(path)
124
127
  File.join(output_folder, path)
125
128
  end
126
129
  end
127
- end
130
+ end
@@ -1,16 +1,16 @@
1
1
  require 'active_support/core_ext/object/blank'
2
2
 
3
3
  module Smartgen
4
-
4
+
5
5
  # A MarkupFile is created for each file that will be generated.
6
6
  #
7
7
  # It is also exposed in layouts, as +markup_file+ variable.
8
8
  #
9
9
  # It receives the +path+ of the file and process it using the first suitable
10
10
  # engine, based on the extension of the file.
11
- #
11
+ #
12
12
  # It can also receive an options hash with indexer options:
13
- #
13
+ #
14
14
  # MarkupFile.new 'some/path', :indexer => true
15
15
  #
16
16
  # Or, if you want to pass options for the Indexer:
@@ -18,44 +18,45 @@ module Smartgen
18
18
  # MarkupFile.new 'some/path', :indexer => { :numbered_index => true }
19
19
  #
20
20
  class MarkupFile
21
-
21
+
22
22
  # The path of the file.
23
23
  attr_accessor :path
24
-
24
+
25
25
  # The name of the file, without extension.
26
26
  attr_accessor :filename
27
-
27
+
28
28
  # The extension of the file.
29
29
  attr_accessor :extension
30
-
30
+
31
31
  # The engine used to process the file.
32
32
  attr_accessor :engine
33
-
33
+
34
34
  # The contents of the file after processing.
35
35
  attr_accessor :contents
36
-
36
+
37
37
  # The indexer instance, if +options[:indexer]+ is given
38
38
  attr_accessor :indexer
39
-
39
+
40
40
  def initialize(path, options={})
41
41
  @path = path
42
42
  @extension = File.extname(path)
43
43
  @filename = File.basename(path, @extension)
44
44
  @engine = engine_for(@extension) || self.class.engines.first
45
-
46
- @contents = engine.process(raw_contents)
47
-
45
+
46
+ @contents = engine.process(raw_contents, options[:metadata])
47
+
48
48
  if options[:indexer]
49
49
  @indexer = Smartgen::Indexer.new(@contents, options[:indexer])
50
50
  @contents = @indexer.result
51
51
  end
52
+
52
53
  end
53
-
54
+
54
55
  # The contents of the file before processing.
55
56
  def raw_contents
56
57
  File.read(path)
57
58
  end
58
-
59
+
59
60
  class << self
60
61
  # Returns an array with the supported engines.
61
62
  #
@@ -65,10 +66,10 @@ module Smartgen
65
66
  if @engines.blank?
66
67
  @engines = [Smartgen::Engine::Textile.new, Smartgen::Engine::Markdown.new]
67
68
  end
68
-
69
+
69
70
  @engines
70
71
  end
71
-
72
+
72
73
  # Register an engine to be used when generating files.
73
74
  #
74
75
  # The engine will be added with the highest priority.
@@ -76,15 +77,15 @@ module Smartgen
76
77
  engines.unshift engine.new
77
78
  end
78
79
  end
79
-
80
+
80
81
  private
81
-
82
+
82
83
  def engine_for(extension)
83
84
  self.class.engines.each do |engine|
84
85
  return engine if engine.supported?(extension)
85
86
  end
86
-
87
+
87
88
  nil
88
89
  end
89
90
  end
90
- end
91
+ end
@@ -1,4 +1,4 @@
1
1
  # -*- encoding: utf-8 -*-
2
2
  module Smartgen
3
- VERSION = "0.3.0"
3
+ VERSION = "0.4.0"
4
4
  end
metadata CHANGED
@@ -1,13 +1,12 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: smartgen
3
3
  version: !ruby/object:Gem::Version
4
- hash: 19
5
4
  prerelease: false
6
5
  segments:
7
6
  - 0
8
- - 3
7
+ - 4
9
8
  - 0
10
- version: 0.3.0
9
+ version: 0.4.0
11
10
  platform: ruby
12
11
  authors:
13
12
  - Vicente Mundim
@@ -15,7 +14,7 @@ autorequire:
15
14
  bindir: bin
16
15
  cert_chain: []
17
16
 
18
- date: 2011-01-28 00:00:00 -02:00
17
+ date: 2011-02-10 00:00:00 -02:00
19
18
  default_executable:
20
19
  dependencies:
21
20
  - !ruby/object:Gem::Dependency
@@ -26,7 +25,6 @@ dependencies:
26
25
  requirements:
27
26
  - - ">="
28
27
  - !ruby/object:Gem::Version
29
- hash: 43
30
28
  segments:
31
29
  - 0
32
30
  - 14
@@ -42,7 +40,6 @@ dependencies:
42
40
  requirements:
43
41
  - - ">="
44
42
  - !ruby/object:Gem::Version
45
- hash: 11
46
43
  segments:
47
44
  - 0
48
45
  - 5
@@ -58,7 +55,6 @@ dependencies:
58
55
  requirements:
59
56
  - - ">="
60
57
  - !ruby/object:Gem::Version
61
- hash: 9
62
58
  segments:
63
59
  - 2
64
60
  - 3
@@ -72,9 +68,8 @@ dependencies:
72
68
  requirement: &id004 !ruby/object:Gem::Requirement
73
69
  none: false
74
70
  requirements:
75
- - - ">="
71
+ - - "="
76
72
  - !ruby/object:Gem::Version
77
- hash: 49
78
73
  segments:
79
74
  - 4
80
75
  - 2
@@ -90,7 +85,6 @@ dependencies:
90
85
  requirements:
91
86
  - - ">="
92
87
  - !ruby/object:Gem::Version
93
- hash: 29
94
88
  segments:
95
89
  - 2
96
90
  - 0
@@ -106,7 +100,6 @@ dependencies:
106
100
  requirements:
107
101
  - - ">="
108
102
  - !ruby/object:Gem::Version
109
- hash: 15
110
103
  segments:
111
104
  - 1
112
105
  - 4
@@ -122,7 +115,6 @@ dependencies:
122
115
  requirements:
123
116
  - - ">="
124
117
  - !ruby/object:Gem::Version
125
- hash: 31
126
118
  segments:
127
119
  - 1
128
120
  - 3
@@ -138,7 +130,6 @@ dependencies:
138
130
  requirements:
139
131
  - - ">="
140
132
  - !ruby/object:Gem::Version
141
- hash: 3
142
133
  segments:
143
134
  - 2
144
135
  - 3
@@ -156,65 +147,28 @@ extensions: []
156
147
  extra_rdoc_files: []
157
148
 
158
149
  files:
159
- - lib/smartgen/configuration.rb
150
+ - lib/smartgen.rb
160
151
  - lib/smartgen/engines/base.rb
161
152
  - lib/smartgen/engines/markdown.rb
162
153
  - lib/smartgen/engines/textile.rb
154
+ - lib/smartgen/renderers.rb
163
155
  - lib/smartgen/engines.rb
156
+ - lib/smartgen/renderers/erb.rb
157
+ - lib/smartgen/version.rb
164
158
  - lib/smartgen/generator.rb
165
- - lib/smartgen/indexer.rb
166
159
  - lib/smartgen/markup_file.rb
160
+ - lib/smartgen/indexer.rb
161
+ - lib/smartgen/watcher.rb
162
+ - lib/smartgen/resource.rb
167
163
  - lib/smartgen/object_hash.rb
168
164
  - lib/smartgen/rake_task.rb
169
- - lib/smartgen/renderers/erb.rb
170
- - lib/smartgen/renderers.rb
171
- - lib/smartgen/resource.rb
172
- - lib/smartgen/version.rb
173
- - lib/smartgen/watcher.rb
165
+ - lib/smartgen/configuration.rb
174
166
  - lib/smartgen/watcher_rake_task.rb
175
- - lib/smartgen.rb
176
167
  - Gemfile
177
168
  - Gemfile.lock
178
169
  - Rakefile
179
170
  - README.md
180
171
  - ChangeLog.md
181
- - spec/fixtures/expectations/common/another_index.html
182
- - spec/fixtures/expectations/common/index.html
183
- - spec/fixtures/expectations/common/other_index.html
184
- - spec/fixtures/expectations/indexer/index_with_indexer.html
185
- - spec/fixtures/expectations/indexer/index_with_indexer_and_numbered_index.html
186
- - spec/fixtures/expectations/with_layout/index.html
187
- - spec/fixtures/expectations/with_layout/index_with_metadata.html
188
- - spec/fixtures/expectations/with_layout/index_with_specific_metadata.html
189
- - spec/fixtures/src/assets/images/image.gif
190
- - spec/fixtures/src/assets/javascripts/somelib.js
191
- - spec/fixtures/src/assets/stylesheets/style.css
192
- - spec/fixtures/src/common/another_index.md
193
- - spec/fixtures/src/common/index.textile
194
- - spec/fixtures/src/common/other_index.markdown
195
- - spec/fixtures/src/common/somefile
196
- - spec/fixtures/src/indexer/index_with_indexer.textile
197
- - spec/fixtures/src/indexer/index_with_indexer_and_numbered_index.textile
198
- - spec/fixtures/src/layout.html.erb
199
- - spec/fixtures/src/layout_with_metadata.html.erb
200
- - spec/fixtures/src/layout_with_specific_metadata.html.erb
201
- - spec/fixtures/src/metadata.yml
202
- - spec/fixtures/src/with_layout/index.textile
203
- - spec/fixtures/src/with_layout/index_with_specific_metadata.textile
204
- - spec/lib/smartgen/configuration_spec.rb
205
- - spec/lib/smartgen/engines/base_spec.rb
206
- - spec/lib/smartgen/engines/markdown_spec.rb
207
- - spec/lib/smartgen/engines/textile_spec.rb
208
- - spec/lib/smartgen/generator_spec.rb
209
- - spec/lib/smartgen/indexer_spec.rb
210
- - spec/lib/smartgen/markup_file_spec.rb
211
- - spec/lib/smartgen/object_hash_spec.rb
212
- - spec/lib/smartgen/renderers/erb_spec.rb
213
- - spec/lib/smartgen/resource_spec.rb
214
- - spec/lib/smartgen/watcher_spec.rb
215
- - spec/lib/smartgen_spec.rb
216
- - spec/sandbox/.gitkeep
217
- - spec/spec_helper.rb
218
172
  has_rdoc: true
219
173
  homepage: ""
220
174
  licenses: []
@@ -229,7 +183,6 @@ required_ruby_version: !ruby/object:Gem::Requirement
229
183
  requirements:
230
184
  - - ">="
231
185
  - !ruby/object:Gem::Version
232
- hash: 3
233
186
  segments:
234
187
  - 0
235
188
  version: "0"
@@ -238,7 +191,6 @@ required_rubygems_version: !ruby/object:Gem::Requirement
238
191
  requirements:
239
192
  - - ">="
240
193
  - !ruby/object:Gem::Version
241
- hash: 3
242
194
  segments:
243
195
  - 0
244
196
  version: "0"
@@ -249,41 +201,5 @@ rubygems_version: 1.3.7
249
201
  signing_key:
250
202
  specification_version: 3
251
203
  summary: A static HTML markup generator
252
- test_files:
253
- - spec/fixtures/expectations/common/another_index.html
254
- - spec/fixtures/expectations/common/index.html
255
- - spec/fixtures/expectations/common/other_index.html
256
- - spec/fixtures/expectations/indexer/index_with_indexer.html
257
- - spec/fixtures/expectations/indexer/index_with_indexer_and_numbered_index.html
258
- - spec/fixtures/expectations/with_layout/index.html
259
- - spec/fixtures/expectations/with_layout/index_with_metadata.html
260
- - spec/fixtures/expectations/with_layout/index_with_specific_metadata.html
261
- - spec/fixtures/src/assets/images/image.gif
262
- - spec/fixtures/src/assets/javascripts/somelib.js
263
- - spec/fixtures/src/assets/stylesheets/style.css
264
- - spec/fixtures/src/common/another_index.md
265
- - spec/fixtures/src/common/index.textile
266
- - spec/fixtures/src/common/other_index.markdown
267
- - spec/fixtures/src/common/somefile
268
- - spec/fixtures/src/indexer/index_with_indexer.textile
269
- - spec/fixtures/src/indexer/index_with_indexer_and_numbered_index.textile
270
- - spec/fixtures/src/layout.html.erb
271
- - spec/fixtures/src/layout_with_metadata.html.erb
272
- - spec/fixtures/src/layout_with_specific_metadata.html.erb
273
- - spec/fixtures/src/metadata.yml
274
- - spec/fixtures/src/with_layout/index.textile
275
- - spec/fixtures/src/with_layout/index_with_specific_metadata.textile
276
- - spec/lib/smartgen/configuration_spec.rb
277
- - spec/lib/smartgen/engines/base_spec.rb
278
- - spec/lib/smartgen/engines/markdown_spec.rb
279
- - spec/lib/smartgen/engines/textile_spec.rb
280
- - spec/lib/smartgen/generator_spec.rb
281
- - spec/lib/smartgen/indexer_spec.rb
282
- - spec/lib/smartgen/markup_file_spec.rb
283
- - spec/lib/smartgen/object_hash_spec.rb
284
- - spec/lib/smartgen/renderers/erb_spec.rb
285
- - spec/lib/smartgen/resource_spec.rb
286
- - spec/lib/smartgen/watcher_spec.rb
287
- - spec/lib/smartgen_spec.rb
288
- - spec/sandbox/.gitkeep
289
- - spec/spec_helper.rb
204
+ test_files: []
205
+