layabout 0.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.gitignore +2 -0
- data/.rspec +2 -0
- data/.travis.yml +4 -0
- data/Gemfile +8 -0
- data/Gemfile.lock +63 -0
- data/LICENSE +22 -0
- data/README.md +18 -0
- data/layabout.gemspec +26 -0
- data/lib/layabout/auth_test.rb +35 -0
- data/lib/layabout/channels.rb +82 -0
- data/lib/layabout/chat.rb +67 -0
- data/lib/layabout/delete_chat.rb +48 -0
- data/lib/layabout/file_list.rb +58 -0
- data/lib/layabout/file_upload.rb +73 -0
- data/lib/layabout/helpers.rb +21 -0
- data/lib/layabout/incoming_webhook.rb +41 -0
- data/lib/layabout/slack/channel.rb +32 -0
- data/lib/layabout/slack/file.rb +56 -0
- data/lib/layabout/slack_response.rb +37 -0
- data/lib/layabout/version.rb +3 -0
- data/lib/layabout.rb +29 -0
- data/spec/fixtures/upload_test.txt +1 -0
- data/spec/fixtures/vcr_cassettes/Layabout/_channels/returns_a_list_of_channels.yml +125 -0
- data/spec/fixtures/vcr_cassettes/Layabout/_say/posts_a_message.yml +54 -0
- data/spec/fixtures/vcr_cassettes/Layabout/_upload/uploads_a_file.yml +65 -0
- data/spec/fixtures/vcr_cassettes/Layabout_AuthTest/_get/tests_auth.yml +146 -0
- data/spec/fixtures/vcr_cassettes/Layabout_Channels/_info/returns_a_Layabout_Slack_Channel.yml +96 -0
- data/spec/fixtures/vcr_cassettes/Layabout_Channels/_join/returns_a_success_response.yml +95 -0
- data/spec/fixtures/vcr_cassettes/Layabout_Channels/_leave/returns_a_success_response.yml +95 -0
- data/spec/fixtures/vcr_cassettes/Layabout_Channels/_list/returns_a_list_of_Layabout_Slack_Channel.yml +105 -0
- data/spec/fixtures/vcr_cassettes/Layabout_Chat/_post/submits_a_message.yml +95 -0
- data/spec/fixtures/vcr_cassettes/Layabout_DeleteChat/_delete/deletes_the_message.yml +146 -0
- data/spec/fixtures/vcr_cassettes/Layabout_FileList/_list/returns_a_list_of_Layabout_Slack_File.yml +57 -0
- data/spec/fixtures/vcr_cassettes/Layabout_FileUpload/_upload/uploads_a_file.yml +65 -0
- data/spec/fixtures/vcr_cassettes/Layabout_IncomingWebhook/_post/submits_a_message.yml +44 -0
- data/spec/layabout/auth_test_spec.rb +12 -0
- data/spec/layabout/channels_spec.rb +29 -0
- data/spec/layabout/chat_spec.rb +12 -0
- data/spec/layabout/configuration_spec.rb +15 -0
- data/spec/layabout/delete_chat_spec.rb +13 -0
- data/spec/layabout/file_list_spec.rb +11 -0
- data/spec/layabout/file_upload_spec.rb +12 -0
- data/spec/layabout/incoming_webhook_spec.rb +18 -0
- data/spec/layabout/layabout_spec.rb +23 -0
- data/spec/spec_helper.rb +95 -0
- metadata +217 -0
@@ -0,0 +1,44 @@
|
|
1
|
+
---
|
2
|
+
http_interactions:
|
3
|
+
- request:
|
4
|
+
method: post
|
5
|
+
uri: https://isotope11.slack.com/services/hooks/incoming-webhook?token=2VyiZrFyVx4maiOvG3uae1RA
|
6
|
+
body:
|
7
|
+
encoding: UTF-8
|
8
|
+
string: '{"text":"hello"}'
|
9
|
+
headers:
|
10
|
+
Accept-Encoding:
|
11
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
12
|
+
Accept:
|
13
|
+
- "*/*"
|
14
|
+
User-Agent:
|
15
|
+
- Ruby
|
16
|
+
response:
|
17
|
+
status:
|
18
|
+
code: 200
|
19
|
+
message: OK
|
20
|
+
headers:
|
21
|
+
Access-Control-Allow-Origin:
|
22
|
+
- "*"
|
23
|
+
Content-Type:
|
24
|
+
- text/html
|
25
|
+
Date:
|
26
|
+
- Thu, 25 Sep 2014 02:22:54 GMT
|
27
|
+
Server:
|
28
|
+
- Apache
|
29
|
+
Strict-Transport-Security:
|
30
|
+
- max-age=31536000; includeSubDomains
|
31
|
+
Vary:
|
32
|
+
- Accept-Encoding
|
33
|
+
X-Frame-Options:
|
34
|
+
- SAMEORIGIN
|
35
|
+
Content-Length:
|
36
|
+
- '22'
|
37
|
+
Connection:
|
38
|
+
- keep-alive
|
39
|
+
body:
|
40
|
+
encoding: UTF-8
|
41
|
+
string: ok
|
42
|
+
http_version:
|
43
|
+
recorded_at: Thu, 25 Sep 2014 02:22:54 GMT
|
44
|
+
recorded_with: VCR 2.9.3
|
@@ -0,0 +1,12 @@
|
|
1
|
+
require_relative '../spec_helper.rb'
|
2
|
+
require_relative '../../lib/layabout/auth_test.rb'
|
3
|
+
|
4
|
+
describe Layabout::AuthTest, vcr: true do
|
5
|
+
describe '#get' do
|
6
|
+
subject { described_class.new }
|
7
|
+
|
8
|
+
it 'tests auth' do
|
9
|
+
expect(subject.get).to be_success
|
10
|
+
end
|
11
|
+
end
|
12
|
+
end
|
@@ -0,0 +1,29 @@
|
|
1
|
+
require_relative '../spec_helper.rb'
|
2
|
+
require_relative '../../lib/layabout/channels.rb'
|
3
|
+
|
4
|
+
describe Layabout::Channels, vcr: true do
|
5
|
+
|
6
|
+
describe '#list' do
|
7
|
+
it 'returns a list of Layabout::Slack::Channel' do
|
8
|
+
expect(subject.list.first).to be_an_instance_of(Layabout::Slack::Channel)
|
9
|
+
end
|
10
|
+
end
|
11
|
+
|
12
|
+
describe '#info' do
|
13
|
+
it 'returns a Layabout::Slack::Channel' do
|
14
|
+
expect(subject.info('C029N15A8')).to be_an_instance_of(Layabout::Slack::Channel)
|
15
|
+
end
|
16
|
+
end
|
17
|
+
|
18
|
+
describe '#join' do
|
19
|
+
it 'returns a success response' do
|
20
|
+
expect(subject.join('#ruby')).to be_success
|
21
|
+
end
|
22
|
+
end
|
23
|
+
|
24
|
+
describe '#leave' do
|
25
|
+
it 'returns a success response' do
|
26
|
+
expect(subject.leave('C026K09CS')).to be_success
|
27
|
+
end
|
28
|
+
end
|
29
|
+
end
|
@@ -0,0 +1,12 @@
|
|
1
|
+
require_relative '../spec_helper.rb'
|
2
|
+
require_relative '../../lib/layabout/chat.rb'
|
3
|
+
|
4
|
+
describe Layabout::Chat, vcr: true do
|
5
|
+
describe '#post' do
|
6
|
+
subject { described_class.new(channel: 'C026VKGP7', text: 'hello, this is a test') }
|
7
|
+
|
8
|
+
it 'submits a message' do
|
9
|
+
expect(subject.post_message).to be_success
|
10
|
+
end
|
11
|
+
end
|
12
|
+
end
|
@@ -0,0 +1,15 @@
|
|
1
|
+
require_relative '../spec_helper.rb'
|
2
|
+
|
3
|
+
describe Layabout::Configuration do
|
4
|
+
describe '#valid?' do
|
5
|
+
|
6
|
+
before do
|
7
|
+
subject.token = "1234567890"
|
8
|
+
subject.team = "isotope11"
|
9
|
+
end
|
10
|
+
|
11
|
+
it 'is true if the team and token are present' do
|
12
|
+
expect(subject).to be_valid
|
13
|
+
end
|
14
|
+
end
|
15
|
+
end
|
@@ -0,0 +1,13 @@
|
|
1
|
+
require_relative '../spec_helper.rb'
|
2
|
+
require_relative '../../lib/layabout/delete_chat.rb'
|
3
|
+
|
4
|
+
describe Layabout::DeleteChat, vcr: true do
|
5
|
+
|
6
|
+
describe '#delete' do
|
7
|
+
subject { described_class.new(channel: 'C026VKGP7', timestamp: 'p1411646714.000002') }
|
8
|
+
|
9
|
+
it 'deletes the message' do
|
10
|
+
expect(subject.delete).to be_success
|
11
|
+
end
|
12
|
+
end
|
13
|
+
end
|
@@ -0,0 +1,11 @@
|
|
1
|
+
require_relative '../spec_helper.rb'
|
2
|
+
require_relative '../../lib/layabout/file_list.rb'
|
3
|
+
|
4
|
+
describe Layabout::FileList, vcr: true do
|
5
|
+
describe '#list' do
|
6
|
+
subject { described_class.new(count: 1) }
|
7
|
+
it 'returns a list of Layabout::Slack::File' do
|
8
|
+
expect(subject.list.first).to be_an_instance_of(Layabout::Slack::File)
|
9
|
+
end
|
10
|
+
end
|
11
|
+
end
|
@@ -0,0 +1,12 @@
|
|
1
|
+
require_relative '../spec_helper.rb'
|
2
|
+
require_relative '../../lib/layabout/file_upload.rb'
|
3
|
+
|
4
|
+
describe Layabout::FileUpload, vcr: true do
|
5
|
+
describe '#upload' do
|
6
|
+
subject { described_class.new(filepath: "spec/fixtures/upload_test.txt", channels: "C026VKGP7") }
|
7
|
+
|
8
|
+
it 'uploads a file' do
|
9
|
+
expect(subject.upload).to be_success
|
10
|
+
end
|
11
|
+
end
|
12
|
+
end
|
@@ -0,0 +1,18 @@
|
|
1
|
+
require_relative '../spec_helper.rb'
|
2
|
+
require_relative '../../lib/layabout/incoming_webhook.rb'
|
3
|
+
|
4
|
+
describe Layabout::IncomingWebhook, vcr: true do
|
5
|
+
describe '#post' do
|
6
|
+
before do
|
7
|
+
Layabout.configure do |c|
|
8
|
+
c.team = "isotope11"
|
9
|
+
end
|
10
|
+
end
|
11
|
+
|
12
|
+
subject { described_class.new(token: '2VyiZrFyVx4maiOvG3uae1RA', message: 'hello') }
|
13
|
+
|
14
|
+
it 'submits a message' do
|
15
|
+
expect(subject.post).to be_success
|
16
|
+
end
|
17
|
+
end
|
18
|
+
end
|
@@ -0,0 +1,23 @@
|
|
1
|
+
require_relative '../spec_helper.rb'
|
2
|
+
require_relative '../../lib/layabout.rb'
|
3
|
+
|
4
|
+
describe Layabout, vcr: true do
|
5
|
+
describe '.say' do
|
6
|
+
it 'posts a message' do
|
7
|
+
expect(Layabout.say('hello', 'C026VKGP7')).to be_success
|
8
|
+
end
|
9
|
+
end
|
10
|
+
|
11
|
+
describe '.upload' do
|
12
|
+
it 'uploads a file' do
|
13
|
+
expect(Layabout.upload('spec/fixtures/upload_test.txt', 'C026VKGP7')).to be_success
|
14
|
+
end
|
15
|
+
end
|
16
|
+
|
17
|
+
describe '.channels' do
|
18
|
+
it 'returns a list of channels' do
|
19
|
+
expect(Layabout.channels).to be_an_instance_of(Array)
|
20
|
+
expect(Layabout.channels.first).to be_an_instance_of(Layabout::Slack::Channel)
|
21
|
+
end
|
22
|
+
end
|
23
|
+
end
|
data/spec/spec_helper.rb
ADDED
@@ -0,0 +1,95 @@
|
|
1
|
+
require_relative '../lib/layabout.rb'
|
2
|
+
require 'pry'
|
3
|
+
require 'vcr'
|
4
|
+
require 'webmock'
|
5
|
+
|
6
|
+
VCR.configure do |config|
|
7
|
+
config.cassette_library_dir = 'spec/fixtures/vcr_cassettes'
|
8
|
+
config.allow_http_connections_when_no_cassette = true
|
9
|
+
config.hook_into :webmock
|
10
|
+
config.configure_rspec_metadata!
|
11
|
+
config.default_cassette_options = { record: :once }
|
12
|
+
end
|
13
|
+
|
14
|
+
RSpec.configure do |config|
|
15
|
+
# rspec-expectations config goes here. You can use an alternate
|
16
|
+
# assertion/expectation library such as wrong or the stdlib/minitest
|
17
|
+
# assertions if you prefer.
|
18
|
+
config.expect_with :rspec do |expectations|
|
19
|
+
# This option will default to `true` in RSpec 4. It makes the `description`
|
20
|
+
# and `failure_message` of custom matchers include text for helper methods
|
21
|
+
# defined using `chain`, e.g.:
|
22
|
+
# be_bigger_than(2).and_smaller_than(4).description
|
23
|
+
# # => "be bigger than 2 and smaller than 4"
|
24
|
+
# ...rather than:
|
25
|
+
# # => "be bigger than 2"
|
26
|
+
expectations.include_chain_clauses_in_custom_matcher_descriptions = true
|
27
|
+
end
|
28
|
+
|
29
|
+
# rspec-mocks config goes here. You can use an alternate test double
|
30
|
+
# library (such as bogus or mocha) by changing the `mock_with` option here.
|
31
|
+
config.mock_with :rspec do |mocks|
|
32
|
+
# Prevents you from mocking or stubbing a method that does not exist on
|
33
|
+
# a real object. This is generally recommended, and will default to
|
34
|
+
# `true` in RSpec 4.
|
35
|
+
mocks.verify_partial_doubles = true
|
36
|
+
end
|
37
|
+
config.order = :random
|
38
|
+
|
39
|
+
config.before :suite do
|
40
|
+
Layabout.configure do |c|
|
41
|
+
c.team = ENV['SLACK_TEAM'] || "isotope11"
|
42
|
+
# I'll be re-issuing my API token often ...
|
43
|
+
c.token = ENV['SLACK_API_TOKEN'] || "xoxp-2223009426-2222616703-2700726491-4a3e8d"
|
44
|
+
end
|
45
|
+
end
|
46
|
+
|
47
|
+
# The settings below are suggested to provide a good initial experience
|
48
|
+
# with RSpec, but feel free to customize to your heart's content.
|
49
|
+
=begin
|
50
|
+
# These two settings work together to allow you to limit a spec run
|
51
|
+
# to individual examples or groups you care about by tagging them with
|
52
|
+
# `:focus` metadata. When nothing is tagged with `:focus`, all examples
|
53
|
+
# get run.
|
54
|
+
config.filter_run :focus
|
55
|
+
config.run_all_when_everything_filtered = true
|
56
|
+
|
57
|
+
# Limits the available syntax to the non-monkey patched syntax that is recommended.
|
58
|
+
# For more details, see:
|
59
|
+
# - http://myronmars.to/n/dev-blog/2012/06/rspecs-new-expectation-syntax
|
60
|
+
# - http://teaisaweso.me/blog/2013/05/27/rspecs-new-message-expectation-syntax/
|
61
|
+
# - http://myronmars.to/n/dev-blog/2014/05/notable-changes-in-rspec-3#new__config_option_to_disable_rspeccore_monkey_patching
|
62
|
+
config.disable_monkey_patching!
|
63
|
+
|
64
|
+
# This setting enables warnings. It's recommended, but in some cases may
|
65
|
+
# be too noisy due to issues in dependencies.
|
66
|
+
config.warnings = true
|
67
|
+
|
68
|
+
# Many RSpec users commonly either run the entire suite or an individual
|
69
|
+
# file, and it's useful to allow more verbose output when running an
|
70
|
+
# individual spec file.
|
71
|
+
if config.files_to_run.one?
|
72
|
+
# Use the documentation formatter for detailed output,
|
73
|
+
# unless a formatter has already been configured
|
74
|
+
# (e.g. via a command-line flag).
|
75
|
+
config.default_formatter = 'doc'
|
76
|
+
end
|
77
|
+
|
78
|
+
# Print the 10 slowest examples and example groups at the
|
79
|
+
# end of the spec run, to help surface which specs are running
|
80
|
+
# particularly slow.
|
81
|
+
config.profile_examples = 10
|
82
|
+
|
83
|
+
# Run specs in random order to surface order dependencies. If you find an
|
84
|
+
# order dependency and want to debug it, you can fix the order by providing
|
85
|
+
# the seed, which is printed after each run.
|
86
|
+
# --seed 1234
|
87
|
+
config.order = :random
|
88
|
+
|
89
|
+
# Seed global randomization in this process using the `--seed` CLI option.
|
90
|
+
# Setting this allows you to use `--seed` to deterministically reproduce
|
91
|
+
# test failures related to randomization by passing the same `--seed` value
|
92
|
+
# as the one that triggered the failure.
|
93
|
+
Kernel.srand config.seed
|
94
|
+
=end
|
95
|
+
end
|
metadata
ADDED
@@ -0,0 +1,217 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: layabout
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.0.1
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- James Cook
|
8
|
+
autorequire:
|
9
|
+
bindir: bin
|
10
|
+
cert_chain: []
|
11
|
+
date: 2014-09-26 00:00:00.000000000 Z
|
12
|
+
dependencies:
|
13
|
+
- !ruby/object:Gem::Dependency
|
14
|
+
name: httpi
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
16
|
+
requirements:
|
17
|
+
- - "~>"
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: 2.1.1
|
20
|
+
type: :runtime
|
21
|
+
prerelease: false
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
23
|
+
requirements:
|
24
|
+
- - "~>"
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: 2.1.1
|
27
|
+
- !ruby/object:Gem::Dependency
|
28
|
+
name: multipart-post
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
30
|
+
requirements:
|
31
|
+
- - "~>"
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: 1.1.0
|
34
|
+
type: :runtime
|
35
|
+
prerelease: false
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
37
|
+
requirements:
|
38
|
+
- - "~>"
|
39
|
+
- !ruby/object:Gem::Version
|
40
|
+
version: 1.1.0
|
41
|
+
- !ruby/object:Gem::Dependency
|
42
|
+
name: bundler
|
43
|
+
requirement: !ruby/object:Gem::Requirement
|
44
|
+
requirements:
|
45
|
+
- - "~>"
|
46
|
+
- !ruby/object:Gem::Version
|
47
|
+
version: '1.3'
|
48
|
+
type: :development
|
49
|
+
prerelease: false
|
50
|
+
version_requirements: !ruby/object:Gem::Requirement
|
51
|
+
requirements:
|
52
|
+
- - "~>"
|
53
|
+
- !ruby/object:Gem::Version
|
54
|
+
version: '1.3'
|
55
|
+
- !ruby/object:Gem::Dependency
|
56
|
+
name: rspec
|
57
|
+
requirement: !ruby/object:Gem::Requirement
|
58
|
+
requirements:
|
59
|
+
- - "~>"
|
60
|
+
- !ruby/object:Gem::Version
|
61
|
+
version: 3.1.0
|
62
|
+
- - ">="
|
63
|
+
- !ruby/object:Gem::Version
|
64
|
+
version: 3.1.0
|
65
|
+
type: :development
|
66
|
+
prerelease: false
|
67
|
+
version_requirements: !ruby/object:Gem::Requirement
|
68
|
+
requirements:
|
69
|
+
- - "~>"
|
70
|
+
- !ruby/object:Gem::Version
|
71
|
+
version: 3.1.0
|
72
|
+
- - ">="
|
73
|
+
- !ruby/object:Gem::Version
|
74
|
+
version: 3.1.0
|
75
|
+
- !ruby/object:Gem::Dependency
|
76
|
+
name: vcr
|
77
|
+
requirement: !ruby/object:Gem::Requirement
|
78
|
+
requirements:
|
79
|
+
- - "~>"
|
80
|
+
- !ruby/object:Gem::Version
|
81
|
+
version: 2.9.0
|
82
|
+
- - ">="
|
83
|
+
- !ruby/object:Gem::Version
|
84
|
+
version: 2.9.0
|
85
|
+
type: :development
|
86
|
+
prerelease: false
|
87
|
+
version_requirements: !ruby/object:Gem::Requirement
|
88
|
+
requirements:
|
89
|
+
- - "~>"
|
90
|
+
- !ruby/object:Gem::Version
|
91
|
+
version: 2.9.0
|
92
|
+
- - ">="
|
93
|
+
- !ruby/object:Gem::Version
|
94
|
+
version: 2.9.0
|
95
|
+
- !ruby/object:Gem::Dependency
|
96
|
+
name: webmock
|
97
|
+
requirement: !ruby/object:Gem::Requirement
|
98
|
+
requirements:
|
99
|
+
- - "~>"
|
100
|
+
- !ruby/object:Gem::Version
|
101
|
+
version: 1.18.0
|
102
|
+
- - ">="
|
103
|
+
- !ruby/object:Gem::Version
|
104
|
+
version: 1.18.0
|
105
|
+
type: :development
|
106
|
+
prerelease: false
|
107
|
+
version_requirements: !ruby/object:Gem::Requirement
|
108
|
+
requirements:
|
109
|
+
- - "~>"
|
110
|
+
- !ruby/object:Gem::Version
|
111
|
+
version: 1.18.0
|
112
|
+
- - ">="
|
113
|
+
- !ruby/object:Gem::Version
|
114
|
+
version: 1.18.0
|
115
|
+
description: slack.com API toolbelt
|
116
|
+
email:
|
117
|
+
- jcook.rubyist@gmail.com
|
118
|
+
executables: []
|
119
|
+
extensions: []
|
120
|
+
extra_rdoc_files: []
|
121
|
+
files:
|
122
|
+
- ".gitignore"
|
123
|
+
- ".rspec"
|
124
|
+
- ".travis.yml"
|
125
|
+
- Gemfile
|
126
|
+
- Gemfile.lock
|
127
|
+
- LICENSE
|
128
|
+
- README.md
|
129
|
+
- layabout.gemspec
|
130
|
+
- lib/layabout.rb
|
131
|
+
- lib/layabout/auth_test.rb
|
132
|
+
- lib/layabout/channels.rb
|
133
|
+
- lib/layabout/chat.rb
|
134
|
+
- lib/layabout/delete_chat.rb
|
135
|
+
- lib/layabout/file_list.rb
|
136
|
+
- lib/layabout/file_upload.rb
|
137
|
+
- lib/layabout/helpers.rb
|
138
|
+
- lib/layabout/incoming_webhook.rb
|
139
|
+
- lib/layabout/slack/channel.rb
|
140
|
+
- lib/layabout/slack/file.rb
|
141
|
+
- lib/layabout/slack_response.rb
|
142
|
+
- lib/layabout/version.rb
|
143
|
+
- spec/fixtures/upload_test.txt
|
144
|
+
- spec/fixtures/vcr_cassettes/Layabout/_channels/returns_a_list_of_channels.yml
|
145
|
+
- spec/fixtures/vcr_cassettes/Layabout/_say/posts_a_message.yml
|
146
|
+
- spec/fixtures/vcr_cassettes/Layabout/_upload/uploads_a_file.yml
|
147
|
+
- spec/fixtures/vcr_cassettes/Layabout_AuthTest/_get/tests_auth.yml
|
148
|
+
- spec/fixtures/vcr_cassettes/Layabout_Channels/_info/returns_a_Layabout_Slack_Channel.yml
|
149
|
+
- spec/fixtures/vcr_cassettes/Layabout_Channels/_join/returns_a_success_response.yml
|
150
|
+
- spec/fixtures/vcr_cassettes/Layabout_Channels/_leave/returns_a_success_response.yml
|
151
|
+
- spec/fixtures/vcr_cassettes/Layabout_Channels/_list/returns_a_list_of_Layabout_Slack_Channel.yml
|
152
|
+
- spec/fixtures/vcr_cassettes/Layabout_Chat/_post/submits_a_message.yml
|
153
|
+
- spec/fixtures/vcr_cassettes/Layabout_DeleteChat/_delete/deletes_the_message.yml
|
154
|
+
- spec/fixtures/vcr_cassettes/Layabout_FileList/_list/returns_a_list_of_Layabout_Slack_File.yml
|
155
|
+
- spec/fixtures/vcr_cassettes/Layabout_FileUpload/_upload/uploads_a_file.yml
|
156
|
+
- spec/fixtures/vcr_cassettes/Layabout_IncomingWebhook/_post/submits_a_message.yml
|
157
|
+
- spec/layabout/auth_test_spec.rb
|
158
|
+
- spec/layabout/channels_spec.rb
|
159
|
+
- spec/layabout/chat_spec.rb
|
160
|
+
- spec/layabout/configuration_spec.rb
|
161
|
+
- spec/layabout/delete_chat_spec.rb
|
162
|
+
- spec/layabout/file_list_spec.rb
|
163
|
+
- spec/layabout/file_upload_spec.rb
|
164
|
+
- spec/layabout/incoming_webhook_spec.rb
|
165
|
+
- spec/layabout/layabout_spec.rb
|
166
|
+
- spec/spec_helper.rb
|
167
|
+
homepage: https://github.com/jamescook/layabout
|
168
|
+
licenses:
|
169
|
+
- MIT
|
170
|
+
metadata: {}
|
171
|
+
post_install_message:
|
172
|
+
rdoc_options: []
|
173
|
+
require_paths:
|
174
|
+
- lib
|
175
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
176
|
+
requirements:
|
177
|
+
- - ">="
|
178
|
+
- !ruby/object:Gem::Version
|
179
|
+
version: '0'
|
180
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
181
|
+
requirements:
|
182
|
+
- - ">="
|
183
|
+
- !ruby/object:Gem::Version
|
184
|
+
version: '0'
|
185
|
+
requirements: []
|
186
|
+
rubyforge_project:
|
187
|
+
rubygems_version: 2.2.2
|
188
|
+
signing_key:
|
189
|
+
specification_version: 4
|
190
|
+
summary: Chat, upload files, set channel topics, send direct messages, and more via
|
191
|
+
the Slack API
|
192
|
+
test_files:
|
193
|
+
- spec/fixtures/upload_test.txt
|
194
|
+
- spec/fixtures/vcr_cassettes/Layabout/_channels/returns_a_list_of_channels.yml
|
195
|
+
- spec/fixtures/vcr_cassettes/Layabout/_say/posts_a_message.yml
|
196
|
+
- spec/fixtures/vcr_cassettes/Layabout/_upload/uploads_a_file.yml
|
197
|
+
- spec/fixtures/vcr_cassettes/Layabout_AuthTest/_get/tests_auth.yml
|
198
|
+
- spec/fixtures/vcr_cassettes/Layabout_Channels/_info/returns_a_Layabout_Slack_Channel.yml
|
199
|
+
- spec/fixtures/vcr_cassettes/Layabout_Channels/_join/returns_a_success_response.yml
|
200
|
+
- spec/fixtures/vcr_cassettes/Layabout_Channels/_leave/returns_a_success_response.yml
|
201
|
+
- spec/fixtures/vcr_cassettes/Layabout_Channels/_list/returns_a_list_of_Layabout_Slack_Channel.yml
|
202
|
+
- spec/fixtures/vcr_cassettes/Layabout_Chat/_post/submits_a_message.yml
|
203
|
+
- spec/fixtures/vcr_cassettes/Layabout_DeleteChat/_delete/deletes_the_message.yml
|
204
|
+
- spec/fixtures/vcr_cassettes/Layabout_FileList/_list/returns_a_list_of_Layabout_Slack_File.yml
|
205
|
+
- spec/fixtures/vcr_cassettes/Layabout_FileUpload/_upload/uploads_a_file.yml
|
206
|
+
- spec/fixtures/vcr_cassettes/Layabout_IncomingWebhook/_post/submits_a_message.yml
|
207
|
+
- spec/layabout/auth_test_spec.rb
|
208
|
+
- spec/layabout/channels_spec.rb
|
209
|
+
- spec/layabout/chat_spec.rb
|
210
|
+
- spec/layabout/configuration_spec.rb
|
211
|
+
- spec/layabout/delete_chat_spec.rb
|
212
|
+
- spec/layabout/file_list_spec.rb
|
213
|
+
- spec/layabout/file_upload_spec.rb
|
214
|
+
- spec/layabout/incoming_webhook_spec.rb
|
215
|
+
- spec/layabout/layabout_spec.rb
|
216
|
+
- spec/spec_helper.rb
|
217
|
+
has_rdoc:
|