docomo-nlu 0.2.6 → 0.2.7

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
  SHA256:
3
- metadata.gz: '08034a60bf16379d40abb5485451e3bf4d1a8d1e61deeeb68f3f3df71e7122c0'
4
- data.tar.gz: cebeb6e745af177a7ab841d7cd83787c920e0c7e06a656e0aba8f1ff6199a8ca
3
+ metadata.gz: 9863725b2010a1ac93914bf7a8011f56a426f242b1549b0758ce3d4c0a983f0d
4
+ data.tar.gz: f4f82ce7980f45db0a597ddb07412082cda9d2cc0dc46fe6c403283c16336e5a
5
5
  SHA512:
6
- metadata.gz: 19ac577b2c46521c6d325b9c463fb3ecb98119958c799960bca48105a397fcbc21b251a7e750d463a46ecc8464fbb9b9ae34aaee596b195f4578508cbbbad9ae
7
- data.tar.gz: f6daa422c37239930ebd6dd3dc34ee7a56a8c05cc81ef182378f5821f6a64285c2b55f0f6ed69d964c6933ca9707c39f101a8aa8cf96aa5def69f541b0baf709
6
+ metadata.gz: 00b16c45428c832337df4f6aa535eeae196983af8e066ce6b74f285b500bb194cc3f98b2b49f8e5c64ce515245b0736b3c2c3d28a53a0903d91bc2d1856953c0
7
+ data.tar.gz: 726379400702bc7d19ab161d5808b1bb9526c2c320ab705a30764282b2fa96c2675904dd1e165b42efca9a25b5d7141d63367d16454a6b174d6ab21b25b6eef4
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- docomo-nlu (0.2.6)
4
+ docomo-nlu (0.2.7)
5
5
  activeresource (~> 5.0.0)
6
6
  bundler
7
7
  faraday
@@ -47,7 +47,7 @@ module DocomoNlu
47
47
  class << self
48
48
  def instantiate_collection(collection, original_params = {}, prefix_options = {})
49
49
  if collection.is_a?(Hash)
50
- collection = if collection.empty? || collection.first[1].nil?
50
+ collection = if collection.compact.empty?
51
51
  []
52
52
  else
53
53
  [collection]
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module DocomoNlu
4
- VERSION = "0.2.6"
4
+ VERSION = "0.2.7"
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: docomo-nlu
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.6
4
+ version: 0.2.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Koji Yamazaki
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2019-06-26 00:00:00.000000000 Z
11
+ date: 2019-07-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activeresource