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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a97d97c28453655d98cd90ca3fb15b677f1ab365
|
4
|
+
data.tar.gz: 0be14fb17fd36e69b4c77a9514cec93072fc6216
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c01b50d7ad8ff56d5815189fcc9158b60edd8f3468d1a1c17330760961df1184821f72b59ae1967019260fe0580fdf082898d75c793fa221cbc371bc19b6ecde
|
7
|
+
data.tar.gz: 4476e5e1ba23d6d4d99d79e7293bf5f6f4159f1459207138c0d87549b145820dd37069a700f13b3de55a999a1c8b2848f4c362c73e0f1eb7bd2cde8a8acdaeac
|
@@ -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 |
|
14
|
-
type_class.new(
|
13
|
+
define_method(method_name) do |*args|
|
14
|
+
type_class.new(*args)
|
15
15
|
end
|
16
16
|
end
|
17
17
|
|
data/lib/restspec/version.rb
CHANGED