docomo-nlu 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
  SHA256:
3
- metadata.gz: d46edbf83f22cda2fbb160afbdd2ef46d319a058967affc07181b20cfc5ffb5d
4
- data.tar.gz: 995691b5aa52e678709b9851c12090fc3c9ceeeae6819dde6287c83cfe36294c
3
+ metadata.gz: 0463dee16bd58cba464d5f69af277e5eeaf7ece13c5b837049865a2b50f83beb
4
+ data.tar.gz: 505cc11728ed99a1b261bdfec16e843f68f8a18dc2389e5ed8a05adb5fd47d68
5
5
  SHA512:
6
- metadata.gz: 914115164db9281b18599fb17d0ef2ec1343e1ddeee39026db49f4d129229bd83c7ae2f19b174563d7a0970d1e2cab4f88bce03ead960fdd3cbcff9a6e13572f
7
- data.tar.gz: 855b0eac2809d2a06294f815c46c41f5dc5205b6e2a604982f82dbe35fc029ee2780ad95e972c65ecd1dad97466f6b12075b6f51e2695b04037029f9ae8f56dd
6
+ metadata.gz: 25716a537b42285c6ffa6166b2a00de1125dc927ffa4cc5cabd2d96bd963c7536785db0bf4fa886ca81b73f39a5da880ca04d3ddb08f4a384ce98f50093e9e34
7
+ data.tar.gz: 50628f14ef15748170d022bba30c860c6de65e887dd13dcb1005b9bd2cba5f96630807aeb865f48d5c4770ec1054dcb93d6bff175a6ad803dccc6927f8d23c56
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- docomo-nlu (0.3.4)
4
+ docomo-nlu (0.3.5)
5
5
  activeresource (>= 5.0, < 5.2)
6
6
  bundler
7
7
  faraday
@@ -16,7 +16,7 @@ module DocomoNlu
16
16
  class << self
17
17
  def create(file, prefix_options)
18
18
  check_prefix_options(prefix_options)
19
- raise ActiveResource::BadRequest, "" unless file.instance_of?(File)
19
+ raise ActiveResource::BadRequest, "" if file.nil?
20
20
 
21
21
  upload(file, prefix_options)
22
22
  end
@@ -21,7 +21,7 @@ module DocomoNlu
21
21
  class << self
22
22
  def create(file, prefix_options)
23
23
  check_prefix_options(prefix_options)
24
- raise ActiveResource::BadRequest, "" unless file.instance_of?(File)
24
+ raise ActiveResource::BadRequest, "" if file.nil?
25
25
 
26
26
  upload(file, prefix_options)
27
27
  end
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module DocomoNlu
4
- VERSION = "0.3.4"
4
+ VERSION = "0.3.5"
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.3.4
4
+ version: 0.3.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Koji Yamazaki
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2020-11-02 00:00:00.000000000 Z
11
+ date: 2020-11-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activeresource