what_you_say 0.4.1-x86_64-linux → 0.4.2-x86_64-linux

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 317bdd9180ccc913606499d423be25c9a1440106f0765ff351fb5ab9d2158e62
4
- data.tar.gz: 14829b6ce6ce97f19b242985ca1d8d903c9b1ccf1bb0dc7c3fc7851d9ccb82cd
3
+ metadata.gz: 35e8d24e624c01be9ab22eb3444c836ed9a5a486cc83eb17954006475d8ccc58
4
+ data.tar.gz: 4407203a3b23f2ce41a24170f4ac62040a597f913b5559538121b46a73e873c0
5
5
  SHA512:
6
- metadata.gz: c7788db2b91514f35b526c228c67370fabed14cd2eb13d884519d3e6f63b02ce94e63acbd4d2e3c3c72d9735fb5dc6b9e36b5d6eb4ee02ce396c953ee1da5fa1
7
- data.tar.gz: 64db42c8e680142826f7a859326b5ae91163bba1609bdef3b9f53419a76a0b7eb07a0b8d0017a3c7cf1ed78fc59dba158c0fb80644152418aff0f7f059a8c9ae
6
+ metadata.gz: 1e1b8edca04160c1ad4d2495823d63acb1a5b04c0bfb5765d78e993e73e1da47c22901dcd39e63d08674029837563a16fc285ff3849430677d761169b81d27ef
7
+ data.tar.gz: 411e77d343508fa2e6ae3c0e3c4a01d35ae79b9b67874fcd2cb3bcbee04e66916f54af44a42ba128d08f6076203bbb441bb9473752c5f68174d0dd00c2f469e3
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
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module WhatYouSay
4
- VERSION = "0.4.1"
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,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: what_you_say
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.1
4
+ version: 0.4.2
5
5
  platform: x86_64-linux
6
6
  authors:
7
7
  - Garen J. Torikian
@@ -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