awful 0.0.41 → 0.0.42

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: 83b5b77becbd5727d13cc06dedbba8c9b4ad273c
4
- data.tar.gz: 5cd0d08da6544763f9f5f660434000cb11db8b72
3
+ metadata.gz: 2e1d33f185150489d2da3459a03f125a27719374
4
+ data.tar.gz: 5d2201ee4555108b680e7ffe406f5f31f2d3c03c
5
5
  SHA512:
6
- metadata.gz: e0faed7b9c2f5afdeb582b65a96195dcde7fd7e9dd951526bd94a74661236a170f53fc23b705d3d44e4712456147ab72adfcc44b980c5756ea4c73fb5dfa650f
7
- data.tar.gz: 3239f983c1fd56f39a8e2fff742ee36118f35f03baf2a49a608798dc73863c44d299f4c1aa9d4b9f9d2819df81df7bca9cc9890ed1a80a012c9c697ee4ab5b25
6
+ metadata.gz: 732e50aeaf4edc5eeefebac0524b97dee2c781165f6a1daff76cb38568cc1068e4e1c6c9c4092b600e3a9db5d548f6a80641c90dea13445a32728861ddcbacdc
7
+ data.tar.gz: 6aa6f92cd1f0ca381f34579a9fd5d1356be17338c065f3a68d9e0c0695c2aa8be7c54a7076420868d6a95a6a04b6aa85929f0ee4a1a4a35900795e89568b38ec
@@ -65,9 +65,11 @@ module Awful
65
65
  response = lambda.update_function_configuration(only_keys_matching(opt, whitelist)).to_hash
66
66
 
67
67
  ## update code
68
- opt[:code] = {zip_file: zip_thing(options[:zip_file])} if options[:zip_file]
68
+ opt[:code] = {zip_file: options[:zip_file]} if options[:zip_file]
69
69
  unless opt.fetch(:code, {}).empty?
70
- r = lambda.update_function_code(opt[:code].merge({function_name: opt[:function_name]}))
70
+ code = opt[:code].merge({function_name: opt[:function_name]})
71
+ code[:zip_file] = zip_thing(code[:zip_file]) if code[:zip_file]
72
+ r = lambda.update_function_code(code)
71
73
  response = response.merge(r.to_hash)
72
74
  end
73
75
 
@@ -1,3 +1,3 @@
1
1
  module Awful
2
- VERSION = "0.0.41"
2
+ VERSION = "0.0.42"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: awful
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.41
4
+ version: 0.0.42
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ric Lister