szczupac 0.2.0 → 0.3.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: 2db8dc8a82521e4b88b0352477bd074d880c463bda3e79c0a1835fec4fc3222d
4
- data.tar.gz: 1d69e30683fd4d886b3bab28f0d7ee876f5126130b7f4a320e1c40d68409c7f6
3
+ metadata.gz: e2d747def49ff2b27088286fa6c5f388868b50bf5a91bc558ce6eabe606b70c1
4
+ data.tar.gz: 5aa49ae7455586547c1ad07d8fe16a0efe220b54187c99949c1aa9cddeaeb94b
5
5
  SHA512:
6
- metadata.gz: '07329b9602ad86c81cb4945d6c62eac9063328a822c36edcb163de28242323e637582e4992ca60e2caddfbdc14a71c59ff353d8c58a6740394c78df2cdcec656'
7
- data.tar.gz: 6ecb7c2d154d19705de108ed4c03dea326c5554cbb139ed28ba7de1ddd6128466ddfe3ae4528a1911f9bb1c085a2f9db1187750118a51b78e86fd7bc318af45b
6
+ metadata.gz: 8fe7a1cf269fb19966378ac0febab1322639fc0720d217ed6071378f9e7d0a3086ad51684b12734c8b864489fbe5129d38b8e55e86f9e78f50cbebeaeaa1d62e
7
+ data.tar.gz: 7e3a3f13966678dc9ed56f9282890036497d7b7ef8e977432eb7399044142df764c344eb26e5570e7d7118af88f63e8949952eb8b69aaebd5fea3809101caed6
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Szczupac
4
- VERSION = "0.2.0"
4
+ VERSION = "0.3.0"
5
5
  end
data/lib/szczupac.rb CHANGED
@@ -17,6 +17,7 @@ module Szczupac
17
17
  .map { |v| { name => v } }
18
18
  .product([first_from_rest])
19
19
  .map { |v| v.reduce(&:merge) }
20
+ .map { |v| v.sort_by { |k, _| named_lanes.keys.index(k) }.to_h }
20
21
  end
21
22
  .uniq
22
23
  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.2.0
4
+ version: 0.3.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Paweł Pacana