radiant-tags-extension 1.6.9 → 1.6.10
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.
- checksums.yaml +7 -0
- data/app/models/radius_tags.rb +44 -44
- data/lib/radiant-tags-extension.rb +1 -1
- metadata +25 -201
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: 9dc5191cfda3275810cc0d5dd5341e8e9ed6f790a9fa07d4fa9e58a048d2ea54
|
4
|
+
data.tar.gz: 48b4fb58f6eebe15ed8872f5184a42cd1f1ac16e2c73735d77c7141c71278424
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: 81fb86fc1b4b256a18526a8d2fadec07fa387415cf93ae0ed0dc02edfa0c52387ad3466eff881c53dda0a01e6fdb6070d5aeff8d6c9309984035da07f1ad786f
|
7
|
+
data.tar.gz: 17edab964d7b481f9f838256e2564dcd678bb6625d2d1595a33a3af4f6f3b04dfa4f599a96e27d24aa9ae8d6aa8dd068c3df9f97cba7c69a420f2bb2c3576003
|
data/app/models/radius_tags.rb
CHANGED
@@ -1,9 +1,9 @@
|
|
1
1
|
module RadiusTags
|
2
2
|
include Radiant::Taggable
|
3
3
|
include ActionView::Helpers::TextHelper
|
4
|
-
|
4
|
+
|
5
5
|
class TagError < StandardError; end
|
6
|
-
|
6
|
+
|
7
7
|
desc %{
|
8
8
|
Expands if a <pre><r:tagged with="" /></pre> call would return items. Takes the same options as the 'tagged' tag.
|
9
9
|
The <pre><r:unless_tagged with="" /></pre> is also available.
|
@@ -23,10 +23,10 @@ module RadiusTags
|
|
23
23
|
tag.expand if tag.locals.page.tag_list.empty?
|
24
24
|
end
|
25
25
|
end
|
26
|
-
|
26
|
+
|
27
27
|
desc %{
|
28
28
|
Find all pages with certain tags, within in an optional scope. Additionally, you may set with_any to true to select pages that have any of the listed tags (opposed to all listed tags which is the provided default).
|
29
|
-
|
29
|
+
|
30
30
|
*Usage:*
|
31
31
|
<pre><code><r:tagged with="shoes diesel" [scope="/fashion/cult-update"] [with_any="true"] [offset="number"] [limit="number"] [by="attribute"] [order="asc|desc"]>...</r:tagged></code></pre>
|
32
32
|
}
|
@@ -43,10 +43,10 @@ module RadiusTags
|
|
43
43
|
end
|
44
44
|
output.flatten.join('')
|
45
45
|
end
|
46
|
-
|
46
|
+
|
47
47
|
desc %{
|
48
48
|
Find all pages related to the current page, based on all or any of the current page's tags. A scope attribute may be given to limit results to a certain site area.
|
49
|
-
|
49
|
+
|
50
50
|
*Usage:*
|
51
51
|
<pre><code><r:related_by_tags [scope="/fashion/cult-update"] [offset="number"] [limit="number"] [by="attribute"] [order="asc|desc"]>...</r:related_by_tags></code></pre>
|
52
52
|
}
|
@@ -66,7 +66,7 @@ module RadiusTags
|
|
66
66
|
end
|
67
67
|
output.flatten.join('')
|
68
68
|
end
|
69
|
-
|
69
|
+
|
70
70
|
tag "if_has_related_by_tags" do |tag|
|
71
71
|
tag.attr["with"] = tag.locals.page.tag_list.split(MetaTag::DELIMITER)
|
72
72
|
tag.attr["with_any"] = true
|
@@ -75,22 +75,22 @@ module RadiusTags
|
|
75
75
|
results -= [tag.locals.page]
|
76
76
|
tag.expand if results.size > 0
|
77
77
|
end
|
78
|
-
|
78
|
+
|
79
79
|
tag "related_by_tags:if_first" do |tag|
|
80
80
|
tag.expand if tag.locals.first
|
81
81
|
end
|
82
|
-
|
82
|
+
|
83
83
|
desc %{
|
84
84
|
Render a Tag cloud
|
85
85
|
The results_page attribute will default to #{Radiant::Config['tags.results_page_url']}
|
86
|
-
|
86
|
+
|
87
87
|
*Usage:*
|
88
88
|
<pre><code><r:tag_cloud [limit="number"] [results_page="/some/url"] [scope="/some/url"]/></code></pre>
|
89
89
|
}
|
90
90
|
tag "tag_cloud" do |tag|
|
91
91
|
tag_cloud = MetaTag.cloud(:limit => tag.attr['limit'] || 5).sort
|
92
92
|
tag_cloud = filter_tags_to_url_scope(tag_cloud, tag.attr['scope']) unless tag.attr['scope'].nil?
|
93
|
-
|
93
|
+
|
94
94
|
results_page = tag.attr['results_page'] || Radiant::Config['tags.results_page_url']
|
95
95
|
output = "<ol class=\"tag_cloud\">"
|
96
96
|
if tag_cloud.length > 0
|
@@ -106,14 +106,14 @@ module RadiusTags
|
|
106
106
|
desc %{
|
107
107
|
Render a Tag cloud with div-tags
|
108
108
|
The results_page attribute will default to #{Radiant::Config['tags.results_page_url']}
|
109
|
-
|
109
|
+
|
110
110
|
*Usage:*
|
111
111
|
<pre><code><r:tag_cloud_div [limit="number"] [results_page="/some/url"] [scope="/some/url"]/></code></pre>
|
112
112
|
}
|
113
113
|
tag "tag_cloud_div" do |tag|
|
114
114
|
tag_cloud = MetaTag.cloud(:limit => tag.attr['limit'] || 10).sort
|
115
115
|
tag_cloud = filter_tags_to_url_scope(tag_cloud, tag.attr['scope']) unless tag.attr['scope'].nil?
|
116
|
-
|
116
|
+
|
117
117
|
results_page = tag.attr['results_page'] || Radiant::Config['tags.results_page_url']
|
118
118
|
output = "<div class=\"tag_cloud\">"
|
119
119
|
if tag_cloud.length > 0
|
@@ -125,18 +125,18 @@ module RadiusTags
|
|
125
125
|
end
|
126
126
|
output += "</div>"
|
127
127
|
end
|
128
|
-
|
128
|
+
|
129
129
|
desc %{
|
130
130
|
Render a Tag list, more for 'categories'-ish usage, i.e.: Cats (2) Logs (1) ...
|
131
131
|
The results_page attribute will default to #{Radiant::Config['tags.results_page_url']}
|
132
|
-
|
132
|
+
|
133
133
|
*Usage:*
|
134
134
|
<pre><code><r:tag_cloud_list [results_page="/some/url"] [scope="/some/url"]/></code></pre>
|
135
135
|
}
|
136
136
|
tag "tag_cloud_list" do |tag|
|
137
137
|
tag_cloud = MetaTag.cloud({:limit => 100}).sort
|
138
138
|
tag_cloud = filter_tags_to_url_scope(tag_cloud, tag.attr['scope']) unless tag.attr['scope'].nil?
|
139
|
-
|
139
|
+
|
140
140
|
results_page = tag.attr['results_page'] || Radiant::Config['tags.results_page_url']
|
141
141
|
output = "<ul class=\"tag_list\">"
|
142
142
|
if tag_cloud.length > 0
|
@@ -148,7 +148,7 @@ module RadiusTags
|
|
148
148
|
end
|
149
149
|
output += "</ul>"
|
150
150
|
end
|
151
|
-
|
151
|
+
|
152
152
|
desc "List the current page's tags"
|
153
153
|
tag "tag_list" do |tag|
|
154
154
|
results_page = tag.attr['results_page'] || Radiant::Config['tags.results_page_url']
|
@@ -156,22 +156,22 @@ module RadiusTags
|
|
156
156
|
tag.locals.page.tag_list.split(MetaTag::DELIMITER).each {|t| output << "<a href=\"#{results_page}/#{t}\" class=\"tag\">#{t}</a>"}
|
157
157
|
output.join ", "
|
158
158
|
end
|
159
|
-
|
159
|
+
|
160
160
|
desc "List the current page's tagsi as technorati tags. this should be included in the body of a post or in your rss feed"
|
161
161
|
tag "tag_list_technorati" do |tag|
|
162
162
|
output = []
|
163
163
|
tag.locals.page.tag_list.split(MetaTag::DELIMITER).each {|t| output << "<a href=\"http://technorati.com/tag/#{ t.split(" ").join("+")}\" rel=\"tag\">#{t}</a>"}
|
164
164
|
output.join ", "
|
165
165
|
end
|
166
|
-
|
166
|
+
|
167
167
|
tag "tags" do |tag|
|
168
168
|
tag.expand
|
169
169
|
end
|
170
|
-
|
170
|
+
|
171
171
|
desc %{
|
172
172
|
Cycles through the tags of the current page
|
173
173
|
Accepts an optional @limit@ attributem default is to show everything.
|
174
|
-
|
174
|
+
|
175
175
|
Usage: <pre><code><r:tags:each [limit="4"]>...</r:tags:each></code></pre>
|
176
176
|
}
|
177
177
|
tag "tags:each" do |tag|
|
@@ -186,17 +186,17 @@ module RadiusTags
|
|
186
186
|
tag.expand
|
187
187
|
end
|
188
188
|
end
|
189
|
-
|
189
|
+
|
190
190
|
tag "tags:each:name" do |tag|
|
191
191
|
tag.locals.meta_tag.name
|
192
192
|
end
|
193
|
-
|
193
|
+
|
194
194
|
tag "tags:each:link" do |tag|
|
195
195
|
results_page = tag.attr['results_page'] || Radiant::Config['tags.results_page_url']
|
196
196
|
name = tag.locals.meta_tag.name
|
197
197
|
return "<a href=\"#{results_page}/#{url_encode(name)}\" class=\"tag\">#{name}</a>"
|
198
198
|
end
|
199
|
-
|
199
|
+
|
200
200
|
tag 'tags:each:if_first' do |tag|
|
201
201
|
tag.expand if tag.locals.is_first_meta_tag
|
202
202
|
end
|
@@ -217,11 +217,11 @@ module RadiusTags
|
|
217
217
|
tag "all_tags" do |tag|
|
218
218
|
tag.expand
|
219
219
|
end
|
220
|
-
|
220
|
+
|
221
221
|
desc %{
|
222
222
|
Iterates through each tag and allows you to specify the order: by popularity or by name.
|
223
223
|
The default is by name. You may also limit the search; the default is 5 results.
|
224
|
-
|
224
|
+
|
225
225
|
Usage: <pre><code><r:all_tags:each [order="asc|desc"] [by="name|popularity"] limit="5">...</r:all_tags:each></code></pre>
|
226
226
|
}
|
227
227
|
tag "all_tags:each" do |tag|
|
@@ -239,12 +239,12 @@ module RadiusTags
|
|
239
239
|
tag.expand
|
240
240
|
end.join
|
241
241
|
end
|
242
|
-
|
242
|
+
|
243
243
|
desc "Renders the tag's name"
|
244
244
|
tag "all_tags:each:name" do |tag|
|
245
245
|
tag.locals.meta_tag.name
|
246
246
|
end
|
247
|
-
|
247
|
+
|
248
248
|
tag "all_tags:each:link" do |tag|
|
249
249
|
results_page = tag.attr['results_page'] || Radiant::Config['tags.results_page_url']
|
250
250
|
name = tag.locals.meta_tag.name
|
@@ -260,12 +260,12 @@ module RadiusTags
|
|
260
260
|
name = tag.locals.meta_tag.name
|
261
261
|
"#{results_page}/#{url_encode(name)}"
|
262
262
|
end
|
263
|
-
|
263
|
+
|
264
264
|
desc "Set the scope for the tag's pages"
|
265
265
|
tag "all_tags:each:pages" do |tag|
|
266
266
|
tag.expand
|
267
267
|
end
|
268
|
-
|
268
|
+
|
269
269
|
desc "Iterates through each page"
|
270
270
|
tag "all_tags:each:pages:each" do |tag|
|
271
271
|
result = []
|
@@ -277,16 +277,16 @@ module RadiusTags
|
|
277
277
|
end
|
278
278
|
result.flatten.join('')
|
279
279
|
end
|
280
|
-
|
280
|
+
|
281
281
|
private
|
282
|
-
|
282
|
+
|
283
283
|
def build_tag_cloud(tag_cloud, style_list)
|
284
284
|
max, min = 0, 0
|
285
285
|
tag_cloud.each do |tag|
|
286
286
|
max = tag.popularity.to_i if tag.popularity.to_i > max
|
287
287
|
min = tag.popularity.to_i if tag.popularity.to_i < min
|
288
288
|
end
|
289
|
-
|
289
|
+
|
290
290
|
divisor = ((max - min) / style_list.size) + 1
|
291
291
|
|
292
292
|
tag_cloud.each do |tag|
|
@@ -297,7 +297,7 @@ module RadiusTags
|
|
297
297
|
def tag_item_url(name)
|
298
298
|
"#{Radiant::Config['tags.results_page_url']}/#{name}"
|
299
299
|
end
|
300
|
-
|
300
|
+
|
301
301
|
def find_with_tag_options(tag)
|
302
302
|
options = tagged_with_options(tag)
|
303
303
|
with_any = tag.attr['with_any'] || false
|
@@ -305,11 +305,11 @@ module RadiusTags
|
|
305
305
|
results = []
|
306
306
|
raise TagError, "`tagged' tag must contain a `with' attribute." unless (tag.attr['with'] || tag.locals.page.class_name = TagSearchPage)
|
307
307
|
ttag = tag.attr['with'] || @request.parameters[:tag]
|
308
|
-
|
308
|
+
|
309
309
|
scope_path = scope_attr == 'current_page' ? @request.request_uri : scope_attr
|
310
310
|
scope = Page.find_by_path scope_path
|
311
311
|
return "The scope attribute must be a valid url to an existing page." if scope.nil? || scope.class_name.eql?('FileNotFoundPage')
|
312
|
-
|
312
|
+
|
313
313
|
if with_any
|
314
314
|
Page.tagged_with_any(ttag, options).each do |page|
|
315
315
|
next unless (page.ancestors.include?(scope) or page == scope)
|
@@ -323,12 +323,12 @@ module RadiusTags
|
|
323
323
|
end
|
324
324
|
results
|
325
325
|
end
|
326
|
-
|
326
|
+
|
327
327
|
def tagged_with_options(tag)
|
328
328
|
attr = tag.attr.symbolize_keys
|
329
|
-
|
329
|
+
|
330
330
|
options = {}
|
331
|
-
|
331
|
+
|
332
332
|
[:limit, :offset].each do |symbol|
|
333
333
|
if number = attr[symbol]
|
334
334
|
if number =~ /^\d{1,4}$/
|
@@ -338,7 +338,7 @@ module RadiusTags
|
|
338
338
|
end
|
339
339
|
end
|
340
340
|
end
|
341
|
-
|
341
|
+
|
342
342
|
by = (attr[:by] || 'published_at').strip
|
343
343
|
order = (attr[:order] || 'asc').strip
|
344
344
|
order_string = ''
|
@@ -353,19 +353,19 @@ module RadiusTags
|
|
353
353
|
raise TagError.new(%{`order' attribute of `each' tag must be set to either "asc" or "desc"})
|
354
354
|
end
|
355
355
|
options[:order] = order_string
|
356
|
-
|
356
|
+
|
357
357
|
status = (attr[:status] || 'published').downcase
|
358
358
|
exclude = attr[:exclude_id] ? "AND pages.id != #{attr[:exclude_id]}" : ""
|
359
|
-
|
359
|
+
|
360
360
|
unless status == 'all'
|
361
361
|
stat = Status[status]
|
362
362
|
unless stat.nil?
|
363
|
-
options[:conditions] = ["(virtual = ?) and (status_id = ?) #{exclude} and (published_at <= ?)", false, stat.id, Time.current]
|
363
|
+
options[:conditions] = ["(pages.virtual = ?) and (pages.status_id = ?) #{exclude} and (pages.published_at <= ?)", false, stat.id, Time.current]
|
364
364
|
else
|
365
365
|
raise TagError.new(%{`status' attribute of `each' tag must be set to a valid status})
|
366
366
|
end
|
367
367
|
else
|
368
|
-
options[:conditions] = ["virtual = ? #{exclude}", false]
|
368
|
+
options[:conditions] = ["pages.virtual = ? #{exclude}", false]
|
369
369
|
end
|
370
370
|
options
|
371
371
|
end
|
metadata
CHANGED
@@ -1,33 +1,23 @@
|
|
1
|
-
--- !ruby/object:Gem::Specification
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
2
|
name: radiant-tags-extension
|
3
|
-
version: !ruby/object:Gem::Version
|
4
|
-
|
5
|
-
prerelease:
|
6
|
-
segments:
|
7
|
-
- 1
|
8
|
-
- 6
|
9
|
-
- 9
|
10
|
-
version: 1.6.9
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 1.6.10
|
11
5
|
platform: ruby
|
12
|
-
authors:
|
6
|
+
authors:
|
13
7
|
- Benny Degezelle
|
14
8
|
autorequire:
|
15
9
|
bindir: bin
|
16
10
|
cert_chain: []
|
17
|
-
|
18
|
-
date: 2012-06-21 00:00:00 Z
|
11
|
+
date: 2022-10-21 00:00:00.000000000 Z
|
19
12
|
dependencies: []
|
20
|
-
|
21
|
-
|
22
|
-
email:
|
13
|
+
description: This extension enhances the page model with tagging capabilities, tagging
|
14
|
+
as in \"2.0" and tagclouds.
|
15
|
+
email:
|
23
16
|
- benny@gorilla-webdesign.be
|
24
17
|
executables: []
|
25
|
-
|
26
18
|
extensions: []
|
27
|
-
|
28
19
|
extra_rdoc_files: []
|
29
|
-
|
30
|
-
files:
|
20
|
+
files:
|
31
21
|
- HELP.md
|
32
22
|
- HELP_admin.md
|
33
23
|
- README
|
@@ -239,192 +229,26 @@ files:
|
|
239
229
|
- vendor/plugins/has_many_polymorphs/test/unit/has_many_polymorphs_test.rb
|
240
230
|
homepage: http://ext.radiantcms.org/extensions/195-tags
|
241
231
|
licenses: []
|
242
|
-
|
243
|
-
post_install_message: "\n Add this to your radiant project by adding the following
|
232
|
+
metadata: {}
|
233
|
+
post_install_message: "\n Add this to your radiant project by adding the following
|
234
|
+
line to your environment.rb:\n config.gem 'radiant-tags-extension', :version
|
235
|
+
=> '1.6.10'\n "
|
244
236
|
rdoc_options: []
|
245
|
-
|
246
|
-
require_paths:
|
237
|
+
require_paths:
|
247
238
|
- lib
|
248
|
-
required_ruby_version: !ruby/object:Gem::Requirement
|
249
|
-
|
250
|
-
requirements:
|
239
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
240
|
+
requirements:
|
251
241
|
- - ">="
|
252
|
-
- !ruby/object:Gem::Version
|
253
|
-
|
254
|
-
|
255
|
-
|
256
|
-
version: "0"
|
257
|
-
required_rubygems_version: !ruby/object:Gem::Requirement
|
258
|
-
none: false
|
259
|
-
requirements:
|
242
|
+
- !ruby/object:Gem::Version
|
243
|
+
version: '0'
|
244
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
245
|
+
requirements:
|
260
246
|
- - ">="
|
261
|
-
- !ruby/object:Gem::Version
|
262
|
-
|
263
|
-
segments:
|
264
|
-
- 0
|
265
|
-
version: "0"
|
247
|
+
- !ruby/object:Gem::Version
|
248
|
+
version: '0'
|
266
249
|
requirements: []
|
267
|
-
|
268
|
-
rubyforge_project:
|
269
|
-
rubygems_version: 1.8.23
|
250
|
+
rubygems_version: 3.1.6
|
270
251
|
signing_key:
|
271
|
-
specification_version:
|
252
|
+
specification_version: 4
|
272
253
|
summary: Tagging for Radiant CMS
|
273
|
-
test_files:
|
274
|
-
- test/fixtures/meta_tags.yml
|
275
|
-
- test/fixtures/page_parts.yml
|
276
|
-
- test/fixtures/pages.yml
|
277
|
-
- test/fixtures/taggings.yml
|
278
|
-
- test/functional/tag_search_page_test.rb
|
279
|
-
- test/functional/tags_extension_test.rb
|
280
|
-
- test/helpers/render_test_helper.rb
|
281
|
-
- test/test_helper.rb
|
282
|
-
- test/unit/page_taggability_test.rb
|
283
|
-
- vendor/plugins/has_many_polymorphs/test/fixtures/bow_wows.yml
|
284
|
-
- vendor/plugins/has_many_polymorphs/test/fixtures/cats.yml
|
285
|
-
- vendor/plugins/has_many_polymorphs/test/fixtures/eaters_foodstuffs.yml
|
286
|
-
- vendor/plugins/has_many_polymorphs/test/fixtures/fish.yml
|
287
|
-
- vendor/plugins/has_many_polymorphs/test/fixtures/frogs.yml
|
288
|
-
- vendor/plugins/has_many_polymorphs/test/fixtures/keep_your_enemies_close.yml
|
289
|
-
- vendor/plugins/has_many_polymorphs/test/fixtures/little_whale_pupils.yml
|
290
|
-
- vendor/plugins/has_many_polymorphs/test/fixtures/people.yml
|
291
|
-
- vendor/plugins/has_many_polymorphs/test/fixtures/petfoods.yml
|
292
|
-
- vendor/plugins/has_many_polymorphs/test/fixtures/whales.yml
|
293
|
-
- vendor/plugins/has_many_polymorphs/test/fixtures/wild_boars.yml
|
294
|
-
- vendor/plugins/has_many_polymorphs/test/generator/tagging_generator_test.rb
|
295
|
-
- vendor/plugins/has_many_polymorphs/test/integration/app/README
|
296
|
-
- vendor/plugins/has_many_polymorphs/test/integration/app/Rakefile
|
297
|
-
- vendor/plugins/has_many_polymorphs/test/integration/app/app/controllers/application.rb
|
298
|
-
- vendor/plugins/has_many_polymorphs/test/integration/app/app/controllers/bones_controller.rb
|
299
|
-
- vendor/plugins/has_many_polymorphs/test/integration/app/app/helpers/addresses_helper.rb
|
300
|
-
- vendor/plugins/has_many_polymorphs/test/integration/app/app/helpers/application_helper.rb
|
301
|
-
- vendor/plugins/has_many_polymorphs/test/integration/app/app/helpers/bones_helper.rb
|
302
|
-
- vendor/plugins/has_many_polymorphs/test/integration/app/app/helpers/sellers_helper.rb
|
303
|
-
- vendor/plugins/has_many_polymorphs/test/integration/app/app/helpers/states_helper.rb
|
304
|
-
- vendor/plugins/has_many_polymorphs/test/integration/app/app/helpers/users_helper.rb
|
305
|
-
- vendor/plugins/has_many_polymorphs/test/integration/app/app/models/bone.rb
|
306
|
-
- vendor/plugins/has_many_polymorphs/test/integration/app/app/models/double_sti_parent.rb
|
307
|
-
- vendor/plugins/has_many_polymorphs/test/integration/app/app/models/double_sti_parent_relationship.rb
|
308
|
-
- vendor/plugins/has_many_polymorphs/test/integration/app/app/models/organic_substance.rb
|
309
|
-
- vendor/plugins/has_many_polymorphs/test/integration/app/app/models/single_sti_parent.rb
|
310
|
-
- vendor/plugins/has_many_polymorphs/test/integration/app/app/models/single_sti_parent_relationship.rb
|
311
|
-
- vendor/plugins/has_many_polymorphs/test/integration/app/app/models/stick.rb
|
312
|
-
- vendor/plugins/has_many_polymorphs/test/integration/app/app/models/stone.rb
|
313
|
-
- vendor/plugins/has_many_polymorphs/test/integration/app/app/views/addresses/edit.html.erb
|
314
|
-
- vendor/plugins/has_many_polymorphs/test/integration/app/app/views/addresses/index.html.erb
|
315
|
-
- vendor/plugins/has_many_polymorphs/test/integration/app/app/views/addresses/new.html.erb
|
316
|
-
- vendor/plugins/has_many_polymorphs/test/integration/app/app/views/addresses/show.html.erb
|
317
|
-
- vendor/plugins/has_many_polymorphs/test/integration/app/app/views/bones/index.rhtml
|
318
|
-
- vendor/plugins/has_many_polymorphs/test/integration/app/app/views/layouts/addresses.html.erb
|
319
|
-
- vendor/plugins/has_many_polymorphs/test/integration/app/app/views/layouts/sellers.html.erb
|
320
|
-
- vendor/plugins/has_many_polymorphs/test/integration/app/app/views/layouts/states.html.erb
|
321
|
-
- vendor/plugins/has_many_polymorphs/test/integration/app/app/views/layouts/users.html.erb
|
322
|
-
- vendor/plugins/has_many_polymorphs/test/integration/app/app/views/sellers/edit.html.erb
|
323
|
-
- vendor/plugins/has_many_polymorphs/test/integration/app/app/views/sellers/index.html.erb
|
324
|
-
- vendor/plugins/has_many_polymorphs/test/integration/app/app/views/sellers/new.html.erb
|
325
|
-
- vendor/plugins/has_many_polymorphs/test/integration/app/app/views/sellers/show.html.erb
|
326
|
-
- vendor/plugins/has_many_polymorphs/test/integration/app/app/views/states/edit.html.erb
|
327
|
-
- vendor/plugins/has_many_polymorphs/test/integration/app/app/views/states/index.html.erb
|
328
|
-
- vendor/plugins/has_many_polymorphs/test/integration/app/app/views/states/new.html.erb
|
329
|
-
- vendor/plugins/has_many_polymorphs/test/integration/app/app/views/states/show.html.erb
|
330
|
-
- vendor/plugins/has_many_polymorphs/test/integration/app/app/views/users/edit.html.erb
|
331
|
-
- vendor/plugins/has_many_polymorphs/test/integration/app/app/views/users/index.html.erb
|
332
|
-
- vendor/plugins/has_many_polymorphs/test/integration/app/app/views/users/new.html.erb
|
333
|
-
- vendor/plugins/has_many_polymorphs/test/integration/app/app/views/users/show.html.erb
|
334
|
-
- vendor/plugins/has_many_polymorphs/test/integration/app/config/boot.rb
|
335
|
-
- vendor/plugins/has_many_polymorphs/test/integration/app/config/database.yml
|
336
|
-
- vendor/plugins/has_many_polymorphs/test/integration/app/config/environment.rb
|
337
|
-
- vendor/plugins/has_many_polymorphs/test/integration/app/config/environment.rb.canonical
|
338
|
-
- vendor/plugins/has_many_polymorphs/test/integration/app/config/environments/development.rb
|
339
|
-
- vendor/plugins/has_many_polymorphs/test/integration/app/config/environments/production.rb
|
340
|
-
- vendor/plugins/has_many_polymorphs/test/integration/app/config/environments/test.rb
|
341
|
-
- vendor/plugins/has_many_polymorphs/test/integration/app/config/locomotive.yml
|
342
|
-
- vendor/plugins/has_many_polymorphs/test/integration/app/config/routes.rb
|
343
|
-
- vendor/plugins/has_many_polymorphs/test/integration/app/config/ultrasphinx/default.base
|
344
|
-
- vendor/plugins/has_many_polymorphs/test/integration/app/config/ultrasphinx/development.conf.canonical
|
345
|
-
- vendor/plugins/has_many_polymorphs/test/integration/app/db/migrate/001_create_sticks.rb
|
346
|
-
- vendor/plugins/has_many_polymorphs/test/integration/app/db/migrate/002_create_stones.rb
|
347
|
-
- vendor/plugins/has_many_polymorphs/test/integration/app/db/migrate/003_create_organic_substances.rb
|
348
|
-
- vendor/plugins/has_many_polymorphs/test/integration/app/db/migrate/004_create_bones.rb
|
349
|
-
- vendor/plugins/has_many_polymorphs/test/integration/app/db/migrate/005_create_single_sti_parents.rb
|
350
|
-
- vendor/plugins/has_many_polymorphs/test/integration/app/db/migrate/006_create_double_sti_parents.rb
|
351
|
-
- vendor/plugins/has_many_polymorphs/test/integration/app/db/migrate/007_create_single_sti_parent_relationships.rb
|
352
|
-
- vendor/plugins/has_many_polymorphs/test/integration/app/db/migrate/008_create_double_sti_parent_relationships.rb
|
353
|
-
- vendor/plugins/has_many_polymorphs/test/integration/app/db/migrate/009_create_library_model.rb
|
354
|
-
- vendor/plugins/has_many_polymorphs/test/integration/app/doc/README_FOR_APP
|
355
|
-
- vendor/plugins/has_many_polymorphs/test/integration/app/generators/commenting_generator_test.rb
|
356
|
-
- vendor/plugins/has_many_polymorphs/test/integration/app/lib/library_model.rb
|
357
|
-
- vendor/plugins/has_many_polymorphs/test/integration/app/public/.htaccess
|
358
|
-
- vendor/plugins/has_many_polymorphs/test/integration/app/public/404.html
|
359
|
-
- vendor/plugins/has_many_polymorphs/test/integration/app/public/500.html
|
360
|
-
- vendor/plugins/has_many_polymorphs/test/integration/app/public/dispatch.cgi
|
361
|
-
- vendor/plugins/has_many_polymorphs/test/integration/app/public/dispatch.fcgi
|
362
|
-
- vendor/plugins/has_many_polymorphs/test/integration/app/public/dispatch.rb
|
363
|
-
- vendor/plugins/has_many_polymorphs/test/integration/app/public/favicon.ico
|
364
|
-
- vendor/plugins/has_many_polymorphs/test/integration/app/public/images/rails.png
|
365
|
-
- vendor/plugins/has_many_polymorphs/test/integration/app/public/index.html
|
366
|
-
- vendor/plugins/has_many_polymorphs/test/integration/app/public/javascripts/application.js
|
367
|
-
- vendor/plugins/has_many_polymorphs/test/integration/app/public/javascripts/controls.js
|
368
|
-
- vendor/plugins/has_many_polymorphs/test/integration/app/public/javascripts/dragdrop.js
|
369
|
-
- vendor/plugins/has_many_polymorphs/test/integration/app/public/javascripts/effects.js
|
370
|
-
- vendor/plugins/has_many_polymorphs/test/integration/app/public/javascripts/prototype.js
|
371
|
-
- vendor/plugins/has_many_polymorphs/test/integration/app/public/robots.txt
|
372
|
-
- vendor/plugins/has_many_polymorphs/test/integration/app/public/stylesheets/scaffold.css
|
373
|
-
- vendor/plugins/has_many_polymorphs/test/integration/app/script/about
|
374
|
-
- vendor/plugins/has_many_polymorphs/test/integration/app/script/breakpointer
|
375
|
-
- vendor/plugins/has_many_polymorphs/test/integration/app/script/console
|
376
|
-
- vendor/plugins/has_many_polymorphs/test/integration/app/script/destroy
|
377
|
-
- vendor/plugins/has_many_polymorphs/test/integration/app/script/generate
|
378
|
-
- vendor/plugins/has_many_polymorphs/test/integration/app/script/performance/benchmarker
|
379
|
-
- vendor/plugins/has_many_polymorphs/test/integration/app/script/performance/profiler
|
380
|
-
- vendor/plugins/has_many_polymorphs/test/integration/app/script/plugin
|
381
|
-
- vendor/plugins/has_many_polymorphs/test/integration/app/script/process/inspector
|
382
|
-
- vendor/plugins/has_many_polymorphs/test/integration/app/script/process/reaper
|
383
|
-
- vendor/plugins/has_many_polymorphs/test/integration/app/script/process/spawner
|
384
|
-
- vendor/plugins/has_many_polymorphs/test/integration/app/script/runner
|
385
|
-
- vendor/plugins/has_many_polymorphs/test/integration/app/script/server
|
386
|
-
- vendor/plugins/has_many_polymorphs/test/integration/app/test/fixtures/double_sti_parent_relationships.yml
|
387
|
-
- vendor/plugins/has_many_polymorphs/test/integration/app/test/fixtures/double_sti_parents.yml
|
388
|
-
- vendor/plugins/has_many_polymorphs/test/integration/app/test/fixtures/organic_substances.yml
|
389
|
-
- vendor/plugins/has_many_polymorphs/test/integration/app/test/fixtures/single_sti_parent_relationships.yml
|
390
|
-
- vendor/plugins/has_many_polymorphs/test/integration/app/test/fixtures/single_sti_parents.yml
|
391
|
-
- vendor/plugins/has_many_polymorphs/test/integration/app/test/fixtures/sticks.yml
|
392
|
-
- vendor/plugins/has_many_polymorphs/test/integration/app/test/fixtures/stones.yml
|
393
|
-
- vendor/plugins/has_many_polymorphs/test/integration/app/test/functional/addresses_controller_test.rb
|
394
|
-
- vendor/plugins/has_many_polymorphs/test/integration/app/test/functional/bones_controller_test.rb
|
395
|
-
- vendor/plugins/has_many_polymorphs/test/integration/app/test/functional/sellers_controller_test.rb
|
396
|
-
- vendor/plugins/has_many_polymorphs/test/integration/app/test/functional/states_controller_test.rb
|
397
|
-
- vendor/plugins/has_many_polymorphs/test/integration/app/test/functional/users_controller_test.rb
|
398
|
-
- vendor/plugins/has_many_polymorphs/test/integration/app/test/test_helper.rb
|
399
|
-
- vendor/plugins/has_many_polymorphs/test/integration/app/test/unit/bone_test.rb
|
400
|
-
- vendor/plugins/has_many_polymorphs/test/integration/app/test/unit/double_sti_parent_relationship_test.rb
|
401
|
-
- vendor/plugins/has_many_polymorphs/test/integration/app/test/unit/double_sti_parent_test.rb
|
402
|
-
- vendor/plugins/has_many_polymorphs/test/integration/app/test/unit/organic_substance_test.rb
|
403
|
-
- vendor/plugins/has_many_polymorphs/test/integration/app/test/unit/single_sti_parent_relationship_test.rb
|
404
|
-
- vendor/plugins/has_many_polymorphs/test/integration/app/test/unit/single_sti_parent_test.rb
|
405
|
-
- vendor/plugins/has_many_polymorphs/test/integration/app/test/unit/stick_test.rb
|
406
|
-
- vendor/plugins/has_many_polymorphs/test/integration/app/test/unit/stone_test.rb
|
407
|
-
- vendor/plugins/has_many_polymorphs/test/integration/server_test.rb
|
408
|
-
- vendor/plugins/has_many_polymorphs/test/models/aquatic/fish.rb
|
409
|
-
- vendor/plugins/has_many_polymorphs/test/models/aquatic/pupils_whale.rb
|
410
|
-
- vendor/plugins/has_many_polymorphs/test/models/aquatic/whale.rb
|
411
|
-
- vendor/plugins/has_many_polymorphs/test/models/beautiful_fight_relationship.rb
|
412
|
-
- vendor/plugins/has_many_polymorphs/test/models/canine.rb
|
413
|
-
- vendor/plugins/has_many_polymorphs/test/models/cat.rb
|
414
|
-
- vendor/plugins/has_many_polymorphs/test/models/dog.rb
|
415
|
-
- vendor/plugins/has_many_polymorphs/test/models/eaters_foodstuff.rb
|
416
|
-
- vendor/plugins/has_many_polymorphs/test/models/frog.rb
|
417
|
-
- vendor/plugins/has_many_polymorphs/test/models/kitten.rb
|
418
|
-
- vendor/plugins/has_many_polymorphs/test/models/parentship.rb
|
419
|
-
- vendor/plugins/has_many_polymorphs/test/models/person.rb
|
420
|
-
- vendor/plugins/has_many_polymorphs/test/models/petfood.rb
|
421
|
-
- vendor/plugins/has_many_polymorphs/test/models/tabby.rb
|
422
|
-
- vendor/plugins/has_many_polymorphs/test/models/wild_boar.rb
|
423
|
-
- vendor/plugins/has_many_polymorphs/test/modules/extension_module.rb
|
424
|
-
- vendor/plugins/has_many_polymorphs/test/modules/other_extension_module.rb
|
425
|
-
- vendor/plugins/has_many_polymorphs/test/patches/symlinked_plugins_1.2.6.diff
|
426
|
-
- vendor/plugins/has_many_polymorphs/test/schema.rb
|
427
|
-
- vendor/plugins/has_many_polymorphs/test/setup.rb
|
428
|
-
- vendor/plugins/has_many_polymorphs/test/test_helper.rb
|
429
|
-
- vendor/plugins/has_many_polymorphs/test/unit/has_many_polymorphs_test.rb
|
430
|
-
has_rdoc:
|
254
|
+
test_files: []
|