riak-record 0.8.0 → 0.8.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/TODO.md +1 -0
- data/VERSION +1 -1
- data/lib/riak_record/finder/basic.rb +3 -2
- data/riak-record.gemspec +3 -3
- 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: 22ab04b398e94247af90d6c742800aa9572a6f4c
|
4
|
+
data.tar.gz: 2f3b0ed2893c0fa239aa679a849624c93f4933c9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3713521678d48f802d9efa49c2db41f656001978533ab596481851d00c1c542754f7765c9908a17a79758f2ad94363959a80b349a8776b8085ad85522eb977d8
|
7
|
+
data.tar.gz: cbb415ef1c0b1d47658ec8e327dce41a06e17026b3bbf6fe48531024fd9e77d141fe56fb577a87bcf3b35e105210a19ee4697a74d046258319c06efe85710ee1
|
data/TODO.md
CHANGED
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.8.
|
1
|
+
0.8.1
|
@@ -69,9 +69,10 @@ module Finder
|
|
69
69
|
def empty?(&block)
|
70
70
|
if block_given?
|
71
71
|
!any?(&block)
|
72
|
-
|
73
|
-
load_next_page(1) unless load_started?
|
72
|
+
elsif load_started?
|
74
73
|
@loaded_objects.count.zero?
|
74
|
+
else
|
75
|
+
Riak::SecondaryIndex.new(@bucket, @index, @value, :max_results => 1).keys.empty?
|
75
76
|
end
|
76
77
|
end
|
77
78
|
alias :none? :empty?
|
data/riak-record.gemspec
CHANGED
@@ -2,16 +2,16 @@
|
|
2
2
|
# DO NOT EDIT THIS FILE DIRECTLY
|
3
3
|
# Instead, edit Jeweler::Tasks in Rakefile, and run 'rake gemspec'
|
4
4
|
# -*- encoding: utf-8 -*-
|
5
|
-
# stub: riak-record 0.8.
|
5
|
+
# stub: riak-record 0.8.1 ruby lib
|
6
6
|
|
7
7
|
Gem::Specification.new do |s|
|
8
8
|
s.name = "riak-record"
|
9
|
-
s.version = "0.8.
|
9
|
+
s.version = "0.8.1"
|
10
10
|
|
11
11
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
12
12
|
s.require_paths = ["lib"]
|
13
13
|
s.authors = ["Robert Graff"]
|
14
|
-
s.date = "2014-
|
14
|
+
s.date = "2014-11-04"
|
15
15
|
s.description = "RiakRecord is a thin and immature wrapper around riak-ruby-client. It creates a bucket for\n each class, provides a simple finder, and creates attribute reader."
|
16
16
|
s.email = "robert_graff@yahoo.com"
|
17
17
|
s.extra_rdoc_files = [
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: riak-record
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.8.
|
4
|
+
version: 0.8.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Robert Graff
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-
|
11
|
+
date: 2014-11-04 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: riak-client
|