virtus 1.0.0.beta4 → 1.0.0.beta5

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.
@@ -106,7 +106,7 @@ module Virtus
106
106
  def attribute_method(configuration)
107
107
  module_options = self.module_options
108
108
 
109
- lambda do |name, type, options = {}|
109
+ lambda do |name, type = Object, options = {}|
110
110
  super(name, type, module_options.merge(options))
111
111
  end
112
112
  end
@@ -1,3 +1,3 @@
1
1
  module Virtus
2
- VERSION = '1.0.0.beta4'
2
+ VERSION = '1.0.0.beta5'
3
3
  end
@@ -36,7 +36,7 @@ describe Virtus, '.model' do
36
36
 
37
37
  before do
38
38
  subject.send(:include, mod)
39
- subject.attribute :name, String
39
+ subject.attribute :name
40
40
  end
41
41
 
42
42
  it_behaves_like 'a model with constructor'
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: virtus
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0.beta4
4
+ version: 1.0.0.beta5
5
5
  prerelease: 6
6
6
  platform: ruby
7
7
  authors: