merge_enum 0.1.0
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 +7 -0
- data/.gitignore +18 -0
- data/Gemfile +7 -0
- data/LICENSE.txt +22 -0
- data/README.md +44 -0
- data/Rakefile +1 -0
- data/lib/merge_enum/merge_enumerable.rb +46 -0
- data/lib/merge_enum/version.rb +3 -0
- data/lib/merge_enum.rb +6 -0
- data/merge_enum.gemspec +23 -0
- data/spec/merge_enum/merge_emunerable.rb +278 -0
- data/spec/spec_helper.rb +4 -0
- metadata +85 -0
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: 7f11e6fdb56034a498252cdfd1682977434abac7
|
4
|
+
data.tar.gz: 40462c704b94a9c87b7a7eeea633d23ba266af40
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: d2f20337d0f8773b49a00dad126d2e45f1a18c985e781d37dca45e0c70040e44720c744f2555e732ef8a9a470b05b5a4e908ad515cac6bb280384f55232683cb
|
7
|
+
data.tar.gz: c991d180ff3bd84ea4090b79d4a3444cc3b6147954f10f1fef56d3d555ab772f3470b42a1bba700d9ee92cbb27c40a13e287a6c94d5c382f40c506cd716bb160
|
data/.gitignore
ADDED
data/Gemfile
ADDED
data/LICENSE.txt
ADDED
@@ -0,0 +1,22 @@
|
|
1
|
+
Copyright (c) 2014 brightgenerous
|
2
|
+
|
3
|
+
MIT License
|
4
|
+
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining
|
6
|
+
a copy of this software and associated documentation files (the
|
7
|
+
"Software"), to deal in the Software without restriction, including
|
8
|
+
without limitation the rights to use, copy, modify, merge, publish,
|
9
|
+
distribute, sublicense, and/or sell copies of the Software, and to
|
10
|
+
permit persons to whom the Software is furnished to do so, subject to
|
11
|
+
the following conditions:
|
12
|
+
|
13
|
+
The above copyright notice and this permission notice shall be
|
14
|
+
included in all copies or substantial portions of the Software.
|
15
|
+
|
16
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
17
|
+
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
18
|
+
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
19
|
+
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
|
20
|
+
LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
|
21
|
+
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
|
22
|
+
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
data/README.md
ADDED
@@ -0,0 +1,44 @@
|
|
1
|
+
# MergeEnum
|
2
|
+
|
3
|
+
複数のEnumeraleを合成するEnumerableです。
|
4
|
+
要素が必要になった時点で効率的に追加するように動作します。
|
5
|
+
|
6
|
+
## Installation
|
7
|
+
|
8
|
+
Add this line to your application's Gemfile:
|
9
|
+
|
10
|
+
gem 'merge_enum'
|
11
|
+
|
12
|
+
And then execute:
|
13
|
+
|
14
|
+
$ bundle
|
15
|
+
|
16
|
+
Or install it yourself as:
|
17
|
+
|
18
|
+
$ gem install merge_enum
|
19
|
+
|
20
|
+
## Usage
|
21
|
+
|
22
|
+
> require 'merge_enum'
|
23
|
+
> m_enum = MergeEnum::MergeEnumerable.new(
|
24
|
+
[0,1,2,3,4,5,6,7,8,9],
|
25
|
+
10...20,
|
26
|
+
-> { 20...30 },
|
27
|
+
-> (c) { 30...40 }, # c => 25
|
28
|
+
Proc.new { 40...50 },
|
29
|
+
Proc.new { |c| 50...60 }, # c => 5
|
30
|
+
Proc.new { 70...80 }, # => never called
|
31
|
+
first: 55
|
32
|
+
)
|
33
|
+
> m_enum.is_a? Enumerable
|
34
|
+
=> true
|
35
|
+
> m_enum.count
|
36
|
+
=> 55
|
37
|
+
|
38
|
+
## Contributing
|
39
|
+
|
40
|
+
1. Fork it ( http://github.com/<my-github-username>/merge_enum/fork )
|
41
|
+
2. Create your feature branch (`git checkout -b my-new-feature`)
|
42
|
+
3. Commit your changes (`git commit -am 'Add some feature'`)
|
43
|
+
4. Push to the branch (`git push origin my-new-feature`)
|
44
|
+
5. Create new Pull Request
|
data/Rakefile
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
require "bundler/gem_tasks"
|
@@ -0,0 +1,46 @@
|
|
1
|
+
# -*- coding: utf-8 -*-
|
2
|
+
module MergeEnum
|
3
|
+
|
4
|
+
class MergeEnumerable
|
5
|
+
include Enumerable
|
6
|
+
|
7
|
+
def initialize *args
|
8
|
+
if args.last.is_a? Hash
|
9
|
+
@options = args.delete_at -1
|
10
|
+
@collections = args
|
11
|
+
else
|
12
|
+
@options = {}
|
13
|
+
@collections = args
|
14
|
+
end
|
15
|
+
end
|
16
|
+
|
17
|
+
def each &block
|
18
|
+
return self.to_enum unless block_given?
|
19
|
+
cnt = 0
|
20
|
+
opt_fst = @options[:first]
|
21
|
+
fst = nil
|
22
|
+
@collections.each do |c|
|
23
|
+
if opt_fst
|
24
|
+
fst = opt_fst - cnt
|
25
|
+
break if fst <= 0
|
26
|
+
end
|
27
|
+
if c.is_a? Proc
|
28
|
+
if c.arity == 0
|
29
|
+
c = c.call
|
30
|
+
else
|
31
|
+
c = c.call fst
|
32
|
+
end
|
33
|
+
end
|
34
|
+
c = c.first fst if fst
|
35
|
+
c.each do |i|
|
36
|
+
block.call i
|
37
|
+
end
|
38
|
+
cnt += c.count
|
39
|
+
end
|
40
|
+
self
|
41
|
+
end
|
42
|
+
|
43
|
+
end
|
44
|
+
|
45
|
+
end
|
46
|
+
|
data/lib/merge_enum.rb
ADDED
data/merge_enum.gemspec
ADDED
@@ -0,0 +1,23 @@
|
|
1
|
+
# coding: utf-8
|
2
|
+
lib = File.expand_path('../lib', __FILE__)
|
3
|
+
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
4
|
+
require 'merge_enum/version'
|
5
|
+
|
6
|
+
Gem::Specification.new do |spec|
|
7
|
+
spec.name = "merge_enum"
|
8
|
+
spec.version = MergeEnum::VERSION
|
9
|
+
spec.authors = ["brightgenerous"]
|
10
|
+
spec.email = ["katou.akihiro@gmail.com"]
|
11
|
+
spec.summary = %q{merge enumerable}
|
12
|
+
spec.description = %q{merge enumerable}
|
13
|
+
spec.homepage = ""
|
14
|
+
spec.license = "MIT"
|
15
|
+
|
16
|
+
spec.files = `git ls-files -z`.split("\x0")
|
17
|
+
spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
|
18
|
+
spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
|
19
|
+
spec.require_paths = ["lib"]
|
20
|
+
|
21
|
+
spec.add_development_dependency "bundler", "~> 1.5"
|
22
|
+
spec.add_development_dependency "rake"
|
23
|
+
end
|
@@ -0,0 +1,278 @@
|
|
1
|
+
# -*- encoding: UTF-8 -*-
|
2
|
+
require File.expand_path(File.join('../', 'spec_helper'), File.dirname(__FILE__))
|
3
|
+
|
4
|
+
describe MergeEnum::MergeEnumerable do
|
5
|
+
|
6
|
+
describe "No Arguments to MergeEnumerable" do
|
7
|
+
it "count" do
|
8
|
+
enum = MergeEnum::MergeEnumerable.new
|
9
|
+
expect(enum.count).to be 0
|
10
|
+
end
|
11
|
+
it "option_first" do
|
12
|
+
enum = MergeEnum::MergeEnumerable.new first: 50
|
13
|
+
expect(enum.count).to be 0
|
14
|
+
end
|
15
|
+
it "option_first negative" do
|
16
|
+
enum = MergeEnum::MergeEnumerable.new first: -50
|
17
|
+
expect(enum.count).to be 0
|
18
|
+
end
|
19
|
+
it "option_first nil" do
|
20
|
+
enum = MergeEnum::MergeEnumerable.new first: nil
|
21
|
+
expect(enum.count).to be 0
|
22
|
+
end
|
23
|
+
it "option_first false" do
|
24
|
+
enum = MergeEnum::MergeEnumerable.new first: false
|
25
|
+
expect(enum.count).to be 0
|
26
|
+
end
|
27
|
+
it "option_first true" do
|
28
|
+
enum = MergeEnum::MergeEnumerable.new first: true
|
29
|
+
expect(enum.count).to be 0
|
30
|
+
end
|
31
|
+
it "option_first illegal" do
|
32
|
+
enum = MergeEnum::MergeEnumerable.new first: "hoge"
|
33
|
+
expect(enum.count).to be 0
|
34
|
+
end
|
35
|
+
end
|
36
|
+
|
37
|
+
describe "Empty Array to MergeEnumerable" do
|
38
|
+
it "count" do
|
39
|
+
enum = MergeEnum::MergeEnumerable.new []
|
40
|
+
expect(enum.count).to be 0
|
41
|
+
end
|
42
|
+
it "option_first" do
|
43
|
+
enum = MergeEnum::MergeEnumerable.new [], first: 50
|
44
|
+
expect(enum.count).to be 0
|
45
|
+
end
|
46
|
+
it "option_first negative" do
|
47
|
+
enum = MergeEnum::MergeEnumerable.new [], first: -50
|
48
|
+
expect(enum.count).to be 0
|
49
|
+
end
|
50
|
+
it "option_first nil" do
|
51
|
+
enum = MergeEnum::MergeEnumerable.new [], first: nil
|
52
|
+
expect(enum.count).to be 0
|
53
|
+
end
|
54
|
+
it "option_first false" do
|
55
|
+
enum = MergeEnum::MergeEnumerable.new [], first: false
|
56
|
+
expect(enum.count).to be 0
|
57
|
+
end
|
58
|
+
it "option_first true" do
|
59
|
+
enum = MergeEnum::MergeEnumerable.new [], first: true
|
60
|
+
expect{ enum.count }.to raise_error NoMethodError
|
61
|
+
end
|
62
|
+
it "option_first illegal" do
|
63
|
+
enum = MergeEnum::MergeEnumerable.new [], first: "hoge"
|
64
|
+
expect{ enum.count }.to raise_error NoMethodError
|
65
|
+
end
|
66
|
+
end
|
67
|
+
|
68
|
+
describe "Illegal Argument to MergeEnumerable" do
|
69
|
+
it "illegal argument" do
|
70
|
+
enum = MergeEnum::MergeEnumerable.new "hoge"
|
71
|
+
expect{ enum.count }.to raise_error NoMethodError
|
72
|
+
end
|
73
|
+
end
|
74
|
+
|
75
|
+
describe "One Enumerable to MergeEnumerable" do
|
76
|
+
it "count" do
|
77
|
+
enum = MergeEnum::MergeEnumerable.new 0...100
|
78
|
+
expect(enum.count).to be 100
|
79
|
+
end
|
80
|
+
it "option_first limited" do
|
81
|
+
enum = MergeEnum::MergeEnumerable.new 0...100, first: 50
|
82
|
+
expect(enum.count).to be 50
|
83
|
+
end
|
84
|
+
it "option_first over" do
|
85
|
+
enum = MergeEnum::MergeEnumerable.new 0...100, first: 200
|
86
|
+
expect(enum.count).to be 100
|
87
|
+
end
|
88
|
+
end
|
89
|
+
|
90
|
+
describe "Two Enumerables to MergeEnumerable" do
|
91
|
+
it "count" do
|
92
|
+
enum = MergeEnum::MergeEnumerable.new 0...100, 200...250
|
93
|
+
expect(enum.count).to be 150
|
94
|
+
end
|
95
|
+
it "option_first limited at first" do
|
96
|
+
enum = MergeEnum::MergeEnumerable.new 0...100, 200...250, first: 50
|
97
|
+
expect(enum.count).to be 50
|
98
|
+
end
|
99
|
+
it "option_first limited at second" do
|
100
|
+
enum = MergeEnum::MergeEnumerable.new 0...100, 200...250, first: 130
|
101
|
+
expect(enum.count).to be 130
|
102
|
+
end
|
103
|
+
it "option_first over" do
|
104
|
+
enum = MergeEnum::MergeEnumerable.new 0...100, 200...250, first: 200
|
105
|
+
expect(enum.count).to be 150
|
106
|
+
end
|
107
|
+
end
|
108
|
+
|
109
|
+
describe "Three Enumerables to MergeEnumerable" do
|
110
|
+
it "count" do
|
111
|
+
enum = MergeEnum::MergeEnumerable.new 0...100, 200...250, 300...330
|
112
|
+
expect(enum.count).to be 180
|
113
|
+
end
|
114
|
+
it "option_first limited at first" do
|
115
|
+
enum = MergeEnum::MergeEnumerable.new 0...100, 200...250, 300...330, first: 50
|
116
|
+
expect(enum.count).to be 50
|
117
|
+
end
|
118
|
+
it "option_first limited at second" do
|
119
|
+
enum = MergeEnum::MergeEnumerable.new 0...100, 200...250, 300...330, first: 130
|
120
|
+
expect(enum.count).to be 130
|
121
|
+
end
|
122
|
+
it "option_first limited at third" do
|
123
|
+
enum = MergeEnum::MergeEnumerable.new 0...100, 200...250, 300...330, first: 170
|
124
|
+
expect(enum.count).to be 170
|
125
|
+
end
|
126
|
+
it "option_first over" do
|
127
|
+
enum = MergeEnum::MergeEnumerable.new 0...100, 200...250, 300...330, first: 200
|
128
|
+
expect(enum.count).to be 180
|
129
|
+
end
|
130
|
+
end
|
131
|
+
|
132
|
+
describe "Lambda to MergeEnumerable" do
|
133
|
+
it "option_first limited at first" do
|
134
|
+
enum = MergeEnum::MergeEnumerable.new(
|
135
|
+
-> { 0...100 },
|
136
|
+
-> { 200...250 },
|
137
|
+
first: 50
|
138
|
+
)
|
139
|
+
expect(enum.count).to be 50
|
140
|
+
end
|
141
|
+
it "option_first over" do
|
142
|
+
enum = MergeEnum::MergeEnumerable.new(
|
143
|
+
-> { 0...100 },
|
144
|
+
-> { 200...250 },
|
145
|
+
first: 200
|
146
|
+
)
|
147
|
+
expect(enum.count).to be 150
|
148
|
+
end
|
149
|
+
end
|
150
|
+
|
151
|
+
describe "Lambda with Arguments to MergeEnumerable" do
|
152
|
+
it "option_first limited at first" do
|
153
|
+
arg1, arg2 = nil, nil
|
154
|
+
enum = MergeEnum::MergeEnumerable.new(
|
155
|
+
-> (c) { arg1 = c; 0...100 },
|
156
|
+
-> (c) { raise "unexpect"; 200...250 },
|
157
|
+
first: 50
|
158
|
+
)
|
159
|
+
expect(enum.count).to be 50
|
160
|
+
expect(arg1).to be 50
|
161
|
+
expect(arg2).to be_nil
|
162
|
+
end
|
163
|
+
it "option_first over" do
|
164
|
+
arg1, arg2 = nil, nil
|
165
|
+
enum = MergeEnum::MergeEnumerable.new(
|
166
|
+
-> (c) { arg1 = c; 0...100 },
|
167
|
+
-> (c) { arg2 = c; 200...250 },
|
168
|
+
first: 200
|
169
|
+
)
|
170
|
+
expect(enum.count).to be 150
|
171
|
+
expect(arg1).to be 200
|
172
|
+
expect(arg2).to be 100
|
173
|
+
end
|
174
|
+
end
|
175
|
+
|
176
|
+
describe "Proc to MergeEnumerable" do
|
177
|
+
it "option_first limited at first" do
|
178
|
+
enum = MergeEnum::MergeEnumerable.new(
|
179
|
+
Proc.new { 0...100 },
|
180
|
+
Proc.new { 200...250 },
|
181
|
+
first: 50
|
182
|
+
)
|
183
|
+
expect(enum.count).to be 50
|
184
|
+
end
|
185
|
+
it "option_first over" do
|
186
|
+
enum = MergeEnum::MergeEnumerable.new(
|
187
|
+
Proc.new { 0...100 },
|
188
|
+
Proc.new { 200...250 },
|
189
|
+
first: 200
|
190
|
+
)
|
191
|
+
expect(enum.count).to be 150
|
192
|
+
end
|
193
|
+
end
|
194
|
+
|
195
|
+
describe "Proc with Arguments to MergeEnumerable" do
|
196
|
+
it "option_first limited at first" do
|
197
|
+
arg1, arg2 = nil, nil
|
198
|
+
enum = MergeEnum::MergeEnumerable.new(
|
199
|
+
Proc.new { |c| arg1 = c; 0...100 },
|
200
|
+
Proc.new { |c| raise "unexpect"; 200...250 },
|
201
|
+
first: 50
|
202
|
+
)
|
203
|
+
expect(enum.count).to be 50
|
204
|
+
expect(arg1).to be 50
|
205
|
+
expect(arg2).to be_nil
|
206
|
+
end
|
207
|
+
it "option_first over" do
|
208
|
+
arg1, arg2 = nil, nil
|
209
|
+
enum = MergeEnum::MergeEnumerable.new(
|
210
|
+
Proc.new { |c| arg1 = c; 0...100 },
|
211
|
+
Proc.new { |c| arg2 = c; 200...250 },
|
212
|
+
first: 200
|
213
|
+
)
|
214
|
+
expect(enum.count).to be 150
|
215
|
+
expect(arg1).to be 200
|
216
|
+
expect(arg2).to be 100
|
217
|
+
end
|
218
|
+
end
|
219
|
+
|
220
|
+
describe "Complex Enumerables to MergeEnumerable" do
|
221
|
+
it "Enumerable, Proc, Lambda" do
|
222
|
+
arg1, arg2 = nil, nil
|
223
|
+
enum = MergeEnum::MergeEnumerable.new(
|
224
|
+
0...100,
|
225
|
+
-> (c) { arg1 = c; 200...250 },
|
226
|
+
Proc.new { |c| arg2 = c; 300...330 },
|
227
|
+
first: 200
|
228
|
+
)
|
229
|
+
expect(enum.count).to be 180
|
230
|
+
expect(arg1).to be 100
|
231
|
+
expect(arg2).to be 50
|
232
|
+
end
|
233
|
+
it "Proc, Lambda, Enumerable" do
|
234
|
+
arg1, arg2 = nil, nil
|
235
|
+
enum = MergeEnum::MergeEnumerable.new(
|
236
|
+
-> (c) { arg1 = c; 0...100 },
|
237
|
+
Proc.new { |c| arg2 = c; 200...250 },
|
238
|
+
300...330,
|
239
|
+
first: 200
|
240
|
+
)
|
241
|
+
expect(enum.count).to be 180
|
242
|
+
expect(arg1).to be 200
|
243
|
+
expect(arg2).to be 100
|
244
|
+
end
|
245
|
+
end
|
246
|
+
|
247
|
+
describe "Equality Enumerator" do
|
248
|
+
it "equality enumerator" do
|
249
|
+
enum = MergeEnum::MergeEnumerable.new(
|
250
|
+
0...100,
|
251
|
+
-> (c) { arg1 = c; 200...250 },
|
252
|
+
Proc.new { |c| arg2 = c; 300...330 },
|
253
|
+
first: 200
|
254
|
+
)
|
255
|
+
enum_sub = enum.each
|
256
|
+
expect(enum).to be_a(Enumerable)
|
257
|
+
expect(enum_sub).to be_a(Enumerable)
|
258
|
+
expect(enum_sub).not_to be(enum)
|
259
|
+
expect(enum_sub.to_a).to eq(enum.to_a)
|
260
|
+
end
|
261
|
+
end
|
262
|
+
|
263
|
+
describe "Whitebox" do
|
264
|
+
it "call first method" do
|
265
|
+
ary = (0...100)
|
266
|
+
enum = MergeEnum::MergeEnumerable.new(
|
267
|
+
ary,
|
268
|
+
-> (c) { arg1 = c; 200...250 },
|
269
|
+
Proc.new { |c| arg2 = c; 300...330 },
|
270
|
+
first: 200
|
271
|
+
)
|
272
|
+
expect(ary).to receive(:first).with(200).and_return(ary)
|
273
|
+
expect(enum.count).to be 180
|
274
|
+
end
|
275
|
+
end
|
276
|
+
|
277
|
+
end
|
278
|
+
|
data/spec/spec_helper.rb
ADDED
metadata
ADDED
@@ -0,0 +1,85 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: merge_enum
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.1.0
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- brightgenerous
|
8
|
+
autorequire:
|
9
|
+
bindir: bin
|
10
|
+
cert_chain: []
|
11
|
+
date: 2014-05-10 00:00:00.000000000 Z
|
12
|
+
dependencies:
|
13
|
+
- !ruby/object:Gem::Dependency
|
14
|
+
name: bundler
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
16
|
+
requirements:
|
17
|
+
- - ~>
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: '1.5'
|
20
|
+
type: :development
|
21
|
+
prerelease: false
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
23
|
+
requirements:
|
24
|
+
- - ~>
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: '1.5'
|
27
|
+
- !ruby/object:Gem::Dependency
|
28
|
+
name: rake
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
30
|
+
requirements:
|
31
|
+
- - '>='
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: '0'
|
34
|
+
type: :development
|
35
|
+
prerelease: false
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
37
|
+
requirements:
|
38
|
+
- - '>='
|
39
|
+
- !ruby/object:Gem::Version
|
40
|
+
version: '0'
|
41
|
+
description: merge enumerable
|
42
|
+
email:
|
43
|
+
- katou.akihiro@gmail.com
|
44
|
+
executables: []
|
45
|
+
extensions: []
|
46
|
+
extra_rdoc_files: []
|
47
|
+
files:
|
48
|
+
- .gitignore
|
49
|
+
- Gemfile
|
50
|
+
- LICENSE.txt
|
51
|
+
- README.md
|
52
|
+
- Rakefile
|
53
|
+
- lib/merge_enum.rb
|
54
|
+
- lib/merge_enum/merge_enumerable.rb
|
55
|
+
- lib/merge_enum/version.rb
|
56
|
+
- merge_enum.gemspec
|
57
|
+
- spec/merge_enum/merge_emunerable.rb
|
58
|
+
- spec/spec_helper.rb
|
59
|
+
homepage: ''
|
60
|
+
licenses:
|
61
|
+
- MIT
|
62
|
+
metadata: {}
|
63
|
+
post_install_message:
|
64
|
+
rdoc_options: []
|
65
|
+
require_paths:
|
66
|
+
- lib
|
67
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
68
|
+
requirements:
|
69
|
+
- - '>='
|
70
|
+
- !ruby/object:Gem::Version
|
71
|
+
version: '0'
|
72
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
73
|
+
requirements:
|
74
|
+
- - '>='
|
75
|
+
- !ruby/object:Gem::Version
|
76
|
+
version: '0'
|
77
|
+
requirements: []
|
78
|
+
rubyforge_project:
|
79
|
+
rubygems_version: 2.0.14
|
80
|
+
signing_key:
|
81
|
+
specification_version: 4
|
82
|
+
summary: merge enumerable
|
83
|
+
test_files:
|
84
|
+
- spec/merge_enum/merge_emunerable.rb
|
85
|
+
- spec/spec_helper.rb
|