array_proc 1.0.1 → 1.0.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/lib/array_proc.rb +3 -0
  3. metadata +6 -5
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 303849027bc784a6fc7c3eb4c828df67e446fee43c01f30242086db27521935d
4
- data.tar.gz: e095c692e773bd691996faa66afe175dd3b8d799c907ce0a14666c0afe536d3d
3
+ metadata.gz: a2abaea2c988dd7ee01c30ce137d54d3e4cbc90d46cc0b2dc0665b6a0ce7871a
4
+ data.tar.gz: 8017935abbbae68fc78b2b86b5b91b15f2ab08730899e326eb971d0caa9d6a64
5
5
  SHA512:
6
- metadata.gz: f20603abdef8678b1007ef57496bb2b8e372ef6f1499c63c8c6e59eae9f98dc4aba8b4678a3ae8fba705bcaa0821d9225f0ef4a13b1c8f5dbe5d1db466760db4
7
- data.tar.gz: 535fe938723c0b04406e4137dbaa9761aa9520ad59af8ea2de1bf03730aa562f439c1f153fb35fc6cf4eb80959de2e61161a31a3402d1b96b21b5fc9d3901ac9
6
+ metadata.gz: 7994f17879e9365b6659c918a0d85cf20ce8932e33eba117c9a1f28366c9397a214bf42641070db29f79048215d9e2d43b0f80fed6e2d693b192d23346176268
7
+ data.tar.gz: ef93566211ebbec8ce6edfdae8e6f9b6480e5f98f5c2ccd309be0e204854725fb8834c90da6cfe39421bd3a29db8ad813570edd72708846d716dcf6108f7cd5f
data/lib/array_proc.rb CHANGED
@@ -1,3 +1,6 @@
1
+ # frozen_string_literal: true
2
+
3
+ # Adds `Array#to_proc` to allow multiple method calls on each element of an enumerable using the `&` shorthand
1
4
  class Array
2
5
  def to_proc
3
6
  proc do |object|
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: array_proc
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.1
4
+ version: 1.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Aaron Rosenberg
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-09-08 00:00:00.000000000 Z
11
+ date: 2024-08-04 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description: Adds `Array#to_proc`.
14
14
  email: aarongrosenberg@gmail.com
@@ -20,7 +20,8 @@ files:
20
20
  homepage: https://github.com/agrberg/array_proc
21
21
  licenses:
22
22
  - MIT
23
- metadata: {}
23
+ metadata:
24
+ rubygems_mfa_required: 'true'
24
25
  post_install_message:
25
26
  rdoc_options: []
26
27
  require_paths:
@@ -29,14 +30,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
29
30
  requirements:
30
31
  - - ">="
31
32
  - !ruby/object:Gem::Version
32
- version: '0'
33
+ version: '2.0'
33
34
  required_rubygems_version: !ruby/object:Gem::Requirement
34
35
  requirements:
35
36
  - - ">="
36
37
  - !ruby/object:Gem::Version
37
38
  version: '0'
38
39
  requirements: []
39
- rubygems_version: 3.1.2
40
+ rubygems_version: 3.5.17
40
41
  signing_key:
41
42
  specification_version: 4
42
43
  summary: Turn an array into an array of procs to be called on an object.