array_zip_with 1.0.0 → 1.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 8d29ff6bbbf6d03c6d15e9c072a89115aed8af91
4
- data.tar.gz: 33bc7b1e49fbd82b0f992187e573ceb3481b625a
3
+ metadata.gz: 11d341d3d32e3f99a85ad77348f694f490115614
4
+ data.tar.gz: 2722456dae077b3ddb7e8d411dc99daa0a3968a0
5
5
  SHA512:
6
- metadata.gz: 93fa5081a690cbf0ab67ac01ab9324e9db8a02c923fff0b73435abc010953fb7111d8e7fc4e6c426d76ae16deb3b0d4d01c0a614da894a05bf5004f9142d1d29
7
- data.tar.gz: 7890f2a26a0d2e9054dfd7863feb9df567ced64100d0a10ad90e9aac1c2e43b794e55efc7cd0beccd68ae2737bdc0c39c9e5bd93b31a5f96683d62931b3f8ff9
6
+ metadata.gz: a2032acef75614f0cf665bedc0f8dd68c3325995802bdbb5afad222e8732b549ad0b726152e6c4b8153f5c8b3799a3167a40d1128bc087af74b2917ea9abf0e4
7
+ data.tar.gz: c1fdb64cac4ddbdec0671e8dc3f4805f2f85c0e87c239d9fd374fbfc37cde3ecbdfeb9a984606ba22158aed6c7117e221a5b55292f006706714ef04b1b2e56c3
@@ -1,8 +1,8 @@
1
1
  # @author Vasanth Balakrishnan <vasantheb@gmail.com>
2
2
  class Array
3
3
  # @overload zip_with(*args, &block)
4
- # Zips the input arrays with `self` and invokes block with the elements of
5
- # the zipped array.
4
+ # Zips the input arrays with `self` and invokes block with the elements
5
+ # of the zipped array.
6
6
  # @param [Array] args One or more arrays
7
7
  # @example With one input array
8
8
  # a = [1, 2, 3]
@@ -26,7 +26,7 @@ class Array
26
26
  # a.zip_with([4, 5, 6], [7, 8, 9], :+) # => [12, 15, 18]
27
27
  # @return [Array]
28
28
  # @raise [ArgumentError] If there is no symbol or a block as the last
29
- # parameter
29
+ # parameter.
30
30
  def zip_with(*args)
31
31
  return zip(*args).map(&Proc.new) if block_given?
32
32
  operator = args.pop
@@ -1,3 +1,3 @@
1
1
  module ArrayZipWith
2
- VERSION = '1.0.0'.freeze
2
+ VERSION = '1.0.1'.freeze
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: array_zip_with
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0
4
+ version: 1.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Vasanth Balakrishnan