replica 1.0.2 → 1.1.0

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.
Files changed (3) hide show
  1. data/VERSION +1 -1
  2. data/lib/replica.rb +2 -2
  3. metadata +1 -1
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.0.2
1
+ 1.1.0
data/lib/replica.rb CHANGED
@@ -113,8 +113,8 @@ module ActiveRecord # :nodoc:
113
113
  @replica = replica
114
114
  end
115
115
 
116
- def method_missing(method, *args)
117
- @target.with_replica_block(@replica) { @target.send(method, *args) }
116
+ def method_missing(method, *args, &block)
117
+ @target.with_replica_block(@replica) { @target.send(method, *args, &block) }
118
118
  end
119
119
  end
120
120
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: replica
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.2
4
+ version: 1.1.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Eric Chapweske