object_attorney 0.0.17 → 1.0.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.
checksums.yaml ADDED
@@ -0,0 +1,15 @@
1
+ ---
2
+ !binary "U0hBMQ==":
3
+ metadata.gz: !binary |-
4
+ MjJjNDYyNTk0NGVlMGRkNjdjMGNiZDFlOWE4NTE1NjZmZWUyMWQ4MA==
5
+ data.tar.gz: !binary |-
6
+ NGUzNDc3NDNiMmRjYTY0YTVkZTFjMDg4NDQ1NDAwMmFlZDRmYTZmYw==
7
+ !binary "U0hBNTEy":
8
+ metadata.gz: !binary |-
9
+ YTRjZjcxNWRmNDdlOThmMzE1YzYwY2UzMjc2NzAyMTIyZmQwMjk0MzVjYjlj
10
+ OTE4NDEwZGIxMWFmMzZkZjNmNjU3YjM4ZWFkNGYzOTgyNDhhZWVjZWZiOTY1
11
+ ODk1NTg5YWVhZmNhODRkYjRkNzhhODllZTdkNTU4MjhlYWJhMGM=
12
+ data.tar.gz: !binary |-
13
+ NTllZmQyNDNiYjdhMjhjOWYyNmE1YWJlNjY1M2VhZmMxNWE5YTIxY2ExNmZj
14
+ ZDk2NzAwNWI0MjY4NWFiYjdjZmE2YjJhMDYyOTBhMzcwYTJjNGI0NmI1YzRj
15
+ OGM4MTcwYzU0YWU3ZTA3ZGY5YjYyZTBhMzExNDQzNWU3Y2Y5NTk=
@@ -61,6 +61,7 @@ module ObjectAttorney
61
61
  def self.included(base)
62
62
  base.class_eval do
63
63
  include ActiveModel::Validations
64
+ include ActiveModel::Validations::Callbacks
64
65
  include ActiveModel::Conversion
65
66
  include ObjectAttorney::NestedObjects
66
67
  include ObjectAttorney::ORM
@@ -1,3 +1,3 @@
1
1
  module ObjectAttorney
2
- VERSION = "0.0.17"
2
+ VERSION = "1.0.0"
3
3
  end
metadata CHANGED
@@ -1,20 +1,18 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: object_attorney
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.17
5
- prerelease:
4
+ version: 1.0.0
6
5
  platform: ruby
7
6
  authors:
8
7
  - João Gonçalves
9
8
  autorequire:
10
9
  bindir: bin
11
10
  cert_chain: []
12
- date: 2013-09-28 00:00:00.000000000 Z
11
+ date: 2013-10-06 00:00:00.000000000 Z
13
12
  dependencies:
14
13
  - !ruby/object:Gem::Dependency
15
14
  name: bundler
16
15
  requirement: !ruby/object:Gem::Requirement
17
- none: false
18
16
  requirements:
19
17
  - - ~>
20
18
  - !ruby/object:Gem::Version
@@ -22,7 +20,6 @@ dependencies:
22
20
  type: :development
23
21
  prerelease: false
24
22
  version_requirements: !ruby/object:Gem::Requirement
25
- none: false
26
23
  requirements:
27
24
  - - ~>
28
25
  - !ruby/object:Gem::Version
@@ -30,7 +27,6 @@ dependencies:
30
27
  - !ruby/object:Gem::Dependency
31
28
  name: rake
32
29
  requirement: !ruby/object:Gem::Requirement
33
- none: false
34
30
  requirements:
35
31
  - - ! '>='
36
32
  - !ruby/object:Gem::Version
@@ -38,7 +34,6 @@ dependencies:
38
34
  type: :development
39
35
  prerelease: false
40
36
  version_requirements: !ruby/object:Gem::Requirement
41
- none: false
42
37
  requirements:
43
38
  - - ! '>='
44
39
  - !ruby/object:Gem::Version
@@ -65,27 +60,26 @@ files:
65
60
  homepage: https://github.com/goncalvesjoao/object_attorney
66
61
  licenses:
67
62
  - MIT
63
+ metadata: {}
68
64
  post_install_message:
69
65
  rdoc_options: []
70
66
  require_paths:
71
67
  - lib
72
68
  required_ruby_version: !ruby/object:Gem::Requirement
73
- none: false
74
69
  requirements:
75
70
  - - ! '>='
76
71
  - !ruby/object:Gem::Version
77
72
  version: '0'
78
73
  required_rubygems_version: !ruby/object:Gem::Requirement
79
- none: false
80
74
  requirements:
81
75
  - - ! '>='
82
76
  - !ruby/object:Gem::Version
83
77
  version: '0'
84
78
  requirements: []
85
79
  rubyforge_project:
86
- rubygems_version: 1.8.25
80
+ rubygems_version: 2.0.7
87
81
  signing_key:
88
- specification_version: 3
82
+ specification_version: 4
89
83
  summary: This gem allows you to extract the code responsible for Validations, Nested
90
84
  Objects and Forms, from your model, into a specific class for a specific use case.
91
85
  test_files: []