virtus-matchers 0.2.0 → 0.2.1

Sign up to get free protection for your applications and to get access to all the features.
@@ -51,7 +51,7 @@ module Virtus
51
51
  end
52
52
  end
53
53
 
54
- def have_attribute(name, type)
54
+ def have_attribute(name, type = nil)
55
55
  HaveAttributeMatcher.new(name, type)
56
56
  end
57
57
  end
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Virtus
4
4
  module Matchers
5
- VERSION = '0.2.0'.freeze
5
+ VERSION = '0.2.1'.freeze
6
6
  end
7
7
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: virtus-matchers
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
4
+ version: 0.2.1
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -135,7 +135,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
135
135
  version: '0'
136
136
  segments:
137
137
  - 0
138
- hash: -4359705235092573732
138
+ hash: -3226766731789943269
139
139
  required_rubygems_version: !ruby/object:Gem::Requirement
140
140
  none: false
141
141
  requirements:
@@ -144,7 +144,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
144
144
  version: '0'
145
145
  segments:
146
146
  - 0
147
- hash: -4359705235092573732
147
+ hash: -3226766731789943269
148
148
  requirements: []
149
149
  rubyforge_project:
150
150
  rubygems_version: 1.8.23