medieval_latina 3.0.0 → 3.1.0

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: 67adc073d1a06863e460da73ddfb00d371e64e532ca14f94e7216f16d1d7ecd2
4
- data.tar.gz: cfc8ece414f505202c055606561a9e62b366c9f31431f6b5aa4bf8de40cf3eb1
3
+ metadata.gz: 0dd902526791ea82b288d966db1bf6ac699ca6846256412aa60c9b685253e333
4
+ data.tar.gz: 9abfa510fa6c2f3dbc21b4e90b0392addc45a932c244d39cc6434ca46a810639
5
5
  SHA512:
6
- metadata.gz: 7c3e709b58bce1ca4d8bdce5c166a15f5eafa7a0db327452389b991ee7cfec1f242b39aee6814d9f5fab508c19413a7dbf1bcad38df77da92f7efc22a0315b86
7
- data.tar.gz: d931c5f2b959b70c11fd9e4da3d3b970e48f34a2bba6fb47639b1e6c787137d8e62e92d3ccacf9230ff08c63f71666c2fbe56d3ebe50e772eadbd1297fc9f1a6
6
+ metadata.gz: 60e4c5925a37ac2ccc8e08ffcefd35a0d61cb8e4b46c81d1298d703dc31791b3ff7d7aabf828533d3e82842d5867eb7cc5a4aaee4422d6de4fc75f733aa58566
7
+ data.tar.gz: 5822082352ae540e0aa67b49ad2b20f3744502c36dcb7ec96d696fd76bd1469a31a0210901caddd76a21189abecf682a129a1a094e84c3c100e52a3e1166140a
@@ -1,4 +1,4 @@
1
- name: Tests
1
+ name: Tests and Linting
2
2
 
3
3
  on:
4
4
  pull_request:
@@ -11,7 +11,7 @@ on:
11
11
  jobs:
12
12
  unit_tests:
13
13
  name: Unit Tests
14
- if: "contains(github.event.commits[0].message, '[ci skip]') == false"
14
+ if: ${{ ! contains(github.event.head_commit.message, '[ci skip]') }}
15
15
  strategy:
16
16
  fail-fast: false
17
17
  matrix:
@@ -19,10 +19,9 @@ jobs:
19
19
  - macos
20
20
  - ubuntu
21
21
  ruby:
22
- - 3.0
23
- - 3.1
24
- - 3.2
25
- - 3.3
22
+ - '3.2'
23
+ - '3.3'
24
+ - '3.4'
26
25
  allow_failures:
27
26
  - false
28
27
  env:
@@ -32,7 +31,7 @@ jobs:
32
31
  continue-on-error: ${{ endsWith(matrix.ruby, 'head') || matrix.ruby == 'debug' }}
33
32
  steps:
34
33
  - name: Checkout
35
- uses: actions/checkout@v2
34
+ uses: actions/checkout@v3
36
35
  - name: Setup Ruby
37
36
  uses: ruby/setup-ruby@v1
38
37
  with:
@@ -40,3 +39,22 @@ jobs:
40
39
  bundler-cache: true
41
40
  - name: Test
42
41
  run: bundle exec rake spec || $ALLOW_FAILURES
42
+
43
+
44
+ lint:
45
+ name: Linting
46
+ runs-on: ubuntu-latest
47
+ steps:
48
+ - name: Checkout
49
+ uses: actions/checkout@v3
50
+ - name: Setup Ruby
51
+ uses: ruby/setup-ruby@v1
52
+ with:
53
+ ruby-version: '3.4'
54
+ bundler-cache: true
55
+ - name: Install dependencies
56
+ run: bundle install
57
+ - name: Lint Ruby
58
+ run: bundle exec standardrb
59
+ - name: Lint JSON
60
+ run: bundle exec jsonlint data/dictionary.json
data/.gitignore CHANGED
@@ -9,3 +9,4 @@
9
9
 
10
10
  # rspec failure tracking
11
11
  .rspec_status
12
+ .DS_Store
data/.standard.yml CHANGED
@@ -1,3 +1,3 @@
1
1
  fix: true
2
2
  parallel: true
3
- ruby_version: 3.0
3
+ ruby_version: 3.2
data/.tool-versions CHANGED
@@ -1 +1 @@
1
- ruby 3.3.0
1
+ ruby 3.4.1
data/Gemfile.lock CHANGED
@@ -1,28 +1,42 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- medieval_latina (3.0.0)
4
+ medieval_latina (3.1.0)
5
5
  i18n
6
6
 
7
7
  GEM
8
8
  remote: https://rubygems.org/
9
9
  specs:
10
- ast (2.4.0)
10
+ ast (2.4.2)
11
+ bigdecimal (3.1.8)
11
12
  concurrent-ruby (1.2.2)
12
13
  diff-lcs (1.3)
13
14
  i18n (1.13.0)
14
15
  concurrent-ruby (~> 1.0)
16
+ json (2.7.2)
17
+ jsonlint (0.4.0)
18
+ oj (~> 3)
19
+ optimist (~> 3)
20
+ language_server-protocol (3.17.0.3)
21
+ lint_roller (1.1.0)
15
22
  mini_portile2 (2.8.6)
16
- nokogiri (1.16.4)
23
+ nokogiri (1.18.0)
17
24
  mini_portile2 (~> 2.8.2)
18
25
  racc (~> 1.4)
19
- parallel (1.19.1)
20
- parser (2.7.1.2)
21
- ast (~> 2.4.0)
26
+ oj (3.16.5)
27
+ bigdecimal (>= 3.0)
28
+ ostruct (>= 0.2)
29
+ optimist (3.1.0)
30
+ ostruct (0.6.0)
31
+ parallel (1.26.1)
32
+ parser (3.3.4.2)
33
+ ast (~> 2.4.1)
34
+ racc
22
35
  racc (1.7.3)
23
- rainbow (3.0.0)
36
+ rainbow (3.1.1)
24
37
  rake (12.3.3)
25
- rexml (3.2.5)
38
+ regexp_parser (2.9.2)
39
+ rexml (3.3.9)
26
40
  rspec (3.9.0)
27
41
  rspec-core (~> 3.9.0)
28
42
  rspec-expectations (~> 3.9.0)
@@ -36,30 +50,49 @@ GEM
36
50
  diff-lcs (>= 1.2.0, < 2.0)
37
51
  rspec-support (~> 3.9.0)
38
52
  rspec-support (3.9.3)
39
- rubocop (0.83.0)
53
+ rubocop (1.64.1)
54
+ json (~> 2.3)
55
+ language_server-protocol (>= 3.17.0)
40
56
  parallel (~> 1.10)
41
- parser (>= 2.7.0.1)
57
+ parser (>= 3.3.0.2)
42
58
  rainbow (>= 2.2.2, < 4.0)
43
- rexml
59
+ regexp_parser (>= 1.8, < 3.0)
60
+ rexml (>= 3.2.5, < 4.0)
61
+ rubocop-ast (>= 1.31.1, < 2.0)
44
62
  ruby-progressbar (~> 1.7)
45
- unicode-display_width (>= 1.4.0, < 2.0)
46
- rubocop-performance (1.5.2)
47
- rubocop (>= 0.71.0)
48
- ruby-progressbar (1.10.1)
49
- standard (0.4.2)
50
- rubocop (~> 0.83.0)
51
- rubocop-performance (~> 1.5.2)
52
- unicode-display_width (1.7.0)
63
+ unicode-display_width (>= 2.4.0, < 3.0)
64
+ rubocop-ast (1.32.0)
65
+ parser (>= 3.3.1.0)
66
+ rubocop-performance (1.21.1)
67
+ rubocop (>= 1.48.1, < 2.0)
68
+ rubocop-ast (>= 1.31.1, < 2.0)
69
+ ruby-progressbar (1.13.0)
70
+ standard (1.39.2)
71
+ language_server-protocol (~> 3.17.0.2)
72
+ lint_roller (~> 1.0)
73
+ rubocop (~> 1.64.0)
74
+ standard-custom (~> 1.0.0)
75
+ standard-performance (~> 1.4)
76
+ standard-custom (1.0.2)
77
+ lint_roller (~> 1.0)
78
+ rubocop (~> 1.50)
79
+ standard-performance (1.4.0)
80
+ lint_roller (~> 1.1)
81
+ rubocop-performance (~> 1.21.0)
82
+ standardrb (1.0.1)
83
+ standard
84
+ unicode-display_width (2.5.0)
53
85
 
54
86
  PLATFORMS
55
87
  ruby
56
88
 
57
89
  DEPENDENCIES
90
+ jsonlint
58
91
  medieval_latina!
59
92
  nokogiri
60
93
  rake (~> 12.0)
61
94
  rspec (~> 3.0)
62
- standard
95
+ standardrb
63
96
 
64
97
  BUNDLED WITH
65
98
  2.4.1
data/README.md CHANGED
@@ -108,7 +108,7 @@ You do this by running: `bin/build`
108
108
  ## Contributing
109
109
 
110
110
  Bug reports and pull requests are welcome on GitHub at https://github.com/jaysonvirissimo/medieval_latina.
111
- Run `standardrb --fix` before submitting any changes, to help keep the code formatting uniform.
111
+ Run `bin/lint` before submitting any changes, to help keep the code formatting uniform.
112
112
 
113
113
  ## License
114
114
 
data/bin/lint CHANGED
@@ -3,4 +3,12 @@ set -euo pipefail
3
3
  IFS=$'\n\t'
4
4
  set -vx
5
5
 
6
- standardrb --fix
6
+ # Run StandardRB to lint Ruby files
7
+ echo "Linting Ruby files with StandardRB..."
8
+ bundle exec standardrb
9
+
10
+ # Run jsonlint to check the dictionary.json file
11
+ echo "Linting dictionary.json with jsonlint..."
12
+ bundle exec jsonlint data/dictionary.json
13
+
14
+ echo "Linting completed."
@@ -1,3 +1,3 @@
1
1
  class MedievalLatina
2
- VERSION = "3.0.0".freeze
2
+ VERSION = "3.1.0".freeze
3
3
  end
@@ -3,7 +3,6 @@ require "medieval_latina/initializer"
3
3
  require "medieval_latina/lexicon"
4
4
  require "medieval_latina/lexicon_builder"
5
5
  require "medieval_latina/version"
6
- require "set"
7
6
 
8
7
  class MedievalLatina
9
8
  def self.[](text)
@@ -15,7 +15,7 @@ Gem::Specification.new do |spec|
15
15
  spec.description = description
16
16
  spec.homepage = "https://github.com/jaysonvirissimo/medieval_latina"
17
17
  spec.license = "MIT"
18
- spec.required_ruby_version = Gem::Requirement.new(">= 3.0.0")
18
+ spec.required_ruby_version = Gem::Requirement.new(">= 3.2.0")
19
19
  spec.metadata["allowed_push_host"] = "https://rubygems.org/"
20
20
  spec.metadata["homepage_uri"] = spec.homepage
21
21
  spec.metadata["source_code_uri"] = github_uri
@@ -32,5 +32,6 @@ Gem::Specification.new do |spec|
32
32
  spec.add_development_dependency "rake", "~> 12.0"
33
33
  spec.add_development_dependency "rspec", "~> 3.0"
34
34
  spec.add_development_dependency "nokogiri"
35
- spec.add_development_dependency "standard"
35
+ spec.add_development_dependency "standardrb"
36
+ spec.add_development_dependency "jsonlint"
36
37
  end
metadata CHANGED
@@ -1,14 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: medieval_latina
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.0
4
+ version: 3.1.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jayson Virissimo
8
- autorequire:
9
8
  bindir: exe
10
9
  cert_chain: []
11
- date: 2024-04-28 00:00:00.000000000 Z
10
+ date: 2024-12-26 00:00:00.000000000 Z
12
11
  dependencies:
13
12
  - !ruby/object:Gem::Dependency
14
13
  name: i18n
@@ -67,7 +66,21 @@ dependencies:
67
66
  - !ruby/object:Gem::Version
68
67
  version: '0'
69
68
  - !ruby/object:Gem::Dependency
70
- name: standard
69
+ name: standardrb
70
+ requirement: !ruby/object:Gem::Requirement
71
+ requirements:
72
+ - - ">="
73
+ - !ruby/object:Gem::Version
74
+ version: '0'
75
+ type: :development
76
+ prerelease: false
77
+ version_requirements: !ruby/object:Gem::Requirement
78
+ requirements:
79
+ - - ">="
80
+ - !ruby/object:Gem::Version
81
+ version: '0'
82
+ - !ruby/object:Gem::Dependency
83
+ name: jsonlint
71
84
  requirement: !ruby/object:Gem::Requirement
72
85
  requirements:
73
86
  - - ">="
@@ -89,7 +102,6 @@ executables: []
89
102
  extensions: []
90
103
  extra_rdoc_files: []
91
104
  files:
92
- - ".DS_Store"
93
105
  - ".github/workflows/tests.yml"
94
106
  - ".gitignore"
95
107
  - ".rspec"
@@ -129,7 +141,6 @@ metadata:
129
141
  homepage_uri: https://github.com/jaysonvirissimo/medieval_latina
130
142
  source_code_uri: https://github.com/jaysonvirissimo/medieval_latina
131
143
  changelog_uri: https://github.com/jaysonvirissimo/medieval_latina
132
- post_install_message:
133
144
  rdoc_options: []
134
145
  require_paths:
135
146
  - lib
@@ -137,15 +148,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
137
148
  requirements:
138
149
  - - ">="
139
150
  - !ruby/object:Gem::Version
140
- version: 3.0.0
151
+ version: 3.2.0
141
152
  required_rubygems_version: !ruby/object:Gem::Requirement
142
153
  requirements:
143
154
  - - ">="
144
155
  - !ruby/object:Gem::Version
145
156
  version: '0'
146
157
  requirements: []
147
- rubygems_version: 3.5.3
148
- signing_key:
158
+ rubygems_version: 3.6.2
149
159
  specification_version: 4
150
160
  summary: Transform medieval Latin text into phonetic English
151
161
  test_files: []
data/.DS_Store DELETED
Binary file