kamiflex 0.12.1 → 0.12.2

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: 071ab7c633d8d7a5a420593aa91354f7ae75ef494fe1f737d685e3a158c44174
4
- data.tar.gz: aff944e65d5af0a26712db2ef11655049eb3e48e668706866e488083df90c984
3
+ metadata.gz: abe7d79a2da6e406553d0ac0affcf3d68e8bfc11eeb708b0491b76da8181a29a
4
+ data.tar.gz: 4f17979f04de0cbf1ac0239800c16a12b6ec40280c4d923a78e4fe1de4ecd99b
5
5
  SHA512:
6
- metadata.gz: 46e3424571adeb2eed428baad0325227bea035f340f5c9f6ddbd78c779731a4f7ed27809c317f04eff0b90d0f8db302dff10ddfb64bb7e2e393fda90b7995c80
7
- data.tar.gz: 30162106bf30c8e7231b238d98fb30e802fba2f1f22583caab14342ee8f15f2ebd1c1f02cc1f8257044557203cf9977c3ae8b3eb0dabae087779a7934d2a81b3
6
+ metadata.gz: a7d6689a1430d5f072cd4cf98ce57b94a6ce08f0f67e95e053328ca8c4f1a885ee17393a20d457f80a803d002cdde8aacc39419198a0928a83f6767f5849c656
7
+ data.tar.gz: b6ba2c19320da472a198382773329254d10a1900b7e281d8f848776dc818a04e4cab47eb4213afbc0f41031d2884c250db194ddf56e11be5130f639399e5d5e0
@@ -4,9 +4,9 @@ module Kamiflex
4
4
  attributes, _contents = flex_scope{ yield }
5
5
  {
6
6
  type: "flex",
7
- altText: attributes[:alt_text] || "this is a flex message",
7
+ altText: "this is a flex message",
8
8
  contents: _contents.first
9
- }.merge(attributes.slice(:quickReply))
9
+ }.merge(attributes.slice(:quickReply, :altText))
10
10
  end
11
11
 
12
12
  def bubble(**params)
@@ -1,3 +1,3 @@
1
1
  module Kamiflex
2
- VERSION = '0.12.1'
2
+ VERSION = '0.12.2'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: kamiflex
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.12.1
4
+ version: 0.12.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - etrex kuo