slack-ruby-bot-server-events 0.3.1 → 0.4.0
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/.github/workflows/danger.yml +22 -0
- data/.github/workflows/rubocop.yml +16 -0
- data/.github/workflows/test-mongodb.yml +32 -0
- data/.github/workflows/test-postgresql.yml +39 -0
- data/.rubocop.yml +7 -0
- data/.rubocop_todo.yml +57 -3
- data/CHANGELOG.md +15 -4
- data/Gemfile +13 -14
- data/Gemfile.danger +6 -0
- data/LICENSE +1 -1
- data/README.md +18 -2
- data/Rakefile +1 -1
- data/lib/slack-ruby-bot-server/api/endpoints.rb +7 -9
- data/lib/slack-ruby-bot-server-events/api/endpoints/slack/actions_endpoint.rb +1 -1
- data/lib/slack-ruby-bot-server-events/config.rb +1 -1
- data/lib/slack-ruby-bot-server-events/requests/request.rb +1 -1
- data/lib/slack-ruby-bot-server-events/version.rb +1 -1
- data/slack-ruby-bot-server-events.gemspec +1 -0
- metadata +10 -9
- data/.travis.yml +0 -17
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 88331088d012f16ea303c489f607ca27ed972bab12ce367a00889e864b655fbb
|
4
|
+
data.tar.gz: af784776b59a75328f0c2cf1056ceeb85150ff397668209c0791a54cc2e71dea
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 768ba3c6056ada48abe56e3a263d29bf1f76cb2f641a70df6da5470e16ff71e677d8f55bc6c916e54c5bb1258d95173e2ab67d01ebeed827d80c4373d4989dee
|
7
|
+
data.tar.gz: 02d098982a3bf23198ee7ff8cd20cc1a3c6e29b1e04551a42c2ed2e71f386eec97390096cff97eb29a2645271f89b5bb73118f50b58ca01a642c5b8ec92c5c5f
|
@@ -0,0 +1,22 @@
|
|
1
|
+
---
|
2
|
+
name: danger
|
3
|
+
on: [pull_request]
|
4
|
+
jobs:
|
5
|
+
danger:
|
6
|
+
runs-on: ubuntu-latest
|
7
|
+
env:
|
8
|
+
BUNDLE_GEMFILE: Gemfile.danger
|
9
|
+
steps:
|
10
|
+
- uses: actions/checkout@v2
|
11
|
+
with:
|
12
|
+
fetch-depth: 0
|
13
|
+
- name: Set up Ruby
|
14
|
+
uses: ruby/setup-ruby@v1
|
15
|
+
with:
|
16
|
+
ruby-version: 2.7
|
17
|
+
bundler-cache: true
|
18
|
+
- name: Run Danger
|
19
|
+
run: |
|
20
|
+
# the personal token is public, this is ok, base64 encode to avoid tripping Github
|
21
|
+
TOKEN=$(echo -n Z2hwX0xNQ3VmanBFeTBvYkZVTWh6NVNqVFFBOEUxU25abzBqRUVuaAo= | base64 --decode)
|
22
|
+
DANGER_GITHUB_API_TOKEN=$TOKEN bundle exec danger --verbose
|
@@ -0,0 +1,16 @@
|
|
1
|
+
---
|
2
|
+
name: lint
|
3
|
+
on: [push, pull_request]
|
4
|
+
jobs:
|
5
|
+
lint:
|
6
|
+
name: RuboCop
|
7
|
+
runs-on: ubuntu-latest
|
8
|
+
steps:
|
9
|
+
- uses: actions/checkout@v2
|
10
|
+
- name: Set up Ruby
|
11
|
+
uses: ruby/setup-ruby@v1
|
12
|
+
with:
|
13
|
+
ruby-version: 3.4
|
14
|
+
bundler-cache: true
|
15
|
+
- name: Run RuboCop
|
16
|
+
run: bundle exec rubocop
|
@@ -0,0 +1,32 @@
|
|
1
|
+
---
|
2
|
+
name: test with mongodb
|
3
|
+
on: [push, pull_request]
|
4
|
+
jobs:
|
5
|
+
test:
|
6
|
+
runs-on: ubuntu-latest
|
7
|
+
strategy:
|
8
|
+
matrix:
|
9
|
+
entry:
|
10
|
+
- { ruby: 3.1, mongoid: 6.4.8, mongodb: 4.4 }
|
11
|
+
- { ruby: 3.1, mongoid: 7.3.0, mongodb: 5.0 }
|
12
|
+
- { ruby: 3.1, mongoid: 7.3.0, mongodb: 5.0 }
|
13
|
+
- { ruby: 3.2, mongoid: 8.1.11, mongodb: 6.0 }
|
14
|
+
- { ruby: 3.4, mongoid: 8.1.11, mongodb: 7.0 }
|
15
|
+
- { ruby: 3.4, mongoid: 9.0.8, mongodb: 8.0 }
|
16
|
+
name: test (ruby=${{ matrix.entry.ruby }}, mongoid=${{ matrix.entry.mongoid }}, mongodb=${{ matrix.entry.mongodb }})
|
17
|
+
steps:
|
18
|
+
- uses: actions/checkout@v2
|
19
|
+
- uses: ruby/setup-ruby@v1
|
20
|
+
with:
|
21
|
+
ruby-version: ${{ matrix.entry.ruby }}
|
22
|
+
- uses: supercharge/mongodb-github-action@1.7.0
|
23
|
+
with:
|
24
|
+
mongodb-version: ${{ matrix.entry.mongodb }}
|
25
|
+
- name: Test
|
26
|
+
run: |
|
27
|
+
bundle install
|
28
|
+
bundle exec rake spec
|
29
|
+
env:
|
30
|
+
DATABASE_ADAPTER: mongoid
|
31
|
+
DATABASE_URL: "mongodb://localhost"
|
32
|
+
MONGOID_VERSION: ${{ matrix.entry.mongoid }}
|
@@ -0,0 +1,39 @@
|
|
1
|
+
---
|
2
|
+
name: test with postgresql
|
3
|
+
on: [push, pull_request]
|
4
|
+
jobs:
|
5
|
+
test:
|
6
|
+
runs-on: ubuntu-latest
|
7
|
+
strategy:
|
8
|
+
matrix:
|
9
|
+
entry:
|
10
|
+
- { ruby: 3.1, postgresql: 11 }
|
11
|
+
- { ruby: 3.1, postgresql: 14 }
|
12
|
+
- { ruby: 3.1, postgresql: 14 }
|
13
|
+
- { ruby: 3.2, postgresql: 15 }
|
14
|
+
- { ruby: 3.3, postgresql: 16 }
|
15
|
+
- { ruby: 3.4, postgresql: 17 }
|
16
|
+
name: test (ruby=${{ matrix.entry.ruby }}, postgresql=${{ matrix.entry.postgresql }})
|
17
|
+
services:
|
18
|
+
postgres:
|
19
|
+
image: postgres:${{ matrix.entry.postgresql }}
|
20
|
+
env:
|
21
|
+
POSTGRES_USER: test
|
22
|
+
POSTGRES_PASSWORD: password
|
23
|
+
POSTGRES_DB: slack_ruby_bot_server_events_test
|
24
|
+
ports:
|
25
|
+
- 5432:5432
|
26
|
+
# needed because the postgres container does not provide a healthcheck
|
27
|
+
options: --health-cmd pg_isready --health-interval 10s --health-timeout 5s --health-retries 5
|
28
|
+
steps:
|
29
|
+
- uses: actions/checkout@v2
|
30
|
+
- uses: ruby/setup-ruby@v1
|
31
|
+
with:
|
32
|
+
ruby-version: ${{ matrix.entry.ruby }}
|
33
|
+
- name: Test
|
34
|
+
run: |
|
35
|
+
bundle install
|
36
|
+
bundle exec rake spec
|
37
|
+
env:
|
38
|
+
DATABASE_ADAPTER: activerecord
|
39
|
+
DATABASE_URL: postgres://test:password@localhost/slack_ruby_bot_server_events_test
|
data/.rubocop.yml
CHANGED
data/.rubocop_todo.yml
CHANGED
@@ -1,20 +1,74 @@
|
|
1
1
|
# This configuration was generated by
|
2
2
|
# `rubocop --auto-gen-config`
|
3
|
-
# on
|
3
|
+
# on 2025-09-22 13:18:33 UTC using RuboCop version 1.80.2.
|
4
4
|
# The point is for the user to remove these configuration records
|
5
5
|
# one by one as the offenses are removed from the code base.
|
6
6
|
# Note that changes in the inspected code, or installation of new
|
7
7
|
# versions of RuboCop, may require this file to be generated again.
|
8
8
|
|
9
9
|
# Offense count: 1
|
10
|
-
# Configuration parameters:
|
10
|
+
# Configuration parameters: Severity.
|
11
|
+
Gemspec/RequiredRubyVersion:
|
12
|
+
Exclude:
|
13
|
+
- 'slack-ruby-bot-server-events.gemspec'
|
14
|
+
|
15
|
+
# Offense count: 1
|
16
|
+
# Configuration parameters: ExpectMatchingDefinition, CheckDefinitionPathHierarchy, CheckDefinitionPathHierarchyRoots, Regex, IgnoreExecutableScripts, AllowedAcronyms.
|
17
|
+
# CheckDefinitionPathHierarchyRoots: lib, spec, test, src
|
11
18
|
# AllowedAcronyms: CLI, DSL, ACL, API, ASCII, CPU, CSS, DNS, EOF, GUID, HTML, HTTP, HTTPS, ID, IP, JSON, LHS, QPS, RAM, RHS, RPC, SLA, SMTP, SQL, SSH, TCP, TLS, TTL, UDP, UI, UID, UUID, URI, URL, UTF8, VM, XML, XMPP, XSRF, XSS
|
12
19
|
Naming/FileName:
|
13
20
|
Exclude:
|
21
|
+
- 'Rakefile.rb'
|
14
22
|
- 'lib/slack-ruby-bot-server-events.rb'
|
15
23
|
|
24
|
+
# Offense count: 7
|
25
|
+
RSpec/AnyInstance:
|
26
|
+
Exclude:
|
27
|
+
- 'spec/slack-ruby-bot-server-events/api/endpoints/slack/actions_endpoint_spec.rb'
|
28
|
+
- 'spec/slack-ruby-bot-server-events/api/endpoints/slack/commands_endpoint_spec.rb'
|
29
|
+
- 'spec/slack-ruby-bot-server-events/api/endpoints/slack/events_endpoint_spec.rb'
|
30
|
+
|
31
|
+
# Offense count: 2
|
32
|
+
# Configuration parameters: Prefixes, AllowedPatterns.
|
33
|
+
# Prefixes: when, with, without
|
34
|
+
RSpec/ContextWording:
|
35
|
+
Exclude:
|
36
|
+
- 'spec/slack-ruby-bot-server-events/api/endpoints/slack/actions_endpoint_spec.rb'
|
37
|
+
|
38
|
+
# Offense count: 3
|
39
|
+
# Configuration parameters: CountAsOne.
|
40
|
+
RSpec/ExampleLength:
|
41
|
+
Max: 9
|
42
|
+
|
43
|
+
# Offense count: 22
|
44
|
+
RSpec/MultipleExpectations:
|
45
|
+
Max: 2
|
46
|
+
|
47
|
+
# Offense count: 5
|
48
|
+
# Configuration parameters: AllowedGroups.
|
49
|
+
RSpec/NestedGroups:
|
50
|
+
Max: 5
|
51
|
+
|
52
|
+
# Offense count: 5
|
53
|
+
# Configuration parameters: CustomTransform, IgnoreMethods, IgnoreMetadata.
|
54
|
+
RSpec/SpecFilePathFormat:
|
55
|
+
Exclude:
|
56
|
+
- '**/spec/routing/**/*'
|
57
|
+
- 'spec/slack-ruby-bot-server-events/api/endpoints/slack/actions_endpoint_spec.rb'
|
58
|
+
- 'spec/slack-ruby-bot-server-events/api/endpoints/slack/commands_endpoint_spec.rb'
|
59
|
+
- 'spec/slack-ruby-bot-server-events/api/endpoints/slack/events_endpoint_spec.rb'
|
60
|
+
- 'spec/slack-ruby-bot-server-events/config_spec.rb'
|
61
|
+
- 'spec/slack-ruby-bot-server-events/version_spec.rb'
|
62
|
+
|
63
|
+
# Offense count: 1
|
64
|
+
# This cop supports unsafe autocorrection (--autocorrect-all).
|
65
|
+
Style/GlobalStdStream:
|
66
|
+
Exclude:
|
67
|
+
- 'spec/database_adapters/activerecord/activerecord.rb'
|
68
|
+
|
16
69
|
# Offense count: 1
|
17
|
-
#
|
70
|
+
# This cop supports safe autocorrection (--autocorrect).
|
71
|
+
# Configuration parameters: MinBodyLength, AllowConsecutiveConditionals.
|
18
72
|
Style/GuardClause:
|
19
73
|
Exclude:
|
20
74
|
- 'spec/slack-ruby-bot-server-events/api/endpoints/slack/events_endpoint_spec.rb'
|
data/CHANGELOG.md
CHANGED
@@ -1,17 +1,28 @@
|
|
1
1
|
### Changelog
|
2
2
|
|
3
|
-
#### 0.
|
3
|
+
#### 0.4.0 (2025/09/22)
|
4
|
+
|
5
|
+
* [#18](https://github.com/slack-ruby/slack-ruby-bot-server-events/pull/18): Use pagy_cursor in place of cursor_pagination - [@duffn](https://github.com/duffn).
|
6
|
+
* [#26](https://github.com/slack-ruby/slack-ruby-bot-server-events/pull/26): Upgraded RuboCop to 1.80.2 - [@dblock](https://github.com/dblock).
|
7
|
+
|
8
|
+
#### 0.3.2 (2022/06/09)
|
9
|
+
|
10
|
+
* [#13](https://github.com/slack-ruby/slack-ruby-bot-server-events/pull/13): Replace Travis CI with Github Actions - [@CrazyOptimist](https://github.com/CrazyOptimist).
|
11
|
+
* [#10](https://github.com/slack-ruby/slack-ruby-bot-server-events/pull/10): Fix actions endpoint for block dropdowns - [@maths22](https://github.com/maths22).
|
12
|
+
* [#14](https://github.com/slack-ruby/slack-ruby-bot-server-events/pull/14): Added support for Ruby 3.1 - [@CrazyOptimist](https://github.com/CrazyOptimist).
|
13
|
+
|
14
|
+
#### 0.3.1 (2021/02/04)
|
4
15
|
|
5
16
|
* [#9](https://github.com/slack-ruby/slack-ruby-bot-server-events/pull/9): Provide default value when actions are missing in payload - [@nijave](https://github.com/nijave).
|
6
17
|
|
7
|
-
#### 0.3.0 (12/30
|
18
|
+
#### 0.3.0 (2020/12/30)
|
8
19
|
|
9
20
|
* [#6](https://github.com/slack-ruby/slack-ruby-bot-server-events/pull/6): Add support for block_actions interaction type - [@CrazyOptimist](https://github.com/CrazyOptimist).
|
10
21
|
|
11
|
-
#### 0.2.0 (07/19
|
22
|
+
#### 0.2.0 (2020/07/19)
|
12
23
|
|
13
24
|
* Include action type in actions callbacks - [@dblock](https://github.com/dblock).
|
14
25
|
|
15
|
-
#### 0.1.0 (07/19
|
26
|
+
#### 0.1.0 (2020/07/19)
|
16
27
|
|
17
28
|
* Initial public release - [@dblock](https://github.com/dblock).
|
data/Gemfile
CHANGED
@@ -2,21 +2,22 @@
|
|
2
2
|
|
3
3
|
source 'https://rubygems.org'
|
4
4
|
|
5
|
-
case ENV
|
6
|
-
when 'mongoid'
|
5
|
+
case ENV.fetch('DATABASE_ADAPTER', nil)
|
6
|
+
when 'mongoid'
|
7
7
|
gem 'kaminari-mongoid'
|
8
|
-
gem 'mongoid'
|
8
|
+
gem 'mongoid', ENV['MONGOID_VERSION'] || '~> 7.3.0'
|
9
9
|
gem 'mongoid-scroll'
|
10
|
-
|
11
|
-
|
12
|
-
gem '
|
13
|
-
gem '
|
14
|
-
gem '
|
10
|
+
gem 'mutex_m'
|
11
|
+
when 'activerecord'
|
12
|
+
gem 'activerecord'
|
13
|
+
gem 'otr-activerecord'
|
14
|
+
gem 'pagy_cursor'
|
15
15
|
gem 'pg'
|
16
|
+
gem 'virtus'
|
16
17
|
when nil
|
17
18
|
warn "Missing ENV['DATABASE_ADAPTER']."
|
18
19
|
else
|
19
|
-
warn "Invalid ENV['DATABASE_ADAPTER']: #{ENV
|
20
|
+
warn "Invalid ENV['DATABASE_ADAPTER']: #{ENV.fetch('DATABASE_ADAPTER', nil)}."
|
20
21
|
end
|
21
22
|
|
22
23
|
gemspec
|
@@ -30,11 +31,9 @@ group :development, :test do
|
|
30
31
|
gem 'rack-test'
|
31
32
|
gem 'rake'
|
32
33
|
gem 'rspec'
|
33
|
-
gem 'rubocop', '
|
34
|
+
gem 'rubocop', '1.80.2'
|
35
|
+
gem 'rubocop-rake'
|
36
|
+
gem 'rubocop-rspec'
|
34
37
|
gem 'vcr'
|
35
38
|
gem 'webmock'
|
36
39
|
end
|
37
|
-
|
38
|
-
group :test do
|
39
|
-
gem 'slack-ruby-danger', '~> 0.1.0', require: false
|
40
|
-
end
|
data/Gemfile.danger
ADDED
data/LICENSE
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
The MIT License (MIT)
|
2
2
|
|
3
|
-
Copyright (c) 2020 Daniel Doubrovkine & Contributors
|
3
|
+
Copyright (c) 2020-2025 Daniel Doubrovkine & Contributors
|
4
4
|
|
5
5
|
Permission is hereby granted, free of charge, to any person obtaining a copy
|
6
6
|
of this software and associated documentation files (the "Software"), to deal
|
data/README.md
CHANGED
@@ -2,10 +2,26 @@ Slack Ruby Bot Server Events Extension
|
|
2
2
|
======================================
|
3
3
|
|
4
4
|
[](https://badge.fury.io/rb/slack-ruby-bot-server-events)
|
5
|
-
[](https://github.com/slack-ruby/slack-ruby-bot-server-events/actions/workflows/rubocop.yml)
|
6
|
+
[](https://github.com/slack-ruby/slack-ruby-bot-server-events/actions/workflows/test-mongodb.yml)
|
7
|
+
[](https://github.com/slack-ruby/slack-ruby-bot-server-events/actions/workflows/test-postgresql.yml)
|
6
8
|
|
7
9
|
An extension to [slack-ruby-bot-server](https://github.com/slack-ruby/slack-ruby-bot-server) that makes it easy to handle Slack slash commands, interactive buttons and events.
|
8
10
|
|
11
|
+
### Table of Contents
|
12
|
+
|
13
|
+
- [Sample](#sample)
|
14
|
+
- [Usage](#usage)
|
15
|
+
- [Gemfile](#gemfile)
|
16
|
+
- [Configure](#configure)
|
17
|
+
- [OAuth](#oauth)
|
18
|
+
- [Events](#events)
|
19
|
+
- [Implement Callbacks](#implement-callbacks)
|
20
|
+
- [Events](#events-1)
|
21
|
+
- [Actions](#actions)
|
22
|
+
- [Commands](#commands)
|
23
|
+
- [Copyright & License](#copyright--license)
|
24
|
+
|
9
25
|
### Sample
|
10
26
|
|
11
27
|
See [slack-ruby/slack-ruby-bot-server-events-sample](https://github.com/slack-ruby/slack-ruby-bot-server-events-sample) for a working sample.
|
@@ -157,6 +173,6 @@ end
|
|
157
173
|
|
158
174
|
### Copyright & License
|
159
175
|
|
160
|
-
Copyright [Daniel Doubrovkine](http://code.dblock.org) and Contributors, 2020
|
176
|
+
Copyright [Daniel Doubrovkine](http://code.dblock.org) and Contributors, 2020-2025
|
161
177
|
|
162
178
|
[MIT License](LICENSE)
|
data/Rakefile
CHANGED
@@ -7,7 +7,7 @@ require 'rspec/core'
|
|
7
7
|
require 'rspec/core/rake_task'
|
8
8
|
|
9
9
|
RSpec::Core::RakeTask.new(:spec) do |spec|
|
10
|
-
spec.pattern = FileList['spec/**/*_spec.rb'].exclude(%r{ext
|
10
|
+
spec.pattern = FileList['spec/**/*_spec.rb'].exclude(%r{ext/(?!#{ENV.fetch('DATABASE_ADAPTER', nil)})})
|
11
11
|
end
|
12
12
|
|
13
13
|
require 'rubocop/rake_task'
|
@@ -8,15 +8,13 @@ module SlackRubyBotServer
|
|
8
8
|
format :json
|
9
9
|
|
10
10
|
before do
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
error!('Invalid Signature', 403)
|
19
|
-
end
|
11
|
+
::Slack::Events::Request.new(
|
12
|
+
request,
|
13
|
+
signing_secret: SlackRubyBotServer::Events.config.signing_secret,
|
14
|
+
signature_expires_in: SlackRubyBotServer::Events.config.signature_expires_in
|
15
|
+
).verify!
|
16
|
+
rescue ::Slack::Events::Request::TimestampExpired
|
17
|
+
error!('Invalid Signature', 403)
|
20
18
|
end
|
21
19
|
|
22
20
|
mount SlackRubyBotServer::Events::Api::Endpoints::Slack::CommandsEndpoint
|
@@ -40,7 +40,7 @@ module SlackRubyBotServer
|
|
40
40
|
|
41
41
|
given type: ->(val) { val == 'block_actions' } do
|
42
42
|
optional :trigger_id, type: String
|
43
|
-
|
43
|
+
optional :response_url, type: String
|
44
44
|
requires :token, type: String
|
45
45
|
requires :user, type: Hash do
|
46
46
|
requires :id, type: String
|
@@ -15,7 +15,7 @@ module SlackRubyBotServer
|
|
15
15
|
|
16
16
|
def reset!
|
17
17
|
self.callbacks = Hash.new { |h, k| h[k] = [] }
|
18
|
-
self.signing_secret = ENV
|
18
|
+
self.signing_secret = ENV.fetch('SLACK_SIGNING_SECRET', nil)
|
19
19
|
self.signature_expires_in = 5 * 60
|
20
20
|
|
21
21
|
on :event, 'url_verification' do |event|
|
metadata
CHANGED
@@ -1,14 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: slack-ruby-bot-server-events
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.4.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Daniel Doubrovkine
|
8
|
-
autorequire:
|
9
8
|
bindir: bin
|
10
9
|
cert_chain: []
|
11
|
-
date:
|
10
|
+
date: 2025-09-22 00:00:00.000000000 Z
|
12
11
|
dependencies:
|
13
12
|
- !ruby/object:Gem::Dependency
|
14
13
|
name: slack-ruby-bot-server
|
@@ -24,22 +23,25 @@ dependencies:
|
|
24
23
|
- - ">="
|
25
24
|
- !ruby/object:Gem::Version
|
26
25
|
version: 0.12.0
|
27
|
-
description:
|
28
26
|
email:
|
29
27
|
- dblock@dblock.org
|
30
28
|
executables: []
|
31
29
|
extensions: []
|
32
30
|
extra_rdoc_files: []
|
33
31
|
files:
|
32
|
+
- ".github/workflows/danger.yml"
|
33
|
+
- ".github/workflows/rubocop.yml"
|
34
|
+
- ".github/workflows/test-mongodb.yml"
|
35
|
+
- ".github/workflows/test-postgresql.yml"
|
34
36
|
- ".gitignore"
|
35
37
|
- ".rspec"
|
36
38
|
- ".rubocop.yml"
|
37
39
|
- ".rubocop_todo.yml"
|
38
|
-
- ".travis.yml"
|
39
40
|
- CHANGELOG.md
|
40
41
|
- CONTRIBUTING.md
|
41
42
|
- Dangerfile
|
42
43
|
- Gemfile
|
44
|
+
- Gemfile.danger
|
43
45
|
- LICENSE
|
44
46
|
- README.md
|
45
47
|
- RELEASING.md
|
@@ -63,8 +65,8 @@ files:
|
|
63
65
|
- slack-ruby-bot-server-events.gemspec
|
64
66
|
homepage: https://github.com/slack-ruby/slack-ruby-bot-server-events
|
65
67
|
licenses: []
|
66
|
-
metadata:
|
67
|
-
|
68
|
+
metadata:
|
69
|
+
rubygems_mfa_required: 'true'
|
68
70
|
rdoc_options: []
|
69
71
|
require_paths:
|
70
72
|
- lib
|
@@ -79,8 +81,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
79
81
|
- !ruby/object:Gem::Version
|
80
82
|
version: '0'
|
81
83
|
requirements: []
|
82
|
-
rubygems_version: 3.
|
83
|
-
signing_key:
|
84
|
+
rubygems_version: 3.6.2
|
84
85
|
specification_version: 4
|
85
86
|
summary: Slack commands, interactive buttons, and events extension for slack-ruby-bot-server.
|
86
87
|
test_files: []
|
data/.travis.yml
DELETED
@@ -1,17 +0,0 @@
|
|
1
|
-
language: ruby
|
2
|
-
|
3
|
-
cache: bundler
|
4
|
-
|
5
|
-
matrix:
|
6
|
-
include:
|
7
|
-
- rvm: 2.6.6
|
8
|
-
script:
|
9
|
-
- bundle exec danger
|
10
|
-
- rvm: 2.6.6
|
11
|
-
env: DATABASE_ADAPTER=activerecord
|
12
|
-
services:
|
13
|
-
- postgresql
|
14
|
-
- rvm: 2.6.6
|
15
|
-
env: DATABASE_ADAPTER=mongoid
|
16
|
-
services:
|
17
|
-
- mongodb
|