fbe 0.0.1
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 +7 -0
- data/.0pdd.yml +25 -0
- data/.gitattributes +7 -0
- data/.github/workflows/actionlint.yml +41 -0
- data/.github/workflows/codecov.yml +39 -0
- data/.github/workflows/copyrights.yml +30 -0
- data/.github/workflows/markdown-lint.yml +38 -0
- data/.github/workflows/pdd.yml +34 -0
- data/.github/workflows/rake.yml +44 -0
- data/.github/workflows/xcop.yml +30 -0
- data/.github/workflows/yamllint.yml +36 -0
- data/.gitignore +8 -0
- data/.pdd +7 -0
- data/.rubocop.yml +60 -0
- data/.rultor.yml +42 -0
- data/.simplecov +41 -0
- data/.yamllint.yml +24 -0
- data/Gemfile +34 -0
- data/Gemfile.lock +264 -0
- data/LICENSE.txt +21 -0
- data/README.md +30 -0
- data/Rakefile +66 -0
- data/fbe.gemspec +59 -0
- data/lib/fbe/conclude.rb +117 -0
- data/lib/fbe/fb.rb +45 -0
- data/lib/fbe/if_absent.rb +55 -0
- data/lib/fbe/iterate.rb +103 -0
- data/lib/fbe/octo.rb +260 -0
- data/lib/fbe/unmask_repos.rb +58 -0
- data/lib/fbe.rb +31 -0
- data/renovate.json +6 -0
- data/rules/basic.fe +158 -0
- data/test/fbe/test_conclude.rb +89 -0
- data/test/fbe/test_fb.rb +43 -0
- data/test/fbe/test_if_absent.rb +104 -0
- data/test/fbe/test_iterate.rb +53 -0
- data/test/fbe/test_octo.rb +46 -0
- data/test/fbe/test_unmask_repos.rb +57 -0
- data/test/test__helper.rb +31 -0
- data/test/test_fbe.rb +34 -0
- metadata +324 -0
data/test/fbe/test_fb.rb
ADDED
@@ -0,0 +1,43 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
# MIT License
|
4
|
+
#
|
5
|
+
# Copyright (c) 2024 Zerocracy
|
6
|
+
#
|
7
|
+
# Permission is hereby granted, free of charge, to any person obtaining a copy
|
8
|
+
# of this software and associated documentation files (the "Software"), to deal
|
9
|
+
# in the Software without restriction, including without limitation the rights
|
10
|
+
# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
11
|
+
# copies of the Software, and to permit persons to whom the Software is
|
12
|
+
# furnished to do so, subject to the following conditions:
|
13
|
+
#
|
14
|
+
# The above copyright notice and this permission notice shall be included in all
|
15
|
+
# copies or substantial portions of the Software.
|
16
|
+
#
|
17
|
+
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
18
|
+
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
19
|
+
# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
20
|
+
# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
21
|
+
# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
22
|
+
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
23
|
+
# SOFTWARE.
|
24
|
+
|
25
|
+
require 'minitest/autorun'
|
26
|
+
require 'factbase'
|
27
|
+
require 'judges/options'
|
28
|
+
require_relative '../../lib/fbe'
|
29
|
+
require_relative '../../lib/fbe/fb'
|
30
|
+
|
31
|
+
# Test.
|
32
|
+
# Author:: Yegor Bugayenko (yegor256@gmail.com)
|
33
|
+
# Copyright:: Copyright (c) 2024 Zerocracy
|
34
|
+
# License:: MIT
|
35
|
+
class TestFb < Minitest::Test
|
36
|
+
def test_simple
|
37
|
+
$fb = Factbase.new
|
38
|
+
$options = Judges::Options.new
|
39
|
+
Fbe.fb.insert.foo = 1
|
40
|
+
Fbe.fb.insert.bar = 2
|
41
|
+
assert_equal(1, Fbe.fb.query('(exists bar)').each.to_a.size)
|
42
|
+
end
|
43
|
+
end
|
@@ -0,0 +1,104 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
# MIT License
|
4
|
+
#
|
5
|
+
# Copyright (c) 2024 Zerocracy
|
6
|
+
#
|
7
|
+
# Permission is hereby granted, free of charge, to any person obtaining a copy
|
8
|
+
# of this software and associated documentation files (the "Software"), to deal
|
9
|
+
# in the Software without restriction, including without limitation the rights
|
10
|
+
# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
11
|
+
# copies of the Software, and to permit persons to whom the Software is
|
12
|
+
# furnished to do so, subject to the following conditions:
|
13
|
+
#
|
14
|
+
# The above copyright notice and this permission notice shall be included in all
|
15
|
+
# copies or substantial portions of the Software.
|
16
|
+
#
|
17
|
+
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
18
|
+
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
19
|
+
# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
20
|
+
# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
21
|
+
# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
22
|
+
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
23
|
+
# SOFTWARE.
|
24
|
+
|
25
|
+
require 'minitest/autorun'
|
26
|
+
require 'tmpdir'
|
27
|
+
require 'factbase'
|
28
|
+
require 'factbase/looged'
|
29
|
+
require 'loog'
|
30
|
+
require_relative '../../lib/fbe/if_absent'
|
31
|
+
|
32
|
+
# Test.
|
33
|
+
# Author:: Yegor Bugayenko (yegor256@gmail.com)
|
34
|
+
# Copyright:: Copyright (c) 2024 Zerocracy
|
35
|
+
# License:: MIT
|
36
|
+
class TestIfAbsent < Minitest::Test
|
37
|
+
def test_ignores
|
38
|
+
fb = Factbase.new
|
39
|
+
fb.insert.foo = 'hello dude'
|
40
|
+
n = Fbe.if_absent(fb) do |f|
|
41
|
+
f.foo = 'hello dude'
|
42
|
+
end
|
43
|
+
assert(n.nil?)
|
44
|
+
end
|
45
|
+
|
46
|
+
def test_ignores_with_time
|
47
|
+
fb = Factbase.new
|
48
|
+
t = Time.now
|
49
|
+
fb.insert.foo = t
|
50
|
+
n = Fbe.if_absent(fb) do |f|
|
51
|
+
f.foo = t
|
52
|
+
end
|
53
|
+
assert(n.nil?)
|
54
|
+
end
|
55
|
+
|
56
|
+
def test_injects
|
57
|
+
fb = Factbase.new
|
58
|
+
n = Fbe.if_absent(fb) do |f|
|
59
|
+
f.foo = 42
|
60
|
+
end
|
61
|
+
assert_equal(42, n.foo)
|
62
|
+
end
|
63
|
+
|
64
|
+
def test_injects_and_reads
|
65
|
+
Fbe.if_absent(Factbase.new) do |f|
|
66
|
+
f.foo = 42
|
67
|
+
assert_equal(42, f.foo)
|
68
|
+
end
|
69
|
+
end
|
70
|
+
|
71
|
+
def test_complex_ignores
|
72
|
+
fb = Factbase.new
|
73
|
+
f1 = fb.insert
|
74
|
+
f1.foo = 'hello, "dude"!'
|
75
|
+
f1.abc = 42
|
76
|
+
t = Time.now
|
77
|
+
f1.z = t
|
78
|
+
f1.bar = 3.14
|
79
|
+
n = Fbe.if_absent(fb) do |f|
|
80
|
+
f.foo = 'hello, "dude"!'
|
81
|
+
f.abc = 42
|
82
|
+
f.z = t
|
83
|
+
f.bar = 3.14
|
84
|
+
end
|
85
|
+
assert(n.nil?)
|
86
|
+
end
|
87
|
+
|
88
|
+
def test_complex_injects
|
89
|
+
fb = Factbase.new
|
90
|
+
f1 = fb.insert
|
91
|
+
f1.foo = 'hello, dude!'
|
92
|
+
f1.abc = 42
|
93
|
+
t = Time.now
|
94
|
+
f1.z = t
|
95
|
+
f1.bar = 3.14
|
96
|
+
n = Fbe.if_absent(fb) do |f|
|
97
|
+
f.foo = "hello, \\\"dude\\\" \\' \\' ( \n\n ) (! '"
|
98
|
+
f.abc = 42
|
99
|
+
f.z = t + 1
|
100
|
+
f.bar = 3.15
|
101
|
+
end
|
102
|
+
assert(!n.nil?)
|
103
|
+
end
|
104
|
+
end
|
@@ -0,0 +1,53 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
# MIT License
|
4
|
+
#
|
5
|
+
# Copyright (c) 2024 Zerocracy
|
6
|
+
#
|
7
|
+
# Permission is hereby granted, free of charge, to any person obtaining a copy
|
8
|
+
# of this software and associated documentation files (the "Software"), to deal
|
9
|
+
# in the Software without restriction, including without limitation the rights
|
10
|
+
# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
11
|
+
# copies of the Software, and to permit persons to whom the Software is
|
12
|
+
# furnished to do so, subject to the following conditions:
|
13
|
+
#
|
14
|
+
# The above copyright notice and this permission notice shall be included in all
|
15
|
+
# copies or substantial portions of the Software.
|
16
|
+
#
|
17
|
+
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
18
|
+
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
19
|
+
# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
20
|
+
# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
21
|
+
# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
22
|
+
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
23
|
+
# SOFTWARE.
|
24
|
+
|
25
|
+
require 'minitest/autorun'
|
26
|
+
require 'loog'
|
27
|
+
require 'factbase'
|
28
|
+
require 'judges/options'
|
29
|
+
require_relative '../../lib/fbe/iterate'
|
30
|
+
|
31
|
+
# Test.
|
32
|
+
# Author:: Yegor Bugayenko (yegor256@gmail.com)
|
33
|
+
# Copyright:: Copyright (c) 2024 Zerocracy
|
34
|
+
# License:: MIT
|
35
|
+
class TestIterate < Minitest::Test
|
36
|
+
def test_simple
|
37
|
+
$options = Judges::Options.new(['repositories=foo/bar', 'testing=true'])
|
38
|
+
$global = {}
|
39
|
+
$fb = Factbase.new
|
40
|
+
$fb.insert.foo = 42
|
41
|
+
Fbe.iterate($fb, Loog::NULL) do
|
42
|
+
as 'labels-were-scanned'
|
43
|
+
by '(agg (always) (max foo))'
|
44
|
+
limit 2
|
45
|
+
over do |_repository, foo|
|
46
|
+
f = $fb.insert
|
47
|
+
f.foo = foo + 1
|
48
|
+
f.foo
|
49
|
+
end
|
50
|
+
end
|
51
|
+
assert_equal(4, $fb.size)
|
52
|
+
end
|
53
|
+
end
|
@@ -0,0 +1,46 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
# MIT License
|
4
|
+
#
|
5
|
+
# Copyright (c) 2024 Zerocracy
|
6
|
+
#
|
7
|
+
# Permission is hereby granted, free of charge, to any person obtaining a copy
|
8
|
+
# of this software and associated documentation files (the "Software"), to deal
|
9
|
+
# in the Software without restriction, including without limitation the rights
|
10
|
+
# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
11
|
+
# copies of the Software, and to permit persons to whom the Software is
|
12
|
+
# furnished to do so, subject to the following conditions:
|
13
|
+
#
|
14
|
+
# The above copyright notice and this permission notice shall be included in all
|
15
|
+
# copies or substantial portions of the Software.
|
16
|
+
#
|
17
|
+
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
18
|
+
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
19
|
+
# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
20
|
+
# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
21
|
+
# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
22
|
+
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
23
|
+
# SOFTWARE.
|
24
|
+
|
25
|
+
require 'minitest/autorun'
|
26
|
+
require 'judges/options'
|
27
|
+
require 'loog'
|
28
|
+
require_relative '../../lib/fbe/octo'
|
29
|
+
|
30
|
+
# Test.
|
31
|
+
# Author:: Yegor Bugayenko (yegor256@gmail.com)
|
32
|
+
# Copyright:: Copyright (c) 2024 Zerocracy
|
33
|
+
# License:: MIT
|
34
|
+
class TestOcto < Minitest::Test
|
35
|
+
def test_simple_use
|
36
|
+
global = {}
|
37
|
+
options = Judges::Options.new({ 'testing' => true })
|
38
|
+
o = Fbe.octo(loog: Loog::NULL, global:, options:)
|
39
|
+
assert(!o.off_quota)
|
40
|
+
end
|
41
|
+
|
42
|
+
def test_rate_limit
|
43
|
+
o = Fbe::FakeOctokit.new
|
44
|
+
assert_equal(100, o.rate_limit.remaining)
|
45
|
+
end
|
46
|
+
end
|
@@ -0,0 +1,57 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
# MIT License
|
4
|
+
#
|
5
|
+
# Copyright (c) 2024 Zerocracy
|
6
|
+
#
|
7
|
+
# Permission is hereby granted, free of charge, to any person obtaining a copy
|
8
|
+
# of this software and associated documentation files (the "Software"), to deal
|
9
|
+
# in the Software without restriction, including without limitation the rights
|
10
|
+
# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
11
|
+
# copies of the Software, and to permit persons to whom the Software is
|
12
|
+
# furnished to do so, subject to the following conditions:
|
13
|
+
#
|
14
|
+
# The above copyright notice and this permission notice shall be included in all
|
15
|
+
# copies or substantial portions of the Software.
|
16
|
+
#
|
17
|
+
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
18
|
+
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
19
|
+
# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
20
|
+
# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
21
|
+
# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
22
|
+
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
23
|
+
# SOFTWARE.
|
24
|
+
|
25
|
+
require 'minitest/autorun'
|
26
|
+
require 'judges/options'
|
27
|
+
require 'loog'
|
28
|
+
require_relative '../../lib/fbe/unmask_repos'
|
29
|
+
|
30
|
+
# Test.
|
31
|
+
# Author:: Yegor Bugayenko (yegor256@gmail.com)
|
32
|
+
# Copyright:: Copyright (c) 2024 Zerocracy
|
33
|
+
# License:: MIT
|
34
|
+
class TestUnmaskRepos < Minitest::Test
|
35
|
+
def test_simple_use
|
36
|
+
opts = Judges::Options.new(
|
37
|
+
{
|
38
|
+
'testing' => true,
|
39
|
+
'repositories' => 'yegor256/tacit,zerocracy/*,-zerocracy/judges-action'
|
40
|
+
}
|
41
|
+
)
|
42
|
+
assert(Fbe.unmask_repos(options: opts, global: {}, loog: Loog::NULL).size.positive?)
|
43
|
+
end
|
44
|
+
|
45
|
+
def test_live_usage
|
46
|
+
skip('Run it only manually, since it touches GitHub API')
|
47
|
+
Judges::Options.new(
|
48
|
+
{
|
49
|
+
'repositories' => 'zerocracy/*,-zerocracy/judges-action'
|
50
|
+
}
|
51
|
+
)
|
52
|
+
list = Fbe.unmask_repos(options: opts, global: {}, loog: Loog::NULL)
|
53
|
+
assert(list.size.positive?)
|
54
|
+
assert(list.include?('zerocracy/pages-action'))
|
55
|
+
assert(!list.include?('zerocracy/judges-action'))
|
56
|
+
end
|
57
|
+
end
|
@@ -0,0 +1,31 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
# Copyright (c) 2024 Zerocracy
|
4
|
+
#
|
5
|
+
# Permission is hereby granted, free of charge, to any person obtaining a copy
|
6
|
+
# of this software and associated documentation files (the 'Software'), to deal
|
7
|
+
# in the Software without restriction, including without limitation the rights
|
8
|
+
# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
9
|
+
# copies of the Software, and to permit persons to whom the Software is
|
10
|
+
# furnished to do so, subject to the following conditions:
|
11
|
+
#
|
12
|
+
# The above copyright notice and this permission notice shall be included in all
|
13
|
+
# copies or substantial portions of the Software.
|
14
|
+
#
|
15
|
+
# THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
16
|
+
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
17
|
+
# FITNESS FOR A PARTICULAR PURPOSE AND NONINFINGEMENT. IN NO EVENT SHALL THE
|
18
|
+
# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
19
|
+
# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
20
|
+
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
21
|
+
# SOFTWARE.
|
22
|
+
|
23
|
+
$stdout.sync = true
|
24
|
+
|
25
|
+
require 'simplecov'
|
26
|
+
SimpleCov.start
|
27
|
+
|
28
|
+
require 'simplecov-cobertura'
|
29
|
+
SimpleCov.formatter = SimpleCov::Formatter::CoberturaFormatter
|
30
|
+
|
31
|
+
require 'minitest/autorun'
|
data/test/test_fbe.rb
ADDED
@@ -0,0 +1,34 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
# Copyright (c) 2024 Zerocracy
|
4
|
+
#
|
5
|
+
# Permission is hereby granted, free of charge, to any person obtaining a copy
|
6
|
+
# of this software and associated documentation files (the 'Software'), to deal
|
7
|
+
# in the Software without restriction, including without limitation the rights
|
8
|
+
# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
9
|
+
# copies of the Software, and to permit persons to whom the Software is
|
10
|
+
# furnished to do so, subject to the following conditions:
|
11
|
+
#
|
12
|
+
# The above copyright notice and this permission notice shall be included in all
|
13
|
+
# copies or substantial portions of the Software.
|
14
|
+
#
|
15
|
+
# THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
16
|
+
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
17
|
+
# FITNESS FOR A PARTICULAR PURPOSE AND NONINFINGEMENT. IN NO EVENT SHALL THE
|
18
|
+
# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
19
|
+
# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
20
|
+
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
21
|
+
# SOFTWARE.
|
22
|
+
|
23
|
+
require 'minitest/autorun'
|
24
|
+
require_relative '../lib/fbe'
|
25
|
+
|
26
|
+
# Main module test.
|
27
|
+
# Author:: Yegor Bugayenko (yegor256@gmail.com)
|
28
|
+
# Copyright:: Copyright (c) 2024 Zerocracy
|
29
|
+
# License:: MIT
|
30
|
+
class TestFbe < Minitest::Test
|
31
|
+
def test_simple
|
32
|
+
assert(!Fbe::VERSION.nil?)
|
33
|
+
end
|
34
|
+
end
|
metadata
ADDED
@@ -0,0 +1,324 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: fbe
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.0.1
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- Yegor Bugayenko
|
8
|
+
autorequire:
|
9
|
+
bindir: bin
|
10
|
+
cert_chain: []
|
11
|
+
date: 2024-06-26 00:00:00.000000000 Z
|
12
|
+
dependencies:
|
13
|
+
- !ruby/object:Gem::Dependency
|
14
|
+
name: backtrace
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
16
|
+
requirements:
|
17
|
+
- - "~>"
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: '0.3'
|
20
|
+
type: :runtime
|
21
|
+
prerelease: false
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
23
|
+
requirements:
|
24
|
+
- - "~>"
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: '0.3'
|
27
|
+
- !ruby/object:Gem::Dependency
|
28
|
+
name: decoor
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
30
|
+
requirements:
|
31
|
+
- - "~>"
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: '0.0'
|
34
|
+
type: :runtime
|
35
|
+
prerelease: false
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
37
|
+
requirements:
|
38
|
+
- - "~>"
|
39
|
+
- !ruby/object:Gem::Version
|
40
|
+
version: '0.0'
|
41
|
+
- !ruby/object:Gem::Dependency
|
42
|
+
name: factbase
|
43
|
+
requirement: !ruby/object:Gem::Requirement
|
44
|
+
requirements:
|
45
|
+
- - "~>"
|
46
|
+
- !ruby/object:Gem::Version
|
47
|
+
version: '0.0'
|
48
|
+
type: :runtime
|
49
|
+
prerelease: false
|
50
|
+
version_requirements: !ruby/object:Gem::Requirement
|
51
|
+
requirements:
|
52
|
+
- - "~>"
|
53
|
+
- !ruby/object:Gem::Version
|
54
|
+
version: '0.0'
|
55
|
+
- !ruby/object:Gem::Dependency
|
56
|
+
name: faraday
|
57
|
+
requirement: !ruby/object:Gem::Requirement
|
58
|
+
requirements:
|
59
|
+
- - '='
|
60
|
+
- !ruby/object:Gem::Version
|
61
|
+
version: 2.9.1
|
62
|
+
type: :runtime
|
63
|
+
prerelease: false
|
64
|
+
version_requirements: !ruby/object:Gem::Requirement
|
65
|
+
requirements:
|
66
|
+
- - '='
|
67
|
+
- !ruby/object:Gem::Version
|
68
|
+
version: 2.9.1
|
69
|
+
- !ruby/object:Gem::Dependency
|
70
|
+
name: faraday-http-cache
|
71
|
+
requirement: !ruby/object:Gem::Requirement
|
72
|
+
requirements:
|
73
|
+
- - '='
|
74
|
+
- !ruby/object:Gem::Version
|
75
|
+
version: 2.5.1
|
76
|
+
type: :runtime
|
77
|
+
prerelease: false
|
78
|
+
version_requirements: !ruby/object:Gem::Requirement
|
79
|
+
requirements:
|
80
|
+
- - '='
|
81
|
+
- !ruby/object:Gem::Version
|
82
|
+
version: 2.5.1
|
83
|
+
- !ruby/object:Gem::Dependency
|
84
|
+
name: faraday-multipart
|
85
|
+
requirement: !ruby/object:Gem::Requirement
|
86
|
+
requirements:
|
87
|
+
- - '='
|
88
|
+
- !ruby/object:Gem::Version
|
89
|
+
version: 1.0.4
|
90
|
+
type: :runtime
|
91
|
+
prerelease: false
|
92
|
+
version_requirements: !ruby/object:Gem::Requirement
|
93
|
+
requirements:
|
94
|
+
- - '='
|
95
|
+
- !ruby/object:Gem::Version
|
96
|
+
version: 1.0.4
|
97
|
+
- !ruby/object:Gem::Dependency
|
98
|
+
name: faraday-retry
|
99
|
+
requirement: !ruby/object:Gem::Requirement
|
100
|
+
requirements:
|
101
|
+
- - '='
|
102
|
+
- !ruby/object:Gem::Version
|
103
|
+
version: 2.2.1
|
104
|
+
type: :runtime
|
105
|
+
prerelease: false
|
106
|
+
version_requirements: !ruby/object:Gem::Requirement
|
107
|
+
requirements:
|
108
|
+
- - '='
|
109
|
+
- !ruby/object:Gem::Version
|
110
|
+
version: 2.2.1
|
111
|
+
- !ruby/object:Gem::Dependency
|
112
|
+
name: json
|
113
|
+
requirement: !ruby/object:Gem::Requirement
|
114
|
+
requirements:
|
115
|
+
- - "~>"
|
116
|
+
- !ruby/object:Gem::Version
|
117
|
+
version: '2.7'
|
118
|
+
type: :runtime
|
119
|
+
prerelease: false
|
120
|
+
version_requirements: !ruby/object:Gem::Requirement
|
121
|
+
requirements:
|
122
|
+
- - "~>"
|
123
|
+
- !ruby/object:Gem::Version
|
124
|
+
version: '2.7'
|
125
|
+
- !ruby/object:Gem::Dependency
|
126
|
+
name: judges
|
127
|
+
requirement: !ruby/object:Gem::Requirement
|
128
|
+
requirements:
|
129
|
+
- - "~>"
|
130
|
+
- !ruby/object:Gem::Version
|
131
|
+
version: '0.0'
|
132
|
+
type: :runtime
|
133
|
+
prerelease: false
|
134
|
+
version_requirements: !ruby/object:Gem::Requirement
|
135
|
+
requirements:
|
136
|
+
- - "~>"
|
137
|
+
- !ruby/object:Gem::Version
|
138
|
+
version: '0.0'
|
139
|
+
- !ruby/object:Gem::Dependency
|
140
|
+
name: loog
|
141
|
+
requirement: !ruby/object:Gem::Requirement
|
142
|
+
requirements:
|
143
|
+
- - "~>"
|
144
|
+
- !ruby/object:Gem::Version
|
145
|
+
version: '0.2'
|
146
|
+
type: :runtime
|
147
|
+
prerelease: false
|
148
|
+
version_requirements: !ruby/object:Gem::Requirement
|
149
|
+
requirements:
|
150
|
+
- - "~>"
|
151
|
+
- !ruby/object:Gem::Version
|
152
|
+
version: '0.2'
|
153
|
+
- !ruby/object:Gem::Dependency
|
154
|
+
name: nokogiri
|
155
|
+
requirement: !ruby/object:Gem::Requirement
|
156
|
+
requirements:
|
157
|
+
- - "~>"
|
158
|
+
- !ruby/object:Gem::Version
|
159
|
+
version: '1.10'
|
160
|
+
type: :runtime
|
161
|
+
prerelease: false
|
162
|
+
version_requirements: !ruby/object:Gem::Requirement
|
163
|
+
requirements:
|
164
|
+
- - "~>"
|
165
|
+
- !ruby/object:Gem::Version
|
166
|
+
version: '1.10'
|
167
|
+
- !ruby/object:Gem::Dependency
|
168
|
+
name: obk
|
169
|
+
requirement: !ruby/object:Gem::Requirement
|
170
|
+
requirements:
|
171
|
+
- - "~>"
|
172
|
+
- !ruby/object:Gem::Version
|
173
|
+
version: '0.0'
|
174
|
+
type: :runtime
|
175
|
+
prerelease: false
|
176
|
+
version_requirements: !ruby/object:Gem::Requirement
|
177
|
+
requirements:
|
178
|
+
- - "~>"
|
179
|
+
- !ruby/object:Gem::Version
|
180
|
+
version: '0.0'
|
181
|
+
- !ruby/object:Gem::Dependency
|
182
|
+
name: octokit
|
183
|
+
requirement: !ruby/object:Gem::Requirement
|
184
|
+
requirements:
|
185
|
+
- - "~>"
|
186
|
+
- !ruby/object:Gem::Version
|
187
|
+
version: 9.1.0
|
188
|
+
type: :runtime
|
189
|
+
prerelease: false
|
190
|
+
version_requirements: !ruby/object:Gem::Requirement
|
191
|
+
requirements:
|
192
|
+
- - "~>"
|
193
|
+
- !ruby/object:Gem::Version
|
194
|
+
version: 9.1.0
|
195
|
+
- !ruby/object:Gem::Dependency
|
196
|
+
name: others
|
197
|
+
requirement: !ruby/object:Gem::Requirement
|
198
|
+
requirements:
|
199
|
+
- - "~>"
|
200
|
+
- !ruby/object:Gem::Version
|
201
|
+
version: '0.0'
|
202
|
+
type: :runtime
|
203
|
+
prerelease: false
|
204
|
+
version_requirements: !ruby/object:Gem::Requirement
|
205
|
+
requirements:
|
206
|
+
- - "~>"
|
207
|
+
- !ruby/object:Gem::Version
|
208
|
+
version: '0.0'
|
209
|
+
- !ruby/object:Gem::Dependency
|
210
|
+
name: tago
|
211
|
+
requirement: !ruby/object:Gem::Requirement
|
212
|
+
requirements:
|
213
|
+
- - "~>"
|
214
|
+
- !ruby/object:Gem::Version
|
215
|
+
version: '0.0'
|
216
|
+
type: :runtime
|
217
|
+
prerelease: false
|
218
|
+
version_requirements: !ruby/object:Gem::Requirement
|
219
|
+
requirements:
|
220
|
+
- - "~>"
|
221
|
+
- !ruby/object:Gem::Version
|
222
|
+
version: '0.0'
|
223
|
+
- !ruby/object:Gem::Dependency
|
224
|
+
name: verbose
|
225
|
+
requirement: !ruby/object:Gem::Requirement
|
226
|
+
requirements:
|
227
|
+
- - "~>"
|
228
|
+
- !ruby/object:Gem::Version
|
229
|
+
version: '0.0'
|
230
|
+
type: :runtime
|
231
|
+
prerelease: false
|
232
|
+
version_requirements: !ruby/object:Gem::Requirement
|
233
|
+
requirements:
|
234
|
+
- - "~>"
|
235
|
+
- !ruby/object:Gem::Version
|
236
|
+
version: '0.0'
|
237
|
+
- !ruby/object:Gem::Dependency
|
238
|
+
name: yaml
|
239
|
+
requirement: !ruby/object:Gem::Requirement
|
240
|
+
requirements:
|
241
|
+
- - "~>"
|
242
|
+
- !ruby/object:Gem::Version
|
243
|
+
version: '0.3'
|
244
|
+
type: :runtime
|
245
|
+
prerelease: false
|
246
|
+
version_requirements: !ruby/object:Gem::Requirement
|
247
|
+
requirements:
|
248
|
+
- - "~>"
|
249
|
+
- !ruby/object:Gem::Version
|
250
|
+
version: '0.3'
|
251
|
+
description: A collection of extensions for a factbase, helping the judges of Zerocracy
|
252
|
+
manipulate the facts and create new ones
|
253
|
+
email: yegor256@gmail.com
|
254
|
+
executables: []
|
255
|
+
extensions: []
|
256
|
+
extra_rdoc_files:
|
257
|
+
- README.md
|
258
|
+
- LICENSE.txt
|
259
|
+
files:
|
260
|
+
- ".0pdd.yml"
|
261
|
+
- ".gitattributes"
|
262
|
+
- ".github/workflows/actionlint.yml"
|
263
|
+
- ".github/workflows/codecov.yml"
|
264
|
+
- ".github/workflows/copyrights.yml"
|
265
|
+
- ".github/workflows/markdown-lint.yml"
|
266
|
+
- ".github/workflows/pdd.yml"
|
267
|
+
- ".github/workflows/rake.yml"
|
268
|
+
- ".github/workflows/xcop.yml"
|
269
|
+
- ".github/workflows/yamllint.yml"
|
270
|
+
- ".gitignore"
|
271
|
+
- ".pdd"
|
272
|
+
- ".rubocop.yml"
|
273
|
+
- ".rultor.yml"
|
274
|
+
- ".simplecov"
|
275
|
+
- ".yamllint.yml"
|
276
|
+
- Gemfile
|
277
|
+
- Gemfile.lock
|
278
|
+
- LICENSE.txt
|
279
|
+
- README.md
|
280
|
+
- Rakefile
|
281
|
+
- fbe.gemspec
|
282
|
+
- lib/fbe.rb
|
283
|
+
- lib/fbe/conclude.rb
|
284
|
+
- lib/fbe/fb.rb
|
285
|
+
- lib/fbe/if_absent.rb
|
286
|
+
- lib/fbe/iterate.rb
|
287
|
+
- lib/fbe/octo.rb
|
288
|
+
- lib/fbe/unmask_repos.rb
|
289
|
+
- renovate.json
|
290
|
+
- rules/basic.fe
|
291
|
+
- test/fbe/test_conclude.rb
|
292
|
+
- test/fbe/test_fb.rb
|
293
|
+
- test/fbe/test_if_absent.rb
|
294
|
+
- test/fbe/test_iterate.rb
|
295
|
+
- test/fbe/test_octo.rb
|
296
|
+
- test/fbe/test_unmask_repos.rb
|
297
|
+
- test/test__helper.rb
|
298
|
+
- test/test_fbe.rb
|
299
|
+
homepage: http://github.com/zerocracy/fbe
|
300
|
+
licenses:
|
301
|
+
- MIT
|
302
|
+
metadata:
|
303
|
+
rubygems_mfa_required: 'true'
|
304
|
+
post_install_message:
|
305
|
+
rdoc_options:
|
306
|
+
- "--charset=UTF-8"
|
307
|
+
require_paths:
|
308
|
+
- lib
|
309
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
310
|
+
requirements:
|
311
|
+
- - ">="
|
312
|
+
- !ruby/object:Gem::Version
|
313
|
+
version: '3.0'
|
314
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
315
|
+
requirements:
|
316
|
+
- - ">="
|
317
|
+
- !ruby/object:Gem::Version
|
318
|
+
version: '0'
|
319
|
+
requirements: []
|
320
|
+
rubygems_version: 3.4.10
|
321
|
+
signing_key:
|
322
|
+
specification_version: 4
|
323
|
+
summary: FactBase Extended (FBE), a collection of utility classes for Zerocracy judges
|
324
|
+
test_files: []
|