bobot 3.5.0 → 3.5.1
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 +4 -4
- data/lib/bobot/buttons.rb +1 -1
- data/lib/bobot/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 913b39344c2e3bc5087969d74a169300a01c1daf
|
|
4
|
+
data.tar.gz: 67113b6600bf965e81a0cffe4d3b301feca724a4
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: b30b00d9d6d2d3ab43ac58527bfd45cb1fba493eb8f297c510c8ee983b01213e1b65c138dff79beaae8344e945ab73bc366d0bdb59475bc2acc5ff3da2810e16
|
|
7
|
+
data.tar.gz: 2901a6db35d7a0426b13ee2a1435d9cccc4313fc53e839569b0f03e6cb971753471932233b663c0ed01f90778248f8b4080d441e4f0a1992cc6a8dc6148c89cf
|
data/lib/bobot/buttons.rb
CHANGED
|
@@ -71,7 +71,7 @@ module Bobot
|
|
|
71
71
|
}
|
|
72
72
|
end
|
|
73
73
|
|
|
74
|
-
def self.share_custom(title:, subtitle:, image_url:, web_url:, button_title:, image_aspect_ratio:)
|
|
74
|
+
def self.share_custom(title:, subtitle:, image_url:, web_url:, button_title:, image_aspect_ratio: "square")
|
|
75
75
|
raise Bobot::FieldFormat.new('title is required.') unless title.present?
|
|
76
76
|
raise Bobot::FieldFormat.new('title length is limited to 80.') if title.size > 80
|
|
77
77
|
raise Bobot::FieldFormat.new('subtitle is required.') unless subtitle.present?
|
data/lib/bobot/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: bobot
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 3.5.
|
|
4
|
+
version: 3.5.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Navid EMAD
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date:
|
|
11
|
+
date: 2018-01-24 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: i18n
|