mergem 0.0.2 → 0.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/.0pdd.yml +3 -0
- data/.github/workflows/actionlint.yml +25 -0
- data/.github/workflows/copyrights.yml +19 -0
- data/.github/workflows/cron.yml +25 -13
- data/.github/workflows/markdown-lint.yml +19 -0
- data/.github/workflows/pdd.yml +12 -4
- data/.github/workflows/rake.yml +10 -5
- data/.github/workflows/reuse.yml +19 -0
- data/.github/workflows/typos.yml +19 -0
- data/.github/workflows/xcop.yml +7 -3
- data/.github/workflows/yamllint.yml +19 -0
- data/.gitignore +8 -5
- data/.rubocop.yml +14 -1
- data/.rultor.yml +6 -1
- data/Gemfile +14 -19
- data/Gemfile.lock +177 -0
- data/LICENSE.txt +1 -1
- data/LICENSES/MIT.txt +21 -0
- data/README.md +61 -15
- data/REUSE.toml +35 -0
- data/Rakefile +3 -36
- data/bin/mergem +59 -31
- data/features/cli.feature +7 -0
- data/features/gem_package.feature +2 -0
- data/features/step_definitions/steps.rb +8 -25
- data/features/support/env.rb +2 -19
- data/lib/mergem/askrultor.rb +34 -26
- data/lib/mergem/pulls.rb +10 -29
- data/lib/mergem/repos.rb +41 -0
- data/lib/mergem/version.rb +4 -21
- data/mergem.gemspec +13 -36
- data/renovate.json +6 -0
- data/test/test__helper.rb +22 -23
- data/test/test_askrultor.rb +6 -23
- data/test/test_pulls.rb +9 -27
- data/test/test_repos.rb +36 -0
- metadata +44 -120
- data/.simplecov +0 -38
data/mergem.gemspec
CHANGED
@@ -1,22 +1,5 @@
|
|
1
|
-
# Copyright (c) 2022 Yegor Bugayenko
|
2
|
-
#
|
3
|
-
# Permission is hereby granted, free of charge, to any person obtaining a copy
|
4
|
-
# of this software and associated documentation files (the 'Software'), to deal
|
5
|
-
# in the Software without restriction, including without limitation the rights
|
6
|
-
# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
7
|
-
# copies of the Software, and to permit persons to whom the Software is
|
8
|
-
# furnished to do so, subject to the following conditions:
|
9
|
-
#
|
10
|
-
# The above copyright notice and this permission notice shall be included in all
|
11
|
-
# copies or substantial portions of the Software.
|
12
|
-
#
|
13
|
-
# THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
14
|
-
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
15
|
-
# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
16
|
-
# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
17
|
-
# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
18
|
-
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
19
|
-
# SOFTWARE.
|
1
|
+
# SPDX-FileCopyrightText: Copyright (c) 2022-2025 Yegor Bugayenko
|
2
|
+
# SPDX-License-Identifier: MIT
|
20
3
|
|
21
4
|
require 'English'
|
22
5
|
|
@@ -31,28 +14,22 @@ Gem::Specification.new do |s|
|
|
31
14
|
s.version = Mergem::VERSION
|
32
15
|
s.license = 'MIT'
|
33
16
|
s.metadata = { 'rubygems_mfa_required' => 'true' }
|
34
|
-
s.summary = 'GitHub API client
|
17
|
+
s.summary = 'GitHub API client that deals with Pull Requests'
|
35
18
|
s.description = 'tbd...'
|
36
19
|
s.authors = ['Yegor Bugayenko']
|
37
20
|
s.email = 'yegor256@gmail.com'
|
38
|
-
s.homepage = '
|
21
|
+
s.homepage = 'https://github.com/yegor256/mergem'
|
39
22
|
s.files = `git ls-files`.split($RS)
|
40
23
|
s.executables = s.files.grep(%r{^bin/}) { |f| File.basename(f) }
|
41
24
|
s.rdoc_options = ['--charset=UTF-8']
|
42
25
|
s.extra_rdoc_files = ['README.md', 'LICENSE.txt']
|
43
|
-
s.
|
44
|
-
s.
|
45
|
-
s.
|
46
|
-
s.
|
47
|
-
s.
|
48
|
-
s.
|
49
|
-
s.
|
50
|
-
s.
|
51
|
-
s.
|
52
|
-
s.add_development_dependency 'minitest', '5.15.0'
|
53
|
-
s.add_development_dependency 'rake', '13.0.6'
|
54
|
-
s.add_development_dependency 'rdoc', '6.4.0'
|
55
|
-
s.add_development_dependency 'rubocop', '1.32.0'
|
56
|
-
s.add_development_dependency 'rubocop-rspec', '2.11.1'
|
57
|
-
s.add_development_dependency 'xcop', '0.7.1'
|
26
|
+
s.add_dependency 'backtrace', '~>0.3'
|
27
|
+
s.add_dependency 'iri', '~>0.5'
|
28
|
+
s.add_dependency 'loog', '~>0.2'
|
29
|
+
s.add_dependency 'nokogiri', '~>1.18'
|
30
|
+
s.add_dependency 'obk', '~>0.3'
|
31
|
+
s.add_dependency 'octokit', '~>10.0'
|
32
|
+
s.add_dependency 'rainbow', '~>3.0'
|
33
|
+
s.add_dependency 'slop', '~>4.4'
|
34
|
+
s.add_dependency 'tacky', '~>0.3'
|
58
35
|
end
|
data/renovate.json
ADDED
data/test/test__helper.rb
CHANGED
@@ -1,30 +1,29 @@
|
|
1
|
-
# Copyright (c) 2022 Yegor Bugayenko
|
2
|
-
#
|
3
|
-
# Permission is hereby granted, free of charge, to any person obtaining a copy
|
4
|
-
# of this software and associated documentation files (the 'Software'), to deal
|
5
|
-
# in the Software without restriction, including without limitation the rights
|
6
|
-
# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
7
|
-
# copies of the Software, and to permit persons to whom the Software is
|
8
|
-
# furnished to do so, subject to the following conditions:
|
9
|
-
#
|
10
|
-
# The above copyright notice and this permission notice shall be included in all
|
11
|
-
# copies or substantial portions of the Software.
|
12
|
-
#
|
13
|
-
# THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
14
|
-
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
15
|
-
# FITNESS FOR A PARTICULAR PURPOSE AND NONINFINGEMENT. IN NO EVENT SHALL THE
|
16
|
-
# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
17
|
-
# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
18
|
-
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
19
|
-
# SOFTWARE.
|
1
|
+
# SPDX-FileCopyrightText: Copyright (c) 2022-2025 Yegor Bugayenko
|
2
|
+
# SPDX-License-Identifier: MIT
|
20
3
|
|
21
4
|
$stdout.sync = true
|
22
5
|
|
23
6
|
require 'simplecov'
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
SimpleCov.formatter = SimpleCov::Formatter::
|
7
|
+
require 'simplecov-cobertura'
|
8
|
+
unless SimpleCov.running
|
9
|
+
SimpleCov.command_name('test')
|
10
|
+
SimpleCov.formatter = SimpleCov::Formatter::MultiFormatter.new(
|
11
|
+
[
|
12
|
+
SimpleCov::Formatter::HTMLFormatter,
|
13
|
+
SimpleCov::Formatter::CoberturaFormatter
|
14
|
+
]
|
15
|
+
)
|
16
|
+
SimpleCov.minimum_coverage 35
|
17
|
+
SimpleCov.minimum_coverage_by_file 15
|
18
|
+
SimpleCov.start do
|
19
|
+
add_filter 'test/'
|
20
|
+
add_filter 'vendor/'
|
21
|
+
add_filter 'target/'
|
22
|
+
track_files 'lib/**/*.rb'
|
23
|
+
track_files '*.rb'
|
24
|
+
end
|
28
25
|
end
|
29
26
|
|
30
27
|
require 'minitest/autorun'
|
28
|
+
require 'minitest/reporters'
|
29
|
+
Minitest::Reporters.use! [Minitest::Reporters::SpecReporter.new]
|
data/test/test_askrultor.rb
CHANGED
@@ -1,22 +1,5 @@
|
|
1
|
-
# Copyright (c) 2022 Yegor Bugayenko
|
2
|
-
#
|
3
|
-
# Permission is hereby granted, free of charge, to any person obtaining a copy
|
4
|
-
# of this software and associated documentation files (the 'Software'), to deal
|
5
|
-
# in the Software without restriction, including without limitation the rights
|
6
|
-
# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
7
|
-
# copies of the Software, and to permit persons to whom the Software is
|
8
|
-
# furnished to do so, subject to the following conditions:
|
9
|
-
#
|
10
|
-
# The above copyright notice and this permission notice shall be included in all
|
11
|
-
# copies or substantial portions of the Software.
|
12
|
-
#
|
13
|
-
# THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
14
|
-
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
15
|
-
# FITNESS FOR A PARTICULAR PURPOSE AND NONINFINGEMENT. IN NO EVENT SHALL THE
|
16
|
-
# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
17
|
-
# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
18
|
-
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
19
|
-
# SOFTWARE.
|
1
|
+
# SPDX-FileCopyrightText: Copyright (c) 2022-2025 Yegor Bugayenko
|
2
|
+
# SPDX-License-Identifier: MIT
|
20
3
|
|
21
4
|
require 'minitest/autorun'
|
22
5
|
require 'octokit'
|
@@ -25,16 +8,16 @@ require_relative '../lib/mergem/askrultor'
|
|
25
8
|
|
26
9
|
# Test for AskRultor.
|
27
10
|
# Author:: Yegor Bugayenko (yegor256@gmail.com)
|
28
|
-
# Copyright:: Copyright (c) 2022 Yegor Bugayenko
|
11
|
+
# Copyright:: Copyright (c) 2022-2025 Yegor Bugayenko
|
29
12
|
# License:: MIT
|
30
13
|
class TestAskRultor < Minitest::Test
|
31
|
-
def
|
14
|
+
def test_asks_rultor_to_merge_pull_request
|
32
15
|
api = Octokit::Client.new
|
33
16
|
m = Mergem::AskRultor.new(api, Loog::VERBOSE)
|
34
17
|
asked = m.ask('yegor256/mergem', 1)
|
35
|
-
assert(
|
18
|
+
assert(asked)
|
36
19
|
rescue Octokit::TooManyRequests => e
|
37
20
|
puts e.message
|
38
|
-
skip
|
21
|
+
skip('It is OK')
|
39
22
|
end
|
40
23
|
end
|
data/test/test_pulls.rb
CHANGED
@@ -1,22 +1,5 @@
|
|
1
|
-
# Copyright (c) 2022 Yegor Bugayenko
|
2
|
-
#
|
3
|
-
# Permission is hereby granted, free of charge, to any person obtaining a copy
|
4
|
-
# of this software and associated documentation files (the 'Software'), to deal
|
5
|
-
# in the Software without restriction, including without limitation the rights
|
6
|
-
# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
7
|
-
# copies of the Software, and to permit persons to whom the Software is
|
8
|
-
# furnished to do so, subject to the following conditions:
|
9
|
-
#
|
10
|
-
# The above copyright notice and this permission notice shall be included in all
|
11
|
-
# copies or substantial portions of the Software.
|
12
|
-
#
|
13
|
-
# THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
14
|
-
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
15
|
-
# FITNESS FOR A PARTICULAR PURPOSE AND NONINFINGEMENT. IN NO EVENT SHALL THE
|
16
|
-
# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
17
|
-
# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
18
|
-
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
19
|
-
# SOFTWARE.
|
1
|
+
# SPDX-FileCopyrightText: Copyright (c) 2022-2025 Yegor Bugayenko
|
2
|
+
# SPDX-License-Identifier: MIT
|
20
3
|
|
21
4
|
require 'minitest/autorun'
|
22
5
|
require 'octokit'
|
@@ -25,21 +8,20 @@ require_relative '../lib/mergem/pulls'
|
|
25
8
|
|
26
9
|
# Test for Pulls.
|
27
10
|
# Author:: Yegor Bugayenko (yegor256@gmail.com)
|
28
|
-
# Copyright:: Copyright (c) 2022 Yegor Bugayenko
|
11
|
+
# Copyright:: Copyright (c) 2022-2025 Yegor Bugayenko
|
29
12
|
# License:: MIT
|
30
13
|
class TestPulls < Minitest::Test
|
31
|
-
def
|
14
|
+
def test_fetches_pull_requests_from_repository
|
32
15
|
api = Octokit::Client.new
|
33
|
-
m = Mergem::Pulls.new(api, Loog::VERBOSE,
|
16
|
+
m = Mergem::Pulls.new(api, Loog::VERBOSE, 'yegor256/blog')
|
34
17
|
ms = []
|
35
|
-
total = m.each do |
|
36
|
-
ms << "
|
18
|
+
total = m.each do |pr|
|
19
|
+
ms << "##{pr}"
|
37
20
|
end
|
38
|
-
|
21
|
+
refute_empty(ms)
|
39
22
|
assert_equal(total, ms.count)
|
40
|
-
p ms
|
41
23
|
rescue Octokit::TooManyRequests => e
|
42
24
|
puts e.message
|
43
|
-
skip
|
25
|
+
skip('It is OK')
|
44
26
|
end
|
45
27
|
end
|
data/test/test_repos.rb
ADDED
@@ -0,0 +1,36 @@
|
|
1
|
+
# SPDX-FileCopyrightText: Copyright (c) 2022-2025 Yegor Bugayenko
|
2
|
+
# SPDX-License-Identifier: MIT
|
3
|
+
|
4
|
+
require 'minitest/autorun'
|
5
|
+
require 'octokit'
|
6
|
+
require 'loog'
|
7
|
+
require_relative '../lib/mergem/repos'
|
8
|
+
|
9
|
+
# Test for Repos.
|
10
|
+
# Author:: Yegor Bugayenko (yegor256@gmail.com)
|
11
|
+
# Copyright:: Copyright (c) 2022-2025 Yegor Bugayenko
|
12
|
+
# License:: MIT
|
13
|
+
class TestRepos < Minitest::Test
|
14
|
+
def test_finds_repositories_from_multiple_sources
|
15
|
+
api = Octokit::Client.new
|
16
|
+
r = Mergem::Repos.new(api, Loog::VERBOSE, ['yegor256/blog', 'polystat/*'])
|
17
|
+
ms = []
|
18
|
+
total = r.each do |repo|
|
19
|
+
ms << repo
|
20
|
+
end
|
21
|
+
refute_empty(ms)
|
22
|
+
assert_equal(total, ms.count)
|
23
|
+
rescue Octokit::TooManyRequests => e
|
24
|
+
puts e.message
|
25
|
+
skip('It is OK')
|
26
|
+
end
|
27
|
+
|
28
|
+
def test_ignores_archived_repositories
|
29
|
+
api = Octokit::Client.new
|
30
|
+
r = Mergem::Repos.new(api, Loog::VERBOSE, ['polystat/j2ast'])
|
31
|
+
assert_equal(0, r.each)
|
32
|
+
rescue Octokit::TooManyRequests => e
|
33
|
+
puts e.message
|
34
|
+
skip('It is OK')
|
35
|
+
end
|
36
|
+
end
|
metadata
CHANGED
@@ -1,14 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: mergem
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0
|
4
|
+
version: 0.1.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Yegor Bugayenko
|
8
|
-
autorequire:
|
9
8
|
bindir: bin
|
10
9
|
cert_chain: []
|
11
|
-
date:
|
10
|
+
date: 1980-01-02 00:00:00.000000000 Z
|
12
11
|
dependencies:
|
13
12
|
- !ruby/object:Gem::Dependency
|
14
13
|
name: backtrace
|
@@ -53,196 +52,120 @@ dependencies:
|
|
53
52
|
- !ruby/object:Gem::Version
|
54
53
|
version: '0.2'
|
55
54
|
- !ruby/object:Gem::Dependency
|
56
|
-
name:
|
55
|
+
name: nokogiri
|
57
56
|
requirement: !ruby/object:Gem::Requirement
|
58
57
|
requirements:
|
59
|
-
- -
|
58
|
+
- - "~>"
|
60
59
|
- !ruby/object:Gem::Version
|
61
|
-
version:
|
60
|
+
version: '1.18'
|
62
61
|
type: :runtime
|
63
62
|
prerelease: false
|
64
63
|
version_requirements: !ruby/object:Gem::Requirement
|
65
64
|
requirements:
|
66
|
-
- -
|
65
|
+
- - "~>"
|
67
66
|
- !ruby/object:Gem::Version
|
68
|
-
version:
|
67
|
+
version: '1.18'
|
69
68
|
- !ruby/object:Gem::Dependency
|
70
|
-
name:
|
69
|
+
name: obk
|
71
70
|
requirement: !ruby/object:Gem::Requirement
|
72
71
|
requirements:
|
73
72
|
- - "~>"
|
74
73
|
- !ruby/object:Gem::Version
|
75
|
-
version: '
|
74
|
+
version: '0.3'
|
76
75
|
type: :runtime
|
77
76
|
prerelease: false
|
78
77
|
version_requirements: !ruby/object:Gem::Requirement
|
79
78
|
requirements:
|
80
79
|
- - "~>"
|
81
80
|
- !ruby/object:Gem::Version
|
82
|
-
version: '
|
81
|
+
version: '0.3'
|
83
82
|
- !ruby/object:Gem::Dependency
|
84
|
-
name:
|
83
|
+
name: octokit
|
85
84
|
requirement: !ruby/object:Gem::Requirement
|
86
85
|
requirements:
|
87
86
|
- - "~>"
|
88
87
|
- !ruby/object:Gem::Version
|
89
|
-
version: '
|
88
|
+
version: '10.0'
|
90
89
|
type: :runtime
|
91
90
|
prerelease: false
|
92
91
|
version_requirements: !ruby/object:Gem::Requirement
|
93
92
|
requirements:
|
94
93
|
- - "~>"
|
95
94
|
- !ruby/object:Gem::Version
|
96
|
-
version: '
|
95
|
+
version: '10.0'
|
97
96
|
- !ruby/object:Gem::Dependency
|
98
|
-
name:
|
97
|
+
name: rainbow
|
99
98
|
requirement: !ruby/object:Gem::Requirement
|
100
99
|
requirements:
|
101
100
|
- - "~>"
|
102
101
|
- !ruby/object:Gem::Version
|
103
|
-
version: '
|
102
|
+
version: '3.0'
|
104
103
|
type: :runtime
|
105
104
|
prerelease: false
|
106
105
|
version_requirements: !ruby/object:Gem::Requirement
|
107
106
|
requirements:
|
108
107
|
- - "~>"
|
109
108
|
- !ruby/object:Gem::Version
|
110
|
-
version: '
|
111
|
-
- !ruby/object:Gem::Dependency
|
112
|
-
name: codecov
|
113
|
-
requirement: !ruby/object:Gem::Requirement
|
114
|
-
requirements:
|
115
|
-
- - '='
|
116
|
-
- !ruby/object:Gem::Version
|
117
|
-
version: 0.6.0
|
118
|
-
type: :development
|
119
|
-
prerelease: false
|
120
|
-
version_requirements: !ruby/object:Gem::Requirement
|
121
|
-
requirements:
|
122
|
-
- - '='
|
123
|
-
- !ruby/object:Gem::Version
|
124
|
-
version: 0.6.0
|
125
|
-
- !ruby/object:Gem::Dependency
|
126
|
-
name: cucumber
|
127
|
-
requirement: !ruby/object:Gem::Requirement
|
128
|
-
requirements:
|
129
|
-
- - '='
|
130
|
-
- !ruby/object:Gem::Version
|
131
|
-
version: 8.0.0
|
132
|
-
type: :development
|
133
|
-
prerelease: false
|
134
|
-
version_requirements: !ruby/object:Gem::Requirement
|
135
|
-
requirements:
|
136
|
-
- - '='
|
137
|
-
- !ruby/object:Gem::Version
|
138
|
-
version: 8.0.0
|
139
|
-
- !ruby/object:Gem::Dependency
|
140
|
-
name: minitest
|
141
|
-
requirement: !ruby/object:Gem::Requirement
|
142
|
-
requirements:
|
143
|
-
- - '='
|
144
|
-
- !ruby/object:Gem::Version
|
145
|
-
version: 5.15.0
|
146
|
-
type: :development
|
147
|
-
prerelease: false
|
148
|
-
version_requirements: !ruby/object:Gem::Requirement
|
149
|
-
requirements:
|
150
|
-
- - '='
|
151
|
-
- !ruby/object:Gem::Version
|
152
|
-
version: 5.15.0
|
153
|
-
- !ruby/object:Gem::Dependency
|
154
|
-
name: rake
|
155
|
-
requirement: !ruby/object:Gem::Requirement
|
156
|
-
requirements:
|
157
|
-
- - '='
|
158
|
-
- !ruby/object:Gem::Version
|
159
|
-
version: 13.0.6
|
160
|
-
type: :development
|
161
|
-
prerelease: false
|
162
|
-
version_requirements: !ruby/object:Gem::Requirement
|
163
|
-
requirements:
|
164
|
-
- - '='
|
165
|
-
- !ruby/object:Gem::Version
|
166
|
-
version: 13.0.6
|
167
|
-
- !ruby/object:Gem::Dependency
|
168
|
-
name: rdoc
|
169
|
-
requirement: !ruby/object:Gem::Requirement
|
170
|
-
requirements:
|
171
|
-
- - '='
|
172
|
-
- !ruby/object:Gem::Version
|
173
|
-
version: 6.4.0
|
174
|
-
type: :development
|
175
|
-
prerelease: false
|
176
|
-
version_requirements: !ruby/object:Gem::Requirement
|
177
|
-
requirements:
|
178
|
-
- - '='
|
179
|
-
- !ruby/object:Gem::Version
|
180
|
-
version: 6.4.0
|
181
|
-
- !ruby/object:Gem::Dependency
|
182
|
-
name: rubocop
|
183
|
-
requirement: !ruby/object:Gem::Requirement
|
184
|
-
requirements:
|
185
|
-
- - '='
|
186
|
-
- !ruby/object:Gem::Version
|
187
|
-
version: 1.32.0
|
188
|
-
type: :development
|
189
|
-
prerelease: false
|
190
|
-
version_requirements: !ruby/object:Gem::Requirement
|
191
|
-
requirements:
|
192
|
-
- - '='
|
193
|
-
- !ruby/object:Gem::Version
|
194
|
-
version: 1.32.0
|
109
|
+
version: '3.0'
|
195
110
|
- !ruby/object:Gem::Dependency
|
196
|
-
name:
|
111
|
+
name: slop
|
197
112
|
requirement: !ruby/object:Gem::Requirement
|
198
113
|
requirements:
|
199
|
-
- -
|
114
|
+
- - "~>"
|
200
115
|
- !ruby/object:Gem::Version
|
201
|
-
version:
|
202
|
-
type: :
|
116
|
+
version: '4.4'
|
117
|
+
type: :runtime
|
203
118
|
prerelease: false
|
204
119
|
version_requirements: !ruby/object:Gem::Requirement
|
205
120
|
requirements:
|
206
|
-
- -
|
121
|
+
- - "~>"
|
207
122
|
- !ruby/object:Gem::Version
|
208
|
-
version:
|
123
|
+
version: '4.4'
|
209
124
|
- !ruby/object:Gem::Dependency
|
210
|
-
name:
|
125
|
+
name: tacky
|
211
126
|
requirement: !ruby/object:Gem::Requirement
|
212
127
|
requirements:
|
213
|
-
- -
|
128
|
+
- - "~>"
|
214
129
|
- !ruby/object:Gem::Version
|
215
|
-
version: 0.
|
216
|
-
type: :
|
130
|
+
version: '0.3'
|
131
|
+
type: :runtime
|
217
132
|
prerelease: false
|
218
133
|
version_requirements: !ruby/object:Gem::Requirement
|
219
134
|
requirements:
|
220
|
-
- -
|
135
|
+
- - "~>"
|
221
136
|
- !ruby/object:Gem::Version
|
222
|
-
version: 0.
|
137
|
+
version: '0.3'
|
223
138
|
description: tbd...
|
224
139
|
email: yegor256@gmail.com
|
225
140
|
executables:
|
226
141
|
- mergem
|
227
142
|
extensions: []
|
228
143
|
extra_rdoc_files:
|
229
|
-
- README.md
|
230
144
|
- LICENSE.txt
|
145
|
+
- README.md
|
231
146
|
files:
|
232
147
|
- ".0pdd.yml"
|
233
148
|
- ".gitattributes"
|
149
|
+
- ".github/workflows/actionlint.yml"
|
150
|
+
- ".github/workflows/copyrights.yml"
|
234
151
|
- ".github/workflows/cron.yml"
|
152
|
+
- ".github/workflows/markdown-lint.yml"
|
235
153
|
- ".github/workflows/pdd.yml"
|
236
154
|
- ".github/workflows/rake.yml"
|
155
|
+
- ".github/workflows/reuse.yml"
|
156
|
+
- ".github/workflows/typos.yml"
|
237
157
|
- ".github/workflows/xcop.yml"
|
158
|
+
- ".github/workflows/yamllint.yml"
|
238
159
|
- ".gitignore"
|
239
160
|
- ".pdd"
|
240
161
|
- ".rubocop.yml"
|
241
162
|
- ".rultor.yml"
|
242
|
-
- ".simplecov"
|
243
163
|
- Gemfile
|
164
|
+
- Gemfile.lock
|
244
165
|
- LICENSE.txt
|
166
|
+
- LICENSES/MIT.txt
|
245
167
|
- README.md
|
168
|
+
- REUSE.toml
|
246
169
|
- Rakefile
|
247
170
|
- bin/mergem
|
248
171
|
- features/cli.feature
|
@@ -251,17 +174,19 @@ files:
|
|
251
174
|
- features/support/env.rb
|
252
175
|
- lib/mergem/askrultor.rb
|
253
176
|
- lib/mergem/pulls.rb
|
177
|
+
- lib/mergem/repos.rb
|
254
178
|
- lib/mergem/version.rb
|
255
179
|
- mergem.gemspec
|
180
|
+
- renovate.json
|
256
181
|
- test/test__helper.rb
|
257
182
|
- test/test_askrultor.rb
|
258
183
|
- test/test_pulls.rb
|
259
|
-
|
184
|
+
- test/test_repos.rb
|
185
|
+
homepage: https://github.com/yegor256/mergem
|
260
186
|
licenses:
|
261
187
|
- MIT
|
262
188
|
metadata:
|
263
189
|
rubygems_mfa_required: 'true'
|
264
|
-
post_install_message:
|
265
190
|
rdoc_options:
|
266
191
|
- "--charset=UTF-8"
|
267
192
|
require_paths:
|
@@ -277,8 +202,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
277
202
|
- !ruby/object:Gem::Version
|
278
203
|
version: '0'
|
279
204
|
requirements: []
|
280
|
-
rubygems_version: 3.
|
281
|
-
signing_key:
|
205
|
+
rubygems_version: 3.6.7
|
282
206
|
specification_version: 4
|
283
|
-
summary: GitHub API client
|
207
|
+
summary: GitHub API client that deals with Pull Requests
|
284
208
|
test_files: []
|
data/.simplecov
DELETED
@@ -1,38 +0,0 @@
|
|
1
|
-
# Copyright (c) 2022 Yegor Bugayenko
|
2
|
-
#
|
3
|
-
# Permission is hereby granted, free of charge, to any person obtaining a copy
|
4
|
-
# of this software and associated documentation files (the 'Software'), to deal
|
5
|
-
# in the Software without restriction, including without limitation the rights
|
6
|
-
# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
7
|
-
# copies of the Software, and to permit persons to whom the Software is
|
8
|
-
# furnished to do so, subject to the following conditions:
|
9
|
-
#
|
10
|
-
# The above copyright notice and this permission notice shall be included in all
|
11
|
-
# copies or substantial portions of the Software.
|
12
|
-
#
|
13
|
-
# THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
14
|
-
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
15
|
-
# FITNESS FOR A PARTICULAR PURPOSE AND NONINFINGEMENT. IN NO EVENT SHALL THE
|
16
|
-
# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
17
|
-
# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
18
|
-
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
19
|
-
# SOFTWARE.
|
20
|
-
|
21
|
-
if Gem.win_platform?
|
22
|
-
SimpleCov.formatter = SimpleCov::Formatter::MultiFormatter[
|
23
|
-
SimpleCov::Formatter::HTMLFormatter
|
24
|
-
]
|
25
|
-
SimpleCov.start do
|
26
|
-
add_filter '/test/'
|
27
|
-
add_filter '/features/'
|
28
|
-
end
|
29
|
-
else
|
30
|
-
SimpleCov.formatter = SimpleCov::Formatter::MultiFormatter.new(
|
31
|
-
[SimpleCov::Formatter::HTMLFormatter]
|
32
|
-
)
|
33
|
-
SimpleCov.start do
|
34
|
-
add_filter '/test/'
|
35
|
-
add_filter '/features/'
|
36
|
-
minimum_coverage 80
|
37
|
-
end
|
38
|
-
end
|