serial 0.1.0 → 0.1.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 726a364ac913fa10ae6b515961c6d868ae2c3fb3
4
- data.tar.gz: e4fab7b274b159f7fcc6127213d5a14262f8da47
3
+ metadata.gz: 8606568eae4354b244eee0133b643b70b83a8d46
4
+ data.tar.gz: 14c06a5dbbc592f84e08f29b4de5394f5b3eb23f
5
5
  SHA512:
6
- metadata.gz: 5e1e2d538b088082e41b9bd873d455074cd5ce85812179978cbe4aedbc63df29f1898966a9040f0f185f11e980ca41ae46d8360d9d68e891981610dd4f69f75a
7
- data.tar.gz: f0308bd4d267cea9bfb3eb47df0a6722fd96eea4430616dfae7e1f34f9f94193c6d4db14617111cf93082fd9b1260018ec48bc381581f17f124d1028e28d1d23
6
+ metadata.gz: cac05055fd052f2b838043014f540b697b38e7ee0a7340cf2f48a71e4ff8358cd253c6a0db6986bcd54a9c53c4f9da19177e7b948369bb58a722a87f2ca61af6
7
+ data.tar.gz: 49d8597da55ed54ac1b492f000efd29d8e4b3852716f05d158499825e890901bd66abece7c5ff753755cf46784a8905055c8843a2f0f423c56c70895e6f236c0
@@ -4,8 +4,8 @@ module Serial
4
4
  @block = block
5
5
  end
6
6
 
7
- def map(list)
8
- list.map { |item| call(item) }
7
+ def map(context = nil, list)
8
+ list.map { |item| call(context, item) }
9
9
  end
10
10
 
11
11
  def call(context = nil, value)
@@ -1,3 +1,3 @@
1
1
  module Serial
2
- VERSION = "0.1.0"
2
+ VERSION = "0.1.1"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: serial
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jonas Nicklas