lib/picolena/picolena_generator.rb in picolena-0.1.8 vs lib/picolena/picolena_generator.rb in picolena-0.2.0
- old
+ new
@@ -60,10 +60,11 @@
%w( about breakpointer console destroy generate performance/benchmarker performance/profiler performance/request process/reaper process/spawner process/inspector runner server plugin spec spec_server).each do |file|
m.file "script/#{file}", "script/#{file}", script_options
end
# Picolena configuration files
+ m.template '../config/environment.rb', 'config/environment.rb', :assigns => {:version => Picolena::VERSION::STRING}
m.file '../config/white_list_ip.yml', 'config/custom/white_list_ip.yml'
m.file '../config/basic.rb', 'config/custom/picolena.rb'
m.template '../config/indexed_directories.yml', 'config/custom/indexed_directories.yml', :assigns => {:directories_to_index => @directories_to_index}
m.template '../config/title_and_names_and_links.yml', 'config/custom/title_and_names_and_links.yml', :assigns => {:version => Picolena::VERSION::STRING}
m.file '../config/icons_and_filetypes.yml', 'config/custom/icons_and_filetypes.yml'
@@ -84,11 +85,11 @@
# Launching specs
m.rake 'spec' unless options[:no_spec]
# Cleaning up temp folder if --spec-only
- m.clean if options[:spec_only]
+ m.clean if false
end
end
protected
def banner
@@ -162,10 +163,11 @@
spec/test_dirs/indexed/basic
spec/test_dirs/indexed/different_encodings
spec/test_dirs/indexed/just_one_doc
spec/test_dirs/indexed/lang
spec/test_dirs/indexed/literature
+ spec/test_dirs/indexed/media
spec/test_dirs/indexed/others
spec/test_dirs/indexed/others/nested
spec/test_dirs/indexed/yet_another_dir
spec/test_dirs/not_indexed
spec/views
@@ -199,135 +201,7 @@
globalite/spec/lang
globalite/spec/lang/rails
globalite/spec/lang/ui
globalite/tasks
haml
- rspec
- rspec/autotest
- rspec/bin
- rspec/examples
- rspec/examples/pure
- rspec/examples/stories
- rspec/examples/stories/game-of-life
- rspec/examples/stories/game-of-life/behaviour
- rspec/examples/stories/game-of-life/behaviour/examples
- rspec/examples/stories/game-of-life/behaviour/stories
- rspec/examples/stories/game-of-life/life
- rspec/examples/stories/steps
- rspec/failing_examples
- rspec/lib
- rspec/lib/autotest
- rspec/lib/spec
- rspec/lib/spec/example
- rspec/lib/spec/expectations
- rspec/lib/spec/expectations/differs
- rspec/lib/spec/expectations/extensions
- rspec/lib/spec/extensions
- rspec/lib/spec/interop
- rspec/lib/spec/interop/test
- rspec/lib/spec/interop/test/unit
- rspec/lib/spec/interop/test/unit/ui
- rspec/lib/spec/interop/test/unit/ui/console
- rspec/lib/spec/matchers
- rspec/lib/spec/mocks
- rspec/lib/spec/mocks/extensions
- rspec/lib/spec/rake
- rspec/lib/spec/runner
- rspec/lib/spec/runner/formatter
- rspec/lib/spec/runner/formatter/story
- rspec/lib/spec/story
- rspec/lib/spec/story/extensions
- rspec/lib/spec/story/runner
- rspec/plugins
- rspec/plugins/mock_frameworks
- rspec/pre_commit
- rspec/pre_commit/lib
- rspec/pre_commit/lib/pre_commit
- rspec/pre_commit/spec
- rspec/pre_commit/spec/pre_commit
- rspec/rake_tasks
- rspec/spec
- rspec/spec/autotest
- rspec/spec/spec
- rspec/spec/spec/example
- rspec/spec/spec/expectations
- rspec/spec/spec/expectations/differs
- rspec/spec/spec/expectations/extensions
- rspec/spec/spec/extensions
- rspec/spec/spec/interop
- rspec/spec/spec/interop/test
- rspec/spec/spec/interop/test/unit
- rspec/spec/spec/interop/test/unit/resources
- rspec/spec/spec/matchers
- rspec/spec/spec/mocks
- rspec/spec/spec/package
- rspec/spec/spec/runner
- rspec/spec/spec/runner/formatter
- rspec/spec/spec/runner/formatter/story
- rspec/spec/spec/runner/resources
- rspec/spec/spec/runner/spec_parser
- rspec/spec/spec/story
- rspec/spec/spec/story/extensions
- rspec/spec/spec/story/runner
- rspec/stories
- rspec/stories/example_groups
- rspec/stories/interop
- rspec/stories/pending_stories
- rspec/stories/resources
- rspec/stories/resources/helpers
- rspec/stories/resources/matchers
- rspec/stories/resources/spec
- rspec/stories/resources/steps
- rspec/stories/resources/stories
- rspec/stories/resources/test
- rspec/story_server
- rspec/story_server/prototype
- rspec/story_server/prototype/javascripts
- rspec/story_server/prototype/lib
- rspec/story_server/prototype/stylesheets
- rspec_on_rails
- rspec_on_rails/generators
- rspec_on_rails/generators/helpers
- rspec_on_rails/generators/rspec
- rspec_on_rails/generators/rspec/templates
- rspec_on_rails/generators/rspec/templates/script
- rspec_on_rails/generators/rspec_controller
- rspec_on_rails/generators/rspec_controller/templates
- rspec_on_rails/generators/rspec_model
- rspec_on_rails/generators/rspec_model/templates
- rspec_on_rails/generators/rspec_scaffold
- rspec_on_rails/generators/rspec_scaffold/templates
- rspec_on_rails/lib
- rspec_on_rails/lib/autotest
- rspec_on_rails/lib/spec
- rspec_on_rails/lib/spec/rails
- rspec_on_rails/lib/spec/rails/example
- rspec_on_rails/lib/spec/rails/extensions
- rspec_on_rails/lib/spec/rails/extensions/action_controller
- rspec_on_rails/lib/spec/rails/extensions/action_view
- rspec_on_rails/lib/spec/rails/extensions/active_record
- rspec_on_rails/lib/spec/rails/extensions/spec
- rspec_on_rails/lib/spec/rails/extensions/spec/example
- rspec_on_rails/lib/spec/rails/extensions/spec/matchers
- rspec_on_rails/lib/spec/rails/matchers
- rspec_on_rails/spec
- rspec_on_rails/spec/rails
- rspec_on_rails/spec/rails/autotest
- rspec_on_rails/spec/rails/example
- rspec_on_rails/spec/rails/extensions
- rspec_on_rails/spec/rails/matchers
- rspec_on_rails/spec/rails/mocks
- rspec_on_rails/spec_resources
- rspec_on_rails/spec_resources/controllers
- rspec_on_rails/spec_resources/helpers
- rspec_on_rails/spec_resources/views
- rspec_on_rails/spec_resources/views/controller_spec
- rspec_on_rails/spec_resources/views/render_spec
- rspec_on_rails/spec_resources/views/rjs_spec
- rspec_on_rails/spec_resources/views/tag_spec
- rspec_on_rails/spec_resources/views/view_spec
- rspec_on_rails/spec_resources/views/view_spec/foo
- rspec_on_rails/stories
- rspec_on_rails/stories/steps
- rspec_on_rails/tasks
)
end