clwiki 2.3.2 → 2.4.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 1aff4dbc62781c20eff710f8e42b2a5dd72e740a2e1796529cacdd5ef64cf871
4
- data.tar.gz: f4705c9211f85738746238c90961c23994c94000fff783f92a28a717b130899a
3
+ metadata.gz: 71fc0798c710ba213d639a8f4cff5ffc734679a002f862401ac9cec75c195019
4
+ data.tar.gz: d7ed5d896d504b742f681653b4717edf04901f7d295e3ac573dd79f64a8ff598
5
5
  SHA512:
6
- metadata.gz: 65d66f97391716bdb6af83bca6ecd7241e39a1b19a93443f2154f2f6a7eeeb11ed507cefed036cc89db2e2de3fabf26eb3496fd8e32e5c8702332732536db461
7
- data.tar.gz: e8478408b47174dbf670e841ef62fe419f3139fb6154dbca99beaa06c8e3118704138c320ea91633254c9eadc887037d517413c58b7ee3baf47eb18d7827abd2
6
+ metadata.gz: 33e5916f65f7f1c0708b8e99bd5aaeda2882dbcc153588e6f2775f5f89827c00c322e42e567df8e7029fa1e13b7650ea2f429a1e4677ad4fd06e689ce71db8fc
7
+ data.tar.gz: 76783cc36ba99086af87927c675a3260193e20e48b853d8ec6de082c5031bc746f9d6f0780d39157338e2f2af66c308b7b5d9cff78a4de30aee18b77657291a8
@@ -2,10 +2,10 @@ require 'cl_wiki/page'
2
2
 
3
3
  module ClWiki
4
4
  class PageController < ApplicationController
5
- before_filter :redirect_legacy_cgi_urls
6
- before_filter :initialize_formatter
7
- before_filter :assign_page_name
8
- before_filter :redirect_to_front_page_if_bad_name, :only => :show
5
+ before_action :redirect_legacy_cgi_urls
6
+ before_action :initialize_formatter
7
+ before_action :assign_page_name
8
+ before_action :redirect_to_front_page_if_bad_name, :only => :show
9
9
 
10
10
  def show
11
11
  @page = ClWiki::Page.new(@page_name)
@@ -6,4 +6,3 @@ conf_hash = YAML::load(::File.open(filename))[Rails.env]
6
6
  conf_hash['wiki_path'] = ::File.expand_path(conf_hash['wiki_path'], Rails.root)
7
7
  $wiki_conf = ClWiki::Configuration.new(conf_hash)
8
8
  $wiki_path = $wiki_conf.wiki_path
9
- $wiki_conf
@@ -33,18 +33,18 @@ module ClWiki
33
33
  # converting \n to <br>\n is the culprit here. I did this for more readable
34
34
  # html, but that does screw up <pre> sections, so it's put back now.
35
35
  def convert_newline_to_br
36
- newcontent = ""
36
+ new_content = ""
37
37
  insideHtmlTags = false
38
38
  @content.each_line do |substr|
39
- insideHtmlTags = true if (substr =~ /#{$HTML_START}/)
40
- insideHtmlTags = false if (substr =~ /#{$HTML_END}/)
39
+ insideHtmlTags = true if (substr =~ /#{'<html>'}/)
40
+ insideHtmlTags = false if (substr =~ /#{'</html>'}/)
41
41
  if ((!ClWiki::PageFormatter.only_html(substr)) or (substr == "\n")) and !insideHtmlTags
42
- newcontent = newcontent + substr.gsub(/\n/, "<br>")
42
+ new_content = new_content + substr.gsub(/\n/, "<br>")
43
43
  else
44
- newcontent = newcontent + substr
44
+ new_content = new_content + substr
45
45
  end
46
46
  end
47
- @content = newcontent
47
+ @content = new_content
48
48
  end
49
49
 
50
50
  def self.wikiIndexClient
@@ -1,3 +1,3 @@
1
1
  module ClWiki
2
- VERSION = '2.3.2'.freeze
2
+ VERSION = '2.4.0'.freeze
3
3
  end
@@ -0,0 +1,2 @@
1
+ //= link_directory ../javascripts .js
2
+ //= link_directory ../stylesheets .css
@@ -1,190 +1,585 @@
1
+ Started GET "/clwikicgi.rb?page=%2FChrisMorris" for 127.0.0.1 at 2019-12-24 22:30:06 -0600
2
+ Started GET "/clwikicgi.rb?page=%2FChrisMorris" for 127.0.0.1 at 2019-12-24 22:30:45 -0600
3
+ Started GET "/wiki/clwikicgi.rb?page=%2FChrisMorris" for 127.0.0.1 at 2019-12-24 22:31:38 -0600
1
4
  Processing by ClWiki::PageController#show as HTML
5
+ Parameters: {"page"=>"/ChrisMorris"}
6
+ Completed 500 Internal Server Error in 5ms (Allocations: 276)
7
+ Started GET "/wiki/clwikicgi.rb?page=%2FChrisMorris" for 127.0.0.1 at 2019-12-24 22:32:00 -0600
8
+ Processing by ClWiki::PageController#show as HTML
9
+ Parameters: {"page"=>"/ChrisMorris"}
10
+ Redirected to http://www.example.com/wiki/ChrisMorris
11
+ Filter chain halted as :redirect_legacy_cgi_urls rendered or redirected
12
+ Completed 301 Moved Permanently in 6ms (Allocations: 381)
13
+ Started GET "/wiki/clwikicgi.rb?page=%2FChrisMorris&edit=true" for 127.0.0.1 at 2019-12-24 22:32:08 -0600
14
+ Processing by ClWiki::PageController#show as HTML
15
+ Parameters: {"page"=>"/ChrisMorris", "edit"=>"true"}
16
+ Redirected to http://www.example.com/wiki/ChrisMorris/edit
17
+ Filter chain halted as :redirect_legacy_cgi_urls rendered or redirected
18
+ Completed 301 Moved Permanently in 5ms (Allocations: 383)
19
+ Started GET "/wiki/clwikicgi.rb?page=ChrisMorris" for 127.0.0.1 at 2019-12-24 22:32:08 -0600
20
+ Processing by ClWiki::PageController#show as HTML
21
+ Parameters: {"page"=>"ChrisMorris"}
22
+ Redirected to http://www.example.com/wiki/ChrisMorris
23
+ Filter chain halted as :redirect_legacy_cgi_urls rendered or redirected
24
+ Completed 301 Moved Permanently in 1ms (Allocations: 263)
25
+ Started GET "/wiki/clwikicgi.rb?page=%2FChrisMorris" for 127.0.0.1 at 2019-12-24 22:32:08 -0600
26
+ Processing by ClWiki::PageController#show as HTML
27
+ Parameters: {"page"=>"/ChrisMorris"}
28
+ Redirected to http://www.example.com/wiki/ChrisMorris
29
+ Filter chain halted as :redirect_legacy_cgi_urls rendered or redirected
30
+ Completed 301 Moved Permanently in 2ms (Allocations: 263)
31
+ Started GET "/wiki/clwikicgi.rb?page=%2FSomeParent%2FDotTest" for 127.0.0.1 at 2019-12-24 22:32:08 -0600
32
+ Processing by ClWiki::PageController#show as HTML
33
+ Parameters: {"page"=>"/SomeParent/DotTest"}
34
+ Redirected to http://www.example.com/wiki/DotTest
35
+ Filter chain halted as :redirect_legacy_cgi_urls rendered or redirected
36
+ Completed 301 Moved Permanently in 1ms (Allocations: 264)
37
+ Processing by ClWiki::PageController#find as HTML
38
+ Rendering /Users/chrismo/modev/clwiki/app/views/cl_wiki/page/find.html.erb within layouts/cl_wiki/application
39
+ Rendered /Users/chrismo/modev/clwiki/app/views/cl_wiki/page/find.html.erb within layouts/cl_wiki/application (Duration: 3.3ms | Allocations: 974)
40
+ Completed 500 Internal Server Error in 12ms (Allocations: 4394)
41
+ Processing by ClWiki::PageController#recent as HTML
42
+ Rendering /Users/chrismo/modev/clwiki/app/views/cl_wiki/page/recent.html.erb within layouts/cl_wiki/application
43
+ Rendered /Users/chrismo/modev/clwiki/app/views/cl_wiki/page/recent.html.erb within layouts/cl_wiki/application (Duration: 0.3ms | Allocations: 114)
44
+ Completed 500 Internal Server Error in 6ms (Allocations: 3211)
45
+ Processing by ClWiki::PageController#show as HTML
46
+ Redirected to http://test.host/wiki/FrontPage
47
+ Filter chain halted as :redirect_to_front_page_if_bad_name rendered or redirected
48
+ Completed 302 Found in 1ms (Allocations: 306)
49
+ Processing by ClWiki::PageController#recent as HTML
50
+ Rendering /Users/chrismo/modev/clwiki/app/views/cl_wiki/page/recent.html.erb within layouts/cl_wiki/application
51
+ Rendered /Users/chrismo/modev/clwiki/app/views/cl_wiki/page/recent.html.erb within layouts/cl_wiki/application (Duration: 0.3ms | Allocations: 114)
52
+ Completed 500 Internal Server Error in 3ms (Allocations: 1729)
53
+ Processing by ClWiki::PageController#recent as RSS
54
+ Rendering /Users/chrismo/modev/clwiki/app/views/cl_wiki/page/recent.rss.builder
55
+ Rendered /Users/chrismo/modev/clwiki/app/views/cl_wiki/page/recent.rss.builder (Duration: 0.3ms | Allocations: 114)
56
+ Completed 500 Internal Server Error in 3ms (Allocations: 1411)
57
+ Started GET "/wiki/clwikicgi.rb?page=%2FChrisMorris&edit=true" for 127.0.0.1 at 2019-12-24 22:32:19 -0600
58
+ Processing by ClWiki::PageController#show as HTML
59
+ Parameters: {"page"=>"/ChrisMorris", "edit"=>"true"}
60
+ Redirected to http://www.example.com/wiki/ChrisMorris/edit
61
+ Filter chain halted as :redirect_legacy_cgi_urls rendered or redirected
62
+ Completed 301 Moved Permanently in 5ms (Allocations: 281)
63
+ Started GET "/wiki/clwikicgi.rb?page=%2FChrisMorris" for 127.0.0.1 at 2019-12-24 22:32:19 -0600
64
+ Processing by ClWiki::PageController#show as HTML
65
+ Parameters: {"page"=>"/ChrisMorris"}
66
+ Redirected to http://www.example.com/wiki/ChrisMorris
67
+ Filter chain halted as :redirect_legacy_cgi_urls rendered or redirected
68
+ Completed 301 Moved Permanently in 0ms (Allocations: 263)
69
+ Started GET "/wiki/clwikicgi.rb?page=%2FSomeParent%2FDotTest" for 127.0.0.1 at 2019-12-24 22:32:19 -0600
70
+ Processing by ClWiki::PageController#show as HTML
71
+ Parameters: {"page"=>"/SomeParent/DotTest"}
72
+ Redirected to http://www.example.com/wiki/DotTest
73
+ Filter chain halted as :redirect_legacy_cgi_urls rendered or redirected
74
+ Completed 301 Moved Permanently in 0ms (Allocations: 264)
75
+ Started GET "/wiki/clwikicgi.rb?page=ChrisMorris" for 127.0.0.1 at 2019-12-24 22:32:19 -0600
76
+ Processing by ClWiki::PageController#show as HTML
77
+ Parameters: {"page"=>"ChrisMorris"}
78
+ Redirected to http://www.example.com/wiki/ChrisMorris
79
+ Filter chain halted as :redirect_legacy_cgi_urls rendered or redirected
80
+ Completed 301 Moved Permanently in 0ms (Allocations: 262)
81
+ Processing by ClWiki::PageController#recent as RSS
82
+ Rendering /Users/chrismo/modev/clwiki/app/views/cl_wiki/page/recent.rss.builder
83
+ Rendered /Users/chrismo/modev/clwiki/app/views/cl_wiki/page/recent.rss.builder (Duration: 3.4ms | Allocations: 975)
84
+ Completed 500 Internal Server Error in 10ms (Allocations: 4765)
85
+ Processing by ClWiki::PageController#find as HTML
86
+ Rendering /Users/chrismo/modev/clwiki/app/views/cl_wiki/page/find.html.erb within layouts/cl_wiki/application
87
+ Rendered /Users/chrismo/modev/clwiki/app/views/cl_wiki/page/find.html.erb within layouts/cl_wiki/application (Duration: 0.2ms | Allocations: 116)
88
+ Completed 500 Internal Server Error in 3ms (Allocations: 1901)
89
+ Processing by ClWiki::PageController#recent as HTML
90
+ Rendering /Users/chrismo/modev/clwiki/app/views/cl_wiki/page/recent.html.erb within layouts/cl_wiki/application
91
+ Rendered /Users/chrismo/modev/clwiki/app/views/cl_wiki/page/recent.html.erb within layouts/cl_wiki/application (Duration: 0.2ms | Allocations: 116)
92
+ Completed 500 Internal Server Error in 3ms (Allocations: 1979)
93
+ Processing by ClWiki::PageController#show as HTML
94
+ Redirected to http://test.host/wiki/FrontPage
95
+ Filter chain halted as :redirect_to_front_page_if_bad_name rendered or redirected
96
+ Completed 302 Found in 1ms (Allocations: 306)
97
+ Processing by ClWiki::PageController#recent as HTML
98
+ Rendering /Users/chrismo/modev/clwiki/app/views/cl_wiki/page/recent.html.erb within layouts/cl_wiki/application
99
+ Rendered /Users/chrismo/modev/clwiki/app/views/cl_wiki/page/recent.html.erb within layouts/cl_wiki/application (Duration: 0.2ms | Allocations: 116)
100
+ Completed 500 Internal Server Error in 4ms (Allocations: 2151)
101
+ Processing by ClWiki::PageController#show as HTML
102
+ Parameters: {"page_name"=>"NewPage"}
103
+ Rendering /Users/chrismo/modev/clwiki/app/views/cl_wiki/page/show.html.erb within layouts/cl_wiki/application
104
+ Rendered /Users/chrismo/modev/clwiki/app/views/cl_wiki/page/show.html.erb within layouts/cl_wiki/application (Duration: 1.6ms | Allocations: 976)
105
+ Completed 500 Internal Server Error in 12ms (Allocations: 5867)
106
+ Processing by ClWiki::PageController#recent as HTML
107
+ Rendering /Users/chrismo/modev/clwiki/app/views/cl_wiki/page/recent.html.erb within layouts/cl_wiki/application
108
+ Rendered /Users/chrismo/modev/clwiki/app/views/cl_wiki/page/recent.html.erb within layouts/cl_wiki/application (Duration: 0.2ms | Allocations: 116)
109
+ Completed 500 Internal Server Error in 6ms (Allocations: 1992)
110
+ Processing by ClWiki::PageController#recent as HTML
111
+ Rendering /Users/chrismo/modev/clwiki/app/views/cl_wiki/page/recent.html.erb within layouts/cl_wiki/application
112
+ Rendered /Users/chrismo/modev/clwiki/app/views/cl_wiki/page/recent.html.erb within layouts/cl_wiki/application (Duration: 0.9ms | Allocations: 116)
113
+ Completed 500 Internal Server Error in 7ms (Allocations: 2151)
114
+ Processing by ClWiki::PageController#show as HTML
115
+ Redirected to http://test.host/wiki/FrontPage
116
+ Filter chain halted as :redirect_to_front_page_if_bad_name rendered or redirected
117
+ Completed 302 Found in 0ms (Allocations: 306)
118
+ Processing by ClWiki::PageController#show as HTML
119
+ Parameters: {"page_name"=>"notavalidname"}
120
+ Redirected to http://test.host/wiki/FrontPage
121
+ Filter chain halted as :redirect_to_front_page_if_bad_name rendered or redirected
122
+ Completed 302 Found in 1ms (Allocations: 295)
123
+ Processing by ClWiki::PageController#edit as HTML
124
+ Parameters: {"page_name"=>"NewPage"}
125
+ Rendering /Users/chrismo/modev/clwiki/app/views/cl_wiki/page/edit.html.erb within layouts/cl_wiki/application
126
+ Rendered /Users/chrismo/modev/clwiki/app/views/cl_wiki/page/edit.html.erb within layouts/cl_wiki/application (Duration: 0.2ms | Allocations: 116)
127
+ Completed 500 Internal Server Error in 12ms (Allocations: 1683)
128
+ Processing by ClWiki::PageController#show as HTML
129
+ Parameters: {"page_name"=>"NewPage"}
130
+ Redirected to http://test.host/wiki/FrontPage
131
+ Filter chain halted as :redirect_to_front_page_if_bad_name rendered or redirected
132
+ Completed 302 Found in 1ms (Allocations: 346)
133
+ Processing by ClWiki::PageController#edit as HTML
134
+ Parameters: {"page_name"=>"NewPage"}
135
+ Rendering /Users/chrismo/modev/clwiki/app/views/cl_wiki/page/edit.html.erb within layouts/cl_wiki/application
136
+ Rendered /Users/chrismo/modev/clwiki/app/views/cl_wiki/page/edit.html.erb within layouts/cl_wiki/application (Duration: 0.3ms | Allocations: 116)
137
+ Completed 500 Internal Server Error in 4ms (Allocations: 1450)
138
+ Processing by ClWiki::PageController#edit as HTML
2
139
  Parameters: {"page_name"=>"NewPage"}
140
+ Rendering /Users/chrismo/modev/clwiki/app/views/cl_wiki/page/edit.html.erb within layouts/cl_wiki/application
141
+ Rendered /Users/chrismo/modev/clwiki/app/views/cl_wiki/page/edit.html.erb within layouts/cl_wiki/application (Duration: 0.5ms | Allocations: 116)
142
+ Completed 500 Internal Server Error in 5ms (Allocations: 1450)
143
+ Processing by ClWiki::PageController#recent as RSS
144
+ Rendering /Users/chrismo/modev/clwiki/app/views/cl_wiki/page/recent.rss.builder
145
+ Rendered /Users/chrismo/modev/clwiki/app/views/cl_wiki/page/recent.rss.builder (Duration: 0.3ms | Allocations: 116)
146
+ Completed 500 Internal Server Error in 4ms (Allocations: 1419)
147
+ Processing by ClWiki::PageController#find as HTML
148
+ Rendering /Users/chrismo/modev/clwiki/app/views/cl_wiki/page/find.html.erb within layouts/cl_wiki/application
149
+ Rendered /Users/chrismo/modev/clwiki/app/views/cl_wiki/page/find.html.erb within layouts/cl_wiki/application (Duration: 0.3ms | Allocations: 116)
150
+ Completed 500 Internal Server Error in 3ms (Allocations: 1457)
151
+ Started GET "/wiki/clwikicgi.rb?page=%2FChrisMorris" for 127.0.0.1 at 2019-12-24 22:37:46 -0600
152
+ Processing by ClWiki::PageController#show as HTML
153
+ Parameters: {"page"=>"/ChrisMorris"}
154
+ Redirected to http://www.example.com/wiki/ChrisMorris
155
+ Filter chain halted as :redirect_legacy_cgi_urls rendered or redirected
156
+ Completed 301 Moved Permanently in 6ms (Allocations: 382)
157
+ Started GET "/wiki/clwikicgi.rb?page=%2FChrisMorris&edit=true" for 127.0.0.1 at 2019-12-24 22:37:46 -0600
158
+ Processing by ClWiki::PageController#show as HTML
159
+ Parameters: {"page"=>"/ChrisMorris", "edit"=>"true"}
160
+ Redirected to http://www.example.com/wiki/ChrisMorris/edit
161
+ Filter chain halted as :redirect_legacy_cgi_urls rendered or redirected
162
+ Completed 301 Moved Permanently in 1ms (Allocations: 266)
163
+ Started GET "/wiki/clwikicgi.rb?page=%2FSomeParent%2FDotTest" for 127.0.0.1 at 2019-12-24 22:37:46 -0600
164
+ Processing by ClWiki::PageController#show as HTML
165
+ Parameters: {"page"=>"/SomeParent/DotTest"}
166
+ Redirected to http://www.example.com/wiki/DotTest
167
+ Filter chain halted as :redirect_legacy_cgi_urls rendered or redirected
168
+ Completed 301 Moved Permanently in 1ms (Allocations: 264)
169
+ Started GET "/wiki/clwikicgi.rb?page=ChrisMorris" for 127.0.0.1 at 2019-12-24 22:37:46 -0600
170
+ Processing by ClWiki::PageController#show as HTML
171
+ Parameters: {"page"=>"ChrisMorris"}
172
+ Redirected to http://www.example.com/wiki/ChrisMorris
173
+ Filter chain halted as :redirect_legacy_cgi_urls rendered or redirected
174
+ Completed 301 Moved Permanently in 1ms (Allocations: 262)
175
+ Processing by ClWiki::PageController#edit as HTML
176
+ Parameters: {"page_name"=>"NewPage"}
177
+ Rendering /Users/chrismo/modev/clwiki/app/views/cl_wiki/page/edit.html.erb within layouts/cl_wiki/application
3
178
  Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.
4
- Rendered /Users/chrismo/modev/clwiki/app/views/cl_wiki/page/show.html.erb within layouts/cl_wiki/application (0.2ms)
179
+ Rendered /Users/chrismo/modev/clwiki/app/views/cl_wiki/page/edit.html.erb within layouts/cl_wiki/application (Duration: 1.5ms | Allocations: 314)
5
180
  Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.
6
- Completed 200 OK in 24ms (Views: 16.4ms)
7
- Processing by ClWiki::PageController#recent as HTML
181
+ Completed 200 OK in 13ms (Views: 8.2ms | Allocations: 3341)
182
+ Processing by ClWiki::PageController#edit as HTML
183
+ Parameters: {"page_name"=>"NewPage"}
184
+ Rendering /Users/chrismo/modev/clwiki/app/views/cl_wiki/page/edit.html.erb within layouts/cl_wiki/application
8
185
  Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.
9
- Rendered /Users/chrismo/modev/clwiki/app/views/cl_wiki/page/recent.html.erb within layouts/cl_wiki/application (0.3ms)
186
+ Rendered /Users/chrismo/modev/clwiki/app/views/cl_wiki/page/edit.html.erb within layouts/cl_wiki/application (Duration: 0.1ms | Allocations: 61)
10
187
  Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.
11
- Completed 200 OK in 9ms (Views: 3.4ms)
188
+ Completed 200 OK in 3ms (Views: 1.4ms | Allocations: 841)
12
189
  Processing by ClWiki::PageController#find as HTML
13
- Parameters: {"search_text"=>"sheep"}
190
+ Rendering /Users/chrismo/modev/clwiki/app/views/cl_wiki/page/find.html.erb within layouts/cl_wiki/application
14
191
  Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.
15
- Rendered /Users/chrismo/modev/clwiki/app/views/cl_wiki/page/find.html.erb within layouts/cl_wiki/application (0.3ms)
192
+ Rendered /Users/chrismo/modev/clwiki/app/views/cl_wiki/page/find.html.erb within layouts/cl_wiki/application (Duration: 0.1ms | Allocations: 63)
16
193
  Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.
17
- Completed 200 OK in 8ms (Views: 3.2ms)
194
+ Completed 200 OK in 3ms (Views: 1.2ms | Allocations: 850)
195
+ Processing by ClWiki::PageController#recent as HTML
196
+ Rendering /Users/chrismo/modev/clwiki/app/views/cl_wiki/page/recent.html.erb within layouts/cl_wiki/application
197
+ Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.
198
+ Rendered /Users/chrismo/modev/clwiki/app/views/cl_wiki/page/recent.html.erb within layouts/cl_wiki/application (Duration: 0.2ms | Allocations: 63)
199
+ Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.
200
+ Completed 200 OK in 9ms (Views: 0.7ms | Allocations: 2605)
18
201
  Processing by ClWiki::PageController#edit as HTML
19
202
  Parameters: {"page_name"=>"NewPage"}
203
+ Rendering /Users/chrismo/modev/clwiki/app/views/cl_wiki/page/edit.html.erb within layouts/cl_wiki/application
20
204
  Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.
21
- Rendered /Users/chrismo/modev/clwiki/app/views/cl_wiki/page/edit.html.erb within layouts/cl_wiki/application (0.3ms)
205
+ Rendered /Users/chrismo/modev/clwiki/app/views/cl_wiki/page/edit.html.erb within layouts/cl_wiki/application (Duration: 0.1ms | Allocations: 61)
22
206
  Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.
23
- Completed 200 OK in 9ms (Views: 3.4ms)
24
- Processing by ClWiki::PageController#update as HTML
25
- Parameters: {"page_content"=>"NewPage content", "client_mod_time"=>"1546535066", "page_name"=>"NewPage"}
26
- Redirected to http://test.host/wiki/NewPage
27
- Completed 302 Found in 5ms (Views: 3.4ms)
207
+ Completed 200 OK in 1ms (Views: 0.6ms | Allocations: 841)
208
+ Processing by ClWiki::PageController#show as HTML
209
+ Redirected to http://test.host/wiki/FrontPage
210
+ Filter chain halted as :redirect_to_front_page_if_bad_name rendered or redirected
211
+ Completed 302 Found in 0ms (Allocations: 287)
212
+ Processing by ClWiki::PageController#show as HTML
213
+ Parameters: {"page_name"=>"NewPage"}
214
+ Rendering /Users/chrismo/modev/clwiki/app/views/cl_wiki/page/show.html.erb within layouts/cl_wiki/application
215
+ Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.
216
+ Rendered /Users/chrismo/modev/clwiki/app/views/cl_wiki/page/show.html.erb within layouts/cl_wiki/application (Duration: 0.1ms | Allocations: 63)
217
+ Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.
218
+ Completed 200 OK in 2ms (Views: 0.8ms | Allocations: 1459)
219
+ Processing by ClWiki::PageController#show as HTML
220
+ Parameters: {"page_name"=>"NewPage"}
221
+ Redirected to http://test.host/wiki/FrontPage
222
+ Filter chain halted as :redirect_to_front_page_if_bad_name rendered or redirected
223
+ Completed 302 Found in 1ms (Allocations: 346)
224
+ Processing by ClWiki::PageController#show as HTML
225
+ Parameters: {"page_name"=>"notavalidname"}
226
+ Redirected to http://test.host/wiki/FrontPage
227
+ Filter chain halted as :redirect_to_front_page_if_bad_name rendered or redirected
228
+ Completed 302 Found in 0ms (Allocations: 295)
229
+ Processing by ClWiki::PageController#recent as RSS
230
+ Rendering /Users/chrismo/modev/clwiki/app/views/cl_wiki/page/recent.rss.builder
231
+ Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.
232
+ Rendered /Users/chrismo/modev/clwiki/app/views/cl_wiki/page/recent.rss.builder (Duration: 0.1ms | Allocations: 62)
233
+ Completed 200 OK in 2ms (Views: 0.9ms | Allocations: 1151)
28
234
  Processing by ClWiki::PageController#recent as HTML
235
+ Rendering /Users/chrismo/modev/clwiki/app/views/cl_wiki/page/recent.html.erb within layouts/cl_wiki/application
236
+ Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.
237
+ Rendered /Users/chrismo/modev/clwiki/app/views/cl_wiki/page/recent.html.erb within layouts/cl_wiki/application (Duration: 0.1ms | Allocations: 61)
238
+ Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.
239
+ Completed 200 OK in 2ms (Views: 0.6ms | Allocations: 1120)
240
+ Processing by ClWiki::PageController#recent as HTML
241
+ Rendering /Users/chrismo/modev/clwiki/app/views/cl_wiki/page/recent.html.erb within layouts/cl_wiki/application
242
+ Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.
243
+ Rendered /Users/chrismo/modev/clwiki/app/views/cl_wiki/page/recent.html.erb within layouts/cl_wiki/application (Duration: 0.9ms | Allocations: 314)
29
244
  Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.
30
- Rendered /Users/chrismo/modev/clwiki/app/views/cl_wiki/page/recent.html.erb within layouts/cl_wiki/application (0.4ms)
245
+ Completed 200 OK in 12ms (Views: 5.1ms | Allocations: 4939)
246
+ Processing by ClWiki::PageController#edit as HTML
247
+ Parameters: {"page_name"=>"NewPage"}
248
+ Rendering /Users/chrismo/modev/clwiki/app/views/cl_wiki/page/edit.html.erb within layouts/cl_wiki/application
31
249
  Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.
32
- Completed 200 OK in 6ms (Views: 1.2ms)
250
+ Rendered /Users/chrismo/modev/clwiki/app/views/cl_wiki/page/edit.html.erb within layouts/cl_wiki/application (Duration: 0.3ms | Allocations: 63)
251
+ Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.
252
+ Completed 200 OK in 7ms (Views: 1.1ms | Allocations: 1077)
33
253
  Processing by ClWiki::PageController#edit as HTML
34
254
  Parameters: {"page_name"=>"NewPage"}
255
+ Rendering /Users/chrismo/modev/clwiki/app/views/cl_wiki/page/edit.html.erb within layouts/cl_wiki/application
35
256
  Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.
36
- Rendered /Users/chrismo/modev/clwiki/app/views/cl_wiki/page/edit.html.erb within layouts/cl_wiki/application (0.3ms)
257
+ Rendered /Users/chrismo/modev/clwiki/app/views/cl_wiki/page/edit.html.erb within layouts/cl_wiki/application (Duration: 0.5ms | Allocations: 61)
37
258
  Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.
38
- Completed 200 OK in 7ms (Views: 1.0ms)
259
+ Completed 200 OK in 8ms (Views: 3.5ms | Allocations: 841)
39
260
  Processing by ClWiki::PageController#show as HTML
261
+ Parameters: {"page_name"=>"NewPage"}
40
262
  Redirected to http://test.host/wiki/FrontPage
41
263
  Filter chain halted as :redirect_to_front_page_if_bad_name rendered or redirected
42
- Completed 302 Found in 7ms
264
+ Completed 302 Found in 2ms (Allocations: 365)
265
+ Processing by ClWiki::PageController#recent as RSS
266
+ Rendering /Users/chrismo/modev/clwiki/app/views/cl_wiki/page/recent.rss.builder
267
+ Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.
268
+ Rendered /Users/chrismo/modev/clwiki/app/views/cl_wiki/page/recent.rss.builder (Duration: 0.2ms | Allocations: 62)
269
+ Completed 200 OK in 4ms (Views: 1.9ms | Allocations: 1153)
43
270
  Processing by ClWiki::PageController#show as HTML
44
271
  Parameters: {"page_name"=>"notavalidname"}
45
272
  Redirected to http://test.host/wiki/FrontPage
46
273
  Filter chain halted as :redirect_to_front_page_if_bad_name rendered or redirected
47
- Completed 302 Found in 8ms
274
+ Completed 302 Found in 1ms (Allocations: 295)
275
+ Processing by ClWiki::PageController#find as HTML
276
+ Rendering /Users/chrismo/modev/clwiki/app/views/cl_wiki/page/find.html.erb within layouts/cl_wiki/application
277
+ Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.
278
+ Rendered /Users/chrismo/modev/clwiki/app/views/cl_wiki/page/find.html.erb within layouts/cl_wiki/application (Duration: 0.2ms | Allocations: 63)
279
+ Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.
280
+ Completed 200 OK in 2ms (Views: 0.8ms | Allocations: 850)
281
+ Processing by ClWiki::PageController#edit as HTML
282
+ Parameters: {"page_name"=>"NewPage"}
283
+ Rendering /Users/chrismo/modev/clwiki/app/views/cl_wiki/page/edit.html.erb within layouts/cl_wiki/application
284
+ Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.
285
+ Rendered /Users/chrismo/modev/clwiki/app/views/cl_wiki/page/edit.html.erb within layouts/cl_wiki/application (Duration: 0.2ms | Allocations: 61)
286
+ Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.
287
+ Completed 200 OK in 2ms (Views: 0.8ms | Allocations: 841)
48
288
  Processing by ClWiki::PageController#show as HTML
49
289
  Parameters: {"page_name"=>"NewPage"}
290
+ Rendering /Users/chrismo/modev/clwiki/app/views/cl_wiki/page/show.html.erb within layouts/cl_wiki/application
291
+ Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.
292
+ Rendered /Users/chrismo/modev/clwiki/app/views/cl_wiki/page/show.html.erb within layouts/cl_wiki/application (Duration: 0.3ms | Allocations: 63)
293
+ Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.
294
+ Completed 200 OK in 6ms (Views: 1.6ms | Allocations: 1458)
295
+ Processing by ClWiki::PageController#show as HTML
50
296
  Redirected to http://test.host/wiki/FrontPage
51
297
  Filter chain halted as :redirect_to_front_page_if_bad_name rendered or redirected
52
- Completed 302 Found in 4ms
53
- Processing by ClWiki::PageController#find as HTML
298
+ Completed 302 Found in 2ms (Allocations: 287)
299
+ Processing by ClWiki::PageController#recent as HTML
300
+ Rendering /Users/chrismo/modev/clwiki/app/views/cl_wiki/page/recent.html.erb within layouts/cl_wiki/application
54
301
  Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.
55
- Rendered /Users/chrismo/modev/clwiki/app/views/cl_wiki/page/find.html.erb within layouts/cl_wiki/application (0.2ms)
302
+ Rendered /Users/chrismo/modev/clwiki/app/views/cl_wiki/page/recent.html.erb within layouts/cl_wiki/application (Duration: 0.2ms | Allocations: 61)
56
303
  Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.
57
- Completed 200 OK in 3ms (Views: 0.9ms)
58
- Processing by ClWiki::PageController#recent as RSS
304
+ Completed 200 OK in 3ms (Views: 0.9ms | Allocations: 1123)
305
+ Processing by ClWiki::PageController#recent as HTML
306
+ Rendering /Users/chrismo/modev/clwiki/app/views/cl_wiki/page/recent.html.erb within layouts/cl_wiki/application
307
+ Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.
308
+ Rendered /Users/chrismo/modev/clwiki/app/views/cl_wiki/page/recent.html.erb within layouts/cl_wiki/application (Duration: 1.0ms | Allocations: 318)
59
309
  Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.
60
- Rendered /Users/chrismo/modev/clwiki/app/views/cl_wiki/page/recent.rss.builder (0.2ms)
61
- Completed 200 OK in 6ms (Views: 3.0ms)
310
+ Completed 200 OK in 15ms (Views: 6.5ms | Allocations: 4944)
311
+ Processing by ClWiki::PageController#show as HTML
312
+ Parameters: {"page_name"=>"notavalidname"}
313
+ Redirected to http://test.host/wiki/FrontPage
314
+ Filter chain halted as :redirect_to_front_page_if_bad_name rendered or redirected
315
+ Completed 302 Found in 1ms (Allocations: 314)
316
+ Processing by ClWiki::PageController#show as HTML
317
+ Parameters: {"page_name"=>"NewPage"}
318
+ Redirected to http://test.host/wiki/FrontPage
319
+ Filter chain halted as :redirect_to_front_page_if_bad_name rendered or redirected
320
+ Completed 302 Found in 1ms (Allocations: 346)
62
321
  Processing by ClWiki::PageController#edit as HTML
63
322
  Parameters: {"page_name"=>"NewPage"}
323
+ Rendering /Users/chrismo/modev/clwiki/app/views/cl_wiki/page/edit.html.erb within layouts/cl_wiki/application
64
324
  Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.
65
- Rendered /Users/chrismo/modev/clwiki/app/views/cl_wiki/page/edit.html.erb within layouts/cl_wiki/application (0.3ms)
325
+ Rendered /Users/chrismo/modev/clwiki/app/views/cl_wiki/page/edit.html.erb within layouts/cl_wiki/application (Duration: 0.2ms | Allocations: 69)
66
326
  Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.
67
- Completed 200 OK in 7ms (Views: 0.9ms)
327
+ Completed 200 OK in 2ms (Views: 0.9ms | Allocations: 1089)
68
328
  Processing by ClWiki::PageController#update as HTML
69
- Parameters: {"page_content"=>"NewPage content", "client_mod_time"=>"1546535066", "save_and_edit"=>true, "page_name"=>"NewPage"}
329
+ Parameters: {"client_mod_time"=>"1577249514", "page_content"=>"NewPage content", "save_and_edit"=>"true", "page_name"=>"NewPage"}
70
330
  Redirected to http://test.host/wiki/NewPage/edit
71
- Completed 302 Found in 5ms (Views: 0.9ms)
72
- Started GET "/wiki/clwikicgi.rb?use_route=cl_wiki&page=%2FChrisMorris" for 127.0.0.1 at 2019-01-03 11:04:26 -0600
73
- Processing by ClWiki::PageController#show as HTML
74
- Parameters: {"use_route"=>"cl_wiki", "page"=>"/ChrisMorris"}
75
- Redirected to http://www.example.com/wiki/ChrisMorris
76
- Filter chain halted as :redirect_legacy_cgi_urls rendered or redirected
77
- Completed 301 Moved Permanently in 12ms
78
- Started GET "/wiki/clwikicgi.rb?use_route=cl_wiki&page=%2FChrisMorris&edit=true" for 127.0.0.1 at 2019-01-03 11:04:26 -0600
331
+ Completed 302 Found in 1ms (Views: 0.9ms | Allocations: 647)
332
+ Processing by ClWiki::PageController#recent as HTML
333
+ Rendering /Users/chrismo/modev/clwiki/app/views/cl_wiki/page/recent.html.erb within layouts/cl_wiki/application
334
+ Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.
335
+ Rendered /Users/chrismo/modev/clwiki/app/views/cl_wiki/page/recent.html.erb within layouts/cl_wiki/application (Duration: 0.2ms | Allocations: 67)
336
+ Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.
337
+ Completed 200 OK in 3ms (Views: 0.9ms | Allocations: 1134)
79
338
  Processing by ClWiki::PageController#show as HTML
80
- Parameters: {"use_route"=>"cl_wiki", "page"=>"/ChrisMorris", "edit"=>"true"}
81
- Redirected to http://www.example.com/wiki/ChrisMorris/edit
82
- Filter chain halted as :redirect_legacy_cgi_urls rendered or redirected
83
- Completed 301 Moved Permanently in 1ms
84
- Started GET "/wiki/clwikicgi.rb?use_route=cl_wiki&page=ChrisMorris" for 127.0.0.1 at 2019-01-03 11:04:26 -0600
339
+ Parameters: {"page_name"=>"NewPage"}
340
+ Rendering /Users/chrismo/modev/clwiki/app/views/cl_wiki/page/show.html.erb within layouts/cl_wiki/application
341
+ Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.
342
+ Rendered /Users/chrismo/modev/clwiki/app/views/cl_wiki/page/show.html.erb within layouts/cl_wiki/application (Duration: 0.2ms | Allocations: 69)
343
+ Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.
344
+ Completed 200 OK in 3ms (Views: 0.9ms | Allocations: 1473)
345
+ Processing by ClWiki::PageController#recent as RSS
346
+ Rendering /Users/chrismo/modev/clwiki/app/views/cl_wiki/page/recent.rss.builder
347
+ Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.
348
+ Rendered /Users/chrismo/modev/clwiki/app/views/cl_wiki/page/recent.rss.builder (Duration: 0.2ms | Allocations: 68)
349
+ Completed 200 OK in 3ms (Views: 1.4ms | Allocations: 1159)
350
+ Processing by ClWiki::PageController#edit as HTML
351
+ Parameters: {"page_name"=>"NewPage"}
352
+ Rendering /Users/chrismo/modev/clwiki/app/views/cl_wiki/page/edit.html.erb within layouts/cl_wiki/application
353
+ Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.
354
+ Rendered /Users/chrismo/modev/clwiki/app/views/cl_wiki/page/edit.html.erb within layouts/cl_wiki/application (Duration: 0.2ms | Allocations: 67)
355
+ Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.
356
+ Completed 200 OK in 2ms (Views: 1.0ms | Allocations: 854)
357
+ Processing by ClWiki::PageController#update as HTML
358
+ Parameters: {"client_mod_time"=>"1577249514", "page_content"=>"NewPage content", "page_name"=>"NewPage"}
359
+ Redirected to http://test.host/wiki/NewPage
360
+ Completed 302 Found in 1ms (Views: 1.0ms | Allocations: 648)
361
+ Processing by ClWiki::PageController#find as HTML
362
+ Rendering /Users/chrismo/modev/clwiki/app/views/cl_wiki/page/find.html.erb within layouts/cl_wiki/application
363
+ Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.
364
+ Rendered /Users/chrismo/modev/clwiki/app/views/cl_wiki/page/find.html.erb within layouts/cl_wiki/application (Duration: 0.2ms | Allocations: 69)
365
+ Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.
366
+ Completed 200 OK in 2ms (Views: 0.7ms | Allocations: 863)
85
367
  Processing by ClWiki::PageController#show as HTML
86
- Parameters: {"use_route"=>"cl_wiki", "page"=>"ChrisMorris"}
87
- Redirected to http://www.example.com/wiki/ChrisMorris
88
- Filter chain halted as :redirect_legacy_cgi_urls rendered or redirected
89
- Completed 301 Moved Permanently in 1ms
90
- Started GET "/wiki/clwikicgi.rb?use_route=cl_wiki&page=%2FSomeParent%2FDotTest" for 127.0.0.1 at 2019-01-03 11:04:26 -0600
368
+ Redirected to http://test.host/wiki/FrontPage
369
+ Filter chain halted as :redirect_to_front_page_if_bad_name rendered or redirected
370
+ Completed 302 Found in 1ms (Allocations: 287)
371
+ Processing by ClWiki::PageController#edit as HTML
372
+ Parameters: {"page_name"=>"NewPage"}
373
+ Rendering /Users/chrismo/modev/clwiki/app/views/cl_wiki/page/edit.html.erb within layouts/cl_wiki/application
374
+ Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.
375
+ Rendered /Users/chrismo/modev/clwiki/app/views/cl_wiki/page/edit.html.erb within layouts/cl_wiki/application (Duration: 0.2ms | Allocations: 67)
376
+ Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.
377
+ Completed 200 OK in 2ms (Views: 0.8ms | Allocations: 854)
378
+ Started GET "/wiki/clwikicgi.rb?page=%2FSomeParent%2FDotTest" for 127.0.0.1 at 2019-12-24 22:51:54 -0600
91
379
  Processing by ClWiki::PageController#show as HTML
92
- Parameters: {"use_route"=>"cl_wiki", "page"=>"/SomeParent/DotTest"}
380
+ Parameters: {"page"=>"/SomeParent/DotTest"}
93
381
  Redirected to http://www.example.com/wiki/DotTest
94
382
  Filter chain halted as :redirect_legacy_cgi_urls rendered or redirected
95
- Completed 301 Moved Permanently in 1ms
96
- Started GET "/wiki/clwikicgi.rb?use_route=cl_wiki&page=ChrisMorris" for 127.0.0.1 at 2019-01-03 11:05:19 -0600
383
+ Completed 301 Moved Permanently in 7ms (Allocations: 279)
384
+ Started GET "/wiki/clwikicgi.rb?page=ChrisMorris" for 127.0.0.1 at 2019-12-24 22:51:54 -0600
97
385
  Processing by ClWiki::PageController#show as HTML
98
- Parameters: {"use_route"=>"cl_wiki", "page"=>"ChrisMorris"}
386
+ Parameters: {"page"=>"ChrisMorris"}
99
387
  Redirected to http://www.example.com/wiki/ChrisMorris
100
388
  Filter chain halted as :redirect_legacy_cgi_urls rendered or redirected
101
- Completed 301 Moved Permanently in 10ms
102
- Started GET "/wiki/clwikicgi.rb?use_route=cl_wiki&page=%2FSomeParent%2FDotTest" for 127.0.0.1 at 2019-01-03 11:05:19 -0600
103
- Processing by ClWiki::PageController#show as HTML
104
- Parameters: {"use_route"=>"cl_wiki", "page"=>"/SomeParent/DotTest"}
105
- Redirected to http://www.example.com/wiki/DotTest
106
- Filter chain halted as :redirect_legacy_cgi_urls rendered or redirected
107
- Completed 301 Moved Permanently in 0ms
108
- Started GET "/wiki/clwikicgi.rb?use_route=cl_wiki&page=%2FChrisMorris&edit=true" for 127.0.0.1 at 2019-01-03 11:05:19 -0600
389
+ Completed 301 Moved Permanently in 0ms (Allocations: 262)
390
+ Started GET "/wiki/clwikicgi.rb?page=%2FChrisMorris&edit=true" for 127.0.0.1 at 2019-12-24 22:51:54 -0600
109
391
  Processing by ClWiki::PageController#show as HTML
110
- Parameters: {"use_route"=>"cl_wiki", "page"=>"/ChrisMorris", "edit"=>"true"}
392
+ Parameters: {"page"=>"/ChrisMorris", "edit"=>"true"}
111
393
  Redirected to http://www.example.com/wiki/ChrisMorris/edit
112
394
  Filter chain halted as :redirect_legacy_cgi_urls rendered or redirected
113
- Completed 301 Moved Permanently in 1ms
114
- Started GET "/wiki/clwikicgi.rb?use_route=cl_wiki&page=%2FChrisMorris" for 127.0.0.1 at 2019-01-03 11:05:19 -0600
395
+ Completed 301 Moved Permanently in 1ms (Allocations: 264)
396
+ Started GET "/wiki/clwikicgi.rb?page=%2FChrisMorris" for 127.0.0.1 at 2019-12-24 22:51:54 -0600
115
397
  Processing by ClWiki::PageController#show as HTML
116
- Parameters: {"use_route"=>"cl_wiki", "page"=>"/ChrisMorris"}
398
+ Parameters: {"page"=>"/ChrisMorris"}
117
399
  Redirected to http://www.example.com/wiki/ChrisMorris
118
400
  Filter chain halted as :redirect_legacy_cgi_urls rendered or redirected
119
- Completed 301 Moved Permanently in 0ms
401
+ Completed 301 Moved Permanently in 1ms (Allocations: 263)
120
402
  Processing by ClWiki::PageController#edit as HTML
121
403
  Parameters: {"page_name"=>"NewPage"}
404
+ Rendering /Users/chrismo/modev/clwiki/app/views/cl_wiki/page/edit.html.erb within layouts/cl_wiki/application
122
405
  Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.
123
- Rendered /Users/chrismo/modev/clwiki/app/views/cl_wiki/page/edit.html.erb within layouts/cl_wiki/application (0.4ms)
406
+ Rendered /Users/chrismo/modev/clwiki/app/views/cl_wiki/page/edit.html.erb within layouts/cl_wiki/application (Duration: 1.2ms | Allocations: 319)
124
407
  Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.
125
- Completed 200 OK in 17ms (Views: 13.5ms)
126
- Processing by ClWiki::PageController#find as HTML
408
+ Completed 200 OK in 12ms (Views: 6.0ms | Allocations: 3441)
409
+ Processing by ClWiki::PageController#update as HTML
410
+ Parameters: {"client_mod_time"=>"1577249558", "page_content"=>"NewPage content", "page_name"=>"NewPage"}
411
+ Redirected to http://test.host/wiki/NewPage
412
+ Completed 302 Found in 2ms (Views: 6.0ms | Allocations: 665)
413
+ Processing by ClWiki::PageController#show as HTML
414
+ Parameters: {"page_name"=>"NewPage"}
415
+ Redirected to http://test.host/wiki/FrontPage
416
+ Filter chain halted as :redirect_to_front_page_if_bad_name rendered or redirected
417
+ Completed 302 Found in 1ms (Allocations: 349)
418
+ Processing by ClWiki::PageController#recent as HTML
419
+ Rendering /Users/chrismo/modev/clwiki/app/views/cl_wiki/page/recent.html.erb within layouts/cl_wiki/application
127
420
  Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.
128
- Rendered /Users/chrismo/modev/clwiki/app/views/cl_wiki/page/find.html.erb within layouts/cl_wiki/application (0.3ms)
421
+ Rendered /Users/chrismo/modev/clwiki/app/views/cl_wiki/page/recent.html.erb within layouts/cl_wiki/application (Duration: 0.2ms | Allocations: 69)
129
422
  Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.
130
- Completed 200 OK in 6ms (Views: 3.1ms)
423
+ Completed 200 OK in 7ms (Views: 1.1ms | Allocations: 2209)
424
+ Processing by ClWiki::PageController#show as HTML
425
+ Parameters: {"page_name"=>"notavalidname"}
426
+ Redirected to http://test.host/wiki/FrontPage
427
+ Filter chain halted as :redirect_to_front_page_if_bad_name rendered or redirected
428
+ Completed 302 Found in 1ms (Allocations: 295)
131
429
  Processing by ClWiki::PageController#show as HTML
132
430
  Parameters: {"page_name"=>"NewPage"}
431
+ Rendering /Users/chrismo/modev/clwiki/app/views/cl_wiki/page/show.html.erb within layouts/cl_wiki/application
133
432
  Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.
134
- Rendered /Users/chrismo/modev/clwiki/app/views/cl_wiki/page/show.html.erb within layouts/cl_wiki/application (0.3ms)
433
+ Rendered /Users/chrismo/modev/clwiki/app/views/cl_wiki/page/show.html.erb within layouts/cl_wiki/application (Duration: 0.2ms | Allocations: 69)
135
434
  Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.
136
- Completed 200 OK in 8ms (Views: 2.7ms)
137
- Processing by ClWiki::PageController#recent as HTML
435
+ Completed 200 OK in 3ms (Views: 0.9ms | Allocations: 1473)
436
+ Processing by ClWiki::PageController#find as HTML
437
+ Parameters: {"search_text"=>"sheep"}
438
+ Rendering /Users/chrismo/modev/clwiki/app/views/cl_wiki/page/find.html.erb within layouts/cl_wiki/application
439
+ Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.
440
+ Rendered /Users/chrismo/modev/clwiki/app/views/cl_wiki/page/find.html.erb within layouts/cl_wiki/application (Duration: 0.2ms | Allocations: 69)
441
+ Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.
442
+ Completed 200 OK in 3ms (Views: 0.9ms | Allocations: 970)
443
+ Processing by ClWiki::PageController#find as HTML
444
+ Rendering /Users/chrismo/modev/clwiki/app/views/cl_wiki/page/find.html.erb within layouts/cl_wiki/application
445
+ Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.
446
+ Rendered /Users/chrismo/modev/clwiki/app/views/cl_wiki/page/find.html.erb within layouts/cl_wiki/application (Duration: 0.2ms | Allocations: 67)
447
+ Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.
448
+ Completed 200 OK in 2ms (Views: 1.2ms | Allocations: 628)
449
+ Processing by ClWiki::PageController#edit as HTML
450
+ Parameters: {"page_name"=>"NewPage"}
451
+ Rendering /Users/chrismo/modev/clwiki/app/views/cl_wiki/page/edit.html.erb within layouts/cl_wiki/application
138
452
  Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.
139
- Rendered /Users/chrismo/modev/clwiki/app/views/cl_wiki/page/recent.html.erb within layouts/cl_wiki/application (0.2ms)
453
+ Rendered /Users/chrismo/modev/clwiki/app/views/cl_wiki/page/edit.html.erb within layouts/cl_wiki/application (Duration: 0.4ms | Allocations: 67)
140
454
  Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.
141
- Completed 200 OK in 6ms (Views: 2.5ms)
455
+ Completed 200 OK in 3ms (Views: 1.9ms | Allocations: 855)
142
456
  Processing by ClWiki::PageController#recent as HTML
457
+ Rendering /Users/chrismo/modev/clwiki/app/views/cl_wiki/page/recent.html.erb within layouts/cl_wiki/application
143
458
  Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.
144
- Rendered /Users/chrismo/modev/clwiki/app/views/cl_wiki/page/recent.html.erb within layouts/cl_wiki/application (0.2ms)
459
+ Rendered /Users/chrismo/modev/clwiki/app/views/cl_wiki/page/recent.html.erb within layouts/cl_wiki/application (Duration: 0.2ms | Allocations: 67)
145
460
  Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.
146
- Completed 200 OK in 4ms (Views: 0.8ms)
461
+ Completed 200 OK in 4ms (Views: 1.0ms | Allocations: 1543)
147
462
  Processing by ClWiki::PageController#edit as HTML
148
463
  Parameters: {"page_name"=>"NewPage"}
464
+ Rendering /Users/chrismo/modev/clwiki/app/views/cl_wiki/page/edit.html.erb within layouts/cl_wiki/application
149
465
  Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.
150
- Rendered /Users/chrismo/modev/clwiki/app/views/cl_wiki/page/edit.html.erb within layouts/cl_wiki/application (0.2ms)
466
+ Rendered /Users/chrismo/modev/clwiki/app/views/cl_wiki/page/edit.html.erb within layouts/cl_wiki/application (Duration: 0.2ms | Allocations: 67)
151
467
  Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.
152
- Completed 200 OK in 3ms (Views: 0.8ms)
468
+ Completed 200 OK in 2ms (Views: 0.9ms | Allocations: 854)
153
469
  Processing by ClWiki::PageController#update as HTML
154
- Parameters: {"page_content"=>"NewPage content", "client_mod_time"=>"1546535120", "save_and_edit"=>true, "page_name"=>"NewPage"}
470
+ Parameters: {"client_mod_time"=>"1577249559", "page_content"=>"NewPage content", "save_and_edit"=>"true", "page_name"=>"NewPage"}
155
471
  Redirected to http://test.host/wiki/NewPage/edit
156
- Completed 302 Found in 4ms (Views: 0.8ms)
472
+ Completed 302 Found in 1ms (Views: 0.9ms | Allocations: 647)
473
+ Processing by ClWiki::PageController#recent as RSS
474
+ Rendering /Users/chrismo/modev/clwiki/app/views/cl_wiki/page/recent.rss.builder
475
+ Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.
476
+ Rendered /Users/chrismo/modev/clwiki/app/views/cl_wiki/page/recent.rss.builder (Duration: 0.2ms | Allocations: 68)
477
+ Completed 200 OK in 3ms (Views: 1.3ms | Allocations: 1161)
157
478
  Processing by ClWiki::PageController#show as HTML
158
- Parameters: {"page_name"=>"NewPage"}
159
479
  Redirected to http://test.host/wiki/FrontPage
160
480
  Filter chain halted as :redirect_to_front_page_if_bad_name rendered or redirected
161
- Completed 302 Found in 2ms
481
+ Completed 302 Found in 1ms (Allocations: 287)
482
+ Processing by ClWiki::PageController#show as HTML
483
+ Parameters: {"page_name"=>"notavalidname"}
484
+ Redirected to http://test.host/wiki/FrontPage
485
+ Filter chain halted as :redirect_to_front_page_if_bad_name rendered or redirected
486
+ Completed 302 Found in 1ms (Allocations: 396)
162
487
  Processing by ClWiki::PageController#edit as HTML
163
488
  Parameters: {"page_name"=>"NewPage"}
489
+ Rendering /Users/chrismo/modev/clwiki/app/views/cl_wiki/page/edit.html.erb within layouts/cl_wiki/application
164
490
  Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.
165
- Rendered /Users/chrismo/modev/clwiki/app/views/cl_wiki/page/edit.html.erb within layouts/cl_wiki/application (0.2ms)
491
+ Rendered /Users/chrismo/modev/clwiki/app/views/cl_wiki/page/edit.html.erb within layouts/cl_wiki/application (Duration: 1.6ms | Allocations: 318)
166
492
  Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.
167
- Completed 200 OK in 3ms (Views: 0.9ms)
493
+ Completed 200 OK in 7ms (Views: 4.8ms | Allocations: 3354)
494
+ Processing by ClWiki::PageController#edit as HTML
495
+ Parameters: {"page_name"=>"NewPage"}
496
+ Rendering /Users/chrismo/modev/clwiki/app/views/cl_wiki/page/edit.html.erb within layouts/cl_wiki/application
497
+ Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.
498
+ Rendered /Users/chrismo/modev/clwiki/app/views/cl_wiki/page/edit.html.erb within layouts/cl_wiki/application (Duration: 0.2ms | Allocations: 67)
499
+ Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.
500
+ Completed 200 OK in 2ms (Views: 0.7ms | Allocations: 854)
168
501
  Processing by ClWiki::PageController#update as HTML
169
- Parameters: {"page_content"=>"NewPage content", "client_mod_time"=>"1546535120", "page_name"=>"NewPage"}
170
- Redirected to http://test.host/wiki/NewPage
171
- Completed 302 Found in 3ms (Views: 0.9ms)
172
- Processing by ClWiki::PageController#find as HTML
173
- Parameters: {"search_text"=>"sheep"}
502
+ Parameters: {"client_mod_time"=>"1577249574", "page_content"=>"NewPage content", "save_and_edit"=>"true", "page_name"=>"NewPage"}
503
+ Redirected to http://test.host/wiki/NewPage/edit
504
+ Completed 302 Found in 1ms (Views: 0.7ms | Allocations: 648)
505
+ Processing by ClWiki::PageController#recent as HTML
506
+ Rendering /Users/chrismo/modev/clwiki/app/views/cl_wiki/page/recent.html.erb within layouts/cl_wiki/application
174
507
  Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.
175
- Rendered /Users/chrismo/modev/clwiki/app/views/cl_wiki/page/find.html.erb within layouts/cl_wiki/application (0.2ms)
508
+ Rendered /Users/chrismo/modev/clwiki/app/views/cl_wiki/page/recent.html.erb within layouts/cl_wiki/application (Duration: 0.2ms | Allocations: 69)
176
509
  Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.
177
- Completed 200 OK in 2ms (Views: 0.7ms)
178
- Processing by ClWiki::PageController#recent as RSS
510
+ Completed 200 OK in 6ms (Views: 0.9ms | Allocations: 2617)
511
+ Processing by ClWiki::PageController#show as HTML
512
+ Parameters: {"page_name"=>"NewPage"}
513
+ Rendering /Users/chrismo/modev/clwiki/app/views/cl_wiki/page/show.html.erb within layouts/cl_wiki/application
179
514
  Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.
180
- Rendered /Users/chrismo/modev/clwiki/app/views/cl_wiki/page/recent.rss.builder (0.3ms)
181
- Completed 200 OK in 6ms (Views: 3.0ms)
515
+ Rendered /Users/chrismo/modev/clwiki/app/views/cl_wiki/page/show.html.erb within layouts/cl_wiki/application (Duration: 0.2ms | Allocations: 69)
516
+ Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.
517
+ Completed 200 OK in 2ms (Views: 0.7ms | Allocations: 1473)
182
518
  Processing by ClWiki::PageController#show as HTML
183
- Parameters: {"page_name"=>"notavalidname"}
184
519
  Redirected to http://test.host/wiki/FrontPage
185
520
  Filter chain halted as :redirect_to_front_page_if_bad_name rendered or redirected
186
- Completed 302 Found in 3ms
521
+ Completed 302 Found in 0ms (Allocations: 287)
522
+ Processing by ClWiki::PageController#find as HTML
523
+ Parameters: {"search_text"=>"sheep"}
524
+ Rendering /Users/chrismo/modev/clwiki/app/views/cl_wiki/page/find.html.erb within layouts/cl_wiki/application
525
+ Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.
526
+ Rendered /Users/chrismo/modev/clwiki/app/views/cl_wiki/page/find.html.erb within layouts/cl_wiki/application (Duration: 0.1ms | Allocations: 69)
527
+ Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.
528
+ Completed 200 OK in 2ms (Views: 0.6ms | Allocations: 970)
187
529
  Processing by ClWiki::PageController#show as HTML
530
+ Parameters: {"page_name"=>"NewPage"}
188
531
  Redirected to http://test.host/wiki/FrontPage
189
532
  Filter chain halted as :redirect_to_front_page_if_bad_name rendered or redirected
190
- Completed 302 Found in 3ms
533
+ Completed 302 Found in 1ms (Allocations: 346)
534
+ Processing by ClWiki::PageController#edit as HTML
535
+ Parameters: {"page_name"=>"NewPage"}
536
+ Rendering /Users/chrismo/modev/clwiki/app/views/cl_wiki/page/edit.html.erb within layouts/cl_wiki/application
537
+ Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.
538
+ Rendered /Users/chrismo/modev/clwiki/app/views/cl_wiki/page/edit.html.erb within layouts/cl_wiki/application (Duration: 0.1ms | Allocations: 67)
539
+ Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.
540
+ Completed 200 OK in 2ms (Views: 0.7ms | Allocations: 855)
541
+ Processing by ClWiki::PageController#update as HTML
542
+ Parameters: {"client_mod_time"=>"1577249574", "page_content"=>"NewPage content", "page_name"=>"NewPage"}
543
+ Redirected to http://test.host/wiki/NewPage
544
+ Completed 302 Found in 1ms (Views: 0.7ms | Allocations: 648)
545
+ Processing by ClWiki::PageController#recent as HTML
546
+ Rendering /Users/chrismo/modev/clwiki/app/views/cl_wiki/page/recent.html.erb within layouts/cl_wiki/application
547
+ Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.
548
+ Rendered /Users/chrismo/modev/clwiki/app/views/cl_wiki/page/recent.html.erb within layouts/cl_wiki/application (Duration: 0.2ms | Allocations: 67)
549
+ Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.
550
+ Completed 200 OK in 3ms (Views: 1.0ms | Allocations: 1135)
551
+ Processing by ClWiki::PageController#find as HTML
552
+ Rendering /Users/chrismo/modev/clwiki/app/views/cl_wiki/page/find.html.erb within layouts/cl_wiki/application
553
+ Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.
554
+ Rendered /Users/chrismo/modev/clwiki/app/views/cl_wiki/page/find.html.erb within layouts/cl_wiki/application (Duration: 0.2ms | Allocations: 67)
555
+ Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.
556
+ Completed 200 OK in 1ms (Views: 0.9ms | Allocations: 629)
557
+ Processing by ClWiki::PageController#recent as RSS
558
+ Rendering /Users/chrismo/modev/clwiki/app/views/cl_wiki/page/recent.rss.builder
559
+ Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.
560
+ Rendered /Users/chrismo/modev/clwiki/app/views/cl_wiki/page/recent.rss.builder (Duration: 0.2ms | Allocations: 68)
561
+ Completed 200 OK in 3ms (Views: 1.4ms | Allocations: 1159)
562
+ Started GET "/wiki/clwikicgi.rb?page=%2FSomeParent%2FDotTest" for 127.0.0.1 at 2019-12-24 22:52:55 -0600
563
+ Processing by ClWiki::PageController#show as HTML
564
+ Parameters: {"page"=>"/SomeParent/DotTest"}
565
+ Redirected to http://www.example.com/wiki/DotTest
566
+ Filter chain halted as :redirect_legacy_cgi_urls rendered or redirected
567
+ Completed 301 Moved Permanently in 5ms (Allocations: 279)
568
+ Started GET "/wiki/clwikicgi.rb?page=ChrisMorris" for 127.0.0.1 at 2019-12-24 22:52:55 -0600
569
+ Processing by ClWiki::PageController#show as HTML
570
+ Parameters: {"page"=>"ChrisMorris"}
571
+ Redirected to http://www.example.com/wiki/ChrisMorris
572
+ Filter chain halted as :redirect_legacy_cgi_urls rendered or redirected
573
+ Completed 301 Moved Permanently in 0ms (Allocations: 262)
574
+ Started GET "/wiki/clwikicgi.rb?page=%2FChrisMorris&edit=true" for 127.0.0.1 at 2019-12-24 22:52:55 -0600
575
+ Processing by ClWiki::PageController#show as HTML
576
+ Parameters: {"page"=>"/ChrisMorris", "edit"=>"true"}
577
+ Redirected to http://www.example.com/wiki/ChrisMorris/edit
578
+ Filter chain halted as :redirect_legacy_cgi_urls rendered or redirected
579
+ Completed 301 Moved Permanently in 0ms (Allocations: 264)
580
+ Started GET "/wiki/clwikicgi.rb?page=%2FChrisMorris" for 127.0.0.1 at 2019-12-24 22:52:55 -0600
581
+ Processing by ClWiki::PageController#show as HTML
582
+ Parameters: {"page"=>"/ChrisMorris"}
583
+ Redirected to http://www.example.com/wiki/ChrisMorris
584
+ Filter chain halted as :redirect_legacy_cgi_urls rendered or redirected
585
+ Completed 301 Moved Permanently in 0ms (Allocations: 263)
@@ -1,3 +1,5 @@
1
1
  $LOAD_PATH << File.dirname(__FILE__) + '/../../../lib/cl_wiki'
2
2
 
3
+ require_relative 'test_base'
4
+
3
5
  require 'minitest/autorun'
@@ -1,5 +1,4 @@
1
1
  require_relative 'clwiki_test_helper'
2
- require_relative 'test_base'
3
2
  require 'file'
4
3
 
5
4
  class TestClWikiFile < TestBase
@@ -1,4 +1,4 @@
1
- require File.dirname(__FILE__) + '/clwiki_test_helper'
1
+ require_relative 'clwiki_test_helper'
2
2
 
3
3
  require 'rubygems'
4
4
  gem 'clutil'
@@ -30,38 +30,38 @@ class TestFindInFile < TempDirTest
30
30
  end
31
31
 
32
32
  def test_simple_find_content
33
- create_test_file(@test_wiki_path + '/TestA', 'this is only a test')
33
+ create_test_file(@test_wiki_path + '/TestA.txt', 'this is only a test')
34
34
  assert_equal(1, @find_in_file.find('only'))
35
35
  assert_equal(1, @find_in_file.files.length)
36
- assert_equal('TestA', @find_in_file.files[0])
36
+ assert_equal('TestA.txt', @find_in_file.files[0])
37
37
  end
38
38
 
39
39
  def test_simple_find_filename
40
- create_test_file(@test_wiki_path + '/TestA', 'this is only a test')
40
+ create_test_file(@test_wiki_path + '/TestA.txt', 'this is only a test')
41
41
  assert_equal(1, @find_in_file.find('tA'))
42
42
  assert_equal(1, @find_in_file.files.length)
43
- assert_equal('TestA', @find_in_file.files[0])
43
+ assert_equal('TestA.txt', @find_in_file.files[0])
44
44
  end
45
45
 
46
46
  def test_simple_find_content_case_insensitive
47
- create_test_file(@test_wiki_path + '/TestA', 'this is only a test')
47
+ create_test_file(@test_wiki_path + '/TestA.txt', 'this is only a test')
48
48
  assert_equal(1, @find_in_file.find('oNly'))
49
49
  assert_equal(1, @find_in_file.files.length)
50
- assert_equal('TestA', @find_in_file.files[0])
50
+ assert_equal('TestA.txt', @find_in_file.files[0])
51
51
  end
52
52
 
53
53
  def test_simple_find_filename_case_insensitive
54
- create_test_file(@test_wiki_path + '/TestA', 'this is only a test')
54
+ create_test_file(@test_wiki_path + '/TestA.txt', 'this is only a test')
55
55
  assert_equal(1, @find_in_file.find('Ta'))
56
56
  assert_equal(1, @find_in_file.files.length)
57
- assert_equal('TestA', @find_in_file.files[0])
57
+ assert_equal('TestA.txt', @find_in_file.files[0])
58
58
  end
59
59
 
60
60
  def test_match_in_file_name_and_content
61
- create_test_file(@test_wiki_path + '/TestA', 'this is only a test')
61
+ create_test_file(@test_wiki_path + '/TestA.txt', 'this is only a test')
62
62
  assert_equal(1, @find_in_file.find('test'))
63
63
  assert_equal(1, @find_in_file.files.length)
64
- assert_equal('TestA', @find_in_file.files[0])
64
+ assert_equal('TestA.txt', @find_in_file.files[0])
65
65
  end
66
66
 
67
67
  def test_subdir_search
@@ -71,15 +71,15 @@ class TestFindInFile < TempDirTest
71
71
  end
72
72
 
73
73
  def test_title_only_search
74
- create_test_file(@test_wiki_path + '/TestA', 'this is only a test')
74
+ create_test_file(@test_wiki_path + '/TestA.txt', 'this is only a test')
75
75
  create_test_file(@test_wiki_path + '/blah', 'this is only a test')
76
76
  assert_equal(1, @find_in_file.find('test', ClWiki::FindInFile::FILE_NAME_ONLY))
77
77
  assert_equal(1, @find_in_file.files.length)
78
- assert_equal('TestA', @find_in_file.files[0])
78
+ assert_equal('TestA.txt', @find_in_file.files[0])
79
79
  end
80
80
 
81
81
  def xtest_mini_load_test
82
- create_test_file(@test_wiki_path + '/TestA', 'this is only a test')
82
+ create_test_file(@test_wiki_path + '/TestA.txt', 'this is only a test')
83
83
  content = ''
84
84
  1000.times do
85
85
  content << 'this is a sample file'
@@ -1,4 +1,4 @@
1
- require File.dirname(__FILE__) + '/clwiki_test_helper'
1
+ require_relative 'clwiki_test_helper'
2
2
  require 'index'
3
3
 
4
4
  class TestClWikiIndex < TestBase
@@ -13,8 +13,8 @@ class TestClWikiIndex < TestBase
13
13
  end
14
14
  # couldn't find a way to set the mtime quickly, so just trusting
15
15
  # the above code will run within the same second...
16
- assert_in_delta(File.mtime(file_a), File.mtime(file_b), 1.second)
17
- assert_in_delta(File.mtime(file_a), File.mtime(file_c), 1.second)
16
+ assert_in_delta(File.mtime(file_a), File.mtime(file_b), 1)
17
+ assert_in_delta(File.mtime(file_a), File.mtime(file_c), 1)
18
18
  @mtime = File.mtime(file_a)
19
19
  @i = ClWiki::Indexer.new
20
20
  $wiki_conf.access_log_index = false
@@ -1,4 +1,4 @@
1
- require File.dirname(__FILE__) + '/clwiki_test_helper'
1
+ require_relative 'clwiki_test_helper'
2
2
  require 'page'
3
3
  require 'tmpdir'
4
4
 
@@ -1,4 +1,4 @@
1
- require File.dirname(__FILE__) + '/clwiki_test_helper'
1
+ require_relative 'clwiki_test_helper'
2
2
 
3
3
  require 'rubygems'
4
4
  gem 'clutil'
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: clwiki
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.3.2
4
+ version: 2.4.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - chrismo
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-01-03 00:00:00.000000000 Z
11
+ date: 2019-12-25 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: clutil
@@ -85,6 +85,7 @@ files:
85
85
  - lib/tasks/index.rake
86
86
  - test/dummy/README.rdoc
87
87
  - test/dummy/Rakefile
88
+ - test/dummy/app/assets/config/manifest.js
88
89
  - test/dummy/app/assets/javascripts/application.js
89
90
  - test/dummy/app/assets/stylesheets/application.css
90
91
  - test/dummy/app/controllers/application_controller.rb
@@ -149,8 +150,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
149
150
  - !ruby/object:Gem::Version
150
151
  version: '0'
151
152
  requirements: []
152
- rubyforge_project:
153
- rubygems_version: 2.7.6
153
+ rubygems_version: 3.1.2
154
154
  signing_key:
155
155
  specification_version: 4
156
156
  summary: Old, tired, crappy wiki, reborn as a Rails 4 Engine.
@@ -166,6 +166,7 @@ test_files:
166
166
  - test/dummy/wikirep/FooBar.txt
167
167
  - test/dummy/app/controllers/application_controller.rb
168
168
  - test/dummy/app/views/layouts/application.html.erb
169
+ - test/dummy/app/assets/config/manifest.js
169
170
  - test/dummy/app/assets/javascripts/application.js
170
171
  - test/dummy/app/assets/stylesheets/application.css
171
172
  - test/dummy/app/helpers/application_helper.rb