object_attorney 0.0.10 → 0.0.11

Sign up to get free protection for your applications and to get access to all the features.
@@ -18,11 +18,6 @@ module ObjectAttorney
18
18
  return true if @represented_object.blank?
19
19
  evoke_method_on_object(@represented_object, :destroy, options)
20
20
  end
21
-
22
- def rollback(options = {})
23
- return true if @represented_object.blank?
24
- @represented_object.rollback(options)
25
- end
26
21
 
27
22
  def call_save_or_destroy(object, save_method, options = {})
28
23
  if object == self || object == @represented_object
@@ -1,3 +1,3 @@
1
1
  module ObjectAttorney
2
- VERSION = "0.0.10"
2
+ VERSION = "0.0.11"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: object_attorney
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.10
4
+ version: 0.0.11
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2013-08-13 00:00:00.000000000 Z
12
+ date: 2013-08-14 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: bundler