gollum 4.1.2 → 4.1.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/CONTRIBUTING.md +4 -0
- data/gollum.gemspec +3 -3
- data/lib/gollum.rb +1 -1
- data/lib/gollum/app.rb +4 -4
- data/lib/gollum/views/pages.rb +2 -2
- metadata +5 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: 848c0eeff664faa7067ad673148909a639d4cf1699dcf2850733ee4f7461a349
|
4
|
+
data.tar.gz: 1ec61b80592892a341d355783816aaa169b715b3f19ab86314da730348d40cb7
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 65bfd0f5a0691747d4f6ee1db70812483a0944381a1aa281c49bacb63ddb0a7b1e52aa72e90903e65cf4c83de7a3b46d4b6157d1526b9642674724b6290a46f3
|
7
|
+
data.tar.gz: 37344ac1f0d65815b75ccc0750c626c828d53449d6c304725760a35a4855fcc8d22f90e21191439dbe11205b36aa2863259391d5b9b7f7402eefa2e6afac5d87
|
data/CONTRIBUTING.md
CHANGED
@@ -21,6 +21,10 @@ Before submitting an issue, **please carefully look through the following places
|
|
21
21
|
|
22
22
|
Lastly, please **consider helping out** by opening a Pull Request!
|
23
23
|
|
24
|
+
Serious bugs can be reported directly to the maintainers using these GPG keys:
|
25
|
+
|
26
|
+
* [@dometto](https://pgp.mit.edu/pks/lookup?op=vindex&search=0xD637E455CD3E27BF)
|
27
|
+
|
24
28
|
## Opening a Pull Request
|
25
29
|
|
26
30
|
Pull Requests fixing bugs, implementing new features, or updating documentation and dependencies are all very welcome! If you would like to help out with the project, you can pick an open issue from the issue tracker. We're more than happy to help you get started! Here's how you can proceed:
|
data/gollum.gemspec
CHANGED
@@ -5,8 +5,8 @@ Gem::Specification.new do |s|
|
|
5
5
|
s.required_ruby_version = '>= 1.9'
|
6
6
|
|
7
7
|
s.name = 'gollum'
|
8
|
-
s.version = '4.1.
|
9
|
-
s.date = '
|
8
|
+
s.version = '4.1.3'
|
9
|
+
s.date = '2018-09-17'
|
10
10
|
s.rubyforge_project = 'gollum'
|
11
11
|
s.license = 'MIT'
|
12
12
|
|
@@ -24,7 +24,7 @@ Gem::Specification.new do |s|
|
|
24
24
|
s.rdoc_options = ['--charset=UTF-8']
|
25
25
|
s.extra_rdoc_files = %w[README.md LICENSE]
|
26
26
|
|
27
|
-
s.add_dependency 'gollum-lib', '>= 4.2.
|
27
|
+
s.add_dependency 'gollum-lib', '>= 4.2.9'
|
28
28
|
s.add_dependency 'kramdown', '~> 1.9.0'
|
29
29
|
s.add_dependency 'sinatra', '~> 1.4', '>= 1.4.4'
|
30
30
|
s.add_dependency 'mustache', ['>= 0.99.5', '< 1.0.0']
|
data/lib/gollum.rb
CHANGED
@@ -16,7 +16,7 @@ require File.expand_path('../gollum/uri_encode_component', __FILE__)
|
|
16
16
|
$KCODE = 'U' if RUBY_VERSION[0, 3] == '1.8'
|
17
17
|
|
18
18
|
module Gollum
|
19
|
-
VERSION = '4.1.
|
19
|
+
VERSION = '4.1.3'
|
20
20
|
|
21
21
|
def self.assets_path
|
22
22
|
::File.expand_path('gollum/public', ::File.dirname(__FILE__))
|
data/lib/gollum/app.rb
CHANGED
@@ -490,11 +490,11 @@ module Precious
|
|
490
490
|
}x do |path|
|
491
491
|
@path = extract_path(path) if path
|
492
492
|
wiki_options = settings.wiki_options.merge({ :page_file_dir => @path })
|
493
|
-
wiki = Gollum::Wiki.new(settings.gollum_path, wiki_options)
|
494
|
-
@results = wiki.pages
|
495
|
-
@results += wiki.files if settings.wiki_options[:show_all]
|
493
|
+
@wiki = Gollum::Wiki.new(settings.gollum_path, wiki_options)
|
494
|
+
@results = @wiki.pages
|
495
|
+
@results += @wiki.files if settings.wiki_options[:show_all]
|
496
496
|
@results = @results.sort_by { |p| p.name.downcase } # Sort Results alphabetically, fixes 922
|
497
|
-
@ref = wiki.ref
|
497
|
+
@ref = @wiki.ref
|
498
498
|
mustache :pages
|
499
499
|
end
|
500
500
|
|
data/lib/gollum/views/pages.rb
CHANGED
@@ -23,7 +23,7 @@ module Precious
|
|
23
23
|
end
|
24
24
|
end
|
25
25
|
|
26
|
-
breadcrumb.join(" / ")
|
26
|
+
@wiki.sanitizer.clean(breadcrumb.join(" / "))
|
27
27
|
else
|
28
28
|
"Home"
|
29
29
|
end
|
@@ -60,7 +60,7 @@ module Precious
|
|
60
60
|
result = Hash[folders.sort_by{| key, value | key.downcase} ].values.join("\n") + "\n"
|
61
61
|
result += Hash[page_files.sort_by{ | key, value | key.downcase } ].values.join("\n")
|
62
62
|
|
63
|
-
result
|
63
|
+
@wiki.sanitizer.clean(result)
|
64
64
|
else
|
65
65
|
""
|
66
66
|
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: gollum
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 4.1.
|
4
|
+
version: 4.1.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tom Preston-Werner
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date:
|
12
|
+
date: 2018-09-17 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: gollum-lib
|
@@ -17,14 +17,14 @@ dependencies:
|
|
17
17
|
requirements:
|
18
18
|
- - ">="
|
19
19
|
- !ruby/object:Gem::Version
|
20
|
-
version: 4.2.
|
20
|
+
version: 4.2.9
|
21
21
|
type: :runtime
|
22
22
|
prerelease: false
|
23
23
|
version_requirements: !ruby/object:Gem::Requirement
|
24
24
|
requirements:
|
25
25
|
- - ">="
|
26
26
|
- !ruby/object:Gem::Version
|
27
|
-
version: 4.2.
|
27
|
+
version: 4.2.9
|
28
28
|
- !ruby/object:Gem::Dependency
|
29
29
|
name: kramdown
|
30
30
|
requirement: !ruby/object:Gem::Requirement
|
@@ -1276,7 +1276,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
1276
1276
|
version: '0'
|
1277
1277
|
requirements: []
|
1278
1278
|
rubyforge_project: gollum
|
1279
|
-
rubygems_version: 2.
|
1279
|
+
rubygems_version: 2.7.7
|
1280
1280
|
signing_key:
|
1281
1281
|
specification_version: 2
|
1282
1282
|
summary: A simple, Git-powered wiki.
|