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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 531fbcbb84276e7741f3732bed7c34d920b396056af4a22c3fb72879a2ba1fcb
4
- data.tar.gz: 63317766f0301bbc8fc173f716ac2d1cb66202ced361dd33d38e6f8641b48f95
3
+ metadata.gz: 57171647b340da0103aed0c2b0a35d3b53a690ce1bd0d71f529f0fa215fd3eb7
4
+ data.tar.gz: f93d5bf95339c0a7570704f53d593cc77c79bebb102b15bcbe68791f3c9981aa
5
5
  SHA512:
6
- metadata.gz: 516ec8a1856b5e4bee03165c627851aa131b15da4253dc4742e9804c2c1d6c7b571624e591bba776c5640c4c62fe78f2ee8e913715a7d5d40160346e2623a249
7
- data.tar.gz: 26c8c0f551b4c5933df7f411ff76cb4144877d4059b99fc37dc1fdc2fd2023e6ee1276842e097e186fe53540039e71f4edbd8f0dc8b1f45c70aa43fba441655d
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
- 2.6.3
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)
5
- ox (~> 2.10.0)
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.0)
11
- axiom-types (0.1.1)
12
- descendants_tracker (~> 0.0.4)
13
- ice_nine (~> 0.11.0)
14
- thread_safe (~> 0.3, >= 0.3.1)
15
- codeclimate-engine-rb (0.4.1)
16
- virtus (~> 1.0)
17
- coderay (1.1.2)
18
- coercible (1.0.0)
19
- descendants_tracker (~> 0.0.1)
20
- descendants_tracker (0.0.4)
21
- thread_safe (~> 0.3, >= 0.3.1)
22
- diff-lcs (1.3)
23
- equalizer (0.0.11)
24
- ice_nine (0.11.2)
25
- jaro_winkler (1.5.4)
26
- kwalify (0.7.2)
27
- method_source (0.9.2)
28
- ox (2.10.1)
29
- parallel (1.19.1)
30
- parser (2.6.5.0)
31
- ast (~> 2.4.0)
32
- pry (0.12.2)
33
- coderay (~> 1.1.0)
34
- method_source (~> 0.9.0)
35
- psych (3.1.0)
36
- rainbow (3.0.0)
37
- rake (13.0.1)
38
- reek (5.4.0)
39
- codeclimate-engine-rb (~> 0.4.0)
40
- kwalify (~> 0.7.0)
41
- parser (>= 2.5.0.0, < 2.7, != 2.5.1.1)
42
- psych (~> 3.1.0)
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
- rspec (3.8.0)
45
- rspec-core (~> 3.8.0)
46
- rspec-expectations (~> 3.8.0)
47
- rspec-mocks (~> 3.8.0)
48
- rspec-core (3.8.2)
49
- rspec-support (~> 3.8.0)
50
- rspec-expectations (3.8.4)
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.8.0)
53
- rspec-mocks (3.8.1)
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.8.0)
56
- rspec-support (3.8.2)
57
- rspec_junit_formatter (0.4.1)
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 (0.78.0)
60
- jaro_winkler (~> 1.5.1)
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.6)
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 (>= 1.4.0, < 1.7)
66
- rubocop-performance (1.5.1)
67
- rubocop (>= 0.71.0)
68
- rubocop-rspec (1.35.0)
69
- rubocop (>= 0.60.0)
70
- ruby-progressbar (1.10.1)
71
- thread_safe (0.3.6)
72
- unicode-display_width (1.6.1)
73
- virtus (1.0.5)
74
- axiom-types (~> 0.1)
75
- coercible (~> 1.0)
76
- descendants_tracker (~> 0.0, >= 0.0.3)
77
- equalizer (~> 0.0, >= 0.0.9)
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.1.4
129
+ 2.4.19
data/README.md CHANGED
@@ -1,8 +1,11 @@
1
1
  # xAIML-ruby
2
2
 
3
- Welcome to your new gem! In this directory, you'll find the files you need to be able to package up your Ruby library into a gem. Put your Ruby code in the file `lib/xaiml`. To experiment with that code, run `bin/console` for an interactive prompt.
3
+ xAIML is a parser library for xAIML written in Ruby.
4
4
 
5
- TODO: Delete this and the text above, and describe your gem
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
- TODO: Write usage instructions here
28
+ ```ruby
29
+ require 'xaiml'
30
+ # Add usage examples here as needed
31
+ ```
26
32
 
27
33
  ## Development
28
34
 
29
- After checking out the repo, run `bin/setup` to install dependencies. Then, run `rake spec` to run the tests. You can also run `bin/console` for an interactive prompt that will allow you to experiment.
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
- To install this gem onto your local machine, run `bundle exec rake install`. To release a new version, update the version number in `version.rb`, and then run `bundle exec rake release`, which will create a git tag for the version, push git commits and tags, and push the `.gem` file to [rubygems.org](https://rubygems.org).
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 at https://github.com/[USERNAME]/aiml. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [Contributor Covenant](http://contributor-covenant.org) code of conduct.
47
+ Bug reports and pull requests are welcome on GitHub. See [CONTRIBUTING.md] for details.
data/lib/xaiml/version.rb CHANGED
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module XAIML
4
- VERSION = "0.1.5"
4
+ VERSION = "0.1.6"
5
5
  end
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", "~> 2.10.0"
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.5
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: 2020-08-11 00:00:00.000000000 Z
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: '0'
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.0.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: []