nazrin 2.6.1 → 2.6.2

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: bc6244cc7531a08e3055fb2a8e9deeb2b7f6ade3
4
- data.tar.gz: 08161217158c5a9ee6aa1b46f3f923e6dcb6ae5c
3
+ metadata.gz: 8f65c87ab62673a083a1ff25f8bb1ef6895bc711
4
+ data.tar.gz: 2720dc6ef684787ddda67c54a2cb9629513bf8fd
5
5
  SHA512:
6
- metadata.gz: 71d70120f54110d155a7735a5b50d351e867f212656e4ac76a4ad3302e9271bf05f81f773343f21e043438745d51a490e50e75ec3f5fa3e243f65dcebba291be
7
- data.tar.gz: 1178dd089c2c2f52ba0562430facbfda14de8085b07e3ef544de58db7b3124aaf1cd99defa7004d64d7b6ff152ad6aa3ddbb166e24e0d3605c72984a0e576582
6
+ metadata.gz: 131440d1483c5239c9097eab18c1ab50d1842fad9463f248748f9fd682f9fdb3ba393be94665e1cdc5dfeb42531e41ed3ddeeccc858cd143518bed2e02995d36
7
+ data.tar.gz: 87daa6ba9f73f46c3287fd4853e5e6e280155991a0b68e19e12b9b59216dc7cfa3cbcd9842ce5497239388eb7b75472cdd6ea84049c7be0f1edc116ca203060f
data/README.md CHANGED
@@ -108,7 +108,7 @@ Currently supported libraries
108
108
  When there is no instance for development and you don't want to request to CloudSearch
109
109
 
110
110
  ```ruby
111
- Nazrion.config.mode = 'sandbox'
111
+ Nazrin.config.mode = 'sandbox'
112
112
  ```
113
113
 
114
114
  "sandbox" mode where it does nothing with any requests and just returns an empty collection for any searches.
@@ -5,7 +5,7 @@ module Nazrin
5
5
  def load_all(ids)
6
6
  records_table = {}
7
7
  options.each do |k, v|
8
- model = model.send(k, v)
8
+ @model = model.send(k, v)
9
9
  end
10
10
  model.where(id: ids).each do |record|
11
11
  records_table[record.id] = record
@@ -4,7 +4,7 @@ module Nazrin
4
4
  def load_all(ids)
5
5
  documents_table = {}
6
6
  options.each do |k, v|
7
- model = if v.nil?
7
+ @model = if v.nil?
8
8
  model.send(k)
9
9
  else
10
10
  model.send(k, v)
@@ -1,3 +1,3 @@
1
1
  module Nazrin
2
- VERSION = '2.6.1'
2
+ VERSION = '2.6.2'
3
3
  end
@@ -27,7 +27,7 @@ Gem::Specification.new do |spec|
27
27
  spec.add_development_dependency 'rubocop'
28
28
  spec.add_development_dependency 'rspec'
29
29
  spec.add_development_dependency 'coveralls'
30
- spec.add_development_dependency 'sqlite3'
30
+ spec.add_development_dependency 'sqlite3', '~> 1.3.6'
31
31
  spec.add_development_dependency 'activerecord'
32
32
  spec.add_development_dependency 'database_cleaner'
33
33
  spec.add_development_dependency 'mongoid'
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.6.1
4
+ version: 2.6.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tomohiro Suwa
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-03-14 00:00:00.000000000 Z
11
+ date: 2019-02-22 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core
@@ -140,16 +140,16 @@ dependencies:
140
140
  name: sqlite3
141
141
  requirement: !ruby/object:Gem::Requirement
142
142
  requirements:
143
- - - ">="
143
+ - - "~>"
144
144
  - !ruby/object:Gem::Version
145
- version: '0'
145
+ version: 1.3.6
146
146
  type: :development
147
147
  prerelease: false
148
148
  version_requirements: !ruby/object:Gem::Requirement
149
149
  requirements:
150
- - - ">="
150
+ - - "~>"
151
151
  - !ruby/object:Gem::Version
152
- version: '0'
152
+ version: 1.3.6
153
153
  - !ruby/object:Gem::Dependency
154
154
  name: activerecord
155
155
  requirement: !ruby/object:Gem::Requirement
@@ -246,7 +246,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
246
246
  version: '0'
247
247
  requirements: []
248
248
  rubyforge_project:
249
- rubygems_version: 2.5.1
249
+ rubygems_version: 2.4.5.1
250
250
  signing_key:
251
251
  specification_version: 4
252
252
  summary: Ruby wrapper for Amazon CloudSearch (aws-sdk)