clwiki 2.3.0 → 2.3.2

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: 414fdabdc5406f4b2527abedd8055725bbe0667fbd9ee38faf1b1a7df9921703
4
- data.tar.gz: 57b042cf9eea3182e395c818bee40841881196e24f514b9929b8c21180a070aa
3
+ metadata.gz: 1aff4dbc62781c20eff710f8e42b2a5dd72e740a2e1796529cacdd5ef64cf871
4
+ data.tar.gz: f4705c9211f85738746238c90961c23994c94000fff783f92a28a717b130899a
5
5
  SHA512:
6
- metadata.gz: 223e97e93fe030cf97c17efadc17bf7b62e1b481a484e57e7a85982ce309bc05b90b744a9f3b7589cf86c35661b7bd8698d2ee87441826124f6137252f485a4d
7
- data.tar.gz: e5d1e709cc9ce76f71660e3a0d77388956da2af9b0ce857b133eeae82d188ebb8a059f4b1860f3fb248ac630c139985cc0f4a57501ff1ab569d9d508978178dd
6
+ metadata.gz: 65d66f97391716bdb6af83bca6ecd7241e39a1b19a93443f2154f2f6a7eeeb11ed507cefed036cc89db2e2de3fabf26eb3496fd8e32e5c8702332732536db461
7
+ data.tar.gz: e8478408b47174dbf670e841ef62fe419f3139fb6154dbca99beaa06c8e3118704138c320ea91633254c9eadc887037d517413c58b7ee3baf47eb18d7827abd2
@@ -10,7 +10,7 @@ module ClWiki
10
10
  end
11
11
 
12
12
  def find(search_text, scope = FULL_SEARCH)
13
- recursive_find_path = ::File.join(@find_path, '**', '*')
13
+ recursive_find_path = ::File.join(@find_path, '**', "*#{$wikiPageExt}")
14
14
  regex = /#{search_text}/i
15
15
  @files = Dir[recursive_find_path].grep(regex)
16
16
  if scope == FULL_SEARCH
@@ -1,3 +1,3 @@
1
1
  module ClWiki
2
- VERSION = '2.3.0'.freeze
2
+ VERSION = '2.3.2'.freeze
3
3
  end
@@ -5,6 +5,7 @@ def pct_done(done, total)
5
5
  pct.to_s.rjust(3) + '%'
6
6
  end
7
7
 
8
+ desc 'Reindex the wiki pages.'
8
9
  task reindex: :environment do
9
10
  indexer = ClWiki::IndexClient.new
10
11
 
@@ -0,0 +1,190 @@
1
+ Processing by ClWiki::PageController#show as HTML
2
+ Parameters: {"page_name"=>"NewPage"}
3
+ 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)
5
+ 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
8
+ 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)
10
+ 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)
12
+ Processing by ClWiki::PageController#find as HTML
13
+ Parameters: {"search_text"=>"sheep"}
14
+ 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)
16
+ 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)
18
+ Processing by ClWiki::PageController#edit as HTML
19
+ Parameters: {"page_name"=>"NewPage"}
20
+ 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)
22
+ 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)
28
+ Processing by ClWiki::PageController#recent as HTML
29
+ 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)
31
+ 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)
33
+ Processing by ClWiki::PageController#edit as HTML
34
+ Parameters: {"page_name"=>"NewPage"}
35
+ 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)
37
+ 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)
39
+ Processing by ClWiki::PageController#show as HTML
40
+ Redirected to http://test.host/wiki/FrontPage
41
+ Filter chain halted as :redirect_to_front_page_if_bad_name rendered or redirected
42
+ Completed 302 Found in 7ms
43
+ Processing by ClWiki::PageController#show as HTML
44
+ Parameters: {"page_name"=>"notavalidname"}
45
+ Redirected to http://test.host/wiki/FrontPage
46
+ Filter chain halted as :redirect_to_front_page_if_bad_name rendered or redirected
47
+ Completed 302 Found in 8ms
48
+ Processing by ClWiki::PageController#show as HTML
49
+ Parameters: {"page_name"=>"NewPage"}
50
+ Redirected to http://test.host/wiki/FrontPage
51
+ 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
54
+ 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)
56
+ 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
59
+ 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)
62
+ Processing by ClWiki::PageController#edit as HTML
63
+ Parameters: {"page_name"=>"NewPage"}
64
+ 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)
66
+ 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)
68
+ Processing by ClWiki::PageController#update as HTML
69
+ Parameters: {"page_content"=>"NewPage content", "client_mod_time"=>"1546535066", "save_and_edit"=>true, "page_name"=>"NewPage"}
70
+ 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
79
+ 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
85
+ 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
91
+ Processing by ClWiki::PageController#show as HTML
92
+ Parameters: {"use_route"=>"cl_wiki", "page"=>"/SomeParent/DotTest"}
93
+ Redirected to http://www.example.com/wiki/DotTest
94
+ 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
97
+ Processing by ClWiki::PageController#show as HTML
98
+ Parameters: {"use_route"=>"cl_wiki", "page"=>"ChrisMorris"}
99
+ Redirected to http://www.example.com/wiki/ChrisMorris
100
+ 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
109
+ Processing by ClWiki::PageController#show as HTML
110
+ Parameters: {"use_route"=>"cl_wiki", "page"=>"/ChrisMorris", "edit"=>"true"}
111
+ Redirected to http://www.example.com/wiki/ChrisMorris/edit
112
+ 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
115
+ Processing by ClWiki::PageController#show as HTML
116
+ Parameters: {"use_route"=>"cl_wiki", "page"=>"/ChrisMorris"}
117
+ Redirected to http://www.example.com/wiki/ChrisMorris
118
+ Filter chain halted as :redirect_legacy_cgi_urls rendered or redirected
119
+ Completed 301 Moved Permanently in 0ms
120
+ Processing by ClWiki::PageController#edit as HTML
121
+ Parameters: {"page_name"=>"NewPage"}
122
+ 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)
124
+ 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
127
+ 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)
129
+ 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)
131
+ Processing by ClWiki::PageController#show as HTML
132
+ Parameters: {"page_name"=>"NewPage"}
133
+ 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)
135
+ 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
138
+ 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)
140
+ 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)
142
+ Processing by ClWiki::PageController#recent as HTML
143
+ 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)
145
+ 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)
147
+ Processing by ClWiki::PageController#edit as HTML
148
+ Parameters: {"page_name"=>"NewPage"}
149
+ 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)
151
+ 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)
153
+ Processing by ClWiki::PageController#update as HTML
154
+ Parameters: {"page_content"=>"NewPage content", "client_mod_time"=>"1546535120", "save_and_edit"=>true, "page_name"=>"NewPage"}
155
+ Redirected to http://test.host/wiki/NewPage/edit
156
+ Completed 302 Found in 4ms (Views: 0.8ms)
157
+ Processing by ClWiki::PageController#show as HTML
158
+ Parameters: {"page_name"=>"NewPage"}
159
+ Redirected to http://test.host/wiki/FrontPage
160
+ Filter chain halted as :redirect_to_front_page_if_bad_name rendered or redirected
161
+ Completed 302 Found in 2ms
162
+ Processing by ClWiki::PageController#edit as HTML
163
+ Parameters: {"page_name"=>"NewPage"}
164
+ 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)
166
+ 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)
168
+ 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"}
174
+ 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)
176
+ 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
179
+ 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)
182
+ Processing by ClWiki::PageController#show as HTML
183
+ Parameters: {"page_name"=>"notavalidname"}
184
+ Redirected to http://test.host/wiki/FrontPage
185
+ Filter chain halted as :redirect_to_front_page_if_bad_name rendered or redirected
186
+ Completed 302 Found in 3ms
187
+ Processing by ClWiki::PageController#show as HTML
188
+ Redirected to http://test.host/wiki/FrontPage
189
+ Filter chain halted as :redirect_to_front_page_if_bad_name rendered or redirected
190
+ Completed 302 Found in 3ms
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: clwiki
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.3.0
4
+ version: 2.3.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - chrismo