form_obj 0.2.0 → 0.3.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: eeb32fd14183054f50cfaec89ec797af0a7f140d
4
- data.tar.gz: 08fe5c0cdbecc3345296641b8a6e5ff40534d06a
3
+ metadata.gz: c83d01dc40e5ad3657b9d6ef7326a99ce9705efe
4
+ data.tar.gz: 65b6c502657611f3981650c1acbbaf6c2724d905
5
5
  SHA512:
6
- metadata.gz: 39f4c2cd027487b12228d0faa7b28b0fee2bb52771607fdf1b950f5396d5b843d15effe3109e3bbb23c4a3cb6e0ff2184ce70c88a79078f3db9dd445a32cdbdc
7
- data.tar.gz: 0c89aa102243011e9fddb6660e48bcadee9e81210ff1b03e0fdc9a9af05f56aabd20b946d0a81885c044f9fbd04adc7b1bc68ed4036855469dc39201560c1aa0
6
+ metadata.gz: ba48addb285700d37b0d42564810e7cfe0c6c3910660ec0716ca46b05bd44f8942e57e5132207d5d15743947d7de3e84745a6328536a6a6eadf299ea4614faf3
7
+ data.tar.gz: 97345739379c2f35a1f75c49bd09ab9160d8cc0da9dbc1b10981b38ffc479ba782efeb34f0ad2bcc7656fecdc1104f8d6ae070e7074c59701be551e818c4804d
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- form_obj (0.2.0)
4
+ form_obj (0.3.0)
5
5
  activemodel (>= 3.2)
6
6
  activesupport (>= 3.2)
7
7
  tree_struct (>= 1.0.2)
@@ -1,3 +1,3 @@
1
1
  module FormObj
2
- VERSION = "0.2.0"
2
+ VERSION = "0.3.0"
3
3
  end
data/lib/form_obj.rb CHANGED
@@ -4,4 +4,3 @@ end
4
4
  require "form_obj/version"
5
5
  require 'form_obj/form'
6
6
  require 'form_obj/mappable'
7
- require 'result_obj'
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: form_obj
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
4
+ version: 0.3.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Alexander Koltun
@@ -143,7 +143,6 @@ files:
143
143
  - lib/form_obj/mappable/model_attribute/item.rb
144
144
  - lib/form_obj/mappable/model_primary_key.rb
145
145
  - lib/form_obj/version.rb
146
- - lib/result_obj.rb
147
146
  homepage: https://github.com/akoltun/form_obj
148
147
  licenses:
149
148
  - MIT
data/lib/result_obj.rb DELETED
@@ -1,9 +0,0 @@
1
- module ResultObj
2
- def failure?
3
- @errors.present?
4
- end
5
-
6
- def success?
7
- !failure?
8
- end
9
- end