Skip to content

Commit 077ce4b

Browse files
authored
Merge pull request #185 from solidusio/elia/octokit-require
Add a missing require for octokit/repository
2 parents 0764caa + e4c9dec commit 077ce4b

2 files changed

Lines changed: 6 additions & 0 deletions

File tree

.rubocop.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,11 @@ Style/RedundantRegexpEscape:
3636
Style/SlicingWithRange:
3737
Enabled: true
3838

39+
# Disable this cop until this isssue gets a clear answer:
40+
# https://github.com/rubocop/rubocop/issues/10675
41+
Gemspec/DeprecatedAttributeAssignment:
42+
Enabled: false
43+
3944
AllCops:
4045
TargetRubyVersion: 2.5
4146
Exclude:

lib/solidus_dev_support/rake_tasks.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,7 @@ def install_changelog_task
7878

7979
GitHubChangelogGenerator::RakeTask.new(:changelog) do |config|
8080
require 'octokit'
81+
require 'octokit/repository'
8182
repo = Octokit::Repository.from_url(gemspec.metadata['source_code_uri'] || gemspec.homepage)
8283

8384
config.user = repo.owner

0 commit comments

Comments
 (0)