clwiki 3.1.6 → 3.2.0
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 +4 -4
- data/lib/cl_wiki/engine.rb +3 -0
- data/lib/cl_wiki/file.rb +2 -2
- data/lib/cl_wiki/{memory_index.rb → memory_indexer.rb} +2 -2
- data/lib/cl_wiki/version.rb +1 -1
- data/lib/cl_wiki_lib.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 97ebde2a781a39b20a317e022578893b96b7a91c15ad7460ac27cc5cf1b50621
|
4
|
+
data.tar.gz: 784855ebf77c99bfba0317713c2162b53fadb3efdd5a5c317c5a41849390f30c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 55c493276b0aa74b80a797da484d7a9999f2bfd1ec13aeea58a9c18a08c2405f322fa95bb78e84272393316f3b756818a7eab3525f9cce3d7951dd2f323adff5
|
7
|
+
data.tar.gz: 3b4ee3ba130a13cf79da8fa1c4db28dcbeced8c1d802550e37ee2374e7ab1fbb11e1f3cdbb0c96fc77970477d33b0a6c5b11bc846eab0c4e79e69f487c37dc4d
|
data/lib/cl_wiki/engine.rb
CHANGED
@@ -4,6 +4,9 @@ module ClWiki
|
|
4
4
|
class Engine < ::Rails::Engine
|
5
5
|
isolate_namespace ClWiki
|
6
6
|
|
7
|
+
config.eager_load_namespaces << ClWiki
|
8
|
+
config.autoload_paths << "#{root}/lib"
|
9
|
+
|
7
10
|
initializer 'cl_wiki.assets.precompile' do |app|
|
8
11
|
app.config.assets.precompile += %w[application.css application.js]
|
9
12
|
end
|
data/lib/cl_wiki/file.rb
CHANGED
@@ -68,11 +68,11 @@ module ClWiki
|
|
68
68
|
private
|
69
69
|
|
70
70
|
def build
|
71
|
-
files = Dir[::File.join(@root_dir, '**/*' + ClWiki::FILE_EXT)]
|
71
|
+
files = Dir[::File.join(@root_dir, '**/*' + ClWiki::File::FILE_EXT)]
|
72
72
|
files.each do |fn|
|
73
73
|
next unless ::File.file?(fn)
|
74
74
|
|
75
|
-
page_name = ::File.basename(fn, ClWiki::FILE_EXT)
|
75
|
+
page_name = ::File.basename(fn, ClWiki::File::FILE_EXT)
|
76
76
|
index_page(page_name)
|
77
77
|
end
|
78
78
|
end
|
data/lib/cl_wiki/version.rb
CHANGED
data/lib/cl_wiki_lib.rb
CHANGED
@@ -3,7 +3,7 @@
|
|
3
3
|
require File.expand_path('cl_wiki/configuration', __dir__)
|
4
4
|
require File.expand_path('cl_wiki/user_base', __dir__)
|
5
5
|
require File.expand_path('cl_wiki/public_user', __dir__)
|
6
|
-
require File.expand_path('cl_wiki/
|
6
|
+
require File.expand_path('cl_wiki/memory_indexer', __dir__)
|
7
7
|
require File.expand_path('cl_wiki/file', __dir__)
|
8
8
|
require File.expand_path('cl_wiki/page', __dir__)
|
9
9
|
require File.expand_path('cl_wiki/version', __dir__)
|
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: 3.
|
4
|
+
version: 3.2.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- chrismo
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2023-11-22 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bcrypt
|
@@ -90,7 +90,7 @@ files:
|
|
90
90
|
- lib/cl_wiki/format/format.opml.rb
|
91
91
|
- lib/cl_wiki/format/format.pre.blockquote.rb
|
92
92
|
- lib/cl_wiki/format/format.simpletable.rb
|
93
|
-
- lib/cl_wiki/
|
93
|
+
- lib/cl_wiki/memory_indexer.rb
|
94
94
|
- lib/cl_wiki/page.rb
|
95
95
|
- lib/cl_wiki/public_user.rb
|
96
96
|
- lib/cl_wiki/user_base.rb
|