reapack-index 1.2rc1 → 1.2.3

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
- SHA1:
3
- metadata.gz: db912d74637f26faf3747b1efa0018a0f7c1bd17
4
- data.tar.gz: da3003e1d50cc3020bd3d4dc74abcb4c23ca5a97
2
+ SHA256:
3
+ metadata.gz: 395a21482f9f7c57d34491efa4afd7a32fa16f3fca18d42dff99b2ca3ef0cddf
4
+ data.tar.gz: d9f769fbcf286a5541efbeb8eb4f1a70ffb2308349249706d85cad27b7b3ec46
5
5
  SHA512:
6
- metadata.gz: ce3c8c51d057eaed233bb2bdeff53db11895c8e13ee9a526d69730484967db1fd00d42386defc64d55c2f56dadc9db94ad5bc13ee2151567bb37056da81dfab8
7
- data.tar.gz: af451fe2ec7c69a9d50d78e8d460c08064837bd25acff3cc3755e1050ee6f8e940646c8164a73537560b9093b0c100eabdcfbe8bfb9f8c02edcc925ab72e2961
6
+ metadata.gz: 5b21099ed8e39ced20a19bf40df2f21a919bc66fd30dd3876d27d19b22a1aad8f9ed235ed6f548f8cf3fd4bd1d885c601d21fd2e0eef1de4ecafef8d50f40e66
7
+ data.tar.gz: 3910b7e2954e9246b692a28621156418cbeaec0d74f6f62fcb42f42c168cb2c24a0532795d435e78ce77487262e2503e178adfe07680afcb2f925d46f6959f99
@@ -0,0 +1,3 @@
1
+ custom:
2
+ - "https://reapack.com/donate"
3
+ - "https://paypal.me/cfillion"
@@ -0,0 +1,17 @@
1
+ name: test
2
+ on: [push, pull_request]
3
+ jobs:
4
+ rake:
5
+ runs-on: ubuntu-latest
6
+ steps:
7
+ - name: Fetch repository
8
+ uses: actions/checkout@v2
9
+ - name: Install Pandoc
10
+ run: sudo apt-get install -yy pandoc
11
+ - name: Set up Ruby
12
+ uses: ruby/setup-ruby@v1
13
+ with:
14
+ bundler-cache: true
15
+ ruby-version: 2.7
16
+ - name: Run tests
17
+ run: bundle exec rake
data/README.md CHANGED
@@ -4,10 +4,8 @@ Parent project: [https://github.com/cfillion/reapack](https://github.com/cfillio
4
4
  Subproject: [https://github.com/cfillion/metaheader](https://github.com/cfillion/metaheader)
5
5
 
6
6
  [![Gem Version](https://badge.fury.io/rb/reapack-index.svg)](http://badge.fury.io/rb/reapack-index)
7
- [![Build Status](https://travis-ci.org/cfillion/reapack-index.svg?branch=master)](https://travis-ci.org/cfillion/reapack-index)
8
- [![Dependency Status](https://gemnasium.com/cfillion/reapack-index.svg)](https://gemnasium.com/cfillion/reapack-index)
9
- [![Coverage Status](https://coveralls.io/repos/cfillion/reapack-index/badge.svg?branch=master&service=github)](https://coveralls.io/github/cfillion/reapack-index?branch=master)
10
- [![Donate](https://www.paypalobjects.com/webstatic/en_US/btn/btn_donate_74x21.png)](https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=T3DEWBQJAV7WL&lc=CA&item_name=reapack-index%3a%20Package%20indexer%20for%20git-based%20ReaPack%20repositories&no_note=0&cn=Custom%20message&no_shipping=1&currency_code=CAD&bn=PP%2dDonationsBF%3abtn_donateCC_LG%2egif%3aNonHosted)
7
+ [![Test status](https://github.com/cfillion/reapack-index/workflows/test/badge.svg)](https://github.com/cfillion/reapack-index/actions)
8
+ [![Donate](https://www.paypalobjects.com/webstatic/en_US/btn/btn_donate_74x21.png)](https://reapack.com/donate)
11
9
 
12
10
  ### Installation
13
11
 
@@ -14,6 +14,7 @@ require 'rugged'
14
14
  require 'shellwords'
15
15
  require 'stable_sort'
16
16
  require 'time'
17
+ require 'uri'
17
18
 
18
19
  require 'reapack/index/cdetector'
19
20
  require 'reapack/index/cli'
@@ -76,6 +77,15 @@ class ReaPack::Index
76
77
  .find {|name, exts| input.to_sym == name || exts.include?(input.to_s) }
77
78
  &.first
78
79
  end
80
+
81
+ def parse(contents)
82
+ mh = MetaHeader.parse contents
83
+ unless mh.has? :changelog
84
+ wp = WordpressChangelog.new mh
85
+ wp.parse contents
86
+ end
87
+ mh
88
+ end
79
89
  end
80
90
 
81
91
  def initialize(path)
@@ -119,8 +129,7 @@ class ReaPack::Index
119
129
  type = self.class.type_of path
120
130
  return unless type
121
131
 
122
- mh = MetaHeader.parse contents
123
- mh.strict = @strict
132
+ mh = contents.is_a?(MetaHeader) ? contents : self.class.parse(contents)
124
133
 
125
134
  if mh[:noindex]
126
135
  remove path
@@ -138,7 +147,7 @@ class ReaPack::Index
138
147
  scanner = Scanner.new cat, pkg, mh, self
139
148
 
140
149
  begin
141
- scanner.run
150
+ scanner.run @strict
142
151
  rescue Error
143
152
  backups.each {|var, value| instance_variable_set var, value }
144
153
  raise
@@ -1,6 +1,5 @@
1
1
  module ReaPack
2
2
  class Index
3
- # bump in setup/reapack-index.nsi too
4
- VERSION = '1.2rc1'
3
+ VERSION = '1.2.3'
5
4
  end
6
5
  end
@@ -71,7 +71,7 @@ class ReaPack::Index
71
71
  return unless uri.path =~ /\A\/?(?<user>[^\/]+)\/(?<repo>[^\/]+)(\.git|\/)?\Z/
72
72
 
73
73
  tpl = uri.to_web_uri
74
- tpl.path.chomp! '/'
74
+ tpl.path = tpl.path.chomp '/'
75
75
  tpl.path += '/raw/$commit/$path'
76
76
 
77
77
  tpl.to_s
@@ -146,7 +146,7 @@ class ReaPack::Index
146
146
  diff = @commit.diff
147
147
  end
148
148
 
149
- @diffs ||= diff.each_delta.map {|delta| Git::Diff.new(delta, @parent.nil?, @repo) }
149
+ @diffs = diff.each_delta.map {|delta| Git::Diff.new(delta, @repo) }
150
150
  @diffs.each &block
151
151
  end
152
152
 
@@ -207,16 +207,11 @@ class ReaPack::Index
207
207
  end
208
208
 
209
209
  class Git::Diff
210
- def initialize(delta, is_initial, repo)
210
+ def initialize(delta, repo)
211
211
  @delta, @repo = delta, repo
212
212
 
213
- if is_initial
214
- @status = :added
215
- @file = delta.old_file
216
- else
217
- @status = delta.status.to_sym
218
- @file = delta.new_file
219
- end
213
+ @status = delta.status.to_sym
214
+ @file = delta.new_file
220
215
  end
221
216
 
222
217
  attr_reader :status
@@ -224,7 +219,7 @@ class ReaPack::Index
224
219
  def file
225
220
  @path ||= @file[:path].force_encoding(Encoding::UTF_8)
226
221
  end
227
-
222
+
228
223
  def new_content
229
224
  return if status == :deleted
230
225
  @new_content ||=
@@ -232,7 +227,7 @@ class ReaPack::Index
232
227
  end
233
228
 
234
229
  def new_header
235
- @new_header ||= MetaHeader.new @new_content if new_content
230
+ @new_header ||= ReaPack::Index.parse @new_content if new_content
236
231
  end
237
232
  end
238
233
  end
@@ -1,4 +1,4 @@
1
- class WordpressChangelog < MetaHeader::Parser
1
+ class WordpressChangelog
2
2
  CHANGELOG = /
3
3
  Changelog\s*:\n
4
4
  (.+?)\n\s*
@@ -7,11 +7,14 @@ class WordpressChangelog < MetaHeader::Parser
7
7
 
8
8
  VERSION = /\A[\s\*]*v([\d\.]+)(?:\s+(.+))?\Z/.freeze
9
9
 
10
+ def initialize(mh)
11
+ @header = mh
12
+ end
13
+
10
14
  def parse(input)
11
- input = input.read
12
15
  input.encode! Encoding::UTF_8, invalid: :replace
13
16
 
14
- ver, changes = header[:version], header[:changelog]
17
+ ver, changes = @header[:version], @header[:changelog]
15
18
  return if ver.nil? || changes || CHANGELOG.match(input).nil?
16
19
 
17
20
  $1.lines.each {|line| read line.lstrip }
@@ -19,15 +22,15 @@ class WordpressChangelog < MetaHeader::Parser
19
22
 
20
23
  def read(line)
21
24
  if line =~ VERSION
22
- @current = $1 == header[:version]
25
+ @current = $1 == @header[:version]
23
26
  elsif @current
24
- if header[:changelog]
25
- header[:changelog] += "\n"
27
+ if @header[:changelog]
28
+ @header[:changelog] += "\n"
26
29
  else
27
- header[:changelog] = String.new
30
+ @header[:changelog] = String.new
28
31
  end
29
32
 
30
- header[:changelog] += line.chomp
33
+ @header[:changelog] += line.chomp
31
34
  end
32
35
  end
33
36
  end
@@ -52,10 +52,12 @@ class ReaPack::Index
52
52
  @self_overriden = false
53
53
  end
54
54
 
55
- def run
55
+ def run(strict = false)
56
56
  @mh.alias HEADER_ALIASES
57
57
 
58
- if errors = @mh.validate(HEADER_RULES)
58
+ errors = @mh.validate(HEADER_RULES, strict)
59
+
60
+ unless errors.empty?
59
61
  raise Error, errors.join("\n")
60
62
  end
61
63
 
@@ -108,11 +110,23 @@ class ReaPack::Index
108
110
  end
109
111
  end
110
112
 
111
- template
112
- .gsub('$path', path)
113
- .gsub('$commit', @index.commit || 'master')
114
- .gsub('$version', @ver.name)
115
- .gsub('$package', @pkg.path)
113
+ substitutions = {
114
+ '$path' => path,
115
+ '$commit' => @index.commit || 'master',
116
+ '$version' => @ver.name,
117
+ '$package' => @pkg.path,
118
+ }
119
+
120
+ uri = Addressable::URI.parse template
121
+ [:host, :path, :query].each {|segment|
122
+ value = uri.send segment
123
+
124
+ if value
125
+ value.gsub! /\$\w+/, substitutions
126
+ uri.send "#{segment}=", value
127
+ end
128
+ }
129
+ uri.normalize.to_s
116
130
  end
117
131
 
118
132
  def parse_provides(provides)
@@ -182,7 +196,7 @@ class ReaPack::Index
182
196
  src.detect_sections @pkg
183
197
  end
184
198
 
185
- src.file = target if line.target
199
+ src.file = target if line.target && expanded != file
186
200
  @self_overriden = true
187
201
  else
188
202
  if line.url_template
@@ -9,8 +9,9 @@ class ReaPack::Index
9
9
  PLATFORMS = {
10
10
  all: nil,
11
11
  windows: :all, win32: :windows, win64: :windows,
12
- darwin: :all, darwin32: :darwin, darwin64: :darwin,
12
+ darwin: :all, darwin32: :darwin, darwin64: :darwin, 'darwin-arm64': :darwin,
13
13
  linux: :all, linux32: :linux, linux64: :linux,
14
+ 'linux-armv7l': :linux, 'linux-aarch64': :linux
14
15
  }.freeze
15
16
 
16
17
  SECTIONS = [
@@ -8,7 +8,7 @@ Gem::Specification.new do |spec|
8
8
  spec.name = 'reapack-index'
9
9
  spec.version = ReaPack::Index::VERSION
10
10
  spec.authors = ['cfillion']
11
- spec.email = ['reapack-index@cfillion.tk']
11
+ spec.email = ['reapack-index@cfillion.ca']
12
12
  spec.summary = 'Package indexer for git-based ReaPack repositories'
13
13
  spec.homepage = 'https://github.com/cfillion/reapack-index'
14
14
  spec.license = 'GPL-3.0+'
@@ -20,18 +20,17 @@ Gem::Specification.new do |spec|
20
20
 
21
21
  spec.required_ruby_version = '>= 2.3'
22
22
 
23
- spec.add_development_dependency 'bundler', '~> 1.10'
24
- spec.add_development_dependency 'coveralls', '~> 0.8'
23
+ spec.add_development_dependency 'bundler', '~> 2.0'
25
24
  spec.add_development_dependency 'minitest', '~> 5.8'
26
- spec.add_development_dependency 'rake', '~> 11.0'
25
+ spec.add_development_dependency 'rake', '~> 12.0'
27
26
  spec.add_development_dependency 'simplecov', '~> 0.11'
28
27
 
29
28
  spec.add_runtime_dependency 'addressable', '~> 2.4'
30
29
  spec.add_runtime_dependency 'colorize', '~> 0.7'
31
30
  spec.add_runtime_dependency 'gitable', '~> 0.3'
32
- spec.add_runtime_dependency 'metaheader', '~> 1.3'
31
+ spec.add_runtime_dependency 'metaheader', '~> 2.0'
33
32
  spec.add_runtime_dependency 'nokogiri', '~> 1.7'
34
33
  spec.add_runtime_dependency 'pandoc-ruby', '~> 2.0'
35
- spec.add_runtime_dependency 'rugged', '~> 0.25'
34
+ spec.add_runtime_dependency 'rugged', '~> 1.0'
36
35
  spec.add_runtime_dependency 'stable_sort', '~> 1.1'
37
36
  end
@@ -1,11 +1,7 @@
1
- require 'coveralls'
2
1
  require 'simplecov'
3
2
 
4
- Coveralls::Output.silent = true
5
-
6
3
  SimpleCov.formatters = [
7
4
  SimpleCov::Formatter::HTMLFormatter,
8
- Coveralls::SimpleCov::Formatter,
9
5
  ]
10
6
 
11
7
  SimpleCov.start {
@@ -427,4 +427,18 @@ class TestIndex::Provides < MiniTest::Test
427
427
  @provides ../target.lua
428
428
  IN
429
429
  end
430
+
431
+ def test_rename_target_same_name
432
+ index = ReaPack::Index.new @dummy_path
433
+ index.files = ['Category/script.lua']
434
+ index.url_template = 'http://host/$path'
435
+
436
+ index.scan index.files.first, <<-IN
437
+ @version 1.0
438
+ @provides . > script.lua
439
+ IN
440
+
441
+ index.write!
442
+ refute_match 'file=', File.read(index.path)
443
+ end
430
444
  end
@@ -54,6 +54,36 @@ class TestIndex::Scan < MiniTest::Test
54
54
  assert_equal expected, File.read(index.path)
55
55
  end
56
56
 
57
+ def test_escape_path_uri
58
+ index = ReaPack::Index.new @dummy_path
59
+ index.files = ['Category/Hello World #1.lua']
60
+ index.url_template = 'http://host/$path'
61
+
62
+ index.scan index.files.first, '@version 1.0'
63
+
64
+ assert_equal true, index.modified?
65
+ assert_equal '1 new category, 1 new package, 1 new version', index.changelog
66
+
67
+ index.write!
68
+
69
+ assert_equal false, index.modified?
70
+
71
+ expected = <<-XML
72
+ <?xml version="1.0" encoding="utf-8"?>
73
+ <index version="1">
74
+ <category name="Category">
75
+ <reapack name="Hello World #1.lua" type="script">
76
+ <version name="1.0">
77
+ <source main="main">http://host/Category/Hello%20World%20%231.lua</source>
78
+ </version>
79
+ </reapack>
80
+ </category>
81
+ </index>
82
+ XML
83
+
84
+ assert_equal expected, File.read(index.path)
85
+ end
86
+
57
87
  def test_package_in_root
58
88
  index = ReaPack::Index.new @dummy_path
59
89
  index.files = ['script.lua', 'Hello/World']
@@ -93,10 +93,10 @@ class TestScanner::TestMakeUrl < MiniTest::Test
93
93
 
94
94
  def test_repeat
95
95
  @index.expect :files, ['Category/script.lua']
96
- @index.expect :url_template, '$path $path'
96
+ @index.expect :url_template, '$path$path'
97
97
  @index.expect :commit, 'C0FF33'
98
98
 
99
- assert_equal 'Category/script.lua Category/script.lua',
99
+ assert_equal 'Category/script.luaCategory/script.lua',
100
100
  @scanner.make_url('Category/script.lua')
101
101
  end
102
102
  end
@@ -8,7 +8,7 @@ class TestScanner::TestValidation < MiniTest::Test
8
8
  @pkg.expect :type, :script
9
9
  @pkg.expect :path, 'cat/test'
10
10
 
11
- @mh = MetaHeader.new String.new
11
+ @mh = MetaHeader.new
12
12
  @mh[:version] = '1.0'
13
13
 
14
14
  @index = MiniTest::Mock.new
@@ -20,7 +20,7 @@ class TestScanner::TestValidation < MiniTest::Test
20
20
  def test_validation
21
21
  mh_mock = MiniTest::Mock.new
22
22
  mh_mock.expect :alias, nil, [Hash]
23
- mh_mock.expect :validate, ['first', 'second'], [Hash]
23
+ mh_mock.expect :validate, ['first', 'second'], [Hash, false]
24
24
 
25
25
  @scanner.instance_variable_set :@mh, mh_mock
26
26
 
@@ -2,7 +2,7 @@ require File.expand_path '../helper', __FILE__
2
2
 
3
3
  class TestParsers < MiniTest::Test
4
4
  def test_wordpress
5
- mh = MetaHeader.new <<-IN
5
+ input = <<-IN
6
6
  /**
7
7
  * Version: 1.1
8
8
  */
@@ -23,12 +23,17 @@ class TestParsers < MiniTest::Test
23
23
  Test\x97
24
24
  IN
25
25
 
26
+ mh = MetaHeader.parse input
26
27
  assert_equal '1.1', mh[:version]
28
+ refute mh.has?(:changelog)
29
+
30
+ parser = WordpressChangelog.new mh
31
+ parser.parse input
27
32
  assert_equal "+ Line 3\n+ Line 4", mh[:changelog]
28
33
  end
29
34
 
30
35
  def test_wordpress_no_date
31
- mh = MetaHeader.new <<-IN
36
+ input = <<-IN
32
37
  /**
33
38
  * Version: 1.1
34
39
  */
@@ -49,12 +54,14 @@ class TestParsers < MiniTest::Test
49
54
  Test\x97
50
55
  IN
51
56
 
52
- assert_equal '1.1', mh[:version]
57
+ mh = MetaHeader.parse input
58
+ parser = WordpressChangelog.new mh
59
+ parser.parse input
53
60
  assert_equal "+ Line 3\n+ Line 4", mh[:changelog]
54
61
  end
55
62
 
56
63
  def test_wordpress_noprefix
57
- mh = MetaHeader.new <<-IN
64
+ input = <<-IN
58
65
  --[[
59
66
  Version: 1.1
60
67
  --]]
@@ -76,7 +83,9 @@ v1.0 (2012-01-01)
76
83
  Test\x97
77
84
  IN
78
85
 
79
- assert_equal '1.1', mh[:version]
86
+ mh = MetaHeader.parse input
87
+ parser = WordpressChangelog.new mh
88
+ parser.parse input
80
89
  assert_equal "+ Line 3\n+ Line 4", mh[:changelog]
81
90
  end
82
91
  end
@@ -34,8 +34,8 @@ class TestProvides < MiniTest::Test
34
34
 
35
35
  def test_platforms
36
36
  assert_equal [:windows, :win32, :win64,
37
- :darwin, :darwin32, :darwin64,
38
- :linux, :linux32, :linux64],
37
+ :darwin, :darwin32, :darwin64, :'darwin-arm64',
38
+ :linux, :linux32, :linux64, :'linux-armv7l', :'linux-aarch64'],
39
39
  [
40
40
  '[windows] file',
41
41
  '[win32] file',
@@ -43,9 +43,12 @@ class TestProvides < MiniTest::Test
43
43
  '[Darwin]file',
44
44
  ' [ darwin32 ] file',
45
45
  '[win32 darwin64] file',
46
+ '[darwin-arm64] file',
46
47
  '[linux] file',
47
48
  '[linux32] file',
48
49
  '[linux64] file',
50
+ '[linux-armv7l] file',
51
+ '[linux-aarch64] file',
49
52
  ].map {|l| ReaPack::Index::Provides.parse(l).platform }
50
53
  end
51
54
 
@@ -6,7 +6,7 @@ class TestScanner < MiniTest::Test
6
6
  def setup
7
7
  @mock = MiniTest::Mock.new
8
8
 
9
- @mh = MetaHeader.new String.new
9
+ @mh = MetaHeader.new
10
10
  @mh[:version] = '1.0'
11
11
 
12
12
  @doc = Nokogiri::XML <<-XML
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: reapack-index
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.2rc1
4
+ version: 1.2.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - cfillion
8
- autorequire:
8
+ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-09-17 00:00:00.000000000 Z
11
+ date: 2021-01-03 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -16,28 +16,14 @@ dependencies:
16
16
  requirements:
17
17
  - - "~>"
18
18
  - !ruby/object:Gem::Version
19
- version: '1.10'
20
- type: :development
21
- prerelease: false
22
- version_requirements: !ruby/object:Gem::Requirement
23
- requirements:
24
- - - "~>"
25
- - !ruby/object:Gem::Version
26
- version: '1.10'
27
- - !ruby/object:Gem::Dependency
28
- name: coveralls
29
- requirement: !ruby/object:Gem::Requirement
30
- requirements:
31
- - - "~>"
32
- - !ruby/object:Gem::Version
33
- version: '0.8'
19
+ version: '2.0'
34
20
  type: :development
35
21
  prerelease: false
36
22
  version_requirements: !ruby/object:Gem::Requirement
37
23
  requirements:
38
24
  - - "~>"
39
25
  - !ruby/object:Gem::Version
40
- version: '0.8'
26
+ version: '2.0'
41
27
  - !ruby/object:Gem::Dependency
42
28
  name: minitest
43
29
  requirement: !ruby/object:Gem::Requirement
@@ -58,14 +44,14 @@ dependencies:
58
44
  requirements:
59
45
  - - "~>"
60
46
  - !ruby/object:Gem::Version
61
- version: '11.0'
47
+ version: '12.0'
62
48
  type: :development
63
49
  prerelease: false
64
50
  version_requirements: !ruby/object:Gem::Requirement
65
51
  requirements:
66
52
  - - "~>"
67
53
  - !ruby/object:Gem::Version
68
- version: '11.0'
54
+ version: '12.0'
69
55
  - !ruby/object:Gem::Dependency
70
56
  name: simplecov
71
57
  requirement: !ruby/object:Gem::Requirement
@@ -128,14 +114,14 @@ dependencies:
128
114
  requirements:
129
115
  - - "~>"
130
116
  - !ruby/object:Gem::Version
131
- version: '1.3'
117
+ version: '2.0'
132
118
  type: :runtime
133
119
  prerelease: false
134
120
  version_requirements: !ruby/object:Gem::Requirement
135
121
  requirements:
136
122
  - - "~>"
137
123
  - !ruby/object:Gem::Version
138
- version: '1.3'
124
+ version: '2.0'
139
125
  - !ruby/object:Gem::Dependency
140
126
  name: nokogiri
141
127
  requirement: !ruby/object:Gem::Requirement
@@ -170,14 +156,14 @@ dependencies:
170
156
  requirements:
171
157
  - - "~>"
172
158
  - !ruby/object:Gem::Version
173
- version: '0.25'
159
+ version: '1.0'
174
160
  type: :runtime
175
161
  prerelease: false
176
162
  version_requirements: !ruby/object:Gem::Requirement
177
163
  requirements:
178
164
  - - "~>"
179
165
  - !ruby/object:Gem::Version
180
- version: '0.25'
166
+ version: '1.0'
181
167
  - !ruby/object:Gem::Dependency
182
168
  name: stable_sort
183
169
  requirement: !ruby/object:Gem::Requirement
@@ -192,16 +178,17 @@ dependencies:
192
178
  - - "~>"
193
179
  - !ruby/object:Gem::Version
194
180
  version: '1.1'
195
- description:
181
+ description:
196
182
  email:
197
- - reapack-index@cfillion.tk
183
+ - reapack-index@cfillion.ca
198
184
  executables:
199
185
  - reapack-index
200
186
  extensions: []
201
187
  extra_rdoc_files: []
202
188
  files:
189
+ - ".github/FUNDING.yml"
190
+ - ".github/workflows/test.yml"
203
191
  - ".gitignore"
204
- - ".travis.yml"
205
192
  - COPYING
206
193
  - Gemfile
207
194
  - README.md
@@ -249,7 +236,7 @@ homepage: https://github.com/cfillion/reapack-index
249
236
  licenses:
250
237
  - GPL-3.0+
251
238
  metadata: {}
252
- post_install_message:
239
+ post_install_message:
253
240
  rdoc_options: []
254
241
  require_paths:
255
242
  - lib
@@ -260,13 +247,12 @@ required_ruby_version: !ruby/object:Gem::Requirement
260
247
  version: '2.3'
261
248
  required_rubygems_version: !ruby/object:Gem::Requirement
262
249
  requirements:
263
- - - ">"
250
+ - - ">="
264
251
  - !ruby/object:Gem::Version
265
- version: 1.3.1
252
+ version: '0'
266
253
  requirements: []
267
- rubyforge_project:
268
- rubygems_version: 2.6.13
269
- signing_key:
254
+ rubygems_version: 3.1.4
255
+ signing_key:
270
256
  specification_version: 4
271
257
  summary: Package indexer for git-based ReaPack repositories
272
258
  test_files:
@@ -1,8 +0,0 @@
1
- language: ruby
2
- rvm:
3
- - 2.4.0
4
- before_install:
5
- - gem update bundler
6
- - wget https://github.com/jgm/pandoc/releases/download/1.19.1/pandoc-1.19.1-1-amd64.deb -O pandoc.deb
7
- - sudo dpkg -i pandoc.deb
8
- cache: bundler