nano-store 0.3.7 → 0.3.8
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/nano_store/finder.rb +4 -4
- data/lib/nano_store/version.rb +1 -1
- data/nano-store.gemspec +1 -1
- metadata +8 -8
data/lib/nano_store/finder.rb
CHANGED
@@ -67,9 +67,9 @@ module NanoStore
|
|
67
67
|
# Return array of keys
|
68
68
|
#
|
69
69
|
# Examples:
|
70
|
-
# User.
|
71
|
-
# User.
|
72
|
-
# User.
|
70
|
+
# User.find_keys(:name, NSFEqualTo, "Bob") # => ["1"]
|
71
|
+
# User.find_keys(:name => "Bob") # => ["1"]
|
72
|
+
# User.find_keys(:name => {NSFEqualTo => "Bob"}) # => ["1"]
|
73
73
|
#
|
74
74
|
def find_keys(*arg)
|
75
75
|
if arg[0].is_a?(Hash)
|
@@ -112,7 +112,7 @@ module NanoStore
|
|
112
112
|
searchResults.select {|obj| obj.class == self }.collect(&:key)
|
113
113
|
end
|
114
114
|
|
115
|
-
|
115
|
+
private
|
116
116
|
def expressions_with_options(options)
|
117
117
|
expressions = []
|
118
118
|
options.each do |key, val|
|
data/lib/nano_store/version.rb
CHANGED
data/nano-store.gemspec
CHANGED
@@ -15,6 +15,6 @@ Gem::Specification.new do |gem|
|
|
15
15
|
gem.version = NanoStore::VERSION
|
16
16
|
|
17
17
|
gem.add_dependency 'bubble-wrap', '>= 0.1.1'
|
18
|
-
gem.add_dependency 'motion-cocoapods', '>= 1.0.
|
18
|
+
gem.add_dependency 'motion-cocoapods', '>= 1.0.1'
|
19
19
|
gem.add_development_dependency 'motion-redgreen'
|
20
20
|
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: nano-store
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.3.
|
4
|
+
version: 0.3.8
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -13,7 +13,7 @@ date: 2012-05-23 00:00:00.000000000 Z
|
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: bubble-wrap
|
16
|
-
requirement: &
|
16
|
+
requirement: &70162724225720 !ruby/object:Gem::Requirement
|
17
17
|
none: false
|
18
18
|
requirements:
|
19
19
|
- - ! '>='
|
@@ -21,21 +21,21 @@ dependencies:
|
|
21
21
|
version: 0.1.1
|
22
22
|
type: :runtime
|
23
23
|
prerelease: false
|
24
|
-
version_requirements: *
|
24
|
+
version_requirements: *70162724225720
|
25
25
|
- !ruby/object:Gem::Dependency
|
26
26
|
name: motion-cocoapods
|
27
|
-
requirement: &
|
27
|
+
requirement: &70162724225080 !ruby/object:Gem::Requirement
|
28
28
|
none: false
|
29
29
|
requirements:
|
30
30
|
- - ! '>='
|
31
31
|
- !ruby/object:Gem::Version
|
32
|
-
version: 1.0.
|
32
|
+
version: 1.0.1
|
33
33
|
type: :runtime
|
34
34
|
prerelease: false
|
35
|
-
version_requirements: *
|
35
|
+
version_requirements: *70162724225080
|
36
36
|
- !ruby/object:Gem::Dependency
|
37
37
|
name: motion-redgreen
|
38
|
-
requirement: &
|
38
|
+
requirement: &70162724224600 !ruby/object:Gem::Requirement
|
39
39
|
none: false
|
40
40
|
requirements:
|
41
41
|
- - ! '>='
|
@@ -43,7 +43,7 @@ dependencies:
|
|
43
43
|
version: '0'
|
44
44
|
type: :development
|
45
45
|
prerelease: false
|
46
|
-
version_requirements: *
|
46
|
+
version_requirements: *70162724224600
|
47
47
|
description: Wrapper for NanoStore, a lightweight schema-less key-value document database
|
48
48
|
based on sqlite, for RubyMotion.
|
49
49
|
email:
|