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 +4 -4
- data/lib/nazrin/document_client.rb +2 -2
- data/lib/nazrin/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: fdbaeecde6e9b0e8573edbe6b8be327c32680137
|
4
|
+
data.tar.gz: 46a593d8de85ede4dd2bd06c33bab61848315a80
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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
|
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
|
29
|
+
return nil if Nazrin.config.mode == 'sandbox'
|
30
30
|
client.upload_documents(
|
31
31
|
documents: [
|
32
32
|
{
|
data/lib/nazrin/version.rb
CHANGED
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.
|
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-
|
11
|
+
date: 2017-01-27 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk
|