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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 7722875d793d56642ad1a05a5ebc360e297ca6b2
4
- data.tar.gz: 0fb1d9f345e5b93afab6ae91e4687710cd7725cc
3
+ metadata.gz: f3076697831022b1b1dd98dd135d4ca0e30d36d0
4
+ data.tar.gz: cce92fb00dcfa5506630e128b9cec8e39cb07dc4
5
5
  SHA512:
6
- metadata.gz: 18f5e87b8172f330b77a418301f4805feea518ba72141c28a8ceeca98ee799d28e68ef69aed968ba17234b8ed88ed0f4407f628b981534d49f0bd3608cf4bb97
7
- data.tar.gz: 8822651c8f55cbb3b49caeb9e2f2194989e46f738448bd3c118c4031ef0ffeb2a58fe9c326f1354faddc6071bf63f9e6f2c16f9505143682a89b7ca68fd928d1
6
+ metadata.gz: 650c5ffe41c2701ccb43cd063675bff2e0605624014edf84ebca863b4a2157be02c3434b95dc942f94793cf66ffa0b42a8b99f0b603c65e6d164d5a04c7140a1
7
+ data.tar.gz: 87ed66b6945e6a91a22d68b0e5d264bbafca6504cb517063e1e20da01e58f4d7f39436f07f5cea7e38e23f5062e70b4b7e9918c84f2331ef8ea8f299b2e5a228
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- gollum_rails (1.5.3)
4
+ gollum_rails (1.5.4)
5
5
  activemodel (>= 3.2.11)
6
6
  activesupport (>= 3.2.11)
7
7
  gollum-lib (~> 1.0.9)
data/HISTORY.md CHANGED
@@ -1,3 +1,6 @@
1
+ # 1.5.4 20th February 2014
2
+ * Bugfixing
3
+
1
4
  # 1.5.3 19th February 2014
2
5
  * Documentation improvements
3
6
  * Refactored find `find` method call to accept page resets and exact matches
data/gollum_rails.gemspec CHANGED
@@ -4,7 +4,7 @@ Gem::Specification.new do |s|
4
4
  s.name = 'gollum_rails'
5
5
  s.rubyforge_project = s.name
6
6
 
7
- s.version = '1.5.3'
7
+ s.version = '1.5.4'
8
8
 
9
9
  s.summary = 'Combines Gollum and Rails'
10
10
  s.description= 'include Gollum into Rails with ease'
data/lib/gollum_rails.rb CHANGED
@@ -45,7 +45,7 @@ module GollumRails
45
45
  autoload :Meta
46
46
 
47
47
  # GollumRails version string
48
- VERSION = '1.5.3'
48
+ VERSION = '1.5.4'
49
49
 
50
50
  end
51
51
 
@@ -19,12 +19,10 @@ module GollumRails
19
19
  return if options.empty?
20
20
  options = options[:folder]
21
21
  end
22
- Setup.wiki_options = { page_file_dir: 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
@@ -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
- Setup.wiki_options.merge(:page_file_dir => nil) if reset_folder
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.3
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-19 00:00:00.000000000 Z
11
+ date: 2014-02-20 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activemodel