dm-master-slave-adapter 0.0.3 → 0.0.4

Sign up to get free protection for your applications and to get access to all the features.
@@ -41,9 +41,9 @@ module DataMapper
41
41
  ensure
42
42
  @reader = original_reader
43
43
  end
44
+ else
45
+ self
44
46
  end
45
-
46
- self
47
47
  end
48
48
 
49
49
  def bound_to_master?
@@ -1,5 +1,5 @@
1
1
  module DataMapper
2
2
  module MasterSlaveAdapter
3
- VERSION = "0.0.3"
3
+ VERSION = "0.0.4"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: dm-master-slave-adapter
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.3
4
+ version: 0.0.4
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-01-18 00:00:00.000000000Z
12
+ date: 2012-01-19 00:00:00.000000000Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rspec
16
- requirement: &8743180 !ruby/object:Gem::Requirement
16
+ requirement: &21425040 !ruby/object:Gem::Requirement
17
17
  none: false
18
18
  requirements:
19
19
  - - ! '>='
@@ -21,10 +21,10 @@ dependencies:
21
21
  version: '0'
22
22
  type: :development
23
23
  prerelease: false
24
- version_requirements: *8743180
24
+ version_requirements: *21425040
25
25
  - !ruby/object:Gem::Dependency
26
26
  name: dm-core
27
- requirement: &8742060 !ruby/object:Gem::Requirement
27
+ requirement: &21421120 !ruby/object:Gem::Requirement
28
28
  none: false
29
29
  requirements:
30
30
  - - ! '>='
@@ -32,7 +32,7 @@ dependencies:
32
32
  version: '0'
33
33
  type: :runtime
34
34
  prerelease: false
35
- version_requirements: *8742060
35
+ version_requirements: *21421120
36
36
  description: ! " Provides the ability to use DataMapper in an environment where\n
37
37
  \ database replication draws the need for using separate connections\n for
38
38
  reading and writing data.\n\n This adapter simply wraps two other \"real\" DataMapper