nazrin 2.1.0 → 2.1.1

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: 524d0d3e179dce958e889f80d845acca4c4f9eb3
4
- data.tar.gz: ee8bf324ef3f1d2a6af74f8f52f7a7454fc70756
3
+ metadata.gz: fdbaeecde6e9b0e8573edbe6b8be327c32680137
4
+ data.tar.gz: 46a593d8de85ede4dd2bd06c33bab61848315a80
5
5
  SHA512:
6
- metadata.gz: d2d02c1413b55ba7face169e538fe71b069ee2f84f1f0da72cfaa0e38e9008f07d10f7db22d6bb888840c549ba010e962b4cc4a7680c9d02950008c165d33a79
7
- data.tar.gz: 322b95b0772eb59c1c446e4bf9616d5d9bbb3052a69e5b80d4a683422ed8197157509ea85a751df78eb314d8c6fdc7c08ac54ea7c9f10e3474185298d64a4681
6
+ metadata.gz: 5d9e78b8e460da8833c1f3777ecb50061c95de076d5144544d4fc8c9ae6a9d52ebb7b8227e58167299816db5d40e4144f401675c122976b715c2ddd240b7dc1c
7
+ data.tar.gz: f4114b3270eacfa96f83fcafc7b472ae36d39ac24e9be6f908026f0fb1c7e2a8940354a486df979f40407ff1bade52ea2b8da24735ac2e970651e0d5488385f4
@@ -12,7 +12,7 @@ module Nazrin
12
12
 
13
13
  def add_document(id, field_data)
14
14
  ActiveSupport::Deprecation.warn 'config.debug_mode is deprecated. Use config.mode = \'sandbox\' instead.' and return nil if Nazrin.config.debug_mode
15
- return nil if Nazrin.config.mode = 'sandbox'
15
+ return nil if Nazrin.config.mode == 'sandbox'
16
16
  client.upload_documents(
17
17
  documents: [
18
18
  {
@@ -26,7 +26,7 @@ module Nazrin
26
26
 
27
27
  def delete_document(id)
28
28
  ActiveSupport::Deprecation.warn 'config.debug_mode is deprecated. Use config.mode = \'sandbox\' instead.' and return nil if Nazrin.config.debug_mode
29
- return nil if Nazrin.config.mode = 'sandbox'
29
+ return nil if Nazrin.config.mode == 'sandbox'
30
30
  client.upload_documents(
31
31
  documents: [
32
32
  {
@@ -1,3 +1,3 @@
1
1
  module Nazrin
2
- VERSION = '2.1.0'
2
+ VERSION = '2.1.1'
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: nazrin
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.1.0
4
+ version: 2.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tomohiro Suwa
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-01-24 00:00:00.000000000 Z
11
+ date: 2017-01-27 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk