composable_operations 0.5.0 → 0.5.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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 81ead7b2ae4c840da890083408658b4fd9dcdc04
|
4
|
+
data.tar.gz: 465aad013d3ccc83c7f3d6796c2e211751224296
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e4875e2b1b96e1a3fba4b1dc6543343beb3142c2c66fbaea464f6d33c3966c13e2bc3ed8ba311ed504cf55868731d42d2caaef5e43a11a51cd7e18f3bbbae113
|
7
|
+
data.tar.gz: a8f1a7f56b581e21fb88728f9bad4565db606d033de28cc17dfea1a6c400ab21ef24fadc473079451f559117d1af87e37eef80c23e3dce6ececb1c8cf871d858
|
@@ -9,7 +9,7 @@ module ComposableOperations
|
|
9
9
|
end
|
10
10
|
|
11
11
|
def create(context, input = nil)
|
12
|
-
new input, Hash[
|
12
|
+
new *Array(input), Hash[Array(@_options).map do |key, value|
|
13
13
|
[key, value.kind_of?(Proc) ? context.instance_exec(&value) : value]
|
14
14
|
end]
|
15
15
|
end
|