gollum_rails 1.5.3 → 1.5.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/HISTORY.md +3 -0
- data/gollum_rails.gemspec +1 -1
- data/lib/gollum_rails.rb +1 -1
- data/lib/gollum_rails/core.rb +2 -4
- data/lib/gollum_rails/finders.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f3076697831022b1b1dd98dd135d4ca0e30d36d0
|
4
|
+
data.tar.gz: cce92fb00dcfa5506630e128b9cec8e39cb07dc4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 650c5ffe41c2701ccb43cd063675bff2e0605624014edf84ebca863b4a2157be02c3434b95dc942f94793cf66ffa0b42a8b99f0b603c65e6d164d5a04c7140a1
|
7
|
+
data.tar.gz: 87ed66b6945e6a91a22d68b0e5d264bbafca6504cb517063e1e20da01e58f4d7f39436f07f5cea7e38e23f5062e70b4b7e9918c84f2331ef8ea8f299b2e5a228
|
data/Gemfile.lock
CHANGED
data/HISTORY.md
CHANGED
data/gollum_rails.gemspec
CHANGED
data/lib/gollum_rails.rb
CHANGED
data/lib/gollum_rails/core.rb
CHANGED
@@ -19,12 +19,10 @@ module GollumRails
|
|
19
19
|
return if options.empty?
|
20
20
|
options = options[:folder]
|
21
21
|
end
|
22
|
-
Setup.wiki_options
|
22
|
+
Setup.wiki_options ||= {}
|
23
|
+
Setup.wiki_options[:page_file_dir] = options
|
23
24
|
end
|
24
25
|
alias_method :folder=, :set_folder
|
25
|
-
|
26
|
-
|
27
|
-
|
28
26
|
end
|
29
27
|
|
30
28
|
# Initializes a new Page
|
data/lib/gollum_rails/finders.rb
CHANGED
@@ -28,7 +28,7 @@ module GollumRails
|
|
28
28
|
# Return an instance of Gollum::Page
|
29
29
|
def find(name, version=nil, reset_folder=false, exact=true)
|
30
30
|
name = name[:name] if name.kind_of?(Hash) && name.has_key?(:name)
|
31
|
-
|
31
|
+
Page.set_folder(nil) if reset_folder
|
32
32
|
wiki.clear_cache
|
33
33
|
path = File.split(name)
|
34
34
|
if path.first == '/' || path.first == '.'
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: gollum_rails
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.5.
|
4
|
+
version: 1.5.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Florian Kasper
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-02-
|
11
|
+
date: 2014-02-20 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activemodel
|