gitlab-gollum-lib 4.2.7.7 → 4.2.7.10.gitlab.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/CHANGELOG +17 -0
- data/README.md +13 -7
- data/Rakefile +2 -3
- data/gemspec.rb +52 -51
- data/gollum-lib.gemspec +7 -5
- data/lib/gollum-lib/blob_entry.rb +16 -6
- data/lib/gollum-lib/file.rb +1 -1
- data/lib/gollum-lib/markups.rb +1 -1
- data/lib/gollum-lib/page.rb +1 -8
- data/lib/gollum-lib/version.rb +1 -1
- data/lib/gollum-lib/wiki.rb +3 -108
- data/lib/gollum-lib.rb +5 -1
- metadata +18 -19
- data/gollum-lib_java.gemspec +0 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: 40f825dd77f0caa621a618b879844cad26e0857141f4a83ae2caf0c3ec29e1a8
|
4
|
+
data.tar.gz: 84d5c7fc62703ed887e4e80ffff71a2f39ff8309315b97bde45bf9f76079cab9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2dcf305bf354eeac48d2cd02f3074532c5ec14fc7ecc3d8ee8e99d8ce43a9fef79e7efc59c203f5ca20ca1b795ed3ac2bdb686a6e50529c93fa7ca30801f3365
|
7
|
+
data.tar.gz: 93438cadc78dd11eb0bfc54ad453e9d0dca7576d836917b6a97f84d98588597f32a84ff67ff55ea1f911f9d9bf885e60f86fcefbca2f2a51b331037446fbe2f9
|
data/CHANGELOG
ADDED
@@ -0,0 +1,17 @@
|
|
1
|
+
v4.2.7.10.gitlab.2
|
2
|
+
- Update sanitize to v6.0
|
3
|
+
|
4
|
+
v4.2.7.10.gitlab.1
|
5
|
+
- Drop JRuby support
|
6
|
+
- Upgrade gitlab-gollum-rugged_adapter to support Rugged 1.x
|
7
|
+
- Don't expand filesystem paths (backport from https://github.com/gollum/gollum-lib/pull/385)
|
8
|
+
|
9
|
+
v4.2.7.9
|
10
|
+
- Add adoc file support
|
11
|
+
|
12
|
+
v4.2.7.8
|
13
|
+
- Use rugged adapter
|
14
|
+
- Don't sanitize page titles
|
15
|
+
|
16
|
+
v1.1.0
|
17
|
+
- Removed pygments.rb dependency
|
data/README.md
CHANGED
@@ -1,9 +1,14 @@
|
|
1
|
-
gollum lib -- A wiki built on top of Git
|
1
|
+
gollum lib -- A wiki built on top of Git.
|
2
|
+
|
2
3
|
========================================
|
3
4
|
|
4
|
-
[![
|
5
|
-
[![
|
6
|
-
|
5
|
+
[![pipeline status](https://gitlab.com/gitlab-org/gollum-lib/badges/master/pipeline.svg)](https://gitlab.com/gitlab-org/gollum-lib/-/commits/master)
|
6
|
+
[![Gem Version](https://badge.fury.io/rb/gitlab-gollum-lib.svg)](http://badge.fury.io/rb/gitlab-gollum-lib)
|
7
|
+
|
8
|
+
## This is a fork
|
9
|
+
|
10
|
+
It is made for the GitLab application and used in the [Gitaly](https://gitlab.com/gitlab-org/gitaly) project.
|
11
|
+
For use outside of GitLab, refer to the upstream [`gollum-lib`](https://github.com/gollum/gollum-lib) gem.
|
7
12
|
|
8
13
|
## DESCRIPTION
|
9
14
|
|
@@ -19,16 +24,17 @@ Gollum-lib follows the rules of [Semantic Versioning](http://semver.org/) and us
|
|
19
24
|
|
20
25
|
## SYSTEM REQUIREMENTS
|
21
26
|
|
22
|
-
- Ruby
|
27
|
+
- Ruby 2.4+
|
23
28
|
- Unix like operating system (OS X, Ubuntu, Debian, and more)
|
24
|
-
-
|
29
|
+
- By default the [Rugged adapter](https://gitlab.com/gitlab-org/gitlab-gollum-rugged_adapter) is used for MRI.
|
30
|
+
- Will not work on Windows.
|
25
31
|
|
26
32
|
## INSTALLATION
|
27
33
|
|
28
34
|
The best way to install Gollum-lib is with RubyGems:
|
29
35
|
|
30
36
|
```bash
|
31
|
-
$ [sudo] gem install gollum-lib
|
37
|
+
$ [sudo] gem install gitlab-gollum-lib
|
32
38
|
```
|
33
39
|
|
34
40
|
If you're installing from source, you can use [Bundler][bundler] to pick up all the
|
data/Rakefile
CHANGED
@@ -51,11 +51,11 @@ def gemspec_file
|
|
51
51
|
end
|
52
52
|
|
53
53
|
def gemspecs
|
54
|
-
["#{name}.gemspec"
|
54
|
+
["#{name}.gemspec"]
|
55
55
|
end
|
56
56
|
|
57
57
|
def gem_files
|
58
|
-
["#{name}-#{version}.gem"
|
58
|
+
["#{name}-#{version}.gem"]
|
59
59
|
end
|
60
60
|
|
61
61
|
def replace_header(head, header_name)
|
@@ -128,7 +128,6 @@ task :release => :build do
|
|
128
128
|
sh "git push origin master"
|
129
129
|
sh "git push origin v#{version}"
|
130
130
|
sh "gem push pkg/#{name}-#{version}.gem"
|
131
|
-
sh "gem push pkg/#{name}-#{version}-java.gem"
|
132
131
|
end
|
133
132
|
|
134
133
|
desc 'Publish to rubygems. Same as release'
|
data/gemspec.rb
CHANGED
@@ -30,7 +30,7 @@ def specification(version, default_adapter, platform = nil)
|
|
30
30
|
s.add_dependency 'nokogiri', '>= 1.6.1', '< 2.0'
|
31
31
|
end
|
32
32
|
s.add_dependency 'stringex', '~> 2.6'
|
33
|
-
s.add_dependency 'sanitize', '~>
|
33
|
+
s.add_dependency 'sanitize', '~> 6.0'
|
34
34
|
s.add_dependency 'github-markup', '~> 1.6'
|
35
35
|
s.add_dependency 'gemojione', '~> 3.2'
|
36
36
|
|
@@ -39,7 +39,9 @@ def specification(version, default_adapter, platform = nil)
|
|
39
39
|
s.add_development_dependency 'RedCloth', '~> 4.2.9'
|
40
40
|
s.add_development_dependency 'mocha', '~> 1.1.0'
|
41
41
|
s.add_development_dependency 'shoulda', '~> 3.5.0'
|
42
|
-
|
42
|
+
# 0.8.2 is incompatible with the latest twitter-text gem, this is fixed in master
|
43
|
+
# https://github.com/nricciar/wikicloth/commit/60e863239452924ea60c91ba1fe07d37f1e13801
|
44
|
+
s.add_development_dependency 'wikicloth', '0.8.1'
|
43
45
|
s.add_development_dependency 'rake', '~> 10.4.0'
|
44
46
|
s.add_development_dependency 'pry', '~> 0.10.1'
|
45
47
|
# required by pry
|
@@ -55,55 +57,54 @@ def specification(version, default_adapter, platform = nil)
|
|
55
57
|
s.add_development_dependency 'rb-fsevent', '~> 0.9.4'
|
56
58
|
s.add_development_dependency 'rb-fchange', '~> 0.0.6'
|
57
59
|
s.add_development_dependency 'twitter_cldr', '~> 3.1.0'
|
58
|
-
|
59
|
-
|
60
|
-
|
61
|
-
|
62
|
-
|
63
|
-
|
64
|
-
|
65
|
-
|
66
|
-
|
67
|
-
|
68
|
-
|
69
|
-
|
70
|
-
|
71
|
-
|
72
|
-
|
73
|
-
|
74
|
-
|
75
|
-
|
76
|
-
|
77
|
-
|
78
|
-
|
79
|
-
|
80
|
-
|
81
|
-
|
82
|
-
|
83
|
-
|
84
|
-
|
85
|
-
|
86
|
-
|
87
|
-
|
88
|
-
|
89
|
-
|
90
|
-
|
91
|
-
|
92
|
-
|
93
|
-
|
94
|
-
|
95
|
-
|
96
|
-
|
97
|
-
|
98
|
-
|
99
|
-
|
100
|
-
|
101
|
-
|
102
|
-
|
103
|
-
|
104
|
-
|
105
|
-
|
106
|
-
# = MANIFEST =
|
60
|
+
|
61
|
+
s.files = %w(
|
62
|
+
Gemfile
|
63
|
+
HISTORY.md
|
64
|
+
CHANGELOG
|
65
|
+
LICENSE
|
66
|
+
README.md
|
67
|
+
Rakefile
|
68
|
+
docs/sanitization.md
|
69
|
+
gemspec.rb
|
70
|
+
gollum-lib.gemspec
|
71
|
+
lib/gollum-lib.rb
|
72
|
+
lib/gollum-lib/blob_entry.rb
|
73
|
+
lib/gollum-lib/committer.rb
|
74
|
+
lib/gollum-lib/file.rb
|
75
|
+
lib/gollum-lib/file_view.rb
|
76
|
+
lib/gollum-lib/filter.rb
|
77
|
+
lib/gollum-lib/filter/code.rb
|
78
|
+
lib/gollum-lib/filter/emoji.rb
|
79
|
+
lib/gollum-lib/filter/macro.rb
|
80
|
+
lib/gollum-lib/filter/metadata.rb
|
81
|
+
lib/gollum-lib/filter/plain_text.rb
|
82
|
+
lib/gollum-lib/filter/plantuml.rb
|
83
|
+
lib/gollum-lib/filter/remote_code.rb
|
84
|
+
lib/gollum-lib/filter/render.rb
|
85
|
+
lib/gollum-lib/filter/sanitize.rb
|
86
|
+
lib/gollum-lib/filter/tags.rb
|
87
|
+
lib/gollum-lib/filter/toc.rb
|
88
|
+
lib/gollum-lib/filter/wsd.rb
|
89
|
+
lib/gollum-lib/sorters/wiki_sorter.rb
|
90
|
+
lib/gollum-lib/git_access.rb
|
91
|
+
lib/gollum-lib/gitcode.rb
|
92
|
+
lib/gollum-lib/helpers.rb
|
93
|
+
lib/gollum-lib/hook.rb
|
94
|
+
lib/gollum-lib/macro.rb
|
95
|
+
lib/gollum-lib/macro/all_pages.rb
|
96
|
+
lib/gollum-lib/macro/global_toc.rb
|
97
|
+
lib/gollum-lib/macro/navigation.rb
|
98
|
+
lib/gollum-lib/macro/series.rb
|
99
|
+
lib/gollum-lib/markup.rb
|
100
|
+
lib/gollum-lib/markups.rb
|
101
|
+
lib/gollum-lib/page.rb
|
102
|
+
lib/gollum-lib/pagination.rb
|
103
|
+
lib/gollum-lib/sanitization.rb
|
104
|
+
lib/gollum-lib/version.rb
|
105
|
+
lib/gollum-lib/wiki.rb
|
106
|
+
licenses/licenses.txt
|
107
|
+
)
|
107
108
|
|
108
109
|
s.test_files = s.files.select { |path| path =~ /^test\/test_.*\.rb/ }
|
109
110
|
end
|
data/gollum-lib.gemspec
CHANGED
@@ -1,8 +1,10 @@
|
|
1
1
|
require File.join(File.dirname(__FILE__), 'gemspec.rb')
|
2
2
|
require File.join(File.dirname(__FILE__), 'lib', 'gollum-lib', 'version.rb')
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
3
|
+
|
4
|
+
if ENV['GOLLUM_ADAPTER'] == 'grit'
|
5
|
+
default_adapter = ['gollum-grit_adapter', '~> 1.0']
|
6
|
+
else
|
7
|
+
default_adapter = ['gitlab-gollum-rugged_adapter', '~> 0.4.4.4.gitlab.1']
|
8
|
+
end
|
9
|
+
|
8
10
|
Gem::Specification.new &specification(Gollum::Lib::VERSION, default_adapter)
|
@@ -84,12 +84,22 @@ module Gollum
|
|
84
84
|
# Returns a normalized String directory name, or nil if no directory
|
85
85
|
# is given.
|
86
86
|
def self.normalize_dir(dir)
|
87
|
-
return
|
88
|
-
|
89
|
-
|
90
|
-
|
91
|
-
|
92
|
-
|
87
|
+
return unless dir
|
88
|
+
|
89
|
+
dir = dir.dup
|
90
|
+
|
91
|
+
# Remove '.' and '..' path segments
|
92
|
+
dir.gsub!(%r{(\A|/)\.{1,2}(/|\z)}, '/')
|
93
|
+
|
94
|
+
# Remove repeated slashes
|
95
|
+
dir.gsub!(%r{//+}, '/')
|
96
|
+
|
97
|
+
# Remove Windows drive letters, trailing slashes, and keep one leading slash
|
98
|
+
dir.sub!(%r{\A([a-z]:)?/*(.*?)/*\z}i, '/\2')
|
99
|
+
|
100
|
+
# Return empty string for paths that point to the toplevel
|
101
|
+
return '' if dir == '/'
|
102
|
+
|
93
103
|
dir
|
94
104
|
end
|
95
105
|
end
|
data/lib/gollum-lib/file.rb
CHANGED
@@ -113,7 +113,7 @@ module Gollum
|
|
113
113
|
return false if commit.sha != @wiki.repo.head.commit.sha
|
114
114
|
|
115
115
|
# This will try to resolve symbolic links, as well
|
116
|
-
pathname = Pathname.new(::File.
|
116
|
+
pathname = Pathname.new(::File.join(@wiki.repo.path, '..', BlobEntry.normalize_dir(name)))
|
117
117
|
if pathname.symlink?
|
118
118
|
source = ::File.readlink(pathname.to_path)
|
119
119
|
realpath = ::File.join(::File.dirname(pathname.to_path), source)
|
data/lib/gollum-lib/markups.rb
CHANGED
@@ -12,7 +12,7 @@ module Gollum
|
|
12
12
|
register(:org, "Org-mode")
|
13
13
|
register(:creole, "Creole", :reverse_links => true)
|
14
14
|
register(:rest, "reStructuredText", :regexp => /re?st(\.txt)?/)
|
15
|
-
register(:asciidoc, "AsciiDoc")
|
15
|
+
register(:asciidoc, "AsciiDoc", :regexp => /adoc|asciidoc/)
|
16
16
|
register(:mediawiki, "MediaWiki", :regexp => /(media)?wiki/, :reverse_links => true)
|
17
17
|
register(:pod, "Pod")
|
18
18
|
register(:txt, "Plain Text")
|
data/lib/gollum-lib/page.rb
CHANGED
@@ -115,14 +115,7 @@ module Gollum
|
|
115
115
|
self.class.canonicalize_filename(filename)
|
116
116
|
end
|
117
117
|
|
118
|
-
|
119
|
-
# filename by stripping the extension and replacing any dashes with
|
120
|
-
# spaces.
|
121
|
-
#
|
122
|
-
# Returns the fully sanitized String title.
|
123
|
-
def title
|
124
|
-
Sanitize.clean(name).strip
|
125
|
-
end
|
118
|
+
alias_method :title, :name
|
126
119
|
|
127
120
|
# Public: Determines if this is a sub-page
|
128
121
|
# Sub-pages have filenames beginning with an underscore
|
data/lib/gollum-lib/version.rb
CHANGED
data/lib/gollum-lib/wiki.rb
CHANGED
@@ -345,13 +345,11 @@ module Gollum
|
|
345
345
|
multi_commit = !!commit[:committer]
|
346
346
|
committer = multi_commit ? commit[:committer] : Committer.new(self, commit)
|
347
347
|
|
348
|
-
|
349
|
-
|
350
|
-
committer.add_to_index(sanitized_dir, filename, format, data)
|
348
|
+
committer.add_to_index(sanitized_dir, sanitized_name, format, data)
|
351
349
|
|
352
350
|
committer.after_commit do |index, _sha|
|
353
351
|
@access.refresh
|
354
|
-
index.update_working_dir(sanitized_dir,
|
352
|
+
index.update_working_dir(sanitized_dir, sanitized_name, format)
|
355
353
|
end
|
356
354
|
|
357
355
|
multi_commit ? committer : committer.commit
|
@@ -444,7 +442,7 @@ module Gollum
|
|
444
442
|
format ||= page.format
|
445
443
|
dir = ::File.dirname(page.path)
|
446
444
|
dir = '' if dir == '.'
|
447
|
-
filename = (rename = page.name != name) ?
|
445
|
+
filename = (rename = page.name != name) ? name.gsub(' ', '-') : page.filename_stripped
|
448
446
|
|
449
447
|
multi_commit = !!commit[:committer]
|
450
448
|
committer = multi_commit ? commit[:committer] : Committer.new(self, commit)
|
@@ -536,81 +534,6 @@ module Gollum
|
|
536
534
|
multi_commit ? committer : committer.commit
|
537
535
|
end
|
538
536
|
|
539
|
-
# Public: Applies a reverse diff for a given page. If only 1 SHA is given,
|
540
|
-
# the reverse diff will be taken from its parent (^SHA...SHA). If two SHAs
|
541
|
-
# are given, the reverse diff is taken from SHA1...SHA2.
|
542
|
-
#
|
543
|
-
# page - The Gollum::Page to delete.
|
544
|
-
# sha1 - String SHA1 of the earlier parent if two SHAs are given,
|
545
|
-
# or the child.
|
546
|
-
# sha2 - Optional String SHA1 of the child.
|
547
|
-
# commit - The commit Hash details:
|
548
|
-
# :message - The String commit message.
|
549
|
-
# :name - The String author full name.
|
550
|
-
# :email - The String email address.
|
551
|
-
# :parent - Optional Gollum::Git::Commit parent to this update.
|
552
|
-
#
|
553
|
-
# Returns a String SHA1 of the new commit, or nil if the reverse diff does
|
554
|
-
# not apply.
|
555
|
-
def revert_page(page, sha1, sha2 = nil, commit = {})
|
556
|
-
if sha2.is_a?(Hash)
|
557
|
-
commit = sha2
|
558
|
-
sha2 = nil
|
559
|
-
end
|
560
|
-
|
561
|
-
patch = full_reverse_diff_for(page, sha1, sha2)
|
562
|
-
committer = Committer.new(self, commit)
|
563
|
-
parent = committer.parents[0]
|
564
|
-
committer.options[:tree] = @repo.git.apply_patch(parent.sha, patch)
|
565
|
-
return false unless committer.options[:tree]
|
566
|
-
committer.after_commit do |index, _sha|
|
567
|
-
@access.refresh
|
568
|
-
|
569
|
-
files = []
|
570
|
-
if page
|
571
|
-
files << [page.path, page.filename_stripped, page.format]
|
572
|
-
else
|
573
|
-
# Grit::Diff can't parse reverse diffs.... yet
|
574
|
-
patch.each_line do |line|
|
575
|
-
if line =~ %r(^diff --git b/.+? a/(.+)$)
|
576
|
-
path = Regexp.last_match[1]
|
577
|
-
ext = ::File.extname(path)
|
578
|
-
name = ::File.basename(path, ext)
|
579
|
-
if (format = ::Gollum::Page.format_for(ext))
|
580
|
-
files << [path, name, format]
|
581
|
-
end
|
582
|
-
end
|
583
|
-
end
|
584
|
-
end
|
585
|
-
|
586
|
-
files.each do |(path, name, format)|
|
587
|
-
dir = ::File.dirname(path)
|
588
|
-
dir = '' if dir == '.'
|
589
|
-
index.update_working_dir(dir, name, format)
|
590
|
-
end
|
591
|
-
end
|
592
|
-
|
593
|
-
committer.commit
|
594
|
-
end
|
595
|
-
|
596
|
-
# Public: Applies a reverse diff to the repo. If only 1 SHA is given,
|
597
|
-
# the reverse diff will be taken from its parent (^SHA...SHA). If two SHAs
|
598
|
-
# are given, the reverse diff is taken from SHA1...SHA2.
|
599
|
-
#
|
600
|
-
# sha1 - String SHA1 of the earlier parent if two SHAs are given,
|
601
|
-
# or the child.
|
602
|
-
# sha2 - Optional String SHA1 of the child.
|
603
|
-
# commit - The commit Hash details:
|
604
|
-
# :message - The String commit message.
|
605
|
-
# :name - The String author full name.
|
606
|
-
# :email - The String email address.
|
607
|
-
#
|
608
|
-
# Returns a String SHA1 of the new commit, or nil if the reverse diff does
|
609
|
-
# not apply.
|
610
|
-
def revert_commit(sha1, sha2 = nil, commit = {})
|
611
|
-
revert_page(nil, sha1, sha2, commit)
|
612
|
-
end
|
613
|
-
|
614
537
|
# Public: Lists all pages for this wiki.
|
615
538
|
#
|
616
539
|
# treeish - The String commit ID or ref to find (default: @ref)
|
@@ -907,34 +830,6 @@ module Gollum
|
|
907
830
|
end
|
908
831
|
end
|
909
832
|
|
910
|
-
# Creates a reverse diff for the given SHAs on the given Gollum::Page.
|
911
|
-
#
|
912
|
-
# page - The Gollum::Page to scope the patch to, or a String Path.
|
913
|
-
# sha1 - String SHA1 of the earlier parent if two SHAs are given,
|
914
|
-
# or the child.
|
915
|
-
# sha2 - Optional String SHA1 of the child.
|
916
|
-
#
|
917
|
-
# Returns a String of the reverse Diff to apply.
|
918
|
-
def full_reverse_diff_for(page, sha1, sha2 = nil)
|
919
|
-
sha1, sha2 = "#{sha1}^", sha1 if sha2.nil?
|
920
|
-
if page
|
921
|
-
path = (page.respond_to?(:path) ? page.path : page.to_s)
|
922
|
-
return repo.diff(sha2, sha1, path).first.diff
|
923
|
-
end
|
924
|
-
repo.diff(sha2, sha1).map { |d| d.diff }.join("\n")
|
925
|
-
end
|
926
|
-
|
927
|
-
# Creates a reverse diff for the given SHAs.
|
928
|
-
#
|
929
|
-
# sha1 - String SHA1 of the earlier parent if two SHAs are given,
|
930
|
-
# or the child.
|
931
|
-
# sha2 - Optional String SHA1 of the child.
|
932
|
-
#
|
933
|
-
# Returns a String of the reverse Diff to apply.
|
934
|
-
def full_reverse_diff(sha1, sha2 = nil)
|
935
|
-
full_reverse_diff_for(nil, sha1, sha2)
|
936
|
-
end
|
937
|
-
|
938
833
|
# Gets the default name for commits.
|
939
834
|
#
|
940
835
|
# Returns the String name.
|
data/lib/gollum-lib.rb
CHANGED
@@ -5,7 +5,11 @@ require 'digest/sha1'
|
|
5
5
|
require 'ostruct'
|
6
6
|
require 'pathname'
|
7
7
|
|
8
|
-
DEFAULT_ADAPTER =
|
8
|
+
DEFAULT_ADAPTER = if ENV['GOLLUM_ADAPTER'] == 'grit'
|
9
|
+
'grit_adapter'
|
10
|
+
else
|
11
|
+
'rugged_adapter'
|
12
|
+
end
|
9
13
|
|
10
14
|
if defined?(Gollum::GIT_ADAPTER)
|
11
15
|
require "#{Gollum::GIT_ADAPTER.downcase}_adapter"
|
metadata
CHANGED
@@ -1,30 +1,30 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: gitlab-gollum-lib
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 4.2.7.
|
4
|
+
version: 4.2.7.10.gitlab.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tom Preston-Werner
|
8
8
|
- Rick Olson
|
9
|
-
autorequire:
|
9
|
+
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date:
|
12
|
+
date: 2022-01-11 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
|
-
name: gollum-
|
15
|
+
name: gitlab-gollum-rugged_adapter
|
16
16
|
requirement: !ruby/object:Gem::Requirement
|
17
17
|
requirements:
|
18
18
|
- - "~>"
|
19
19
|
- !ruby/object:Gem::Version
|
20
|
-
version:
|
20
|
+
version: 0.4.4.4.gitlab.1
|
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:
|
27
|
+
version: 0.4.4.4.gitlab.1
|
28
28
|
- !ruby/object:Gem::Dependency
|
29
29
|
name: rouge
|
30
30
|
requirement: !ruby/object:Gem::Requirement
|
@@ -79,14 +79,14 @@ dependencies:
|
|
79
79
|
requirements:
|
80
80
|
- - "~>"
|
81
81
|
- !ruby/object:Gem::Version
|
82
|
-
version:
|
82
|
+
version: '6.0'
|
83
83
|
type: :runtime
|
84
84
|
prerelease: false
|
85
85
|
version_requirements: !ruby/object:Gem::Requirement
|
86
86
|
requirements:
|
87
87
|
- - "~>"
|
88
88
|
- !ruby/object:Gem::Version
|
89
|
-
version:
|
89
|
+
version: '6.0'
|
90
90
|
- !ruby/object:Gem::Dependency
|
91
91
|
name: github-markup
|
92
92
|
requirement: !ruby/object:Gem::Requirement
|
@@ -189,16 +189,16 @@ dependencies:
|
|
189
189
|
name: wikicloth
|
190
190
|
requirement: !ruby/object:Gem::Requirement
|
191
191
|
requirements:
|
192
|
-
- -
|
192
|
+
- - '='
|
193
193
|
- !ruby/object:Gem::Version
|
194
|
-
version: 0.8.
|
194
|
+
version: 0.8.1
|
195
195
|
type: :development
|
196
196
|
prerelease: false
|
197
197
|
version_requirements: !ruby/object:Gem::Requirement
|
198
198
|
requirements:
|
199
|
-
- -
|
199
|
+
- - '='
|
200
200
|
- !ruby/object:Gem::Version
|
201
|
-
version: 0.8.
|
201
|
+
version: 0.8.1
|
202
202
|
- !ruby/object:Gem::Dependency
|
203
203
|
name: rake
|
204
204
|
requirement: !ruby/object:Gem::Requirement
|
@@ -375,6 +375,7 @@ extra_rdoc_files:
|
|
375
375
|
- README.md
|
376
376
|
- LICENSE
|
377
377
|
files:
|
378
|
+
- CHANGELOG
|
378
379
|
- Gemfile
|
379
380
|
- HISTORY.md
|
380
381
|
- LICENSE
|
@@ -383,7 +384,6 @@ files:
|
|
383
384
|
- docs/sanitization.md
|
384
385
|
- gemspec.rb
|
385
386
|
- gollum-lib.gemspec
|
386
|
-
- gollum-lib_java.gemspec
|
387
387
|
- lib/gollum-lib.rb
|
388
388
|
- lib/gollum-lib/blob_entry.rb
|
389
389
|
- lib/gollum-lib/committer.rb
|
@@ -424,7 +424,7 @@ homepage: https://gitlab.com/gitlab-org/gollum-lib
|
|
424
424
|
licenses:
|
425
425
|
- MIT
|
426
426
|
metadata: {}
|
427
|
-
post_install_message:
|
427
|
+
post_install_message:
|
428
428
|
rdoc_options:
|
429
429
|
- "--charset=UTF-8"
|
430
430
|
require_paths:
|
@@ -436,13 +436,12 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
436
436
|
version: '1.9'
|
437
437
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
438
438
|
requirements:
|
439
|
-
- - "
|
439
|
+
- - ">"
|
440
440
|
- !ruby/object:Gem::Version
|
441
|
-
version:
|
441
|
+
version: 1.3.1
|
442
442
|
requirements: []
|
443
|
-
|
444
|
-
|
445
|
-
signing_key:
|
443
|
+
rubygems_version: 3.2.28
|
444
|
+
signing_key:
|
446
445
|
specification_version: 2
|
447
446
|
summary: A simple, Git-powered wiki.
|
448
447
|
test_files: []
|
data/gollum-lib_java.gemspec
DELETED
@@ -1,4 +0,0 @@
|
|
1
|
-
require File.join(File.dirname(__FILE__), 'gemspec.rb')
|
2
|
-
require File.join(File.dirname(__FILE__), 'lib', 'gollum-lib', 'version.rb')
|
3
|
-
default_adapter = ['gollum-rjgit_adapter', '~> 0.3']
|
4
|
-
Gem::Specification.new &specification(Gollum::Lib::VERSION, default_adapter, "java")
|