xaiml 0.1.5 → 0.1.6
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/.github/workflows/ci.yml +23 -0
- data/.github/workflows/release.yml +24 -0
- data/.ruby-version +1 -1
- data/CHANGELOG.md +11 -0
- data/Gemfile.lock +98 -64
- data/README.md +19 -7
- data/lib/xaiml/version.rb +1 -1
- data/xaiml.gemspec +2 -1
- metadata +12 -9
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 57171647b340da0103aed0c2b0a35d3b53a690ce1bd0d71f529f0fa215fd3eb7
|
4
|
+
data.tar.gz: f93d5bf95339c0a7570704f53d593cc77c79bebb102b15bcbe68791f3c9981aa
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 20a4186424ba6113b8af002963161f76b6b750fcd392a73fd6ea59946201704b2ec37b09ab923b2bd495a6de385ad810b84ad96f704800950234625cc9cbbf30
|
7
|
+
data.tar.gz: 7c48007b52b40d4fce6f71d3d8a9ba53b7d0dc103e310c2dc1a36e4306d1c7164b632cd1f66082b85fa8c4dbd5df2d94cda2b63476350c69ea9a99d0f6ca557d
|
@@ -0,0 +1,23 @@
|
|
1
|
+
name: Ruby CI
|
2
|
+
|
3
|
+
on:
|
4
|
+
push:
|
5
|
+
branches: [ main, release/* ]
|
6
|
+
pull_request:
|
7
|
+
|
8
|
+
jobs:
|
9
|
+
test:
|
10
|
+
runs-on: ubuntu-latest
|
11
|
+
strategy:
|
12
|
+
matrix:
|
13
|
+
ruby: [ '3.2', '3.3', '3.4' ]
|
14
|
+
steps:
|
15
|
+
- uses: actions/checkout@v3
|
16
|
+
- name: Set up Ruby
|
17
|
+
uses: ruby/setup-ruby@v1
|
18
|
+
with:
|
19
|
+
ruby-version: ${{ matrix.ruby }}
|
20
|
+
- name: Install dependencies
|
21
|
+
run: bundle install
|
22
|
+
- name: Run tests
|
23
|
+
run: bundle exec rspec
|
@@ -0,0 +1,24 @@
|
|
1
|
+
name: Release Gem
|
2
|
+
|
3
|
+
on:
|
4
|
+
push:
|
5
|
+
tags:
|
6
|
+
- 'v*.*.*'
|
7
|
+
|
8
|
+
jobs:
|
9
|
+
release:
|
10
|
+
runs-on: ubuntu-latest
|
11
|
+
steps:
|
12
|
+
- uses: actions/checkout@v3
|
13
|
+
- name: Set up Ruby
|
14
|
+
uses: ruby/setup-ruby@v1
|
15
|
+
with:
|
16
|
+
ruby-version: '3.2'
|
17
|
+
- name: Install dependencies
|
18
|
+
run: bundle install
|
19
|
+
- name: Build gem
|
20
|
+
run: gem build xaiml.gemspec
|
21
|
+
- name: Push to RubyGems
|
22
|
+
env:
|
23
|
+
GEM_HOST_API_KEY: ${{ secrets.RUBYGEMS_API_KEY }}
|
24
|
+
run: gem push xaiml-*.gem
|
data/.ruby-version
CHANGED
@@ -1 +1 @@
|
|
1
|
-
|
1
|
+
3.4.4
|
data/CHANGELOG.md
ADDED
@@ -0,0 +1,11 @@
|
|
1
|
+
# CHANGELOG
|
2
|
+
|
3
|
+
## [0.1.6] - 2024-06-10
|
4
|
+
### Added / Changed
|
5
|
+
- Support for Ruby 3.4.4
|
6
|
+
- Updated ox dependency to support the latest version
|
7
|
+
- Improved and updated README
|
8
|
+
- Bumped version to 0.1.6
|
9
|
+
|
10
|
+
## Previous releases
|
11
|
+
- Previous versions omitted
|
data/Gemfile.lock
CHANGED
@@ -1,82 +1,116 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
xaiml (0.1.
|
5
|
-
ox (
|
4
|
+
xaiml (0.1.6)
|
5
|
+
ox (>= 2.10.0)
|
6
6
|
|
7
7
|
GEM
|
8
8
|
remote: https://rubygems.org/
|
9
9
|
specs:
|
10
|
-
ast (2.4.
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
10
|
+
ast (2.4.3)
|
11
|
+
bigdecimal (3.2.2)
|
12
|
+
coderay (1.1.3)
|
13
|
+
concurrent-ruby (1.3.5)
|
14
|
+
diff-lcs (1.6.2)
|
15
|
+
dry-configurable (1.3.0)
|
16
|
+
dry-core (~> 1.1)
|
17
|
+
zeitwerk (~> 2.6)
|
18
|
+
dry-core (1.1.0)
|
19
|
+
concurrent-ruby (~> 1.0)
|
20
|
+
logger
|
21
|
+
zeitwerk (~> 2.6)
|
22
|
+
dry-inflector (1.2.0)
|
23
|
+
dry-initializer (3.2.0)
|
24
|
+
dry-logic (1.6.0)
|
25
|
+
bigdecimal
|
26
|
+
concurrent-ruby (~> 1.0)
|
27
|
+
dry-core (~> 1.1)
|
28
|
+
zeitwerk (~> 2.6)
|
29
|
+
dry-schema (1.14.1)
|
30
|
+
concurrent-ruby (~> 1.0)
|
31
|
+
dry-configurable (~> 1.0, >= 1.0.1)
|
32
|
+
dry-core (~> 1.1)
|
33
|
+
dry-initializer (~> 3.2)
|
34
|
+
dry-logic (~> 1.5)
|
35
|
+
dry-types (~> 1.8)
|
36
|
+
zeitwerk (~> 2.6)
|
37
|
+
dry-types (1.8.3)
|
38
|
+
bigdecimal (~> 3.0)
|
39
|
+
concurrent-ruby (~> 1.0)
|
40
|
+
dry-core (~> 1.0)
|
41
|
+
dry-inflector (~> 1.0)
|
42
|
+
dry-logic (~> 1.4)
|
43
|
+
zeitwerk (~> 2.6)
|
44
|
+
json (2.12.2)
|
45
|
+
language_server-protocol (3.17.0.5)
|
46
|
+
lint_roller (1.1.0)
|
47
|
+
logger (1.7.0)
|
48
|
+
method_source (1.1.0)
|
49
|
+
ox (2.14.23)
|
50
|
+
bigdecimal (>= 3.0)
|
51
|
+
parallel (1.27.0)
|
52
|
+
parser (3.3.8.0)
|
53
|
+
ast (~> 2.4.1)
|
54
|
+
racc
|
55
|
+
prism (1.4.0)
|
56
|
+
pry (0.15.2)
|
57
|
+
coderay (~> 1.1)
|
58
|
+
method_source (~> 1.0)
|
59
|
+
racc (1.8.1)
|
60
|
+
rainbow (3.1.1)
|
61
|
+
rake (13.3.0)
|
62
|
+
reek (6.5.0)
|
63
|
+
dry-schema (~> 1.13)
|
64
|
+
logger (~> 1.6)
|
65
|
+
parser (~> 3.3.0)
|
43
66
|
rainbow (>= 2.0, < 4.0)
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
rspec-
|
50
|
-
|
67
|
+
rexml (~> 3.1)
|
68
|
+
regexp_parser (2.10.0)
|
69
|
+
rexml (3.4.1)
|
70
|
+
rspec (3.13.1)
|
71
|
+
rspec-core (~> 3.13.0)
|
72
|
+
rspec-expectations (~> 3.13.0)
|
73
|
+
rspec-mocks (~> 3.13.0)
|
74
|
+
rspec-core (3.13.4)
|
75
|
+
rspec-support (~> 3.13.0)
|
76
|
+
rspec-expectations (3.13.5)
|
51
77
|
diff-lcs (>= 1.2.0, < 2.0)
|
52
|
-
rspec-support (~> 3.
|
53
|
-
rspec-mocks (3.
|
78
|
+
rspec-support (~> 3.13.0)
|
79
|
+
rspec-mocks (3.13.5)
|
54
80
|
diff-lcs (>= 1.2.0, < 2.0)
|
55
|
-
rspec-support (~> 3.
|
56
|
-
rspec-support (3.
|
57
|
-
rspec_junit_formatter (0.
|
81
|
+
rspec-support (~> 3.13.0)
|
82
|
+
rspec-support (3.13.4)
|
83
|
+
rspec_junit_formatter (0.6.0)
|
58
84
|
rspec-core (>= 2, < 4, != 2.12.0)
|
59
|
-
rubocop (
|
60
|
-
|
85
|
+
rubocop (1.76.1)
|
86
|
+
json (~> 2.3)
|
87
|
+
language_server-protocol (~> 3.17.0.2)
|
88
|
+
lint_roller (~> 1.1.0)
|
61
89
|
parallel (~> 1.10)
|
62
|
-
parser (>= 2
|
90
|
+
parser (>= 3.3.0.2)
|
63
91
|
rainbow (>= 2.2.2, < 4.0)
|
92
|
+
regexp_parser (>= 2.9.3, < 3.0)
|
93
|
+
rubocop-ast (>= 1.45.0, < 2.0)
|
64
94
|
ruby-progressbar (~> 1.7)
|
65
|
-
unicode-display_width (>=
|
66
|
-
rubocop-
|
67
|
-
|
68
|
-
|
69
|
-
|
70
|
-
|
71
|
-
|
72
|
-
|
73
|
-
|
74
|
-
|
75
|
-
|
76
|
-
|
77
|
-
|
95
|
+
unicode-display_width (>= 2.4.0, < 4.0)
|
96
|
+
rubocop-ast (1.45.1)
|
97
|
+
parser (>= 3.3.7.2)
|
98
|
+
prism (~> 1.4)
|
99
|
+
rubocop-performance (1.25.0)
|
100
|
+
lint_roller (~> 1.1)
|
101
|
+
rubocop (>= 1.75.0, < 2.0)
|
102
|
+
rubocop-ast (>= 1.38.0, < 2.0)
|
103
|
+
rubocop-rspec (3.6.0)
|
104
|
+
lint_roller (~> 1.1)
|
105
|
+
rubocop (~> 1.72, >= 1.72.1)
|
106
|
+
ruby-progressbar (1.13.0)
|
107
|
+
unicode-display_width (3.1.4)
|
108
|
+
unicode-emoji (~> 4.0, >= 4.0.4)
|
109
|
+
unicode-emoji (4.0.4)
|
110
|
+
zeitwerk (2.7.3)
|
78
111
|
|
79
112
|
PLATFORMS
|
113
|
+
arm64-darwin-23
|
80
114
|
ruby
|
81
115
|
|
82
116
|
DEPENDENCIES
|
@@ -92,4 +126,4 @@ DEPENDENCIES
|
|
92
126
|
xaiml!
|
93
127
|
|
94
128
|
BUNDLED WITH
|
95
|
-
2.
|
129
|
+
2.4.19
|
data/README.md
CHANGED
@@ -1,8 +1,11 @@
|
|
1
1
|
# xAIML-ruby
|
2
2
|
|
3
|
-
|
3
|
+
xAIML is a parser library for xAIML written in Ruby.
|
4
4
|
|
5
|
-
|
5
|
+
## Supported Ruby Versions
|
6
|
+
|
7
|
+
- Ruby >= 3.2
|
8
|
+
- Tested with Ruby 3.2, 3.3, 3.4
|
6
9
|
|
7
10
|
## Installation
|
8
11
|
|
@@ -14,7 +17,7 @@ gem 'xaiml'
|
|
14
17
|
|
15
18
|
And then execute:
|
16
19
|
|
17
|
-
$ bundle
|
20
|
+
$ bundle install
|
18
21
|
|
19
22
|
Or install it yourself as:
|
20
23
|
|
@@ -22,14 +25,23 @@ Or install it yourself as:
|
|
22
25
|
|
23
26
|
## Usage
|
24
27
|
|
25
|
-
|
28
|
+
```ruby
|
29
|
+
require 'xaiml'
|
30
|
+
# Add usage examples here as needed
|
31
|
+
```
|
26
32
|
|
27
33
|
## Development
|
28
34
|
|
29
|
-
|
35
|
+
1. Clone the repository
|
36
|
+
2. Install dependencies: `bin/setup`
|
37
|
+
3. Run tests: `bundle exec rspec`
|
38
|
+
4. Recommended to use Ruby 3.4.4 for development
|
39
|
+
|
40
|
+
## Release Procedure
|
30
41
|
|
31
|
-
|
42
|
+
1. Update the version number in `lib/xaiml/version.rb`
|
43
|
+
2. Run `bundle exec rake release` to release the gem
|
32
44
|
|
33
45
|
## Contributing
|
34
46
|
|
35
|
-
Bug reports and pull requests are welcome on GitHub
|
47
|
+
Bug reports and pull requests are welcome on GitHub. See [CONTRIBUTING.md] for details.
|
data/lib/xaiml/version.rb
CHANGED
data/xaiml.gemspec
CHANGED
@@ -19,7 +19,7 @@ Gem::Specification.new do |spec|
|
|
19
19
|
spec.executables = spec.files.grep(%r{^exe/}) {|f| File.basename(f) }
|
20
20
|
spec.require_paths = ["lib"]
|
21
21
|
|
22
|
-
spec.add_dependency "ox", "
|
22
|
+
spec.add_dependency "ox", ">= 2.10.0"
|
23
23
|
spec.add_development_dependency "bundler"
|
24
24
|
spec.add_development_dependency "pry"
|
25
25
|
spec.add_development_dependency "rake", "~> 13.0"
|
@@ -29,4 +29,5 @@ Gem::Specification.new do |spec|
|
|
29
29
|
spec.add_development_dependency "rubocop"
|
30
30
|
spec.add_development_dependency "rubocop-performance"
|
31
31
|
spec.add_development_dependency "rubocop-rspec"
|
32
|
+
spec.required_ruby_version = ">= 3.2"
|
32
33
|
end
|
metadata
CHANGED
@@ -1,27 +1,27 @@
|
|
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.6
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- jagrament
|
8
|
-
autorequire:
|
8
|
+
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2025-06-10 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: ox
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
|
-
- - "
|
17
|
+
- - ">="
|
18
18
|
- !ruby/object:Gem::Version
|
19
19
|
version: 2.10.0
|
20
20
|
type: :runtime
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
|
-
- - "
|
24
|
+
- - ">="
|
25
25
|
- !ruby/object:Gem::Version
|
26
26
|
version: 2.10.0
|
27
27
|
- !ruby/object:Gem::Dependency
|
@@ -159,6 +159,8 @@ extra_rdoc_files: []
|
|
159
159
|
files:
|
160
160
|
- ".circleci/config-2.0.yml"
|
161
161
|
- ".circleci/config.yml"
|
162
|
+
- ".github/workflows/ci.yml"
|
163
|
+
- ".github/workflows/release.yml"
|
162
164
|
- ".gitignore"
|
163
165
|
- ".reek.yml"
|
164
166
|
- ".rspec"
|
@@ -167,6 +169,7 @@ files:
|
|
167
169
|
- ".rubocop.yml"
|
168
170
|
- ".ruby-version"
|
169
171
|
- ".travis.yml"
|
172
|
+
- CHANGELOG.md
|
170
173
|
- CODE_OF_CONDUCT.md
|
171
174
|
- Gemfile
|
172
175
|
- Gemfile.lock
|
@@ -189,7 +192,7 @@ files:
|
|
189
192
|
homepage: https://docs.xaiml.docomo-dialog.com/
|
190
193
|
licenses: []
|
191
194
|
metadata: {}
|
192
|
-
post_install_message:
|
195
|
+
post_install_message:
|
193
196
|
rdoc_options: []
|
194
197
|
require_paths:
|
195
198
|
- lib
|
@@ -197,15 +200,15 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
197
200
|
requirements:
|
198
201
|
- - ">="
|
199
202
|
- !ruby/object:Gem::Version
|
200
|
-
version: '
|
203
|
+
version: '3.2'
|
201
204
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
202
205
|
requirements:
|
203
206
|
- - ">="
|
204
207
|
- !ruby/object:Gem::Version
|
205
208
|
version: '0'
|
206
209
|
requirements: []
|
207
|
-
rubygems_version: 3.
|
208
|
-
signing_key:
|
210
|
+
rubygems_version: 3.4.19
|
211
|
+
signing_key:
|
209
212
|
specification_version: 4
|
210
213
|
summary: xAIML parser library for ruby.
|
211
214
|
test_files: []
|