kamiflex 0.12.0 → 0.12.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
  SHA256:
3
- metadata.gz: b9c0e63d45a74a91db303733a98b67ca7d86f9864a320a8dddeb80362e4e812f
4
- data.tar.gz: 0e4a0b7ff1ed8ca8203253dcee0963574afc2670331c80de6a6fa51bb335a66a
3
+ metadata.gz: 071ab7c633d8d7a5a420593aa91354f7ae75ef494fe1f737d685e3a158c44174
4
+ data.tar.gz: aff944e65d5af0a26712db2ef11655049eb3e48e668706866e488083df90c984
5
5
  SHA512:
6
- metadata.gz: 20d529c449aaf92c79dc54ef9a9ab36b1e015a702bf5cd4991209a6e4d2b463327f5d3c3c0a4d5d49af2c789b20b8ef9cc82afbe59c364fcfc2ef0ae50f6ecd7
7
- data.tar.gz: a10f3ed766e09479f92f1f5ba3983230e5c1d467db944e60d898d1493cceb526052482a0f04df758555ae57ec7189f7cc94529a2c0cda0460622ed07c6c04406
6
+ metadata.gz: 46e3424571adeb2eed428baad0325227bea035f340f5c9f6ddbd78c779731a4f7ed27809c317f04eff0b90d0f8db302dff10ddfb64bb7e2e393fda90b7995c80
7
+ data.tar.gz: 30162106bf30c8e7231b238d98fb30e802fba2f1f22583caab14342ee8f15f2ebd1c1f02cc1f8257044557203cf9977c3ae8b3eb0dabae087779a7934d2a81b3
data/lib/kamiflex/core.rb CHANGED
@@ -4,7 +4,7 @@ module Kamiflex
4
4
  attributes, _contents = flex_scope{ yield }
5
5
  {
6
6
  type: "flex",
7
- altText: "this is a flex message",
7
+ altText: attributes[:alt_text] || "this is a flex message",
8
8
  contents: _contents.first
9
9
  }.merge(attributes.slice(:quickReply))
10
10
  end
@@ -1,3 +1,3 @@
1
1
  module Kamiflex
2
- VERSION = '0.12.0'
2
+ VERSION = '0.12.1'
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.0
4
+ version: 0.12.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - etrex kuo