slim_form_object 0.4.0 → 0.4.1

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: 12cea860eec0074e7737bb46424261f647672057
4
- data.tar.gz: 6af0624727291ad8f5f80379ba864e7da3d77f2e
3
+ metadata.gz: f76df6c6f6b9c3318cf166532415097aeeecc01e
4
+ data.tar.gz: b3bb60a33463ba3b22fe3b3c11224536a1e0fc4c
5
5
  SHA512:
6
- metadata.gz: 0275aaf993739ab2263a636a3b4dabf788206b6c719c4f5114cbb68cb56f9bdd6d072e20f7852be42157a8fcfcd373c726d3bf6a01bd306927cd958c98580176
7
- data.tar.gz: 01e985532ef0b11295528582e75fd37cd01af7b662f8801f6b85f0288c21a97aa7a84a22438f7a9e91529e0770cd92b3ba3159bc2f57ba76e0683a7bf5f78f4e
6
+ metadata.gz: 8bbe5a41ad2ee548bb194acf4531a6ea2a46e07584c624e7417ee36f37ff104cd85ebbf59a7fd19bb844ab659920d0ec966fc3424330e9a1cb6823c7474ff2f6
7
+ data.tar.gz: 60cef2c3cb0bb795ac8d22cd480f8d0d9a90eac3d1aedfde323c0e42b4731b0b1a41ab30972a8f129d1660548edf132c53166d52c514fcd9f29a6c8f27922c9b
@@ -1,3 +1,3 @@
1
1
  module SlimFormObject
2
- VERSION = "0.4.0"
2
+ VERSION = "0.4.1"
3
3
  end
@@ -3,6 +3,7 @@ require "slim_form_object/version"
3
3
  module SlimFormObject
4
4
 
5
5
  def self.included(base)
6
+ base.include(ActiveModel::Model)
6
7
  base.extend(ClassMethods)
7
8
  end
8
9
 
@@ -1,6 +1,5 @@
1
1
  require 'spec_helper'
2
2
  require 'helpers/models'
3
- require 'byebug'
4
3
 
5
4
  class TestModule
6
5
  include ActiveModel::Model
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: slim_form_object
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.0
4
+ version: 0.4.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - woodcrust
@@ -10,6 +10,20 @@ bindir: bin
10
10
  cert_chain: []
11
11
  date: 2016-04-01 00:00:00.000000000 Z
12
12
  dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: activerecord
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - "~>"
18
+ - !ruby/object:Gem::Version
19
+ version: '4.2'
20
+ type: :runtime
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - "~>"
25
+ - !ruby/object:Gem::Version
26
+ version: '4.2'
13
27
  - !ruby/object:Gem::Dependency
14
28
  name: bundler
15
29
  requirement: !ruby/object:Gem::Requirement
@@ -80,20 +94,6 @@ dependencies:
80
94
  - - "~>"
81
95
  - !ruby/object:Gem::Version
82
96
  version: '1.5'
83
- - !ruby/object:Gem::Dependency
84
- name: activerecord
85
- requirement: !ruby/object:Gem::Requirement
86
- requirements:
87
- - - "~>"
88
- - !ruby/object:Gem::Version
89
- version: '4.2'
90
- type: :development
91
- prerelease: false
92
- version_requirements: !ruby/object:Gem::Requirement
93
- requirements:
94
- - - "~>"
95
- - !ruby/object:Gem::Version
96
- version: '4.2'
97
97
  - !ruby/object:Gem::Dependency
98
98
  name: pg
99
99
  requirement: !ruby/object:Gem::Requirement