ikku 0.1.2 → 0.1.3

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
  SHA1:
3
- metadata.gz: 35d7cad5cfe61dfda39ba6567212579890d1c563
4
- data.tar.gz: d7cafd5b2e597c4afec2a551008f99bb6759e857
3
+ metadata.gz: c3ad0522cf51cd1dd41019d18ac9a3e35750bf7a
4
+ data.tar.gz: 5feba93c64c1d9b43e1073dfbd6d5a83639d9bd8
5
5
  SHA512:
6
- metadata.gz: c481b9f2715cc245851ae632ad516fcc605dc741303e2500ce1bdf8218b3b3d154f5fa90e58ae69a4dec484a76e8bf8189adb119eedb042025e0f2262f6ef1d9
7
- data.tar.gz: adb112fa8c71523c58cbdcf26802b60ea0023a252cfb6b8e3119e3a7249fb9abb988412341e6b2039226a7b0a292cd45b59a527308dfd9271da5afe4898da271
6
+ metadata.gz: 9f7163c4bd6d70cd0fbbc7de9a5b50dfa9c61f85137f1c7d9bdcb42009d2a68595bcbf13a20554e440c314f0a7bd76f0664c22894f4c6b3af2673e1df1a6550f
7
+ data.tar.gz: 2b66ef9219150bf5a33673b69b02af79cc5693ca0303f31d4486f0aa6a8013f12aaaa3de8b125b4261b80da30740be5944f119534d1a13cef33e7d4a98d3e00e
@@ -1,3 +1,6 @@
1
+ ## 0.1.3
2
+ - Don't allow song ending with 未然形
3
+
1
4
  ## 0.1.2
2
5
  - Don't allow song ending with サ変・スル in 連用形 (-し)
3
6
  - Don't allow song ending with 動詞 in 仮定形
@@ -76,7 +76,7 @@ module Ikku
76
76
  false
77
77
  when conjugation1 == "サ変・スル" && conjugation2 == "連用形"
78
78
  false
79
- when type == "動詞" && conjugation2 == "仮定形"
79
+ when type == "動詞" && ["仮定形", "未然形"].include?(conjugation2)
80
80
  false
81
81
  else
82
82
  true
@@ -1,3 +1,3 @@
1
1
  module Ikku
2
- VERSION = "0.1.2"
2
+ VERSION = "0.1.3"
3
3
  end
@@ -53,6 +53,14 @@ RSpec.describe Ikku::Reviewer do
53
53
 
54
54
  it { is_expected.to be_nil }
55
55
  end
56
+
57
+ context "with song ending with 未然形 (い)" do
58
+ let(:text) do
59
+ "学会に多分ネイティブほとんどいない"
60
+ end
61
+
62
+ it { is_expected.to be_nil }
63
+ end
56
64
  end
57
65
 
58
66
  describe "#judge" do
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ikku
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.2
4
+ version: 0.1.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ryo Nakamura
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-02-23 00:00:00.000000000 Z
11
+ date: 2015-02-24 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: natto
@@ -125,7 +125,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
125
125
  version: '0'
126
126
  requirements: []
127
127
  rubyforge_project:
128
- rubygems_version: 2.4.5
128
+ rubygems_version: 2.2.2
129
129
  signing_key:
130
130
  specification_version: 4
131
131
  summary: Discover haiku from text.