myrurema 0.3.4 → 0.3.5

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: 1aee083a05c5bdab23da838eed8a253c29000b9a
4
- data.tar.gz: 7100a799249c4506087b87925187bf6881d9826c
3
+ metadata.gz: 984fbb233ba05c318c21a407c2ccc1233eca3610
4
+ data.tar.gz: fb011874b1bba113a150b3145f295a6e8da90c8f
5
5
  SHA512:
6
- metadata.gz: 2010dcb887849e16c9a80b507452c63c70dd12df910bd2103692b4c20361b89526cb92e56137152ded8ef2267872ca500ede413ebed03592e412dc87e87aa208
7
- data.tar.gz: 8fdd6b9bee100e7ea85458a3667f332aa9cf888682461e1892f51dba5dc5bbade9ddff74491f20882c0f60c0fc3a261dbd58c5b776329a16cf39d15a448a4023
6
+ metadata.gz: a6b5d77fe7d9b6d2bc9f04eec4ada16c0f3002da11fc03d0de848432ec6325bd54a933bd9f994d2ceb82818b2712fb96334bd69089053e41f68902aee3a92080
7
+ data.tar.gz: 16bdb49eab49279cbe931cffca6a4de3264e6ee748067bf716ddf4a62472bab9014ce0216cd6b0b57dda45b9baeffe74ecd7e20337aad482d97eca2feecc885c
@@ -164,7 +164,7 @@ class MyRurema
164
164
 
165
165
  # if first several words are results of AND search
166
166
  lines.first(2).join.split(/\s+/).all? do |word|
167
- query.all? do |q|
167
+ Array(query).all? do |q|
168
168
  word =~ Regexp.new(q, 'i')
169
169
  end
170
170
  end
@@ -1,4 +1,4 @@
1
1
  class MyRurema
2
- VERSION = "0.3.4"
2
+ VERSION = "0.3.5"
3
3
  end
4
4
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: myrurema
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.4
4
+ version: 0.3.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Yutaka HARA
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2013-06-26 00:00:00.000000000 Z
11
+ date: 2013-07-16 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: launchy
@@ -80,7 +80,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
80
80
  version: '0'
81
81
  requirements: []
82
82
  rubyforge_project:
83
- rubygems_version: 2.0.0
83
+ rubygems_version: 2.0.3
84
84
  signing_key:
85
85
  specification_version: 4
86
86
  summary: A tool for Rurema (the new Japanese Ruby reference manual)