xaiml 0.1.4 → 0.1.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.rubocop.ruby.yml +5 -5
- data/Gemfile.lock +10 -10
- data/lib/xaiml/element.rb +3 -0
- data/lib/xaiml/version.rb +1 -1
- data/xaiml.gemspec +1 -1
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 531fbcbb84276e7741f3732bed7c34d920b396056af4a22c3fb72879a2ba1fcb
|
4
|
+
data.tar.gz: 63317766f0301bbc8fc173f716ac2d1cb66202ced361dd33d38e6f8641b48f95
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 516ec8a1856b5e4bee03165c627851aa131b15da4253dc4742e9804c2c1d6c7b571624e591bba776c5640c4c62fe78f2ee8e913715a7d5d40160346e2623a249
|
7
|
+
data.tar.gz: 26c8c0f551b4c5933df7f411ff76cb4144877d4059b99fc37dc1fdc2fd2023e6ee1276842e097e186fe53540039e71f4edbd8f0dc8b1f45c70aa43fba441655d
|
data/.rubocop.ruby.yml
CHANGED
@@ -29,12 +29,12 @@ Layout/ExtraSpacing:
|
|
29
29
|
# special_inside_parentheses (default) と比べて
|
30
30
|
# * 横に長くなりづらい
|
31
31
|
# * メソッド名の長さが変わったときに diff が少ない
|
32
|
-
Layout/
|
32
|
+
Layout/FirstArrayElementIndentation:
|
33
33
|
EnforcedStyle: consistent
|
34
34
|
|
35
35
|
# ({ と hash を開始した場合に ( の位置にインデントさせる
|
36
36
|
# そもそも {} が必要ない可能性が高いが Style/BracesAroundHashParameters はチェックしないことにしたので
|
37
|
-
Layout/
|
37
|
+
Layout/FirstHashElementIndentation:
|
38
38
|
EnforcedStyle: consistent
|
39
39
|
|
40
40
|
# private/protected は一段深くインデントする
|
@@ -129,7 +129,7 @@ Metrics/CyclomaticComplexity:
|
|
129
129
|
# * 警告 120文字
|
130
130
|
# * 禁止 160文字
|
131
131
|
# のイメージ
|
132
|
-
|
132
|
+
Layout/LineLength:
|
133
133
|
Max: 160
|
134
134
|
Exclude:
|
135
135
|
- "db/migrate/*.rb"
|
@@ -149,7 +149,7 @@ Metrics/PerceivedComplexity:
|
|
149
149
|
|
150
150
|
# has_ から始まるメソッドは許可する
|
151
151
|
Naming/PredicateName:
|
152
|
-
|
152
|
+
ForbiddenPrefixes:
|
153
153
|
- "is_"
|
154
154
|
- "have_"
|
155
155
|
NamePrefix:
|
@@ -160,7 +160,7 @@ Naming/PredicateName:
|
|
160
160
|
# n(umber) といった 1 文字変数は頻出するし、前置詞(by, to, ...)や
|
161
161
|
# よく知られた省略語 (op: operator とか pk: primary key とか) も妥当。
|
162
162
|
# 変数 s にどんな文字列かを形容したい場合と、不要な場合とがある=無効
|
163
|
-
Naming/
|
163
|
+
Naming/MethodParameterName:
|
164
164
|
Enabled: false
|
165
165
|
|
166
166
|
#################### Performance ###########################
|
data/Gemfile.lock
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
xaiml (0.1.
|
4
|
+
xaiml (0.1.5)
|
5
5
|
ox (~> 2.10.0)
|
6
6
|
|
7
7
|
GEM
|
@@ -22,19 +22,19 @@ GEM
|
|
22
22
|
diff-lcs (1.3)
|
23
23
|
equalizer (0.0.11)
|
24
24
|
ice_nine (0.11.2)
|
25
|
-
jaro_winkler (1.5.
|
25
|
+
jaro_winkler (1.5.4)
|
26
26
|
kwalify (0.7.2)
|
27
27
|
method_source (0.9.2)
|
28
28
|
ox (2.10.1)
|
29
|
-
parallel (1.
|
30
|
-
parser (2.6.
|
29
|
+
parallel (1.19.1)
|
30
|
+
parser (2.6.5.0)
|
31
31
|
ast (~> 2.4.0)
|
32
32
|
pry (0.12.2)
|
33
33
|
coderay (~> 1.1.0)
|
34
34
|
method_source (~> 0.9.0)
|
35
35
|
psych (3.1.0)
|
36
36
|
rainbow (3.0.0)
|
37
|
-
rake (
|
37
|
+
rake (13.0.1)
|
38
38
|
reek (5.4.0)
|
39
39
|
codeclimate-engine-rb (~> 0.4.0)
|
40
40
|
kwalify (~> 0.7.0)
|
@@ -56,20 +56,20 @@ GEM
|
|
56
56
|
rspec-support (3.8.2)
|
57
57
|
rspec_junit_formatter (0.4.1)
|
58
58
|
rspec-core (>= 2, < 4, != 2.12.0)
|
59
|
-
rubocop (0.
|
59
|
+
rubocop (0.78.0)
|
60
60
|
jaro_winkler (~> 1.5.1)
|
61
61
|
parallel (~> 1.10)
|
62
62
|
parser (>= 2.6)
|
63
63
|
rainbow (>= 2.2.2, < 4.0)
|
64
64
|
ruby-progressbar (~> 1.7)
|
65
65
|
unicode-display_width (>= 1.4.0, < 1.7)
|
66
|
-
rubocop-performance (1.
|
66
|
+
rubocop-performance (1.5.1)
|
67
67
|
rubocop (>= 0.71.0)
|
68
68
|
rubocop-rspec (1.35.0)
|
69
69
|
rubocop (>= 0.60.0)
|
70
70
|
ruby-progressbar (1.10.1)
|
71
71
|
thread_safe (0.3.6)
|
72
|
-
unicode-display_width (1.6.
|
72
|
+
unicode-display_width (1.6.1)
|
73
73
|
virtus (1.0.5)
|
74
74
|
axiom-types (~> 0.1)
|
75
75
|
coercible (~> 1.0)
|
@@ -82,7 +82,7 @@ PLATFORMS
|
|
82
82
|
DEPENDENCIES
|
83
83
|
bundler
|
84
84
|
pry
|
85
|
-
rake (~>
|
85
|
+
rake (~> 13.0)
|
86
86
|
reek
|
87
87
|
rspec
|
88
88
|
rspec_junit_formatter
|
@@ -92,4 +92,4 @@ DEPENDENCIES
|
|
92
92
|
xaiml!
|
93
93
|
|
94
94
|
BUNDLED WITH
|
95
|
-
2.
|
95
|
+
2.1.4
|
data/lib/xaiml/element.rb
CHANGED
@@ -4,6 +4,7 @@ module XAIML
|
|
4
4
|
module Element
|
5
5
|
autoload :Base, "xaiml/element/base"
|
6
6
|
class Arg < Base; end
|
7
|
+
class Bot < Base; end
|
7
8
|
class BotId < Base; end
|
8
9
|
class Calc < Base; end
|
9
10
|
class Command < Base; end
|
@@ -16,7 +17,9 @@ module XAIML
|
|
16
17
|
class Name < Base; end
|
17
18
|
class Pattern < Base; end
|
18
19
|
class Predstore < Base; end
|
20
|
+
class Random < Base; end
|
19
21
|
class Set < Base; end
|
22
|
+
class Sr < Base; end
|
20
23
|
class Srai < Base; end
|
21
24
|
class Sraix < Base; end
|
22
25
|
class SraixTopic < Base; end
|
data/lib/xaiml/version.rb
CHANGED
data/xaiml.gemspec
CHANGED
@@ -22,7 +22,7 @@ Gem::Specification.new do |spec|
|
|
22
22
|
spec.add_dependency "ox", "~> 2.10.0"
|
23
23
|
spec.add_development_dependency "bundler"
|
24
24
|
spec.add_development_dependency "pry"
|
25
|
-
spec.add_development_dependency "rake", "~>
|
25
|
+
spec.add_development_dependency "rake", "~> 13.0"
|
26
26
|
spec.add_development_dependency "reek"
|
27
27
|
spec.add_development_dependency "rspec"
|
28
28
|
spec.add_development_dependency "rspec_junit_formatter"
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: xaiml
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- jagrament
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2020-08-11 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: ox
|
@@ -58,14 +58,14 @@ dependencies:
|
|
58
58
|
requirements:
|
59
59
|
- - "~>"
|
60
60
|
- !ruby/object:Gem::Version
|
61
|
-
version: '
|
61
|
+
version: '13.0'
|
62
62
|
type: :development
|
63
63
|
prerelease: false
|
64
64
|
version_requirements: !ruby/object:Gem::Requirement
|
65
65
|
requirements:
|
66
66
|
- - "~>"
|
67
67
|
- !ruby/object:Gem::Version
|
68
|
-
version: '
|
68
|
+
version: '13.0'
|
69
69
|
- !ruby/object:Gem::Dependency
|
70
70
|
name: reek
|
71
71
|
requirement: !ruby/object:Gem::Requirement
|