what_you_say 0.3.0-x64-mingw-ucrt → 0.4.2-x64-mingw-ucrt

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: 46ac2cd05811c0df4712e959c00d97e3a1145fb2c1f569dfed42eaf203d36cba
4
- data.tar.gz: dacca48d1ef72fc84acd945c70211cc433a3b552e122d9e33bb19e0a1eadd6b9
3
+ metadata.gz: 47f35733c81c48df462ddd773806db66dbe3b5511301831bdf31736e9b3d6a1e
4
+ data.tar.gz: 16dd46442509ddba36b7b64511beddc1596d289b2632840cba20f97f337c9e77
5
5
  SHA512:
6
- metadata.gz: 8680be40db864dd821b82efa69cfc22ef00888337897f9b8de9fafc5009f2b4e0e53892f8b103965cddb838390c6d2a9ea857c03ec13554cb9fa77843a002935
7
- data.tar.gz: cd8a39fb2250e0282fd6a7429e2be2442d47de7c039e4940febf3767d7fc01c8c6a45ed4c0e62bcaf059fab35c52f696d637df5c91e7b52e8eff4e77a69153a8
6
+ metadata.gz: 1e9fede60b6df42a60542c932b983747849ac4dced325ca5da2fd40e7c58d07258d35a9ce1739935803fa401c091c9cbdd9f445962ac11a542d4a5e4d8236ae2
7
+ data.tar.gz: 475e1f78d8aeca0210a838acbc17f2e8798112df703238a6f5de92f47a2ccab94cf7c97a3ccd971ec686131403320df81c54f7f2fb30bac2aca6383ab357bfb4
data/README.md CHANGED
@@ -31,12 +31,8 @@ text = "Ĉu vi ne volas eklerni Esperanton? Bonvolu! Estas unu de la plej bonaj
31
31
 
32
32
  result = WhatYouSay._?(text)
33
33
 
34
- assert_equal("epo", result.lang.code)
35
- assert_equal("Esperanto", result.lang.name)
36
- assert_equal("Esperanto", result.lang.eng_name)
37
- assert_equal("Latin", result.script)
38
- assert_predicate(result, :reliable?)
39
- assert_equal(1, result.confidence)
34
+ assert_equal("epo", result.code)
35
+ assert_equal("esperanto", result.eng_name)
40
36
  ```
41
37
 
42
38
  You also have to opportunity to `inspect` some output:
@@ -44,7 +40,7 @@ You also have to opportunity to `inspect` some output:
44
40
  ```ruby
45
41
  text = "Եվ ահա ես ստանում եմ մի զանգ պատահական տղայից"
46
42
  WhatYouSay._?(text).inspect
47
- #=> #<WhatYouSay::Info lang=#<WhatYouSay::Lang code="hye" name="Հայերեն" eng_name="Armenian"> script="Armenian" reliable=true confidence=1>
43
+ #=> #<WhatYouSay::Lang code="hye" eng_name="Armenian">
48
44
  ```
49
45
 
50
46
  ## Development
Binary file
Binary file
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module WhatYouSay
4
- VERSION = "0.3.0"
4
+ VERSION = "0.4.2"
5
5
  end
data/lib/what_you_say.rb CHANGED
@@ -2,7 +2,6 @@
2
2
 
3
3
  require_relative "what_you_say/extension"
4
4
 
5
- require "what_you_say/info"
6
5
  require "what_you_say/lang"
7
6
  require "what_you_say/version"
8
7
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: what_you_say
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.0
4
+ version: 0.4.2
5
5
  platform: x64-mingw-ucrt
6
6
  authors:
7
7
  - Garen J. Torikian
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2023-03-12 00:00:00.000000000 Z
11
+ date: 2023-04-11 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rake
@@ -52,7 +52,6 @@ files:
52
52
  - lib/what_you_say/3.1/what_you_say.so
53
53
  - lib/what_you_say/3.2/what_you_say.so
54
54
  - lib/what_you_say/extension.rb
55
- - lib/what_you_say/info.rb
56
55
  - lib/what_you_say/lang.rb
57
56
  - lib/what_you_say/version.rb
58
57
  homepage: https://github.com/gjtorikian/what_you_say
@@ -1,6 +0,0 @@
1
- # frozen_string_literal: true
2
-
3
- module WhatYouSay
4
- class Info
5
- end
6
- end