prolog_mqi 0.1.2 → 0.1.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.rubocop.yml +0 -0
- data/CODE_OF_CONDUCT.md +0 -0
- data/Gemfile +0 -0
- data/LICENSE +0 -0
- data/LICENSE.txt +0 -0
- data/README.md +0 -0
- data/Rakefile +2 -8
- data/lib/prolog_mqi/errors.rb +0 -0
- data/lib/prolog_mqi/parser.rb +1 -1
- data/lib/prolog_mqi/prolog_mqi.rb +0 -0
- data/lib/prolog_mqi/term.rb +2 -0
- data/lib/prolog_mqi/version.rb +1 -1
- data/lib/prolog_mqi.rb +0 -0
- data/prolog_mqi.gemspec +0 -0
- metadata +5 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 9f35b738ec7ec89d245a4e28da19b5de4e25914eedd96cf39089d45e3784eb71
|
4
|
+
data.tar.gz: 6b329338aa908127711306beef8eb0a69adeafb8d121a721e44713132200cb1d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 936772746937d42e180bc0b7c67f660552fac2dfef5214ebfd799bd4575f688afec94d3f98512fc3814ef44c83cdfe2c01625d9388d6c65cc050f308bd24dea9
|
7
|
+
data.tar.gz: 88c5b5427abb9a06b8dd815f31467c68effacdfbe078c92d38f36456d050336e33cd274424cb1830812c1d8b3ee78a097dac4c21b197f6478ed0287a613462fc
|
data/.rubocop.yml
CHANGED
File without changes
|
data/CODE_OF_CONDUCT.md
CHANGED
File without changes
|
data/Gemfile
CHANGED
File without changes
|
data/LICENSE
CHANGED
File without changes
|
data/LICENSE.txt
CHANGED
File without changes
|
data/README.md
CHANGED
File without changes
|
data/Rakefile
CHANGED
@@ -6,17 +6,11 @@ require 'rake/testtask'
|
|
6
6
|
Rake::TestTask.new(:test) do |t|
|
7
7
|
t.libs << 'test'
|
8
8
|
t.libs << 'lib'
|
9
|
-
t.test_files = FileList['test/**/test_*.rb']
|
10
|
-
end
|
11
|
-
|
12
|
-
Rake::TestTask.new(:bench) do |t|
|
13
|
-
t.libs << 'test'
|
14
|
-
t.libs << 'lib'
|
15
|
-
t.test_files = FileList['test/**/bench_*.rb']
|
9
|
+
t.test_files = FileList['test/**/test_*.rb', 'test/**/bench_*.rb']
|
16
10
|
end
|
17
11
|
|
18
12
|
require 'rubocop/rake_task'
|
19
13
|
|
20
14
|
RuboCop::RakeTask.new
|
21
15
|
|
22
|
-
task default: %i[test
|
16
|
+
task default: %i[test rubocop]
|
data/lib/prolog_mqi/errors.rb
CHANGED
File without changes
|
data/lib/prolog_mqi/parser.rb
CHANGED
@@ -15,7 +15,7 @@ module PrologMQI
|
|
15
15
|
# rubocop:disable Metrics/CyclomaticComplexity
|
16
16
|
def handle_error
|
17
17
|
return unless @term.name == 'exception'
|
18
|
-
raise PrologError, @term unless
|
18
|
+
raise PrologError, @term unless @term.args && @term.args.length >= 1
|
19
19
|
|
20
20
|
case @term.args[0]
|
21
21
|
when 'no_more_results'
|
File without changes
|
data/lib/prolog_mqi/term.rb
CHANGED
data/lib/prolog_mqi/version.rb
CHANGED
data/lib/prolog_mqi.rb
CHANGED
File without changes
|
data/prolog_mqi.gemspec
CHANGED
File without changes
|
metadata
CHANGED
@@ -1,11 +1,11 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: prolog_mqi
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Delton Ding
|
8
|
-
autorequire:
|
8
|
+
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
11
|
date: 2023-07-02 00:00:00.000000000 Z
|
@@ -38,7 +38,7 @@ metadata:
|
|
38
38
|
homepage_uri: https://github.com/yet-another-ai/prologmqi.rb
|
39
39
|
source_code_uri: https://github.com/yet-another-ai/prologmqi.rb
|
40
40
|
rubygems_mfa_required: 'true'
|
41
|
-
post_install_message:
|
41
|
+
post_install_message:
|
42
42
|
rdoc_options: []
|
43
43
|
require_paths:
|
44
44
|
- lib
|
@@ -53,8 +53,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
53
53
|
- !ruby/object:Gem::Version
|
54
54
|
version: '0'
|
55
55
|
requirements: []
|
56
|
-
rubygems_version: 3.4.
|
57
|
-
signing_key:
|
56
|
+
rubygems_version: 3.4.10
|
57
|
+
signing_key:
|
58
58
|
specification_version: 4
|
59
59
|
summary: Yet Another Prolog Interface for Ruby.
|
60
60
|
test_files: []
|