gom-couchdb-adapter 0.4.4 → 0.4.5

Sign up to get free protection for your applications and to get access to all the features.
@@ -27,6 +27,7 @@ class GOM::Storage::CouchDB::View::Pusher
27
27
  end
28
28
 
29
29
  def push_design
30
+ @design.fetch_rev
30
31
  @design.save
31
32
  end
32
33
 
@@ -20,7 +20,7 @@ describe GOM::Storage::CouchDB::View::Pusher do
20
20
  describe "perform" do
21
21
 
22
22
  before :each do
23
- @design = mock CouchDB::Design, :views => mock(CouchDB::Design::ViewsProxy, :<< => nil), :save => true
23
+ @design = mock CouchDB::Design, :views => mock(CouchDB::Design::ViewsProxy, :<< => nil), :fetch_rev => nil, :save => true
24
24
  CouchDB::Design.stub :new => @design
25
25
 
26
26
  @property_view = mock CouchDB::Design::View
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: gom-couchdb-adapter
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.4
4
+ version: 0.4.5
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -14,7 +14,7 @@ default_executable:
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: gom
17
- requirement: &8387240 !ruby/object:Gem::Requirement
17
+ requirement: &11517520 !ruby/object:Gem::Requirement
18
18
  none: false
19
19
  requirements:
20
20
  - - ! '>='
@@ -22,10 +22,10 @@ dependencies:
22
22
  version: 0.4.2
23
23
  type: :runtime
24
24
  prerelease: false
25
- version_requirements: *8387240
25
+ version_requirements: *11517520
26
26
  - !ruby/object:Gem::Dependency
27
27
  name: couchdb
28
- requirement: &8386500 !ruby/object:Gem::Requirement
28
+ requirement: &11516720 !ruby/object:Gem::Requirement
29
29
  none: false
30
30
  requirements:
31
31
  - - ! '>='
@@ -33,10 +33,10 @@ dependencies:
33
33
  version: 0.2.0
34
34
  type: :runtime
35
35
  prerelease: false
36
- version_requirements: *8386500
36
+ version_requirements: *11516720
37
37
  - !ruby/object:Gem::Dependency
38
38
  name: rspec
39
- requirement: &8385800 !ruby/object:Gem::Requirement
39
+ requirement: &11516100 !ruby/object:Gem::Requirement
40
40
  none: false
41
41
  requirements:
42
42
  - - ! '>='
@@ -44,10 +44,10 @@ dependencies:
44
44
  version: '2'
45
45
  type: :development
46
46
  prerelease: false
47
- version_requirements: *8385800
47
+ version_requirements: *11516100
48
48
  - !ruby/object:Gem::Dependency
49
49
  name: reek
50
- requirement: &8385120 !ruby/object:Gem::Requirement
50
+ requirement: &11515560 !ruby/object:Gem::Requirement
51
51
  none: false
52
52
  requirements:
53
53
  - - ! '>='
@@ -55,9 +55,9 @@ dependencies:
55
55
  version: '1.2'
56
56
  type: :development
57
57
  prerelease: false
58
- version_requirements: *8385120
59
- description: CouchDB storage adapter for the General Object Mapper. Currently, version
60
- 1.0 of CouchDB is supported.
58
+ version_requirements: *11515560
59
+ description: CouchDB storage adapter for the General Object Mapper. Current versions
60
+ of CouchDB are supported.
61
61
  email: b.phifty@gmail.com
62
62
  executables: []
63
63
  extensions: []