relix 1.2.1 → 1.3.0

Sign up to get free protection for your applications and to get access to all the features.
data/HISTORY.md CHANGED
@@ -1,3 +1,7 @@
1
+ ### 1.3.0
2
+
3
+ * Update redis-rb dependency to 3.0. (ntalbott)
4
+
1
5
  ### 1.2.1
2
6
 
3
7
  * Handle out of memory errors better. (myronmarston)
@@ -157,6 +157,8 @@ module Relix
157
157
  raise ExceededRetriesForConcurrentWritesError.new if retries <= 0
158
158
  end
159
159
  end
160
+ rescue Redis::CommandError => e
161
+ raise RedisIndexingError.new(e.message)
160
162
  end
161
163
 
162
164
  def primary_key_for(object)
data/lib/relix/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Relix
2
- VERSION = "1.2.1"
3
- end
2
+ VERSION = "1.3.0"
3
+ end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: relix
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.2.1
4
+ version: 1.3.0
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,11 +9,11 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2012-02-14 00:00:00.000000000 Z
12
+ date: 2012-12-11 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: hiredis
16
- requirement: &70310579348720 !ruby/object:Gem::Requirement
16
+ requirement: &70128679226480 !ruby/object:Gem::Requirement
17
17
  none: false
18
18
  requirements:
19
19
  - - ~>
@@ -21,18 +21,18 @@ dependencies:
21
21
  version: 0.4.1
22
22
  type: :runtime
23
23
  prerelease: false
24
- version_requirements: *70310579348720
24
+ version_requirements: *70128679226480
25
25
  - !ruby/object:Gem::Dependency
26
26
  name: redis
27
- requirement: &70310579348200 !ruby/object:Gem::Requirement
27
+ requirement: &70128679224880 !ruby/object:Gem::Requirement
28
28
  none: false
29
29
  requirements:
30
30
  - - ~>
31
31
  - !ruby/object:Gem::Version
32
- version: 2.2.2
32
+ version: '3.0'
33
33
  type: :runtime
34
34
  prerelease: false
35
- version_requirements: *70310579348200
35
+ version_requirements: *70128679224880
36
36
  description: ! 'Relix is a layer that can be added on to any model to make all the
37
37
  normal types of querying you want to do: equality, less than/greater than, in set,
38
38
  range, limit, etc., quick and painless. Relix depends on Redis to be awesome at
@@ -70,9 +70,6 @@ required_ruby_version: !ruby/object:Gem::Requirement
70
70
  - - ! '>='
71
71
  - !ruby/object:Gem::Version
72
72
  version: '0'
73
- segments:
74
- - 0
75
- hash: -2061026527532118384
76
73
  required_rubygems_version: !ruby/object:Gem::Requirement
77
74
  none: false
78
75
  requirements: