onvkv_seteyoposecetv 0.1.1 → 0.1.2

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: 3b4ee06be0304fc7f68bb6d0639c6f853a267808f327dcb14271d8f8cabf5c6c
4
- data.tar.gz: 8108aa939ce45862327b345cb151f64f46998779054be123e908ee56b0e481ee
3
+ metadata.gz: 0dda8cbef0af2fb3f15792ed13551e79ac02bbae9d0225f74b8442bdeb2af546
4
+ data.tar.gz: '08fa22a2cfaf673c49d9abd20c85c5b1cddc8f49f192b62d914e0af1007612bb'
5
5
  SHA512:
6
- metadata.gz: 9b3acb4446cfc14431160bd21679ccb06a0df29c95cad77d6b893b3c8ec011f2381beca41fdbc9179edf9cce12d361647ef3a23a48c24e0bc4725b439d290080
7
- data.tar.gz: e4e00f36f66e2c2af90c991813a5e4e27a9fd52fa56cc7b75a89e26eb51e4b5f46ea90711c78d2d80c0f2ffe1f3f5f31bf3c0d2f516afc04144bbcd8aa34e835
6
+ metadata.gz: cc097c974d24f26e2187d6ae747f1477bc040b22cc01aeeed4068053bdc0eeeb5f99e95871a3797d2eec7184aa8a28ae380adffe5f96ac98dcddc4e4fa553375
7
+ data.tar.gz: 1a00bada3a095f6a435e85a0cded4bcba3dd94929ef21ef1e7085d1e039153429e0c334afcc95cb10b67a16cc053eb07969530c26a8a6171ac19b18eafa082fc
data/README.md CHANGED
@@ -1,24 +1,18 @@
1
1
  # OnvkvSeteyoposecetv
2
2
 
3
- TODO: Delete this and the text below, and describe your gem
4
-
5
- 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/onvkv_seteyoposecetv`. To experiment with that code, run `bin/console` for an interactive prompt.
6
-
7
3
  ## Installation
8
4
 
9
- TODO: Replace `UPDATE_WITH_YOUR_GEM_NAME_PRIOR_TO_RELEASE_TO_RUBYGEMS_ORG` with your gem name right after releasing it to RubyGems.org. Please do not do it earlier due to security reasons. Alternatively, replace this section with instructions to install your gem from git if you don't plan to release to RubyGems.org.
10
-
11
5
  Install the gem and add to the application's Gemfile by executing:
12
6
 
13
- $ bundle add UPDATE_WITH_YOUR_GEM_NAME_PRIOR_TO_RELEASE_TO_RUBYGEMS_ORG
7
+ $ bundle add onvkv_seteyoposecetv
14
8
 
15
9
  If bundler is not being used to manage dependencies, install the gem by executing:
16
10
 
17
- $ gem install UPDATE_WITH_YOUR_GEM_NAME_PRIOR_TO_RELEASE_TO_RUBYGEMS_ORG
11
+ $ gem install onvkv_seteyoposecetv
18
12
 
19
13
  ## Usage
20
14
 
21
- TODO: Write usage instructions here
15
+ See test/unit/ examples and https://www.nokose-oklane.com/conjugations/action_verb?word=liketv for sample output
22
16
 
23
17
  ## Development
24
18
 
@@ -28,7 +22,7 @@ To install this gem onto your local machine, run `bundle exec rake install`. To
28
22
 
29
23
  ## Contributing
30
24
 
31
- Bug reports and pull requests are welcome on GitHub at https://github.com/[USERNAME]/onvkv_seteyoposecetv. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [code of conduct](https://github.com/[USERNAME]/onvkv_seteyoposecetv/blob/main/CODE_OF_CONDUCT.md).
25
+ Bug reports and pull requests are welcome on GitHub at https://github.com/rthbound/onvkv_seteyoposecetv. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [code of conduct](https://github.com/rthbound/onvkv_seteyoposecetv/blob/main/CODE_OF_CONDUCT.md).
32
26
 
33
27
  ## License
34
28
 
@@ -36,4 +30,4 @@ The gem is available as open source under the terms of the [MIT License](https:/
36
30
 
37
31
  ## Code of Conduct
38
32
 
39
- Everyone interacting in the OnvkvSeteyoposecetv project's codebases, issue trackers, chat rooms and mailing lists is expected to follow the [code of conduct](https://github.com/[USERNAME]/onvkv_seteyoposecetv/blob/main/CODE_OF_CONDUCT.md).
33
+ Everyone interacting in the OnvkvSeteyoposecetv project's codebases, issue trackers, chat rooms and mailing lists is expected to follow the [code of conduct](https://github.com/rthbound/onvkv_seteyoposecetv/blob/main/CODE_OF_CONDUCT.md).
@@ -327,11 +327,15 @@ module Conjugators
327
327
  final_vowel_index = @verb_to_conjugate.rindex(VOWEL_REGEX)
328
328
  return unless final_vowel_index
329
329
 
330
- # L-M-N rule
331
330
  ue_rule_substring = @verb_to_conjugate[(final_vowel_index-1)..final_vowel_index]
331
+ # dipthong rule
332
332
  return if ue_rule_substring == UE
333
- return if %w{ l m n }.include?(@verb_to_conjugate[final_vowel_index+1]) &&
334
- consonants.include?(@verb_to_conjugate[final_vowel_index+2])
333
+ # LMN rule: VlC, VmC, or VnC pattern (where V=vowel, C=consonant)
334
+ next_char = @verb_to_conjugate[final_vowel_index + 1]
335
+ next_next_char = @verb_to_conjugate[final_vowel_index + 2]
336
+ return if (next_char == L || next_char == M || next_char == N) &&
337
+ next_next_char &&
338
+ consonants.include?(next_next_char)
335
339
 
336
340
  # replace the final vowel with the l-graded vowel
337
341
  @verb_to_conjugate[final_vowel_index] = LGRADES.fetch(@verb_to_conjugate[final_vowel_index], @verb_to_conjugate[final_vowel_index])
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module OnvkvSeteyoposecetv
4
- VERSION = "0.1.1"
4
+ VERSION = "0.1.2"
5
5
  end
metadata CHANGED
@@ -1,14 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: onvkv_seteyoposecetv
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1
4
+ version: 0.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tad Hosford
8
- autorequire:
9
8
  bindir: exe
10
9
  cert_chain: []
11
- date: 2025-04-05 00:00:00.000000000 Z
10
+ date: 1980-01-02 00:00:00.000000000 Z
12
11
  dependencies: []
13
12
  description: Just relocating some code to make it sharable
14
13
  email:
@@ -50,7 +49,6 @@ metadata:
50
49
  source_code_uri: https://github.com/rthbound/onvkv_seteyoposecetv
51
50
  changelog_uri: https://github.com/rthbound/onvkv_seteyoposecetv/blob/main/CHANGELOG.md
52
51
  homepage_uri: https://github.com/rthbound/onvkv_seteyoposecetv
53
- post_install_message:
54
52
  rdoc_options: []
55
53
  require_paths:
56
54
  - lib
@@ -65,8 +63,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
65
63
  - !ruby/object:Gem::Version
66
64
  version: '0'
67
65
  requirements: []
68
- rubygems_version: 3.4.10
69
- signing_key:
66
+ rubygems_version: 3.7.1
70
67
  specification_version: 4
71
68
  summary: Extracting conjugator library code from https://www.nokose-oklane.com
72
69
  test_files: []