restspec 0.2.4 → 0.2.5

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: 417a36622132a109cd6845d44bded2091db394e0
4
- data.tar.gz: 8629b3f793e1065da423bd89a1fceeb680669c79
3
+ metadata.gz: a97d97c28453655d98cd90ca3fb15b677f1ab365
4
+ data.tar.gz: 0be14fb17fd36e69b4c77a9514cec93072fc6216
5
5
  SHA512:
6
- metadata.gz: 1693f46a758f3193c86a4024eedcdfff74b55a508e83da75a4936cf06b25995157c7a169b1a1d7a084aeaed1107e3f9f20565ccb2011ad874823d6e14ac6a950
7
- data.tar.gz: 498eb609134cbb5173eac36f95a41d5085fe23d163ede0df6be16e43cf17adc6a4dae8f453bf9a595ebe7e3aec79b28471daddf38a13233df4e3fa5655e1babb
6
+ metadata.gz: c01b50d7ad8ff56d5815189fcc9158b60edd8f3468d1a1c17330760961df1184821f72b59ae1967019260fe0580fdf082898d75c793fa221cbc371bc19b6ecde
7
+ data.tar.gz: 4476e5e1ba23d6d4d99d79e7293bf5f6f4159f1459207138c0d87549b145820dd37069a700f13b3de55a999a1c8b2848f4c362c73e0f1eb7bd2cde8a8acdaeac
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: ~/dev/projects/ruby/restspec
3
3
  specs:
4
- restspec (0.2.3)
4
+ restspec (0.2.4)
5
5
  activesupport (~> 4.0)
6
6
  faker (~> 1.4)
7
7
  hashie (~> 3.3)
@@ -10,8 +10,8 @@ module Restspec::Schema::Types
10
10
  # @param options [Hash, Object] A hash of options or
11
11
  # something to instantiate the type.
12
12
  def self.define_type_method(method_name, type_class)
13
- define_method(method_name) do |options = {}|
14
- type_class.new(options)
13
+ define_method(method_name) do |*args|
14
+ type_class.new(*args)
15
15
  end
16
16
  end
17
17
 
@@ -1,3 +1,3 @@
1
1
  module Restspec
2
- VERSION = "0.2.4"
2
+ VERSION = "0.2.5"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: restspec
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.4
4
+ version: 0.2.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - juliogarciag