simply_stored 0.6.2 → 0.6.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
data/CHANGELOG.md CHANGED
@@ -1,6 +1,10 @@
1
1
  Changelog
2
2
  =============
3
3
 
4
+ 0.6.3
5
+
6
+ - Compatible with CouchPotato 0.5.6
7
+
4
8
  0.6.2
5
9
 
6
10
  - Decorate conflict exceptions with information about the conflict
data/Gemfile.lock CHANGED
@@ -7,7 +7,7 @@ GEM
7
7
  i18n (~> 0.5.0)
8
8
  activesupport (3.0.9)
9
9
  builder (2.1.2)
10
- couch_potato (0.5.0)
10
+ couch_potato (0.5.6)
11
11
  activemodel
12
12
  couchrest (>= 1.0.1)
13
13
  json
@@ -16,7 +16,7 @@ GEM
16
16
  mime-types (>= 1.15)
17
17
  rest-client (>= 1.5.1)
18
18
  i18n (0.5.0)
19
- json (1.4.6)
19
+ json (1.5.3)
20
20
  mattmatt-validatable (1.8.4)
21
21
  mime-types (1.16)
22
22
  mocha (0.9.8)
@@ -36,7 +36,7 @@ PLATFORMS
36
36
 
37
37
  DEPENDENCIES
38
38
  activesupport (~> 3.0.0)
39
- couch_potato (= 0.5.0)
39
+ couch_potato (= 0.5.6)
40
40
  couchrest (= 1.0.1)
41
41
  mattmatt-validatable (= 1.8.4)
42
42
  mocha
data/lib/simply_stored.rb CHANGED
@@ -5,7 +5,7 @@ unless defined?(SimplyStored)
5
5
  require File.expand_path(File.dirname(__FILE__) + '/simply_stored/class_methods_base')
6
6
 
7
7
  module SimplyStored
8
- VERSION = '0.6.2'
8
+ VERSION = '0.6.3'
9
9
  class Error < RuntimeError; end
10
10
  class RecordNotFound < RuntimeError; end
11
11
  end
@@ -29,11 +29,11 @@ module CouchPotato
29
29
  if run_callbacks
30
30
  document.run_callbacks :destroy do
31
31
  document._deleted = true
32
- database.delete_doc document.to_hash
32
+ couchrest_database.delete_doc document.to_hash
33
33
  end
34
34
  else
35
35
  document._deleted = true
36
- database.delete_doc document.to_hash
36
+ couchrest_database.delete_doc document.to_hash
37
37
  end
38
38
  document._id = nil
39
39
  document._rev = nil
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: simply_stored
3
3
  version: !ruby/object:Gem::Version
4
- hash: 3
4
+ hash: 1
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 6
9
- - 2
10
- version: 0.6.2
9
+ - 3
10
+ version: 0.6.3
11
11
  platform: ruby
12
12
  authors:
13
13
  - Mathias Meyer, Jonathan Weiss
@@ -85,12 +85,12 @@ dependencies:
85
85
  requirements:
86
86
  - - "="
87
87
  - !ruby/object:Gem::Version
88
- hash: 11
88
+ hash: 7
89
89
  segments:
90
90
  - 0
91
91
  - 5
92
- - 0
93
- version: 0.5.0
92
+ - 6
93
+ version: 0.5.6
94
94
  name: couch_potato
95
95
  prerelease: false
96
96
  type: :runtime