szczupac 0.1.0 → 0.2.0

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
  SHA256:
3
- metadata.gz: d454bd0ac9716b5b3916394e48a0464128931bd4a0fd7fd2e6a12600dd76bfef
4
- data.tar.gz: ca780cbe6e44e6e445f5a3dace15869843250b262a8719b5e3b80b2b4680a6d3
3
+ metadata.gz: 2db8dc8a82521e4b88b0352477bd074d880c463bda3e79c0a1835fec4fc3222d
4
+ data.tar.gz: 1d69e30683fd4d886b3bab28f0d7ee876f5126130b7f4a320e1c40d68409c7f6
5
5
  SHA512:
6
- metadata.gz: 249cec6e1117910ac22660d4e4dfb995b47be7f1b971c9ef396fd46f0c1282862222883f48ca378fbe238b935655d0ca99ce4d34860f6243c3dc962edc9a5efa
7
- data.tar.gz: ddc994f3f9c040664a16829df9153c2595b7cd451174c9077822eecba6400efb3429600602a68e8c411cba1d4cba6ebbc6448f6ab17600d33fd30b2897f852b7
6
+ metadata.gz: '07329b9602ad86c81cb4945d6c62eac9063328a822c36edcb163de28242323e637582e4992ca60e2caddfbdc14a71c59ff353d8c58a6740394c78df2cdcec656'
7
+ data.tar.gz: 6ecb7c2d154d19705de108ed4c03dea326c5554cbb139ed28ba7de1ddd6128466ddfe3ae4528a1911f9bb1c085a2f9db1187750118a51b78e86fd7bc318af45b
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Szczupac
4
- VERSION = "0.1.0"
4
+ VERSION = "0.2.0"
5
5
  end
data/lib/szczupac.rb CHANGED
@@ -3,6 +3,8 @@
3
3
  require_relative "szczupac/version"
4
4
 
5
5
  module Szczupac
6
+ extend self
7
+
6
8
  def call(**named_lanes)
7
9
  named_lanes
8
10
  .flat_map do |name, values|
@@ -18,5 +20,5 @@ module Szczupac
18
20
  end
19
21
  .uniq
20
22
  end
21
- module_function :call
23
+ alias [] call
22
24
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: szczupac
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Paweł Pacana