slack-api 1.2.3 → 1.2.4
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/.travis.yml +4 -2
- data/lib/slack/endpoint.rb +2 -0
- data/lib/slack/endpoint/auth.rb +13 -0
- data/lib/slack/endpoint/bots.rb +21 -0
- data/lib/slack/endpoint/chat.rb +19 -2
- data/lib/slack/endpoint/files.rb +16 -2
- data/lib/slack/endpoint/im.rb +2 -0
- data/lib/slack/endpoint/search.rb +1 -1
- data/lib/slack/endpoint/stars.rb +1 -3
- data/lib/slack/endpoint/team.rb +27 -0
- data/lib/slack/endpoint/users.rb +30 -0
- data/lib/slack/version.rb +1 -1
- metadata +67 -66
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 561efd06200bc3cec501e668a68255ffd950dd1c
|
4
|
+
data.tar.gz: 261a9cf90ed250993f33b33300dcb5661fa04ef3
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 76826146b1c19d24f5a4d54090b8852acf977314253ad54eb377a5da40ff63aa03b8c28ebaf0767440a9082b889d5aec762cef53d37a2e770be979c5a529baa9
|
7
|
+
data.tar.gz: 04f14f4028cfe36572807c5fc965869fd36fd23188ca6cc48577ea29f93c238ce96e65aea31f418cd226cbfaa367686ef41caf8fc63703c9eb7266fc852a55d3
|
data/.travis.yml
CHANGED
data/lib/slack/endpoint.rb
CHANGED
@@ -2,6 +2,7 @@
|
|
2
2
|
#
|
3
3
|
require_relative 'endpoint/api'
|
4
4
|
require_relative 'endpoint/auth'
|
5
|
+
require_relative 'endpoint/bots'
|
5
6
|
require_relative 'endpoint/channels'
|
6
7
|
require_relative 'endpoint/chat'
|
7
8
|
require_relative 'endpoint/dnd'
|
@@ -25,6 +26,7 @@ module Slack
|
|
25
26
|
module Endpoint
|
26
27
|
include Api
|
27
28
|
include Auth
|
29
|
+
include Bots
|
28
30
|
include Channels
|
29
31
|
include Chat
|
30
32
|
include Dnd
|
data/lib/slack/endpoint/auth.rb
CHANGED
@@ -3,6 +3,19 @@
|
|
3
3
|
module Slack
|
4
4
|
module Endpoint
|
5
5
|
module Auth
|
6
|
+
#
|
7
|
+
# This method revokes an access token. Use it when you no longer need a token. For example, with a Sign In With Slack app, call this to log a user out.
|
8
|
+
#
|
9
|
+
# @option options [Object] :test
|
10
|
+
# Setting this parameter to 1 triggers a testing mode where the specified token will not actually be revoked.
|
11
|
+
# @see https://api.slack.com/methods/auth.revoke
|
12
|
+
# @see https://github.com/aki017/slack-api-docs/blob/master/methods/auth.revoke.md
|
13
|
+
# @see https://github.com/aki017/slack-api-docs/blob/master/methods/auth.revoke.json
|
14
|
+
def auth_revoke(options={})
|
15
|
+
options[:attachments] = options[:attachments].to_json if Hash === options[:attachments]
|
16
|
+
post("auth.revoke", options)
|
17
|
+
end
|
18
|
+
|
6
19
|
#
|
7
20
|
# This method checks authentication and tells you who you are.
|
8
21
|
#
|
@@ -0,0 +1,21 @@
|
|
1
|
+
# This file was auto-generated by lib/generators/tasks/generate.rb
|
2
|
+
|
3
|
+
module Slack
|
4
|
+
module Endpoint
|
5
|
+
module Bots
|
6
|
+
#
|
7
|
+
# This method returns information about a bot user.
|
8
|
+
#
|
9
|
+
# @option options [Object] :bot
|
10
|
+
# Bot user to get info on
|
11
|
+
# @see https://api.slack.com/methods/bots.info
|
12
|
+
# @see https://github.com/aki017/slack-api-docs/blob/master/methods/bots.info.md
|
13
|
+
# @see https://github.com/aki017/slack-api-docs/blob/master/methods/bots.info.json
|
14
|
+
def bots_info(options={})
|
15
|
+
options[:attachments] = options[:attachments].to_json if Hash === options[:attachments]
|
16
|
+
post("bots.info", options)
|
17
|
+
end
|
18
|
+
|
19
|
+
end
|
20
|
+
end
|
21
|
+
end
|
data/lib/slack/endpoint/chat.rb
CHANGED
@@ -23,12 +23,29 @@ module Slack
|
|
23
23
|
end
|
24
24
|
|
25
25
|
#
|
26
|
-
# This method
|
26
|
+
# This method sends a me message to a channel from the calling user.
|
27
|
+
#
|
28
|
+
# @option options [Object] :channel
|
29
|
+
# Channel to send message to. Can be a public channel, private group or IM channel. Can be an encoded ID, or a name.
|
30
|
+
# @option options [Object] :text
|
31
|
+
# Text of the message to send.
|
32
|
+
# @see https://api.slack.com/methods/chat.meMessage
|
33
|
+
# @see https://github.com/aki017/slack-api-docs/blob/master/methods/chat.meMessage.md
|
34
|
+
# @see https://github.com/aki017/slack-api-docs/blob/master/methods/chat.meMessage.json
|
35
|
+
def chat_meMessage(options={})
|
36
|
+
throw ArgumentError.new("Required arguments :channel missing") if options[:channel].nil?
|
37
|
+
throw ArgumentError.new("Required arguments :text missing") if options[:text].nil?
|
38
|
+
options[:attachments] = options[:attachments].to_json if Hash === options[:attachments]
|
39
|
+
post("chat.meMessage", options)
|
40
|
+
end
|
41
|
+
|
42
|
+
#
|
43
|
+
# This method posts a message to a public channel, private channel, or direct message/IM channel.
|
27
44
|
#
|
28
45
|
# @option options [Object] :channel
|
29
46
|
# Channel, private group, or IM channel to send message to. Can be an encoded ID, or a name. See below for more details.
|
30
47
|
# @option options [Object] :text
|
31
|
-
# Text of the message to send. See below for an explanation of formatting.
|
48
|
+
# Text of the message to send. See below for an explanation of formatting. This field is usually required, unless you're providing only attachments instead.
|
32
49
|
# @option options [Object] :parse
|
33
50
|
# Change how messages are treated. Defaults to none. See below.
|
34
51
|
# @option options [Object] :link_names
|
data/lib/slack/endpoint/files.rb
CHANGED
@@ -71,7 +71,7 @@ module Slack
|
|
71
71
|
#
|
72
72
|
#
|
73
73
|
# all - All files
|
74
|
-
#
|
74
|
+
# spaces - Posts
|
75
75
|
# snippets - Snippets
|
76
76
|
# images - Image files
|
77
77
|
# gdocs - Google docs
|
@@ -79,7 +79,7 @@ module Slack
|
|
79
79
|
# pdfs - PDF files
|
80
80
|
#
|
81
81
|
#
|
82
|
-
# You can pass multiple values in the types argument, like types=
|
82
|
+
# You can pass multiple values in the types argument, like types=spaces,snippets.The default value is all, which does not filter the list.
|
83
83
|
# @option options [Object] :count
|
84
84
|
# Number of items to return per page.
|
85
85
|
# @option options [Object] :page
|
@@ -120,6 +120,20 @@ module Slack
|
|
120
120
|
post("files.sharedPublicURL", options)
|
121
121
|
end
|
122
122
|
|
123
|
+
#
|
124
|
+
# This is for starting the upload process of a file. It only requires a filename, and gives back a ticket ID so that later, the upload can be found
|
125
|
+
# and updated with all the remaining file info.
|
126
|
+
#
|
127
|
+
# @option options [Object] :file
|
128
|
+
# File contents via multipart/form-data.
|
129
|
+
# @see https://api.slack.com/methods/files.startPartialUpload
|
130
|
+
# @see https://github.com/aki017/slack-api-docs/blob/master/methods/files.startPartialUpload.md
|
131
|
+
# @see https://github.com/aki017/slack-api-docs/blob/master/methods/files.startPartialUpload.json
|
132
|
+
def files_startPartialUpload(options={})
|
133
|
+
options[:attachments] = options[:attachments].to_json if Hash === options[:attachments]
|
134
|
+
post("files.startPartialUpload", options)
|
135
|
+
end
|
136
|
+
|
123
137
|
#
|
124
138
|
# This method allows you to create or upload an existing file.
|
125
139
|
#
|
data/lib/slack/endpoint/im.rb
CHANGED
@@ -76,6 +76,8 @@ module Slack
|
|
76
76
|
#
|
77
77
|
# @option options [Object] :user
|
78
78
|
# User to open a direct message channel with.
|
79
|
+
# @option options [Object] :return_im
|
80
|
+
# Boolean, indicates you want the full IM channel definition in the response.
|
79
81
|
# @see https://api.slack.com/methods/im.open
|
80
82
|
# @see https://github.com/aki017/slack-api-docs/blob/master/methods/im.open.md
|
81
83
|
# @see https://github.com/aki017/slack-api-docs/blob/master/methods/im.open.json
|
@@ -4,7 +4,7 @@ module Slack
|
|
4
4
|
module Endpoint
|
5
5
|
module Search
|
6
6
|
#
|
7
|
-
# This method allows
|
7
|
+
# This method allows users and applications to search both messages and files in a single call.
|
8
8
|
#
|
9
9
|
# @option options [Object] :query
|
10
10
|
# Search query. May contains booleans, etc.
|
data/lib/slack/endpoint/stars.rb
CHANGED
@@ -24,10 +24,8 @@ module Slack
|
|
24
24
|
end
|
25
25
|
|
26
26
|
#
|
27
|
-
# This method lists the items starred by
|
27
|
+
# This method lists the items starred by the authed user.
|
28
28
|
#
|
29
|
-
# @option options [Object] :user
|
30
|
-
# Show stars by this user. Defaults to the authed user.
|
31
29
|
# @option options [Object] :count
|
32
30
|
# Number of items to return per page.
|
33
31
|
# @option options [Object] :page
|
data/lib/slack/endpoint/team.rb
CHANGED
@@ -18,6 +18,20 @@ module Slack
|
|
18
18
|
post("team.accessLogs", options)
|
19
19
|
end
|
20
20
|
|
21
|
+
#
|
22
|
+
# This method lists billable information for each user on the team. Currently this consists solely of whether the user is
|
23
|
+
# subject to billing per Slack's Fair Billing policy.
|
24
|
+
#
|
25
|
+
# @option options [Object] :user
|
26
|
+
# A user to retrieve the billable information for. Defaults to all users.
|
27
|
+
# @see https://api.slack.com/methods/team.billableInfo
|
28
|
+
# @see https://github.com/aki017/slack-api-docs/blob/master/methods/team.billableInfo.md
|
29
|
+
# @see https://github.com/aki017/slack-api-docs/blob/master/methods/team.billableInfo.json
|
30
|
+
def team_billableInfo(options={})
|
31
|
+
options[:attachments] = options[:attachments].to_json if Hash === options[:attachments]
|
32
|
+
post("team.billableInfo", options)
|
33
|
+
end
|
34
|
+
|
21
35
|
#
|
22
36
|
# This method provides information about your team.
|
23
37
|
#
|
@@ -52,6 +66,19 @@ module Slack
|
|
52
66
|
post("team.integrationLogs", options)
|
53
67
|
end
|
54
68
|
|
69
|
+
#
|
70
|
+
# This method is used to get the profile field definitions for this team.
|
71
|
+
#
|
72
|
+
# @option options [Object] :visibility
|
73
|
+
# Filter by visibility.
|
74
|
+
# @see https://api.slack.com/methods/team.profile
|
75
|
+
# @see https://github.com/aki017/slack-api-docs/blob/master/methods/team.profile.md
|
76
|
+
# @see https://github.com/aki017/slack-api-docs/blob/master/methods/team.profile.json
|
77
|
+
def team_profile(options={})
|
78
|
+
options[:attachments] = options[:attachments].to_json if Hash === options[:attachments]
|
79
|
+
post("team.profile", options)
|
80
|
+
end
|
81
|
+
|
55
82
|
end
|
56
83
|
end
|
57
84
|
end
|
data/lib/slack/endpoint/users.rb
CHANGED
@@ -18,6 +18,17 @@ module Slack
|
|
18
18
|
post("users.getPresence", options)
|
19
19
|
end
|
20
20
|
|
21
|
+
#
|
22
|
+
# After your Slack app is awarded an identity token through Sign in with Slack, use this method to retrieve a user's identity.
|
23
|
+
#
|
24
|
+
# @see https://api.slack.com/methods/users.identity
|
25
|
+
# @see https://github.com/aki017/slack-api-docs/blob/master/methods/users.identity.md
|
26
|
+
# @see https://github.com/aki017/slack-api-docs/blob/master/methods/users.identity.json
|
27
|
+
def users_identity(options={})
|
28
|
+
options[:attachments] = options[:attachments].to_json if Hash === options[:attachments]
|
29
|
+
post("users.identity", options)
|
30
|
+
end
|
31
|
+
|
21
32
|
#
|
22
33
|
# This method returns information about a team member.
|
23
34
|
#
|
@@ -45,6 +56,25 @@ module Slack
|
|
45
56
|
post("users.list", options)
|
46
57
|
end
|
47
58
|
|
59
|
+
#
|
60
|
+
# This method is used to set the profile information for a user.
|
61
|
+
#
|
62
|
+
# @option options [Object] :user
|
63
|
+
# ID of user to change. This argument may only be specified by team admins.
|
64
|
+
# @option options [Object] :profile
|
65
|
+
# Collection of key:value pairs presented as a URL-encoded JSON hash.
|
66
|
+
# @option options [Object] :name
|
67
|
+
# Name of a single key to set. Usable only if profile is not passed.
|
68
|
+
# @option options [Object] :value
|
69
|
+
# Value to set a single key to. Usable only if profile is not passed.
|
70
|
+
# @see https://api.slack.com/methods/users.profile
|
71
|
+
# @see https://github.com/aki017/slack-api-docs/blob/master/methods/users.profile.md
|
72
|
+
# @see https://github.com/aki017/slack-api-docs/blob/master/methods/users.profile.json
|
73
|
+
def users_profile(options={})
|
74
|
+
options[:attachments] = options[:attachments].to_json if Hash === options[:attachments]
|
75
|
+
post("users.profile", options)
|
76
|
+
end
|
77
|
+
|
48
78
|
#
|
49
79
|
# This method lets the slack messaging server know that the authenticated user
|
50
80
|
# is currently active. Consult the presence documentation for
|
data/lib/slack/version.rb
CHANGED
metadata
CHANGED
@@ -1,186 +1,186 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: slack-api
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.2.
|
4
|
+
version: 1.2.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- aki017
|
8
|
-
autorequire:
|
8
|
+
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-
|
11
|
+
date: 2016-08-10 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
15
|
-
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
17
|
- - "~>"
|
18
18
|
- !ruby/object:Gem::Version
|
19
19
|
version: '1.5'
|
20
|
-
|
20
|
+
type: :development
|
21
|
+
prerelease: false
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
21
23
|
requirements:
|
22
24
|
- - "~>"
|
23
25
|
- !ruby/object:Gem::Version
|
24
26
|
version: '1.5'
|
25
|
-
prerelease: false
|
26
|
-
type: :development
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: simplecov
|
29
|
-
version_requirements: !ruby/object:Gem::Requirement
|
30
|
-
requirements:
|
31
|
-
- - ">="
|
32
|
-
- !ruby/object:Gem::Version
|
33
|
-
version: '0'
|
34
29
|
requirement: !ruby/object:Gem::Requirement
|
35
30
|
requirements:
|
36
31
|
- - ">="
|
37
32
|
- !ruby/object:Gem::Version
|
38
33
|
version: '0'
|
39
|
-
prerelease: false
|
40
34
|
type: :development
|
41
|
-
|
42
|
-
name: coveralls
|
35
|
+
prerelease: false
|
43
36
|
version_requirements: !ruby/object:Gem::Requirement
|
44
37
|
requirements:
|
45
38
|
- - ">="
|
46
39
|
- !ruby/object:Gem::Version
|
47
40
|
version: '0'
|
41
|
+
- !ruby/object:Gem::Dependency
|
42
|
+
name: coveralls
|
48
43
|
requirement: !ruby/object:Gem::Requirement
|
49
44
|
requirements:
|
50
45
|
- - ">="
|
51
46
|
- !ruby/object:Gem::Version
|
52
47
|
version: '0'
|
53
|
-
prerelease: false
|
54
48
|
type: :development
|
55
|
-
|
56
|
-
name: rspec
|
49
|
+
prerelease: false
|
57
50
|
version_requirements: !ruby/object:Gem::Requirement
|
58
51
|
requirements:
|
59
52
|
- - ">="
|
60
53
|
- !ruby/object:Gem::Version
|
61
54
|
version: '0'
|
55
|
+
- !ruby/object:Gem::Dependency
|
56
|
+
name: rspec
|
62
57
|
requirement: !ruby/object:Gem::Requirement
|
63
58
|
requirements:
|
64
59
|
- - ">="
|
65
60
|
- !ruby/object:Gem::Version
|
66
61
|
version: '0'
|
67
|
-
prerelease: false
|
68
62
|
type: :development
|
69
|
-
|
70
|
-
name: webmock
|
63
|
+
prerelease: false
|
71
64
|
version_requirements: !ruby/object:Gem::Requirement
|
72
65
|
requirements:
|
73
66
|
- - ">="
|
74
67
|
- !ruby/object:Gem::Version
|
75
68
|
version: '0'
|
69
|
+
- !ruby/object:Gem::Dependency
|
70
|
+
name: webmock
|
76
71
|
requirement: !ruby/object:Gem::Requirement
|
77
72
|
requirements:
|
78
73
|
- - ">="
|
79
74
|
- !ruby/object:Gem::Version
|
80
75
|
version: '0'
|
81
|
-
prerelease: false
|
82
76
|
type: :development
|
83
|
-
|
84
|
-
name: vcr
|
77
|
+
prerelease: false
|
85
78
|
version_requirements: !ruby/object:Gem::Requirement
|
86
79
|
requirements:
|
87
80
|
- - ">="
|
88
81
|
- !ruby/object:Gem::Version
|
89
82
|
version: '0'
|
83
|
+
- !ruby/object:Gem::Dependency
|
84
|
+
name: vcr
|
90
85
|
requirement: !ruby/object:Gem::Requirement
|
91
86
|
requirements:
|
92
87
|
- - ">="
|
93
88
|
- !ruby/object:Gem::Version
|
94
89
|
version: '0'
|
95
|
-
prerelease: false
|
96
90
|
type: :development
|
97
|
-
|
98
|
-
name: guard
|
91
|
+
prerelease: false
|
99
92
|
version_requirements: !ruby/object:Gem::Requirement
|
100
93
|
requirements:
|
101
94
|
- - ">="
|
102
95
|
- !ruby/object:Gem::Version
|
103
96
|
version: '0'
|
97
|
+
- !ruby/object:Gem::Dependency
|
98
|
+
name: guard
|
104
99
|
requirement: !ruby/object:Gem::Requirement
|
105
100
|
requirements:
|
106
101
|
- - ">="
|
107
102
|
- !ruby/object:Gem::Version
|
108
103
|
version: '0'
|
109
|
-
prerelease: false
|
110
104
|
type: :development
|
111
|
-
|
112
|
-
name: guard-rspec
|
105
|
+
prerelease: false
|
113
106
|
version_requirements: !ruby/object:Gem::Requirement
|
114
107
|
requirements:
|
115
108
|
- - ">="
|
116
109
|
- !ruby/object:Gem::Version
|
117
110
|
version: '0'
|
111
|
+
- !ruby/object:Gem::Dependency
|
112
|
+
name: guard-rspec
|
118
113
|
requirement: !ruby/object:Gem::Requirement
|
119
114
|
requirements:
|
120
115
|
- - ">="
|
121
116
|
- !ruby/object:Gem::Version
|
122
117
|
version: '0'
|
123
|
-
prerelease: false
|
124
118
|
type: :development
|
125
|
-
|
126
|
-
name: rake
|
119
|
+
prerelease: false
|
127
120
|
version_requirements: !ruby/object:Gem::Requirement
|
128
121
|
requirements:
|
129
122
|
- - ">="
|
130
123
|
- !ruby/object:Gem::Version
|
131
124
|
version: '0'
|
125
|
+
- !ruby/object:Gem::Dependency
|
126
|
+
name: rake
|
132
127
|
requirement: !ruby/object:Gem::Requirement
|
133
128
|
requirements:
|
134
129
|
- - ">="
|
135
130
|
- !ruby/object:Gem::Version
|
136
131
|
version: '0'
|
137
|
-
prerelease: false
|
138
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
139
|
- !ruby/object:Gem::Dependency
|
140
140
|
name: erubis
|
141
|
-
|
141
|
+
requirement: !ruby/object:Gem::Requirement
|
142
142
|
requirements:
|
143
143
|
- - "~>"
|
144
144
|
- !ruby/object:Gem::Version
|
145
145
|
version: 2.7.0
|
146
|
-
|
146
|
+
type: :development
|
147
|
+
prerelease: false
|
148
|
+
version_requirements: !ruby/object:Gem::Requirement
|
147
149
|
requirements:
|
148
150
|
- - "~>"
|
149
151
|
- !ruby/object:Gem::Version
|
150
152
|
version: 2.7.0
|
151
|
-
prerelease: false
|
152
|
-
type: :development
|
153
153
|
- !ruby/object:Gem::Dependency
|
154
154
|
name: json-schema
|
155
|
-
|
155
|
+
requirement: !ruby/object:Gem::Requirement
|
156
156
|
requirements:
|
157
157
|
- - ">="
|
158
158
|
- !ruby/object:Gem::Version
|
159
159
|
version: '0'
|
160
|
-
|
160
|
+
type: :development
|
161
|
+
prerelease: false
|
162
|
+
version_requirements: !ruby/object:Gem::Requirement
|
161
163
|
requirements:
|
162
164
|
- - ">="
|
163
165
|
- !ruby/object:Gem::Version
|
164
166
|
version: '0'
|
165
|
-
prerelease: false
|
166
|
-
type: :development
|
167
167
|
- !ruby/object:Gem::Dependency
|
168
168
|
name: pry
|
169
|
-
|
169
|
+
requirement: !ruby/object:Gem::Requirement
|
170
170
|
requirements:
|
171
171
|
- - ">="
|
172
172
|
- !ruby/object:Gem::Version
|
173
173
|
version: '0'
|
174
|
-
|
174
|
+
type: :development
|
175
|
+
prerelease: false
|
176
|
+
version_requirements: !ruby/object:Gem::Requirement
|
175
177
|
requirements:
|
176
178
|
- - ">="
|
177
179
|
- !ruby/object:Gem::Version
|
178
180
|
version: '0'
|
179
|
-
prerelease: false
|
180
|
-
type: :development
|
181
181
|
- !ruby/object:Gem::Dependency
|
182
182
|
name: faraday
|
183
|
-
|
183
|
+
requirement: !ruby/object:Gem::Requirement
|
184
184
|
requirements:
|
185
185
|
- - ">="
|
186
186
|
- !ruby/object:Gem::Version
|
@@ -188,7 +188,9 @@ dependencies:
|
|
188
188
|
- - "<"
|
189
189
|
- !ruby/object:Gem::Version
|
190
190
|
version: '0.10'
|
191
|
-
|
191
|
+
type: :runtime
|
192
|
+
prerelease: false
|
193
|
+
version_requirements: !ruby/object:Gem::Requirement
|
192
194
|
requirements:
|
193
195
|
- - ">="
|
194
196
|
- !ruby/object:Gem::Version
|
@@ -196,25 +198,23 @@ dependencies:
|
|
196
198
|
- - "<"
|
197
199
|
- !ruby/object:Gem::Version
|
198
200
|
version: '0.10'
|
199
|
-
prerelease: false
|
200
|
-
type: :runtime
|
201
201
|
- !ruby/object:Gem::Dependency
|
202
202
|
name: faraday_middleware
|
203
|
-
|
203
|
+
requirement: !ruby/object:Gem::Requirement
|
204
204
|
requirements:
|
205
205
|
- - "~>"
|
206
206
|
- !ruby/object:Gem::Version
|
207
207
|
version: '0.8'
|
208
|
-
|
208
|
+
type: :runtime
|
209
|
+
prerelease: false
|
210
|
+
version_requirements: !ruby/object:Gem::Requirement
|
209
211
|
requirements:
|
210
212
|
- - "~>"
|
211
213
|
- !ruby/object:Gem::Version
|
212
214
|
version: '0.8'
|
213
|
-
prerelease: false
|
214
|
-
type: :runtime
|
215
215
|
- !ruby/object:Gem::Dependency
|
216
216
|
name: multi_json
|
217
|
-
|
217
|
+
requirement: !ruby/object:Gem::Requirement
|
218
218
|
requirements:
|
219
219
|
- - ">="
|
220
220
|
- !ruby/object:Gem::Version
|
@@ -222,7 +222,9 @@ dependencies:
|
|
222
222
|
- - "~>"
|
223
223
|
- !ruby/object:Gem::Version
|
224
224
|
version: '1.0'
|
225
|
-
|
225
|
+
type: :runtime
|
226
|
+
prerelease: false
|
227
|
+
version_requirements: !ruby/object:Gem::Requirement
|
226
228
|
requirements:
|
227
229
|
- - ">="
|
228
230
|
- !ruby/object:Gem::Version
|
@@ -230,22 +232,20 @@ dependencies:
|
|
230
232
|
- - "~>"
|
231
233
|
- !ruby/object:Gem::Version
|
232
234
|
version: '1.0'
|
233
|
-
prerelease: false
|
234
|
-
type: :runtime
|
235
235
|
- !ruby/object:Gem::Dependency
|
236
236
|
name: faye-websocket
|
237
|
-
|
237
|
+
requirement: !ruby/object:Gem::Requirement
|
238
238
|
requirements:
|
239
239
|
- - "~>"
|
240
240
|
- !ruby/object:Gem::Version
|
241
241
|
version: 0.9.2
|
242
|
-
|
242
|
+
type: :runtime
|
243
|
+
prerelease: false
|
244
|
+
version_requirements: !ruby/object:Gem::Requirement
|
243
245
|
requirements:
|
244
246
|
- - "~>"
|
245
247
|
- !ruby/object:Gem::Version
|
246
248
|
version: 0.9.2
|
247
|
-
prerelease: false
|
248
|
-
type: :runtime
|
249
249
|
description: A Ruby wrapper for the Slack API
|
250
250
|
email:
|
251
251
|
- aki@aki017.info
|
@@ -277,6 +277,7 @@ files:
|
|
277
277
|
- lib/slack/endpoint.rb
|
278
278
|
- lib/slack/endpoint/api.rb
|
279
279
|
- lib/slack/endpoint/auth.rb
|
280
|
+
- lib/slack/endpoint/bots.rb
|
280
281
|
- lib/slack/endpoint/channels.rb
|
281
282
|
- lib/slack/endpoint/chat.rb
|
282
283
|
- lib/slack/endpoint/dnd.rb
|
@@ -328,7 +329,7 @@ homepage: https://github.com/aki017/slack-ruby-gem
|
|
328
329
|
licenses:
|
329
330
|
- MIT
|
330
331
|
metadata: {}
|
331
|
-
post_install_message:
|
332
|
+
post_install_message:
|
332
333
|
rdoc_options: []
|
333
334
|
require_paths:
|
334
335
|
- lib
|
@@ -343,9 +344,9 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
343
344
|
- !ruby/object:Gem::Version
|
344
345
|
version: '0'
|
345
346
|
requirements: []
|
346
|
-
rubyforge_project:
|
347
|
-
rubygems_version: 2.
|
348
|
-
signing_key:
|
347
|
+
rubyforge_project:
|
348
|
+
rubygems_version: 2.5.1
|
349
|
+
signing_key:
|
349
350
|
specification_version: 4
|
350
351
|
summary: A Ruby wrapper for the Slack API
|
351
352
|
test_files:
|