daitai 0.1.6 → 0.1.7

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: '09d2dfb7f123eb7f0213eaf438aae0f88336afafd58416a66790751fb241978d'
4
- data.tar.gz: 4d19c1d0ff42be462e63eba58c503f13d247bc3176b1514d54eed3a6b2512542
3
+ metadata.gz: a0eef01b5a0d60007fb1c642b7c98e0044fa03b67e1eeb178018c8c76af73b92
4
+ data.tar.gz: d6e31f441847c9783b97465e7a3431d23976518ad6e18a1e99c75f11ef73ce34
5
5
  SHA512:
6
- metadata.gz: 2dab3b9141d8c25e5bcf8fe97d3c3e62d9fa614c6774776ac98d21780f2c031701df1fb379804c3ff9c466e0a354a1e3c4bf7b2f2ef9760dd50ed90c2e33ab00
7
- data.tar.gz: ad94909fa77456c515db956c74e99a74958cbd7db2b97c9b96df3ef96adf4f6033a55459f4d4a3ff4b31411331df14dfd1a62a98a458245f5b11d9efd649d562
6
+ metadata.gz: 8569685ae7960b9e15e9faf562dc9891bf42597581e4283a14bf92812995ce313a9644d9929bfe917a28f736477ee13bc7dd6811f94882fb4088e8ab6299b356
7
+ data.tar.gz: 945ad40b819ef067d906e1da1e1ce52c4f927b30ce0f7a23d333c2bbca728efcaff282df0ee82e83cb06b7c7293e530fe5c991a9cead2127935ad4b880b1d032
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- daitai (0.1.6)
4
+ daitai (0.1.7)
5
5
 
6
6
  GEM
7
7
  remote: https://rubygems.org/
@@ -3,22 +3,7 @@
3
3
  module Daitai
4
4
  module Concat
5
5
  def concat
6
- lambda do |x, y|
7
- case x
8
- when String then string_concat(x, y)
9
- else default_concat(x, y)
10
- end
11
- end.curry
12
- end
13
-
14
- private
15
-
16
- def string_concat(x, y)
17
- x + y
18
- end
19
-
20
- def default_concat(x, y)
21
- x.concat(y)
6
+ ->(x, y) { x + y }.curry
22
7
  end
23
8
  end
24
9
  end
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Daitai
4
- VERSION = '0.1.6'
4
+ VERSION = '0.1.7'
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: daitai
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.6
4
+ version: 0.1.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Walerian Sobczak