totally_lazy 0.0.12 → 0.0.13
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/VERSION +1 -1
- data/lib/sequence.rb +3 -4
- data/spec/sequence_spec.rb +1 -0
- data/totally_lazy.gemspec +2 -2
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: cfb52906262bbc2dd2e99910b5ede6e740124b89
|
4
|
+
data.tar.gz: 61d1e2a40cc9a312d06a972613a4f94222bb6534
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f5a0e8811a004d0058a414a7ef09957ba03365db0b97c6d1e5e44c0c088ea2dd2d87159f743b7aafab230a58549b043e519f77894dab16f75c617d32d1f18140
|
7
|
+
data.tar.gz: 9f4708dda0571887af33eec7a74c042dcb412a6d898fb399f35ac2acb09f58b45a485fee53dab521d1758d5a5bed2f25cae3c03d1b2503c0783c5583807ead91
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.0.
|
1
|
+
0.0.13
|
data/lib/sequence.rb
CHANGED
data/spec/sequence_spec.rb
CHANGED
@@ -91,6 +91,7 @@ describe 'Sequence' do
|
|
91
91
|
end
|
92
92
|
|
93
93
|
it 'should support flat_map' do
|
94
|
+
expect(sequence(sequence(1, 2), sequence(3, 4)).flat_map { |s| s+1 }).to eq(sequence(2, 3, 4, 5))
|
94
95
|
expect(sequence(sequence(1, 2), sequence(3, 4)).flat_map { |s| s }).to eq(sequence(1, 2, 3, 4))
|
95
96
|
expect(sequence(pair(1, 2), pair(3, 4)).flat_map { |s| s }).to eq(sequence(1, 2, 3, 4))
|
96
97
|
end
|
data/totally_lazy.gemspec
CHANGED
@@ -2,11 +2,11 @@
|
|
2
2
|
# DO NOT EDIT THIS FILE DIRECTLY
|
3
3
|
# Instead, edit Jeweler::Tasks in Rakefile, and run 'rake gemspec'
|
4
4
|
# -*- encoding: utf-8 -*-
|
5
|
-
# stub: totally_lazy 0.0.
|
5
|
+
# stub: totally_lazy 0.0.13 ruby lib
|
6
6
|
|
7
7
|
Gem::Specification.new do |s|
|
8
8
|
s.name = "totally_lazy"
|
9
|
-
s.version = "0.0.
|
9
|
+
s.version = "0.0.13"
|
10
10
|
|
11
11
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
12
12
|
s.require_paths = ["lib"]
|