Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
75 changes: 0 additions & 75 deletions .rubocop_gradual.lock

This file was deleted.

2 changes: 1 addition & 1 deletion .tool-versions
Original file line number Diff line number Diff line change
@@ -1 +1 @@
ruby 3.4.5
ruby 4.0.4
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,12 @@ Please file a bug if you notice a violation of semantic versioning.

### Added

- Add inspect-time secret redaction for command option state through `auth-sanitizer` integration.

### Changed

- Redact the command options hash from `OAuth::TTY::Command#inspect` because it may contain credential-bearing CLI arguments.

### Deprecated

### Removed
Expand Down
19 changes: 17 additions & 2 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,23 @@ git_source(:gitlab) { |repo_name| "https://gitlab.com/#{repo_name}" }
# Include dependencies from <gem name>.gemspec
gemspec

# gem "oauth", ">= 1.1.0"
gem "oauth", github: "ruby-oauth/oauth", branch: "main"
if %w[false 0 no off].include?(ENV.fetch("RUBY_OAUTH_DEV", "false").downcase)
gem "oauth"
else
begin
require "nomono/bundler" unless defined?(Nomono)
rescue LoadError
require_relative "../nomono/lib/nomono/bundler"
end

eval_nomono_gems(
gems: %w[auth-sanitizer oauth],
prefix: "RUBY_OAUTH",
path_env: "RUBY_OAUTH_DEV",
root: %w[code src ruby-oauth],
debug_env: "RUBY_OAUTH_DEBUG",
)
end

# Debugging
eval_gemfile "gemfiles/modular/debug.gemfile"
Expand Down
Loading
Loading