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: cc47375d547c00727b80d8f798de9df5d38b3061
4
- data.tar.gz: d07756bb850a1c8159ae61d81b131523c8edd7ad
3
+ metadata.gz: 81ead7b2ae4c840da890083408658b4fd9dcdc04
4
+ data.tar.gz: 465aad013d3ccc83c7f3d6796c2e211751224296
5
5
  SHA512:
6
- metadata.gz: f3e294ad5a8666e6095d42f15053c9b69d49489ea12502668a0a822a263567af2951850c52fa59009e8bd5fb9aa461e17adb1aaaafc3a44ac66cc6536ad16f68
7
- data.tar.gz: af7c521ace799fc7563264ecd535090c6bdc300fcd873ed26ca948b54438c66dbe8980f84351244e3be49c0f3a500287a0e5fec23146f5664d06956a50ec5e4e
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[Hash(@_options).map do |key, value|
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
@@ -1,3 +1,3 @@
1
1
  module ComposableOperations
2
- VERSION = "0.5.0"
2
+ VERSION = "0.5.1"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: composable_operations
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.0
4
+ version: 0.5.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Konstantin Tennhard