natto 1.1.2 → 1.2.0

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
- SHA1:
3
- metadata.gz: 8f45f85d078d7859201a2218cf4f84757b512baf
4
- data.tar.gz: 673af20612534d456a26b6da4f1f2194db3cfd97
2
+ SHA256:
3
+ metadata.gz: 969e7bfa9461300237a40dfa3a6a9a718a9a210f2cc544e2b8f30e67865a22be
4
+ data.tar.gz: 39d129bd04a6f23651653f1f12cea5d9b16173c4a47de89767a791fba45ff042
5
5
  SHA512:
6
- metadata.gz: 6f53c1b8d5a2e050e13fab3c4945c33f3389595f0b43838fdf74be5a03baef71a10599f0e9ca041e75995d77de9d0362ae713a6eef6869b0dc04723c0e0f5262
7
- data.tar.gz: 28f1458990275b6b995fc91578b0a8eb4eee3b430611539d13d58369e9245d0baaf40dccd569f884558266a4f7c5eb91bb10032ad71bae523bf4a098592f1f58
6
+ metadata.gz: a99befcc4ba58959fa595530c4072e34417852cdc2efb77900643fc078f5c2e4f6d0aef482b8569e4ac24dfbf7efa25ded4120579d206da8163ec19ce673081b
7
+ data.tar.gz: 3b1f723e4ccfa4ddfb85e1c9be69a3444e20b9dc06d4cfb01ee30f2bdfe7949995ceacebd4f65deb51fbcde5f5a44c09fc8dd9c6646c43a07675e89e9b824be0
data/LICENSE CHANGED
@@ -1,4 +1,4 @@
1
- Copyright (c) 2019, Brooke M. Fujita.
1
+ Copyright (c) 2020, Brooke M. Fujita.
2
2
  All rights reserved.
3
3
 
4
4
  Redistribution and use in source and binary forms, with or without
@@ -1,7 +1,7 @@
1
1
  # coding: utf-8
2
2
  require 'natto/natto'
3
3
 
4
- # Copyright (c) 2019, Brooke M. Fujita.
4
+ # Copyright (c) 2020, Brooke M. Fujita.
5
5
  # All rights reserved.
6
6
  #
7
7
  # Redistribution and use in source and binary forms, with or without
@@ -237,7 +237,7 @@ module Natto
237
237
  end
238
238
  end
239
239
 
240
- # Copyright (c) 2019, Brooke M. Fujita.
240
+ # Copyright (c) 2020, Brooke M. Fujita.
241
241
  # All rights reserved.
242
242
  #
243
243
  # Redistribution and use in source and binary forms, with or without
@@ -343,7 +343,6 @@ module Natto
343
343
  }
344
344
 
345
345
  @parse_tonodes = ->(text, constraints) {
346
- self.mecab_lattice_add_request_type(@lattice, MECAB_LATTICE_NBEST)
347
346
  Enumerator.new do |y|
348
347
  begin
349
348
  if @options[:nbest] && @options[:nbest] > 1
@@ -627,7 +626,7 @@ module Natto
627
626
  class MeCabError < RuntimeError; end
628
627
  end
629
628
 
630
- # Copyright (c) 2019, Brooke M. Fujita.
629
+ # Copyright (c) 2020, Brooke M. Fujita.
631
630
  # All rights reserved.
632
631
  #
633
632
  # Redistribution and use in source and binary forms, with or without
@@ -116,7 +116,7 @@ module Natto
116
116
  end
117
117
  end
118
118
 
119
- # Copyright (c) 2019, Brooke M. Fujita.
119
+ # Copyright (c) 2020, Brooke M. Fujita.
120
120
  # All rights reserved.
121
121
  #
122
122
  # Redistribution and use in source and binary forms, with or without
@@ -307,7 +307,7 @@ module Natto
307
307
  end
308
308
  end
309
309
 
310
- # Copyright (c) 2019, Brooke M. Fujita.
310
+ # Copyright (c) 2020, Brooke M. Fujita.
311
311
  # All rights reserved.
312
312
  #
313
313
  # Redistribution and use in source and binary forms, with or without
@@ -26,10 +26,10 @@
26
26
  # `Natto`.
27
27
  module Natto
28
28
  # Version string for this Rubygem.
29
- VERSION = "1.1.2"
29
+ VERSION = "1.2.0"
30
30
  end
31
31
 
32
- # Copyright (c) 2019, Brooke M. Fujita.
32
+ # Copyright (c) 2020, Brooke M. Fujita.
33
33
  # All rights reserved.
34
34
  #
35
35
  # Redistribution and use in source and binary forms, with or without
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: natto
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.2
4
+ version: 1.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Brooke M. Fujita
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-01-12 00:00:00.000000000 Z
11
+ date: 2020-03-11 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: ffi
@@ -52,8 +52,11 @@ dependencies:
52
52
  - - ">="
53
53
  - !ruby/object:Gem::Version
54
54
  version: '0'
55
- description: |
56
- natto provides a naturally Ruby-esque interface to MeCab. It runs on both CRuby (mri/yarv) and JRuby (jvm). It works with MeCab installations on Windows, Unix/Linux, and OS X. No compiler is necessary, as natto is not a C extension.
55
+ description: 'natto provides a naturally Ruby-esque interface to MeCab. It runs on
56
+ both CRuby (mri/yarv) and JRuby (jvm). It works with MeCab installations on Windows,
57
+ Unix/Linux, and OS X. No compiler is necessary, as natto is not a C extension.
58
+
59
+ '
57
60
  email: buruzaemon@gmail.com
58
61
  executables: []
59
62
  extensions: []
@@ -90,8 +93,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
90
93
  requirements:
91
94
  - MeCab 0.996
92
95
  - FFI, 1.9.0 or greater
93
- rubyforge_project:
94
- rubygems_version: 2.4.8
96
+ rubygems_version: 3.0.3
95
97
  signing_key:
96
98
  specification_version: 4
97
99
  summary: A gem leveraging FFI (foreign function interface), natto combines the Ruby