enumerable-proxy 1.1.2 → 1.1.3
Sign up to get free protection for your applications and to get access to all the features.
- data/README.textile +25 -0
- data/VERSION +1 -1
- data/enumerable-proxy.gemspec +3 -3
- data/lib/enumerable_proxy/array_extensions.rb +2 -0
- metadata +3 -3
- data/README +0 -5
data/README.textile
ADDED
@@ -0,0 +1,25 @@
|
|
1
|
+
h1. Enumerable Proxy
|
2
|
+
|
3
|
+
h2. Background
|
4
|
+
|
5
|
+
See "here":http://www.jacobrothstein.com/entries/enumerable-proxy and "here":http://www.jacobrothstein.com/entries/further-enumerable-proxy
|
6
|
+
|
7
|
+
h2. Installation
|
8
|
+
|
9
|
+
<pre><code>sudo gem install enumerable-proxy</code></pre>
|
10
|
+
|
11
|
+
h2. Usage
|
12
|
+
|
13
|
+
<pre><code>
|
14
|
+
require 'enumerable_proxy'
|
15
|
+
|
16
|
+
[1, 2, 3].p(:map).to_s #=> ['1', '2', '3']
|
17
|
+
|
18
|
+
require 'enumerable_proxy/array_extensions'
|
19
|
+
|
20
|
+
[1, 2, 3].map.to_s #=> ['1', '2', '3']
|
21
|
+
[1, 2, 3].map + 2 #=> [3, 4, 5]
|
22
|
+
|
23
|
+
(0..10).to_a.select < 5 #=> [0, 1, 2, 3, 4]
|
24
|
+
</code></pre>
|
25
|
+
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.1.
|
1
|
+
1.1.3
|
data/enumerable-proxy.gemspec
CHANGED
@@ -5,7 +5,7 @@
|
|
5
5
|
|
6
6
|
Gem::Specification.new do |s|
|
7
7
|
s.name = %q{enumerable-proxy}
|
8
|
-
s.version = "1.1.
|
8
|
+
s.version = "1.1.3"
|
9
9
|
|
10
10
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
11
11
|
s.authors = ["Jacob Rothstein"]
|
@@ -14,13 +14,13 @@ Gem::Specification.new do |s|
|
|
14
14
|
s.email = %q{github@jacobrothstein.com}
|
15
15
|
s.extra_rdoc_files = [
|
16
16
|
"LICENSE",
|
17
|
-
"README"
|
17
|
+
"README.textile"
|
18
18
|
]
|
19
19
|
s.files = [
|
20
20
|
".document",
|
21
21
|
".gitignore",
|
22
22
|
"LICENSE",
|
23
|
-
"README",
|
23
|
+
"README.textile",
|
24
24
|
"Rakefile",
|
25
25
|
"VERSION",
|
26
26
|
"enumerable-proxy.gemspec",
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: enumerable-proxy
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.1.
|
4
|
+
version: 1.1.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Jacob Rothstein
|
@@ -21,12 +21,12 @@ extensions: []
|
|
21
21
|
|
22
22
|
extra_rdoc_files:
|
23
23
|
- LICENSE
|
24
|
-
- README
|
24
|
+
- README.textile
|
25
25
|
files:
|
26
26
|
- .document
|
27
27
|
- .gitignore
|
28
28
|
- LICENSE
|
29
|
-
- README
|
29
|
+
- README.textile
|
30
30
|
- Rakefile
|
31
31
|
- VERSION
|
32
32
|
- enumerable-proxy.gemspec
|