slack-ruby-client-bhe 0.5.4

Sign up to get free protection for your applications and to get access to all the features.
Files changed (147) hide show
  1. checksums.yaml +17 -0
  2. data/.gitignore +4 -0
  3. data/.gitmodules +3 -0
  4. data/.rspec +2 -0
  5. data/.rubocop.yml +6 -0
  6. data/.rubocop_todo.yml +78 -0
  7. data/.travis.yml +26 -0
  8. data/CHANGELOG.md +79 -0
  9. data/CONTRIBUTING.md +157 -0
  10. data/Gemfile +5 -0
  11. data/LICENSE.md +22 -0
  12. data/README.md +385 -0
  13. data/RELEASING.md +69 -0
  14. data/Rakefile +19 -0
  15. data/UPGRADING.md +26 -0
  16. data/bin/commands.rb +21 -0
  17. data/bin/commands/api.rb +14 -0
  18. data/bin/commands/auth.rb +12 -0
  19. data/bin/commands/channels.rb +149 -0
  20. data/bin/commands/chat.rb +47 -0
  21. data/bin/commands/dnd.rb +47 -0
  22. data/bin/commands/emoji.rb +12 -0
  23. data/bin/commands/files.rb +72 -0
  24. data/bin/commands/groups.rb +167 -0
  25. data/bin/commands/im.rb +53 -0
  26. data/bin/commands/mpim.rb +53 -0
  27. data/bin/commands/oauth.rb +16 -0
  28. data/bin/commands/pins.rb +37 -0
  29. data/bin/commands/reactions.rb +53 -0
  30. data/bin/commands/rtm.rb +15 -0
  31. data/bin/commands/search.rb +40 -0
  32. data/bin/commands/stars.rb +37 -0
  33. data/bin/commands/team.rb +32 -0
  34. data/bin/commands/usergroups.rb +73 -0
  35. data/bin/commands/users.rb +57 -0
  36. data/bin/slack +50 -0
  37. data/examples/hi_real_time/Gemfile +5 -0
  38. data/examples/hi_real_time/hi.gif +0 -0
  39. data/examples/hi_real_time/hi.rb +32 -0
  40. data/examples/hi_real_time_and_web/Gemfile +5 -0
  41. data/examples/hi_real_time_and_web/hi.gif +0 -0
  42. data/examples/hi_real_time_and_web/hi.rb +24 -0
  43. data/examples/hi_real_time_async/Gemfile +5 -0
  44. data/examples/hi_real_time_async/hi.rb +29 -0
  45. data/examples/hi_web/Gemfile +3 -0
  46. data/examples/hi_web/hi.gif +0 -0
  47. data/examples/hi_web/hi.rb +12 -0
  48. data/examples/new_ticket/Gemfile +3 -0
  49. data/examples/new_ticket/new_ticket.rb +25 -0
  50. data/lib/slack-ruby-client.rb +29 -0
  51. data/lib/slack.rb +1 -0
  52. data/lib/slack/config.rb +21 -0
  53. data/lib/slack/messages/formatting.rb +30 -0
  54. data/lib/slack/real_time/api/message.rb +20 -0
  55. data/lib/slack/real_time/api/message_id.rb +14 -0
  56. data/lib/slack/real_time/api/ping.rb +16 -0
  57. data/lib/slack/real_time/api/typing.rb +17 -0
  58. data/lib/slack/real_time/client.rb +152 -0
  59. data/lib/slack/real_time/concurrency.rb +8 -0
  60. data/lib/slack/real_time/concurrency/celluloid.rb +93 -0
  61. data/lib/slack/real_time/concurrency/eventmachine.rb +39 -0
  62. data/lib/slack/real_time/config.rb +55 -0
  63. data/lib/slack/real_time/socket.rb +81 -0
  64. data/lib/slack/version.rb +3 -0
  65. data/lib/slack/web/api/endpoints.rb +53 -0
  66. data/lib/slack/web/api/endpoints/api.rb +24 -0
  67. data/lib/slack/web/api/endpoints/auth.rb +20 -0
  68. data/lib/slack/web/api/endpoints/channels.rb +220 -0
  69. data/lib/slack/web/api/endpoints/chat.rb +91 -0
  70. data/lib/slack/web/api/endpoints/dnd.rb +64 -0
  71. data/lib/slack/web/api/endpoints/emoji.rb +20 -0
  72. data/lib/slack/web/api/endpoints/files.rb +108 -0
  73. data/lib/slack/web/api/endpoints/groups.rb +247 -0
  74. data/lib/slack/web/api/endpoints/im.rb +85 -0
  75. data/lib/slack/web/api/endpoints/mpim.rb +84 -0
  76. data/lib/slack/web/api/endpoints/oauth.rb +32 -0
  77. data/lib/slack/web/api/endpoints/pins.rb +64 -0
  78. data/lib/slack/web/api/endpoints/presence.rb +23 -0
  79. data/lib/slack/web/api/endpoints/reactions.rb +89 -0
  80. data/lib/slack/web/api/endpoints/rtm.rb +27 -0
  81. data/lib/slack/web/api/endpoints/search.rb +65 -0
  82. data/lib/slack/web/api/endpoints/stars.rb +61 -0
  83. data/lib/slack/web/api/endpoints/team.rb +47 -0
  84. data/lib/slack/web/api/endpoints/usergroups.rb +113 -0
  85. data/lib/slack/web/api/endpoints/users.rb +73 -0
  86. data/lib/slack/web/api/error.rb +14 -0
  87. data/lib/slack/web/api/mixins.rb +3 -0
  88. data/lib/slack/web/api/mixins/channels.id.json +20 -0
  89. data/lib/slack/web/api/mixins/channels.id.rb +26 -0
  90. data/lib/slack/web/api/mixins/groups.id.json +20 -0
  91. data/lib/slack/web/api/mixins/groups.id.rb +26 -0
  92. data/lib/slack/web/api/mixins/users.id.json +20 -0
  93. data/lib/slack/web/api/mixins/users.id.rb +26 -0
  94. data/lib/slack/web/api/patches/chat.1.text-attachments-required.patch +13 -0
  95. data/lib/slack/web/api/patches/chat.2.attachments-json.patch +17 -0
  96. data/lib/slack/web/api/schema/group.json +14 -0
  97. data/lib/slack/web/api/schema/method.json +45 -0
  98. data/lib/slack/web/api/tasks/generate.rake +61 -0
  99. data/lib/slack/web/api/templates/command.erb +34 -0
  100. data/lib/slack/web/api/templates/commands.erb +5 -0
  101. data/lib/slack/web/api/templates/endpoints.erb +21 -0
  102. data/lib/slack/web/api/templates/method.erb +49 -0
  103. data/lib/slack/web/client.rb +28 -0
  104. data/lib/slack/web/config.rb +41 -0
  105. data/lib/slack/web/faraday/connection.rb +29 -0
  106. data/lib/slack/web/faraday/request.rb +39 -0
  107. data/lib/slack/web/faraday/response/raise_error.rb +15 -0
  108. data/lib/slack_ruby_client.rb +1 -0
  109. data/screenshots/register-bot.png +0 -0
  110. data/slack-ruby-client.gemspec +31 -0
  111. data/slack.png +0 -0
  112. data/spec/fixtures/slack/web/429_error.yml +83 -0
  113. data/spec/fixtures/slack/web/auth_test_error.yml +48 -0
  114. data/spec/fixtures/slack/web/auth_test_success.yml +57 -0
  115. data/spec/fixtures/slack/web/channels_info.yml +46 -0
  116. data/spec/fixtures/slack/web/groups_info.yml +43 -0
  117. data/spec/fixtures/slack/web/rtm_start.yml +73 -0
  118. data/spec/fixtures/slack/web/users_info.yml +130 -0
  119. data/spec/fixtures/slack/web/users_list.yml +72 -0
  120. data/spec/integration/integration_spec.rb +107 -0
  121. data/spec/slack/config_spec.rb +14 -0
  122. data/spec/slack/messages/formatting_spec.rb +43 -0
  123. data/spec/slack/real_time/api/message_spec.rb +15 -0
  124. data/spec/slack/real_time/api/ping_spec.rb +15 -0
  125. data/spec/slack/real_time/api/typing_spec.rb +15 -0
  126. data/spec/slack/real_time/client_spec.rb +198 -0
  127. data/spec/slack/real_time/concurrency/celluloid_spec.rb +58 -0
  128. data/spec/slack/real_time/concurrency/eventmachine_spec.rb +49 -0
  129. data/spec/slack/slack_spec.rb +58 -0
  130. data/spec/slack/version_spec.rb +7 -0
  131. data/spec/slack/web/api/endpoints/auth_spec.rb +20 -0
  132. data/spec/slack/web/api/endpoints/channels_spec.rb +11 -0
  133. data/spec/slack/web/api/endpoints/chat_spec.rb +33 -0
  134. data/spec/slack/web/api/endpoints/groups_spec.rb +11 -0
  135. data/spec/slack/web/api/endpoints/users_spec.rb +17 -0
  136. data/spec/slack/web/api/error_spec.rb +14 -0
  137. data/spec/slack/web/api/mixins/channels_spec.rb +31 -0
  138. data/spec/slack/web/api/mixins/groups_spec.rb +31 -0
  139. data/spec/slack/web/api/mixins/users_spec.rb +31 -0
  140. data/spec/slack/web/client_spec.rb +134 -0
  141. data/spec/spec_helper.rb +14 -0
  142. data/spec/support/queue_with_timeout.rb +34 -0
  143. data/spec/support/real_time/concurrency/mock.rb +31 -0
  144. data/spec/support/real_time/connected_client.rb +16 -0
  145. data/spec/support/token.rb +10 -0
  146. data/spec/support/vcr.rb +8 -0
  147. metadata +392 -0
@@ -0,0 +1,14 @@
1
+ $LOAD_PATH.unshift(File.join(File.dirname(__FILE__), '..'))
2
+
3
+ require 'rubygems'
4
+ require 'rspec'
5
+
6
+ require 'slack-ruby-client'
7
+
8
+ Dir[File.join(File.dirname(__FILE__), 'support', '**/*.rb')].each do |file|
9
+ require file
10
+ end
11
+
12
+ Slack.configure do |config|
13
+ config.token = ENV['SLACK_API_TOKEN']
14
+ end
@@ -0,0 +1,34 @@
1
+ # http://spin.atomicobject.com/2014/07/07/ruby-queue-pop-timeout/
2
+ class QueueWithTimeout
3
+ def initialize
4
+ @mutex = Mutex.new
5
+ @queue = []
6
+ @recieved = ConditionVariable.new
7
+ end
8
+
9
+ def push(x)
10
+ @mutex.synchronize do
11
+ @queue << x
12
+ @recieved.signal
13
+ end
14
+ end
15
+
16
+ def <<(x)
17
+ push(x)
18
+ end
19
+
20
+ def pop(non_block = false)
21
+ pop_with_timeout(non_block ? 0 : nil)
22
+ end
23
+
24
+ def pop_with_timeout(timeout = nil)
25
+ @mutex.synchronize do
26
+ if @queue.empty?
27
+ @recieved.wait(@mutex, timeout) if timeout != 0
28
+ # if we're still empty after the timeout, raise exception
29
+ fail ThreadError, 'queue empty' if @queue.empty?
30
+ end
31
+ @queue.shift
32
+ end
33
+ end
34
+ end
@@ -0,0 +1,31 @@
1
+ module Slack
2
+ module RealTime
3
+ module Concurrency
4
+ module Mock
5
+ class WebSocket
6
+ end
7
+
8
+ class Socket < ::Slack::RealTime::Socket
9
+ def self.close
10
+ end
11
+
12
+ def start_async
13
+ reactor = Thread.new {}
14
+ yield self if block_given?
15
+ reactor
16
+ end
17
+
18
+ def send_data(message)
19
+ driver.send(message)
20
+ end
21
+
22
+ protected
23
+
24
+ def connect
25
+ @driver = WebSocket.new(url, nil, options)
26
+ end
27
+ end
28
+ end
29
+ end
30
+ end
31
+ end
@@ -0,0 +1,16 @@
1
+ RSpec.shared_context 'connected client' do
2
+ let(:client) { Slack::RealTime::Client.new }
3
+ let(:ws) { double(Slack::RealTime::Concurrency::Mock::WebSocket) }
4
+ let(:url) { 'wss://ms173.slack-msgs.com/websocket/lqcUiAvrKTP-uuid=' }
5
+ let(:socket) { double(Slack::RealTime::Socket, connected?: true) }
6
+ before do
7
+ Slack::RealTime.configure do |config|
8
+ config.concurrency = Slack::RealTime::Concurrency::Mock
9
+ end
10
+ allow(Slack::RealTime::Socket).to receive(:new).with(url, ping: 30).and_return(socket)
11
+ allow(socket).to receive(:start_sync).and_yield
12
+ allow(socket).to receive(:connect!).and_yield(ws)
13
+ allow(ws).to receive(:on)
14
+ client.start!
15
+ end
16
+ end
@@ -0,0 +1,10 @@
1
+ RSpec.configure do |config|
2
+ config.before do
3
+ @old_token = Slack::Config.token
4
+ end
5
+ config.after do
6
+ Slack::Config.token = @old_token
7
+ Slack::Web::Config.reset
8
+ Slack::RealTime::Config.reset
9
+ end
10
+ end
@@ -0,0 +1,8 @@
1
+ require 'vcr'
2
+
3
+ VCR.configure do |config|
4
+ config.cassette_library_dir = 'spec/fixtures/slack'
5
+ config.hook_into :webmock
6
+ config.default_cassette_options = { record: :new_episodes }
7
+ config.configure_rspec_metadata!
8
+ end
metadata ADDED
@@ -0,0 +1,392 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: slack-ruby-client-bhe
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.5.4
5
+ platform: ruby
6
+ authors:
7
+ - Daniel Doubrovkine
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+ date: 2019-08-26 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: faraday
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - ! '>='
18
+ - !ruby/object:Gem::Version
19
+ version: '0'
20
+ type: :runtime
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - ! '>='
25
+ - !ruby/object:Gem::Version
26
+ version: '0'
27
+ - !ruby/object:Gem::Dependency
28
+ name: faraday_middleware
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - ! '>='
32
+ - !ruby/object:Gem::Version
33
+ version: '0'
34
+ type: :runtime
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - ! '>='
39
+ - !ruby/object:Gem::Version
40
+ version: '0'
41
+ - !ruby/object:Gem::Dependency
42
+ name: json
43
+ requirement: !ruby/object:Gem::Requirement
44
+ requirements:
45
+ - - ! '>='
46
+ - !ruby/object:Gem::Version
47
+ version: '0'
48
+ type: :runtime
49
+ prerelease: false
50
+ version_requirements: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - ! '>='
53
+ - !ruby/object:Gem::Version
54
+ version: '0'
55
+ - !ruby/object:Gem::Dependency
56
+ name: websocket-driver
57
+ requirement: !ruby/object:Gem::Requirement
58
+ requirements:
59
+ - - ! '>='
60
+ - !ruby/object:Gem::Version
61
+ version: '0'
62
+ type: :runtime
63
+ prerelease: false
64
+ version_requirements: !ruby/object:Gem::Requirement
65
+ requirements:
66
+ - - ! '>='
67
+ - !ruby/object:Gem::Version
68
+ version: '0'
69
+ - !ruby/object:Gem::Dependency
70
+ name: gli
71
+ requirement: !ruby/object:Gem::Requirement
72
+ requirements:
73
+ - - ! '>='
74
+ - !ruby/object:Gem::Version
75
+ version: '0'
76
+ type: :runtime
77
+ prerelease: false
78
+ version_requirements: !ruby/object:Gem::Requirement
79
+ requirements:
80
+ - - ! '>='
81
+ - !ruby/object:Gem::Version
82
+ version: '0'
83
+ - !ruby/object:Gem::Dependency
84
+ name: erubis
85
+ requirement: !ruby/object:Gem::Requirement
86
+ requirements:
87
+ - - ! '>='
88
+ - !ruby/object:Gem::Version
89
+ version: '0'
90
+ type: :development
91
+ prerelease: false
92
+ version_requirements: !ruby/object:Gem::Requirement
93
+ requirements:
94
+ - - ! '>='
95
+ - !ruby/object:Gem::Version
96
+ version: '0'
97
+ - !ruby/object:Gem::Dependency
98
+ name: json-schema
99
+ requirement: !ruby/object:Gem::Requirement
100
+ requirements:
101
+ - - ! '>='
102
+ - !ruby/object:Gem::Version
103
+ version: '0'
104
+ type: :development
105
+ prerelease: false
106
+ version_requirements: !ruby/object:Gem::Requirement
107
+ requirements:
108
+ - - ! '>='
109
+ - !ruby/object:Gem::Version
110
+ version: '0'
111
+ - !ruby/object:Gem::Dependency
112
+ name: rake
113
+ requirement: !ruby/object:Gem::Requirement
114
+ requirements:
115
+ - - ! '>='
116
+ - !ruby/object:Gem::Version
117
+ version: '0'
118
+ type: :development
119
+ prerelease: false
120
+ version_requirements: !ruby/object:Gem::Requirement
121
+ requirements:
122
+ - - ! '>='
123
+ - !ruby/object:Gem::Version
124
+ version: '0'
125
+ - !ruby/object:Gem::Dependency
126
+ name: rspec
127
+ requirement: !ruby/object:Gem::Requirement
128
+ requirements:
129
+ - - ! '>='
130
+ - !ruby/object:Gem::Version
131
+ version: '0'
132
+ type: :development
133
+ prerelease: false
134
+ version_requirements: !ruby/object:Gem::Requirement
135
+ requirements:
136
+ - - ! '>='
137
+ - !ruby/object:Gem::Version
138
+ version: '0'
139
+ - !ruby/object:Gem::Dependency
140
+ name: vcr
141
+ requirement: !ruby/object:Gem::Requirement
142
+ requirements:
143
+ - - ! '>='
144
+ - !ruby/object:Gem::Version
145
+ version: '0'
146
+ type: :development
147
+ prerelease: false
148
+ version_requirements: !ruby/object:Gem::Requirement
149
+ requirements:
150
+ - - ! '>='
151
+ - !ruby/object:Gem::Version
152
+ version: '0'
153
+ - !ruby/object:Gem::Dependency
154
+ name: webmock
155
+ requirement: !ruby/object:Gem::Requirement
156
+ requirements:
157
+ - - ! '>='
158
+ - !ruby/object:Gem::Version
159
+ version: '0'
160
+ type: :development
161
+ prerelease: false
162
+ version_requirements: !ruby/object:Gem::Requirement
163
+ requirements:
164
+ - - ! '>='
165
+ - !ruby/object:Gem::Version
166
+ version: '0'
167
+ - !ruby/object:Gem::Dependency
168
+ name: rubocop
169
+ requirement: !ruby/object:Gem::Requirement
170
+ requirements:
171
+ - - '='
172
+ - !ruby/object:Gem::Version
173
+ version: 0.35.0
174
+ type: :development
175
+ prerelease: false
176
+ version_requirements: !ruby/object:Gem::Requirement
177
+ requirements:
178
+ - - '='
179
+ - !ruby/object:Gem::Version
180
+ version: 0.35.0
181
+ description:
182
+ email: dblock@dblock.org
183
+ executables:
184
+ - slack
185
+ extensions: []
186
+ extra_rdoc_files: []
187
+ files:
188
+ - .gitignore
189
+ - .gitmodules
190
+ - .rspec
191
+ - .rubocop.yml
192
+ - .rubocop_todo.yml
193
+ - .travis.yml
194
+ - CHANGELOG.md
195
+ - CONTRIBUTING.md
196
+ - Gemfile
197
+ - LICENSE.md
198
+ - README.md
199
+ - RELEASING.md
200
+ - Rakefile
201
+ - UPGRADING.md
202
+ - bin/commands.rb
203
+ - bin/commands/api.rb
204
+ - bin/commands/auth.rb
205
+ - bin/commands/channels.rb
206
+ - bin/commands/chat.rb
207
+ - bin/commands/dnd.rb
208
+ - bin/commands/emoji.rb
209
+ - bin/commands/files.rb
210
+ - bin/commands/groups.rb
211
+ - bin/commands/im.rb
212
+ - bin/commands/mpim.rb
213
+ - bin/commands/oauth.rb
214
+ - bin/commands/pins.rb
215
+ - bin/commands/reactions.rb
216
+ - bin/commands/rtm.rb
217
+ - bin/commands/search.rb
218
+ - bin/commands/stars.rb
219
+ - bin/commands/team.rb
220
+ - bin/commands/usergroups.rb
221
+ - bin/commands/users.rb
222
+ - bin/slack
223
+ - examples/hi_real_time/Gemfile
224
+ - examples/hi_real_time/hi.gif
225
+ - examples/hi_real_time/hi.rb
226
+ - examples/hi_real_time_and_web/Gemfile
227
+ - examples/hi_real_time_and_web/hi.gif
228
+ - examples/hi_real_time_and_web/hi.rb
229
+ - examples/hi_real_time_async/Gemfile
230
+ - examples/hi_real_time_async/hi.rb
231
+ - examples/hi_web/Gemfile
232
+ - examples/hi_web/hi.gif
233
+ - examples/hi_web/hi.rb
234
+ - examples/new_ticket/Gemfile
235
+ - examples/new_ticket/new_ticket.rb
236
+ - lib/slack-ruby-client.rb
237
+ - lib/slack.rb
238
+ - lib/slack/config.rb
239
+ - lib/slack/messages/formatting.rb
240
+ - lib/slack/real_time/api/message.rb
241
+ - lib/slack/real_time/api/message_id.rb
242
+ - lib/slack/real_time/api/ping.rb
243
+ - lib/slack/real_time/api/typing.rb
244
+ - lib/slack/real_time/client.rb
245
+ - lib/slack/real_time/concurrency.rb
246
+ - lib/slack/real_time/concurrency/celluloid.rb
247
+ - lib/slack/real_time/concurrency/eventmachine.rb
248
+ - lib/slack/real_time/config.rb
249
+ - lib/slack/real_time/socket.rb
250
+ - lib/slack/version.rb
251
+ - lib/slack/web/api/endpoints.rb
252
+ - lib/slack/web/api/endpoints/api.rb
253
+ - lib/slack/web/api/endpoints/auth.rb
254
+ - lib/slack/web/api/endpoints/channels.rb
255
+ - lib/slack/web/api/endpoints/chat.rb
256
+ - lib/slack/web/api/endpoints/dnd.rb
257
+ - lib/slack/web/api/endpoints/emoji.rb
258
+ - lib/slack/web/api/endpoints/files.rb
259
+ - lib/slack/web/api/endpoints/groups.rb
260
+ - lib/slack/web/api/endpoints/im.rb
261
+ - lib/slack/web/api/endpoints/mpim.rb
262
+ - lib/slack/web/api/endpoints/oauth.rb
263
+ - lib/slack/web/api/endpoints/pins.rb
264
+ - lib/slack/web/api/endpoints/presence.rb
265
+ - lib/slack/web/api/endpoints/reactions.rb
266
+ - lib/slack/web/api/endpoints/rtm.rb
267
+ - lib/slack/web/api/endpoints/search.rb
268
+ - lib/slack/web/api/endpoints/stars.rb
269
+ - lib/slack/web/api/endpoints/team.rb
270
+ - lib/slack/web/api/endpoints/usergroups.rb
271
+ - lib/slack/web/api/endpoints/users.rb
272
+ - lib/slack/web/api/error.rb
273
+ - lib/slack/web/api/mixins.rb
274
+ - lib/slack/web/api/mixins/channels.id.json
275
+ - lib/slack/web/api/mixins/channels.id.rb
276
+ - lib/slack/web/api/mixins/groups.id.json
277
+ - lib/slack/web/api/mixins/groups.id.rb
278
+ - lib/slack/web/api/mixins/users.id.json
279
+ - lib/slack/web/api/mixins/users.id.rb
280
+ - lib/slack/web/api/patches/chat.1.text-attachments-required.patch
281
+ - lib/slack/web/api/patches/chat.2.attachments-json.patch
282
+ - lib/slack/web/api/schema/group.json
283
+ - lib/slack/web/api/schema/method.json
284
+ - lib/slack/web/api/tasks/generate.rake
285
+ - lib/slack/web/api/templates/command.erb
286
+ - lib/slack/web/api/templates/commands.erb
287
+ - lib/slack/web/api/templates/endpoints.erb
288
+ - lib/slack/web/api/templates/method.erb
289
+ - lib/slack/web/client.rb
290
+ - lib/slack/web/config.rb
291
+ - lib/slack/web/faraday/connection.rb
292
+ - lib/slack/web/faraday/request.rb
293
+ - lib/slack/web/faraday/response/raise_error.rb
294
+ - lib/slack_ruby_client.rb
295
+ - screenshots/register-bot.png
296
+ - slack-ruby-client.gemspec
297
+ - slack.png
298
+ - spec/fixtures/slack/web/429_error.yml
299
+ - spec/fixtures/slack/web/auth_test_error.yml
300
+ - spec/fixtures/slack/web/auth_test_success.yml
301
+ - spec/fixtures/slack/web/channels_info.yml
302
+ - spec/fixtures/slack/web/groups_info.yml
303
+ - spec/fixtures/slack/web/rtm_start.yml
304
+ - spec/fixtures/slack/web/users_info.yml
305
+ - spec/fixtures/slack/web/users_list.yml
306
+ - spec/integration/integration_spec.rb
307
+ - spec/slack/config_spec.rb
308
+ - spec/slack/messages/formatting_spec.rb
309
+ - spec/slack/real_time/api/message_spec.rb
310
+ - spec/slack/real_time/api/ping_spec.rb
311
+ - spec/slack/real_time/api/typing_spec.rb
312
+ - spec/slack/real_time/client_spec.rb
313
+ - spec/slack/real_time/concurrency/celluloid_spec.rb
314
+ - spec/slack/real_time/concurrency/eventmachine_spec.rb
315
+ - spec/slack/slack_spec.rb
316
+ - spec/slack/version_spec.rb
317
+ - spec/slack/web/api/endpoints/auth_spec.rb
318
+ - spec/slack/web/api/endpoints/channels_spec.rb
319
+ - spec/slack/web/api/endpoints/chat_spec.rb
320
+ - spec/slack/web/api/endpoints/groups_spec.rb
321
+ - spec/slack/web/api/endpoints/users_spec.rb
322
+ - spec/slack/web/api/error_spec.rb
323
+ - spec/slack/web/api/mixins/channels_spec.rb
324
+ - spec/slack/web/api/mixins/groups_spec.rb
325
+ - spec/slack/web/api/mixins/users_spec.rb
326
+ - spec/slack/web/client_spec.rb
327
+ - spec/spec_helper.rb
328
+ - spec/support/queue_with_timeout.rb
329
+ - spec/support/real_time/concurrency/mock.rb
330
+ - spec/support/real_time/connected_client.rb
331
+ - spec/support/token.rb
332
+ - spec/support/vcr.rb
333
+ homepage: http://github.com/dblock/slack-ruby-client
334
+ licenses:
335
+ - MIT
336
+ metadata: {}
337
+ post_install_message:
338
+ rdoc_options: []
339
+ require_paths:
340
+ - lib
341
+ required_ruby_version: !ruby/object:Gem::Requirement
342
+ requirements:
343
+ - - ! '>='
344
+ - !ruby/object:Gem::Version
345
+ version: '0'
346
+ required_rubygems_version: !ruby/object:Gem::Requirement
347
+ requirements:
348
+ - - ! '>='
349
+ - !ruby/object:Gem::Version
350
+ version: 1.3.6
351
+ requirements: []
352
+ rubyforge_project:
353
+ rubygems_version: 2.7.7
354
+ signing_key:
355
+ specification_version: 4
356
+ summary: Slack Web and RealTime API client.
357
+ test_files:
358
+ - spec/fixtures/slack/web/429_error.yml
359
+ - spec/fixtures/slack/web/auth_test_error.yml
360
+ - spec/fixtures/slack/web/auth_test_success.yml
361
+ - spec/fixtures/slack/web/channels_info.yml
362
+ - spec/fixtures/slack/web/groups_info.yml
363
+ - spec/fixtures/slack/web/rtm_start.yml
364
+ - spec/fixtures/slack/web/users_info.yml
365
+ - spec/fixtures/slack/web/users_list.yml
366
+ - spec/integration/integration_spec.rb
367
+ - spec/slack/config_spec.rb
368
+ - spec/slack/messages/formatting_spec.rb
369
+ - spec/slack/real_time/api/message_spec.rb
370
+ - spec/slack/real_time/api/ping_spec.rb
371
+ - spec/slack/real_time/api/typing_spec.rb
372
+ - spec/slack/real_time/client_spec.rb
373
+ - spec/slack/real_time/concurrency/celluloid_spec.rb
374
+ - spec/slack/real_time/concurrency/eventmachine_spec.rb
375
+ - spec/slack/slack_spec.rb
376
+ - spec/slack/version_spec.rb
377
+ - spec/slack/web/api/endpoints/auth_spec.rb
378
+ - spec/slack/web/api/endpoints/channels_spec.rb
379
+ - spec/slack/web/api/endpoints/chat_spec.rb
380
+ - spec/slack/web/api/endpoints/groups_spec.rb
381
+ - spec/slack/web/api/endpoints/users_spec.rb
382
+ - spec/slack/web/api/error_spec.rb
383
+ - spec/slack/web/api/mixins/channels_spec.rb
384
+ - spec/slack/web/api/mixins/groups_spec.rb
385
+ - spec/slack/web/api/mixins/users_spec.rb
386
+ - spec/slack/web/client_spec.rb
387
+ - spec/spec_helper.rb
388
+ - spec/support/queue_with_timeout.rb
389
+ - spec/support/real_time/concurrency/mock.rb
390
+ - spec/support/real_time/connected_client.rb
391
+ - spec/support/token.rb
392
+ - spec/support/vcr.rb