facebook-messenger 1.0.0 → 1.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +151 -10
- data/lib/facebook/messenger.rb +3 -0
- data/lib/facebook/messenger/bot.rb +43 -10
- data/lib/facebook/messenger/bot/message_type.rb +13 -0
- data/lib/facebook/messenger/bot/messaging_type.rb +12 -0
- data/lib/facebook/messenger/bot/tag.rb +27 -0
- data/lib/facebook/messenger/configuration.rb +3 -1
- data/lib/facebook/messenger/configuration/providers/base.rb +4 -2
- data/lib/facebook/messenger/configuration/providers/environment.rb +6 -1
- data/lib/facebook/messenger/error.rb +14 -1
- data/lib/facebook/messenger/incoming.rb +31 -6
- data/lib/facebook/messenger/incoming/account_linking.rb +6 -0
- data/lib/facebook/messenger/incoming/common.rb +75 -1
- data/lib/facebook/messenger/incoming/delivery.rb +1 -0
- data/lib/facebook/messenger/incoming/message.rb +86 -1
- data/lib/facebook/messenger/incoming/message_echo.rb +2 -2
- data/lib/facebook/messenger/incoming/message_request.rb +13 -0
- data/lib/facebook/messenger/incoming/optin.rb +18 -1
- data/lib/facebook/messenger/incoming/payment.rb +49 -0
- data/lib/facebook/messenger/incoming/policy_enforcement.rb +21 -0
- data/lib/facebook/messenger/incoming/postback.rb +5 -1
- data/lib/facebook/messenger/incoming/read.rb +3 -0
- data/lib/facebook/messenger/incoming/referral.rb +5 -2
- data/lib/facebook/messenger/profile.rb +43 -3
- data/lib/facebook/messenger/server.rb +40 -4
- data/lib/facebook/messenger/server_no_error.rb +36 -0
- data/lib/facebook/messenger/subscriptions.rb +42 -2
- data/lib/facebook/messenger/version.rb +3 -1
- metadata +12 -5
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: facebook-messenger
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.1.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Johannes Gorset
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2018-06-28 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: httparty
|
@@ -36,14 +36,14 @@ dependencies:
|
|
36
36
|
requirements:
|
37
37
|
- - ">="
|
38
38
|
- !ruby/object:Gem::Version
|
39
|
-
version: 1.
|
39
|
+
version: 1.4.5
|
40
40
|
type: :runtime
|
41
41
|
prerelease: false
|
42
42
|
version_requirements: !ruby/object:Gem::Requirement
|
43
43
|
requirements:
|
44
44
|
- - ">="
|
45
45
|
- !ruby/object:Gem::Version
|
46
|
-
version: 1.
|
46
|
+
version: 1.4.5
|
47
47
|
- !ruby/object:Gem::Dependency
|
48
48
|
name: bundler
|
49
49
|
requirement: !ruby/object:Gem::Requirement
|
@@ -170,6 +170,9 @@ files:
|
|
170
170
|
- lib/facebook/messenger/bot.rb
|
171
171
|
- lib/facebook/messenger/bot/error_parser.rb
|
172
172
|
- lib/facebook/messenger/bot/exceptions.rb
|
173
|
+
- lib/facebook/messenger/bot/message_type.rb
|
174
|
+
- lib/facebook/messenger/bot/messaging_type.rb
|
175
|
+
- lib/facebook/messenger/bot/tag.rb
|
173
176
|
- lib/facebook/messenger/configuration.rb
|
174
177
|
- lib/facebook/messenger/configuration/providers.rb
|
175
178
|
- lib/facebook/messenger/configuration/providers/base.rb
|
@@ -181,12 +184,16 @@ files:
|
|
181
184
|
- lib/facebook/messenger/incoming/delivery.rb
|
182
185
|
- lib/facebook/messenger/incoming/message.rb
|
183
186
|
- lib/facebook/messenger/incoming/message_echo.rb
|
187
|
+
- lib/facebook/messenger/incoming/message_request.rb
|
184
188
|
- lib/facebook/messenger/incoming/optin.rb
|
189
|
+
- lib/facebook/messenger/incoming/payment.rb
|
190
|
+
- lib/facebook/messenger/incoming/policy_enforcement.rb
|
185
191
|
- lib/facebook/messenger/incoming/postback.rb
|
186
192
|
- lib/facebook/messenger/incoming/read.rb
|
187
193
|
- lib/facebook/messenger/incoming/referral.rb
|
188
194
|
- lib/facebook/messenger/profile.rb
|
189
195
|
- lib/facebook/messenger/server.rb
|
196
|
+
- lib/facebook/messenger/server_no_error.rb
|
190
197
|
- lib/facebook/messenger/subscriptions.rb
|
191
198
|
- lib/facebook/messenger/version.rb
|
192
199
|
homepage: https://github.com/hyperoslo/facebook-messenger
|
@@ -209,7 +216,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
209
216
|
version: '0'
|
210
217
|
requirements: []
|
211
218
|
rubyforge_project:
|
212
|
-
rubygems_version: 2.
|
219
|
+
rubygems_version: 2.5.2.1
|
213
220
|
signing_key:
|
214
221
|
specification_version: 4
|
215
222
|
summary: Facebook Messenger client
|