array_proc 1.0.0 → 1.0.1

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 +5 -5
  2. data/lib/array_proc.rb +4 -2
  3. metadata +9 -50
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
- SHA1:
3
- metadata.gz: 9f1a507fd82d770424a6b2911dc679610ba216e4
4
- data.tar.gz: d67d316d0681aa194f5587f8e08fd1703d8229a0
2
+ SHA256:
3
+ metadata.gz: 303849027bc784a6fc7c3eb4c828df67e446fee43c01f30242086db27521935d
4
+ data.tar.gz: e095c692e773bd691996faa66afe175dd3b8d799c907ce0a14666c0afe536d3d
5
5
  SHA512:
6
- metadata.gz: 2151ed1ae4103c7dbec326cc8d399c4619f40d787a38fab19bf3f7ef72fc8416ab5f72bc47bfb085287ffe0971486c815e3397d89b455cfe2a7ced75846300f0
7
- data.tar.gz: 7f38a62ebc47745df77065564d2ff637131394e57033b3bbb559d27e02f03e7c1d63d38295711d290a89ff4719ba742b574711a961cc5e71a5a3a57661333c7c
6
+ metadata.gz: f20603abdef8678b1007ef57496bb2b8e372ef6f1499c63c8c6e59eae9f98dc4aba8b4678a3ae8fba705bcaa0821d9225f0ef4a13b1c8f5dbe5d1db466760db4
7
+ data.tar.gz: 535fe938723c0b04406e4137dbaa9761aa9520ad59af8ea2de1bf03730aa562f439c1f153fb35fc6cf4eb80959de2e61161a31a3402d1b96b21b5fc9d3901ac9
@@ -1,5 +1,7 @@
1
1
  class Array
2
2
  def to_proc
3
- proc {|object| map {|method| method.to_proc.call(object) } }
3
+ proc do |object|
4
+ map { |method| method.to_proc.call(object) }
5
+ end
4
6
  end
5
- end
7
+ end
metadata CHANGED
@@ -1,67 +1,27 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: array_proc
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
  - Aaron Rosenberg
8
- autorequire:
8
+ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-01-31 00:00:00.000000000 Z
12
- dependencies:
13
- - !ruby/object:Gem::Dependency
14
- name: rspec
15
- requirement: !ruby/object:Gem::Requirement
16
- requirements:
17
- - - "~>"
18
- - !ruby/object:Gem::Version
19
- version: '2.0'
20
- - - ">="
21
- - !ruby/object:Gem::Version
22
- version: 2.0.0
23
- type: :development
24
- prerelease: false
25
- version_requirements: !ruby/object:Gem::Requirement
26
- requirements:
27
- - - "~>"
28
- - !ruby/object:Gem::Version
29
- version: '2.0'
30
- - - ">="
31
- - !ruby/object:Gem::Version
32
- version: 2.0.0
33
- - !ruby/object:Gem::Dependency
34
- name: simplecov
35
- requirement: !ruby/object:Gem::Requirement
36
- requirements:
37
- - - "~>"
38
- - !ruby/object:Gem::Version
39
- version: '0.8'
40
- - - ">="
41
- - !ruby/object:Gem::Version
42
- version: 0.8.0
43
- type: :development
44
- prerelease: false
45
- version_requirements: !ruby/object:Gem::Requirement
46
- requirements:
47
- - - "~>"
48
- - !ruby/object:Gem::Version
49
- version: '0.8'
50
- - - ">="
51
- - !ruby/object:Gem::Version
52
- version: 0.8.0
53
- description: Adds the to_proc method to the array class.
11
+ date: 2020-09-08 00:00:00.000000000 Z
12
+ dependencies: []
13
+ description: Adds `Array#to_proc`.
54
14
  email: aarongrosenberg@gmail.com
55
15
  executables: []
56
16
  extensions: []
57
17
  extra_rdoc_files: []
58
18
  files:
59
19
  - lib/array_proc.rb
60
- homepage: https://github.com/LtCmdDudefellah/array_proc
20
+ homepage: https://github.com/agrberg/array_proc
61
21
  licenses:
62
22
  - MIT
63
23
  metadata: {}
64
- post_install_message:
24
+ post_install_message:
65
25
  rdoc_options: []
66
26
  require_paths:
67
27
  - lib
@@ -76,9 +36,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
76
36
  - !ruby/object:Gem::Version
77
37
  version: '0'
78
38
  requirements: []
79
- rubyforge_project:
80
- rubygems_version: 2.2.0
81
- signing_key:
39
+ rubygems_version: 3.1.2
40
+ signing_key:
82
41
  specification_version: 4
83
42
  summary: Turn an array into an array of procs to be called on an object.
84
43
  test_files: []