view_model 0.0.2 → 0.0.3

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 76bd0febe777a23bef325f353c73bd659fcea5b3
4
- data.tar.gz: 62cfda9058cda562125b79c23453e5702f17b557
3
+ metadata.gz: 966ea25b753853f3b68b85af0693ee36a7c70785
4
+ data.tar.gz: ba5c57868257859a6359668e0322cea2a460b05c
5
5
  SHA512:
6
- metadata.gz: 517cb95a884bc471f8169cfab4e3727dac1b7100fa0c641353bf0b604ed908a1ac818510c28153dc1181ab2f89316698c5ccc4b9706c40685a7ad8af25af3f00
7
- data.tar.gz: b008511fd0e35cf2afb7d3ab6d671ca2b4407c0d5fccb43e81923952315a1dfc71702f79a09b5dcf57a4a6041a9bbbb2f17dd8f732f2ec97362e521afb8d726b
6
+ metadata.gz: 8351a0d8de12cbaed07867a3c0562195c4cf900f87b67c008b3967d7609927ebad201288a5fa4541e7124d95460345571e9b7cb993c1d2197c08479d412fb602
7
+ data.tar.gz: a5e99f3ee75740c6697e2eb44cf43d2a9075632520b139a87923cf52a40f80cd8349e868f691bda6617d522bacbcf254a11e7b004d5a1c5f2ca38637b1fbd78b
@@ -5,6 +5,8 @@ module ViewModel
5
5
  class Base
6
6
  include Virtus.model
7
7
  include ActiveModel::Validations
8
+ include ActiveModel::Conversion
9
+
8
10
  extend ActiveModel::Naming
9
11
 
10
12
  def persisted?
@@ -1,3 +1,3 @@
1
1
  module ViewModel
2
- VERSION = '0.0.2'
2
+ VERSION = '0.0.3'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: view_model
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.2
4
+ version: 0.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Andreas Busold