Skip to content

Commit bc3bca6

Browse files
committed
Explicitly require racc and ostruct.
1 parent 56995cc commit bc3bca6

File tree

4 files changed

+15
-5
lines changed

4 files changed

+15
-5
lines changed

.rubocop_todo.yml

Lines changed: 12 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# This configuration was generated by
22
# `rubocop --auto-gen-config`
3-
# on 2023-08-05 13:32:37 UTC using RuboCop version 1.26.1.
3+
# on 2024-11-06 16:01:45 UTC using RuboCop version 1.26.1.
44
# The point is for the user to remove these configuration records
55
# one by one as the offenses are removed from the code base.
66
# Note that changes in the inspected code, or installation of new
@@ -81,14 +81,14 @@ Performance/StringInclude:
8181
Exclude:
8282
- 'lib/tasks/web.rake'
8383

84-
# Offense count: 8
84+
# Offense count: 9
8585
# This cop supports safe auto-correction (--auto-correct).
8686
RSpec/ContextMethod:
8787
Exclude:
8888
- 'spec/slack/messages/formatting_spec.rb'
8989
- 'spec/slack/web/api/mixins/users_spec.rb'
9090

91-
# Offense count: 82
91+
# Offense count: 83
9292
# Configuration parameters: Prefixes.
9393
# Prefixes: when, with, without
9494
RSpec/ContextWording:
@@ -99,13 +99,13 @@ RSpec/ContextWording:
9999
RSpec/ExampleLength:
100100
Max: 18
101101

102-
# Offense count: 19
102+
# Offense count: 18
103103
# Configuration parameters: Include, CustomTransform, IgnoreMethods, SpecSuffixOnly.
104104
# Include: **/*_spec*rb*, **/spec/**/*
105105
RSpec/FilePath:
106106
Enabled: false
107107

108-
# Offense count: 70
108+
# Offense count: 69
109109
# Configuration parameters: .
110110
# SupportedStyles: have_received, receive
111111
RSpec/MessageSpies:
@@ -166,6 +166,13 @@ Rake/Desc:
166166
Exclude:
167167
- 'lib/tasks/git.rake'
168168

169+
# Offense count: 1
170+
# Configuration parameters: EnforcedStyle, AllowModifiersOnSymbols.
171+
# SupportedStyles: inline, group
172+
Style/AccessModifierDeclarations:
173+
Exclude:
174+
- 'lib/slack/real_time/client.rb'
175+
169176
# Offense count: 4
170177
# Configuration parameters: MaxUnannotatedPlaceholdersAllowed, IgnoredMethods.
171178
# SupportedStyles: annotated, template, unannotated

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
### 2.4.1 (Next)
22

33
* [#525](https://github.com/slack-ruby/slack-ruby-client/pull/525): Exclude spec files from gem package - [@amatsuda](https://github.com/amatsuda).
4+
* [#527](https://github.com/slack-ruby/slack-ruby-client/pull/527): Explicitly require `racc` and `ostruct` - [@dblock](https://github.com/dblock).
45
* Your contribution here.
56

67
### 2.4.0 (2024/07/14)

Gemfile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ group :test do
1717
gem 'erubis'
1818
gem 'faraday-typhoeus'
1919
gem 'json-schema'
20+
gem 'racc'
2021
gem 'rake', '~> 13'
2122
gem 'rspec'
2223
gem 'rubocop', '1.26.1' # Lock to specific version to avoid breaking cops/changes

spec/spec_helper.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33

44
require 'rubygems'
55
require 'rspec'
6+
require 'ostruct'
67
require 'timecop'
78

89
require 'simplecov'

0 commit comments

Comments
 (0)