object_attorney 0.0.16 → 0.0.17

Sign up to get free protection for your applications and to get access to all the features.
@@ -32,7 +32,7 @@ module ObjectAttorney
32
32
 
33
33
  def save_after_validations(save_method, options = {})
34
34
  return true if @represented_object.blank?
35
- evoke_method_on_object(@represented_object, save_method, options)
35
+ evoke_method_on_object(@represented_object, save_method, options).ok?
36
36
  end
37
37
 
38
38
  private #################### PRIVATE METHODS DOWN BELOW ######################
@@ -1,3 +1,3 @@
1
1
  module ObjectAttorney
2
- VERSION = "0.0.16"
2
+ VERSION = "0.0.17"
3
3
  end
metadata CHANGED
@@ -1,18 +1,20 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: object_attorney
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.16
4
+ version: 0.0.17
5
+ prerelease:
5
6
  platform: ruby
6
7
  authors:
7
8
  - João Gonçalves
8
9
  autorequire:
9
10
  bindir: bin
10
11
  cert_chain: []
11
- date: 2013-09-19 00:00:00.000000000 Z
12
+ date: 2013-09-28 00:00:00.000000000 Z
12
13
  dependencies:
13
14
  - !ruby/object:Gem::Dependency
14
15
  name: bundler
15
16
  requirement: !ruby/object:Gem::Requirement
17
+ none: false
16
18
  requirements:
17
19
  - - ~>
18
20
  - !ruby/object:Gem::Version
@@ -20,6 +22,7 @@ dependencies:
20
22
  type: :development
21
23
  prerelease: false
22
24
  version_requirements: !ruby/object:Gem::Requirement
25
+ none: false
23
26
  requirements:
24
27
  - - ~>
25
28
  - !ruby/object:Gem::Version
@@ -27,6 +30,7 @@ dependencies:
27
30
  - !ruby/object:Gem::Dependency
28
31
  name: rake
29
32
  requirement: !ruby/object:Gem::Requirement
33
+ none: false
30
34
  requirements:
31
35
  - - ! '>='
32
36
  - !ruby/object:Gem::Version
@@ -34,6 +38,7 @@ dependencies:
34
38
  type: :development
35
39
  prerelease: false
36
40
  version_requirements: !ruby/object:Gem::Requirement
41
+ none: false
37
42
  requirements:
38
43
  - - ! '>='
39
44
  - !ruby/object:Gem::Version
@@ -60,26 +65,27 @@ files:
60
65
  homepage: https://github.com/goncalvesjoao/object_attorney
61
66
  licenses:
62
67
  - MIT
63
- metadata: {}
64
68
  post_install_message:
65
69
  rdoc_options: []
66
70
  require_paths:
67
71
  - lib
68
72
  required_ruby_version: !ruby/object:Gem::Requirement
73
+ none: false
69
74
  requirements:
70
75
  - - ! '>='
71
76
  - !ruby/object:Gem::Version
72
77
  version: '0'
73
78
  required_rubygems_version: !ruby/object:Gem::Requirement
79
+ none: false
74
80
  requirements:
75
81
  - - ! '>='
76
82
  - !ruby/object:Gem::Version
77
83
  version: '0'
78
84
  requirements: []
79
85
  rubyforge_project:
80
- rubygems_version: 2.0.7
86
+ rubygems_version: 1.8.25
81
87
  signing_key:
82
- specification_version: 4
88
+ specification_version: 3
83
89
  summary: This gem allows you to extract the code responsible for Validations, Nested
84
90
  Objects and Forms, from your model, into a specific class for a specific use case.
85
91
  test_files: []
checksums.yaml DELETED
@@ -1,15 +0,0 @@
1
- ---
2
- !binary "U0hBMQ==":
3
- metadata.gz: !binary |-
4
- ZGU2ZGM2MGY3YmFiM2FjMzBjYWY2NjAzNzQ4ZWJiZmY0NjE0N2RiYw==
5
- data.tar.gz: !binary |-
6
- ODczYWU3MTBiZjZlYmU1OGI2ZWI3YTg2ZmQ0NGYxOTExMDJlZjg1Nw==
7
- !binary "U0hBNTEy":
8
- metadata.gz: !binary |-
9
- Y2Y3ZThkNzExZjRlN2EwYzAyY2JiMzZlMWY5NDdkOGNlNWE1ZjMyMmJiNjIz
10
- NjQ0Nzc3ZDhkY2I2ZmM1YTA4YjljZGY5YjY3OWEzZGM5YTlhZGYxNjlkYWM4
11
- Yzg1NWM0NzAxYTgzMmFhOTk2Mjc1ZDM1YjNhMzJkODc4YjI1ZTQ=
12
- data.tar.gz: !binary |-
13
- MmRkNGE5ZDkxOTZlYjhhMDBkOWE2YjQ5MjZmNGMwNTQ2MmM5ZTY1M2I5Y2U2
14
- YmU3NTQ2MzkwNzc3OTNkNmI3MTE4ODMxNDhkZGNkM2NmMDFlMTZkOTQzNDQw
15
- NzNiYzAzOTlkMmViYjJmM2MzZTc1ZjRiZWFjYTM4NzI3ZGRiYzY=