jumanpp_ruby 0.1.0 → 0.1.1

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
  SHA1:
3
- metadata.gz: b06d2bf6991b1ea84f984402f26913c126e587b1
4
- data.tar.gz: e4cd2d48de28052e9497922ef3cbf517d59c3f77
3
+ metadata.gz: bb26d6625204f5aa03c84140c5a4dd95e5202540
4
+ data.tar.gz: 7b6506c11ff80cdc83ea936541be60e96b097309
5
5
  SHA512:
6
- metadata.gz: 258e9a06794309a1f46e578216a03b10cac1164e4ff56ae74bdbacbd6d9618542b43b9d790b0d31a96f7287f50bb6d29cd3c40b1177d73fd25cfb74701c05cb4
7
- data.tar.gz: ce931b6ab21105461adc76c02d6490d0bbe474baa022d025c92d8489d8727b169cec55a03d956dc893255dff951fec37ef51a229305d3de401bd9aa3034d9154
6
+ metadata.gz: 9a864cdec2eeaade2c55a100b91cbf3a44284cfd6a097fbc917b48d6276241e04b352a248d32d174f06072d66d2851b24586eb8814a7d32766a871f48912c48a
7
+ data.tar.gz: f8d6484d1558c5ae47ecd36b9e737c87572b850c369aa216c8b81271c09fdf9ae2f18d457d975607ad55da0b60b2ee5fca3630b4a3f79cdd13c11d9690aed9ec
data/README.md CHANGED
@@ -18,7 +18,7 @@ Or install it yourself as:
18
18
 
19
19
  ## Usage
20
20
 
21
- ### JumanppRuby::Juman.parse
21
+ ### `JumanppRuby::Juman.parse`
22
22
 
23
23
  `parse(text)`method can parse Japanese text as `Array` if first argument only.
24
24
 
@@ -49,7 +49,7 @@ end
49
49
  # =>["EOS"]
50
50
  ```
51
51
 
52
- ### String.parse
52
+ ### `String.parse`
53
53
 
54
54
  You can use `parse` method as `String` instance method.
55
55
 
data/lib/jumanpp_ruby.rb CHANGED
@@ -1,9 +1,9 @@
1
1
  # frozen_string_literal: true
2
2
  require 'jumanpp_ruby/version'
3
+ require 'jumanpp_ruby/string'
3
4
 
4
5
  module JumanppRuby
5
6
  class Juman
6
-
7
7
  require 'open3'
8
8
 
9
9
  def initialize(**options)
@@ -44,9 +44,3 @@ module JumanppRuby
44
44
  end
45
45
  end
46
46
  end
47
-
48
- String.class_eval do
49
- def parse(*option)
50
- JumanppRuby::Juman.new(*option).parse(self)
51
- end
52
- end
@@ -0,0 +1,6 @@
1
+ # frozen_string_literal: true
2
+ String.class_eval do
3
+ def parse(*option)
4
+ JumanppRuby::Juman.new(*option).parse(self)
5
+ end
6
+ end
@@ -1,3 +1,3 @@
1
1
  module JumanppRuby
2
- VERSION = "0.1.0"
2
+ VERSION = "0.1.1"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jumanpp_ruby
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - sho ishihara
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2017-01-19 00:00:00.000000000 Z
11
+ date: 2017-01-21 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -72,6 +72,7 @@ files:
72
72
  - bin/setup
73
73
  - jumanpp_ruby.gemspec
74
74
  - lib/jumanpp_ruby.rb
75
+ - lib/jumanpp_ruby/string.rb
75
76
  - lib/jumanpp_ruby/version.rb
76
77
  homepage: https://github.com/EastResident/jumanpp_ruby
77
78
  licenses: