This file is indexed.

/usr/lib/ruby/1.8/generators/templates/full/README is in libmerb-slices-ruby1.8 1.0.12+dfsg-4fakesync1.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
<%= module_name %>
<%= "=" * module_name.size %>

A slice for the Merb framework.

------------------------------------------------------------------------------
   

To see all available tasks for <%= module_name %> run:

rake -T slices:<%= symbol_name %>

------------------------------------------------------------------------------

Instructions for installation:

file: config/init.rb

# add the slice as a regular dependency

dependency '<%= base_name %>'

# if needed, configure which slices to load and in which order

Merb::Plugins.config[:merb_slices] = { :queue => ["<%= module_name %>", ...] }

# optionally configure the plugins in a before_app_loads callback

Merb::BootLoader.before_app_loads do
  
  Merb::Slices::config[:<%= symbol_name %>][:option] = value
  
end

file: config/router.rb

# example: /<%= symbol_name %>/:controller/:action/:id

add_slice(:<%= module_name %>)

# example: /:lang/:controller/:action/:id

add_slice(:<%= module_name %>, :path => ':lang')

# example: /:controller/:action/:id

slice(:<%= module_name %>)

Normally you should also run the following rake task:

rake slices:<%= symbol_name %>:install

------------------------------------------------------------------------------

You can put your application-level overrides in:

host-app/slices/<%= base_name %>/app - controllers, models, views ...

Templates are located in this order:

1. host-app/slices/<%= base_name %>/app/views/*
2. gems/<%= base_name %>/app/views/*
3. host-app/app/views/*

You can use the host application's layout by configuring the
<%= base_name %> slice in a before_app_loads block:

Merb::Slices.config[:<%= symbol_name %>] = { :layout => :application }

By default :<%= symbol_name %> is used. If you need to override
stylesheets or javascripts, just specify your own files in your layout
instead/in addition to the ones supplied (if any) in 
host-app/public/slices/<%= base_name %>.

In any case don't edit those files directly as they may be clobbered any time
rake <%= symbol_name %>:install is run.